Crate salvo_oapi_macros

Source
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§

endpoint
Enhanced of handler for generate OpenAPI documention, Read more.

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 for ToSchema trait, Read more.