I am about to start working on an HTTP service that has a hard requirement to have swagger/openapi support. I am familiar with Axum, and would have used it but unfortunately Axum has no support for openapi yet. See here
I checked other popular framework in the space: rocket, actix_web and warp and none of them have native openapi support.
I came across two third party library that provides the ability to bolt on openapi support regardless of the framework that is being used: Utopia GitHub - juhaku/utoipa: Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust and Aide GitHub - tamasfe/aide: An API documentation library but after evaluation I decided not to go with these two as it could make maintenance more problematic down the line.
The only framework I found that supported openapi natively was poem GitHub - poem-web/poem: A full-featured and easy-to-use web framework with the Rust programming language.
So I have two questions:
- Are there other widely used framework out there, I might have missed that has native supports for openapi?
- Has anyone seen or done benchmark for poem to compare it with the popular rust web frameworks? I can't seem to find anything on this, but it will be nice to see how poem compares in terms of performance before committing to it.