Crate next_web_api_doc

Crate next_web_api_doc 

Source
Expand description

Rust implementation of Openapi Spec V3.1.

Modules§

openapi
Rust implementation of Openapi Spec V3.1.

Macros§

paste
routes
not

Structs§

OpenApiRouter
A wrapper struct for [axum::Router] and utoipa::openapi::OpenApi for composing handlers and services with collecting OpenAPI information from the handlers.

Traits§

OpenApi
Trait for implementing OpenAPI specification in Rust.
Path
Trait for implementing OpenAPI PathItem object with path.
ToSchema
Trait for implementing OpenAPI Schema object.

Type Aliases§

UtoipaMethodRouter
Wrapper type for utoipa::openapi::path::Paths and [axum::routing::MethodRouter].

Derive Macros§

OpenApi
Generate OpenApi base object with defaults from project settings.
ToSchema
Generate reusable OpenAPI schema to be used together with OpenApi.