Skip to main content

Crate webx_openapi

Crate webx_openapi 

Source
Expand description

OpenAPI 3.0 specification generation and API docs UI (package rust-webx-openapi, imported as webx_openapi).

Builds the spec from compile-time route metadata and provides the embedded API documentation page (APIUI_HTML) served by the host crate.

Constants§

APIUI_HTML
The embedded HTML for the API docs UI.

Functions§

generate_openapi_spec
Generate an OpenAPI 3.0.3 specification from registered routes.