Module aide::gen

source · []
Expand description

Thread-local context for common settings for documentation generation.

Structs

A context for API document generation that provides settings and a SchemaGenerator.

Functions

Collect common schemas in the thread-local context, then store them under #/components/schemas the next time generated content is merged into OpenApi.

Access the current thread-local context for API documentation generation.

Infer responses based on request handler return types.

Register an error handler in the current thread-local context.

Reset the state of the thread-local context.