Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI documentation generator.

Generates a lightweight OpenAPI 3.0 overview for the core REST API routes and the bundled Swagger UI served by the API server.

Functionsยง

generate_openapi_spec
Generate a lightweight OpenAPI specification for the core auth and health routes.
generate_swagger_ui
Generate Swagger UI HTML.
serve_openapi_json
Serve the generated OpenAPI specification as JSON.
serve_swagger_ui
Serve the bundled Swagger UI.