Skip to main content

openapi_operation

Macro openapi_operation 

Source
openapi_operation!() { /* proc-macro */ }
Expand description

Converts a JSON-like OpenAPI Operation Object into a validated string literal.

This is primarily useful with lenso_capability_http_endpoint::http_endpoint!. Handler attributes accept the same object directly through #[openapi({ ... })].