Open Zstorm999 opened 2 weeks ago
There are several points in the openapi specifications where extensions can be specified, in the form of x-extname: https://spec.openapis.org/oas/v3.1.0#specification-extensions
x-extname
Currently poem-openapi does not allow generating such extensions, it would be nice if it was available.
Example on a route below, it could work the same on data definitions :
#[oai(custom_attr = "x-value = 16")] fn my_route() -> ... { todo!() }
Description of the feature
There are several points in the openapi specifications where extensions can be specified, in the form of
x-extname
: https://spec.openapis.org/oas/v3.1.0#specification-extensionsCurrently poem-openapi does not allow generating such extensions, it would be nice if it was available.
Code example (if possible)
Example on a route below, it could work the same on data definitions :