Module aide::gen

source ·
Expand description

Thread-local context for common settings for documentation generation.

Structs

Functions

  • Output All error responses based on axum.
  • Collect common schemas in the thread-local context, then store them under #/components/schemas the next time generated content is merged into OpenApi. This feature is disabled by default.
  • Access the current thread-local context for API documentation generation.
  • Infer responses based on request handler return types.
  • Set the inferred status code of empty responses (()).
  • Register an error handler in the current thread-local context.
  • Reset the state of the thread-local context.