This crate is used by rocket_okapi
for code generation. This crate includes the procedural macros like:
#[openapi]
: To generate the documentation for an endpoint/route.openapi_routes![...]
: Returns a closure for generating routes.openapi_spec![...]
: Returns a closure for generating OpenApi objects.#[derive(OpenApiFromRequest)]
: ImplementOpenApiFromRequest
trait for a given struct.