Expand description
A set of macro utilities to generate OpenAPI v3.0.3 documentation from Rust models.
⚠️ This crate is not indented to be used by itself. Please use apistos instead.
Attribute Macros§
- api_
operation - Operation attribute macro implementing PathItemDefinition for the decorated handler function.
Derive Macros§
- ApiComponent
- Generates a reusable OpenAPI schema.
- ApiCookie
- Generates a reusable OpenAPI parameter schema in cookie.
- ApiError
Component - Generates a reusable OpenAPI error schema.
- ApiHeader
- Generates a reusable OpenAPI header schema.
- ApiSecurity
- Generates a reusable OpenAPI security scheme.
- ApiType
- Generates a custom OpenAPI type.