Expand description
This is private salvo_oapi codegen library and is not used alone.
The library contains macro implementations for salvo_oapi library. Content of the library documentation is available through salvo_oapi library itself. Consider browsing via the salvo_oapi crate so all links will work correctly.
Attribute Macros§
Derive Macros§
- ToParameters
- Generate parameters from struct’s fields, Read more.
- ToResponse
- Generate reusable OpenApi response, Read more.
- ToResponses
- Generate responses with status codes what can be used in OpenAPI, Read more.
- ToSchema
- This is
#[derive]
implementation forToSchema
trait, Read more.