Expand description
OpenAPI 3.1 document building and Scalar docs UI.
Does not depend on vld — schemas are plain serde_json::Value.
Structs§
- Build
Options - Doc
- Per-route OpenAPI annotations stored in route meta.
- OpenApi
- Serves Scalar UI and OpenAPI JSON from the compiled
RouteTable. - Open
ApiValidate - Neutral request schemas for OpenAPI (filled by
ValidateRouteExt).
Traits§
- Open
ApiDoc Ext - Attach
Docmetadata to the last registered HTTP route.
Functions§
- build_
document - Build an OpenAPI 3.1 document from a
RouteTable. - undocumented
- Routes that lack a
Doc/OpenApiValidate(and are not skip / under docs). - undocumented_
from_ table - Same as
undocumented, using a compiledRouteTable(e.g. fromcheckstate). - validation_
error_ schema - Fixed validation error body schema (auto-422).