How to wrap a Hyper server with a tower service for use with Axum?

I have a Hyper server implementation generated from a openapi 3.0.3 spec with the rust-server generator of openapi-generator. Is there any possibility to integrate the generated hyper service into Axum?

I already read about tower::Service beeing a generic middleware layer able to do this, but I struggle to put the pieces together. A small working example would be appreciated.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.