Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI document assembly.

Paths and component schemas are derived directly from the #[utoipa::path]-annotated handlers via utoipa-axum’s OpenApiRouter, so there is a single source of truth per endpoint. This module contributes the document-level metadata (info, tags) and normalizes shared platform error responses after linked/module routers are merged.

Functions§

openapi_document
The committed OpenAPI document, derived from the annotated handlers.