Skip to main content

openapi_router

Function openapi_router 

Source
pub fn openapi_router() -> OpenApiRouter<AppState>
Expand description

Builds the OpenAPI router with all documented routes.

This is used by both the HTTP server and for generating the OpenAPI spec.