Open coffeebe4code opened 1 year ago
In short, at the moment x-properties
are not supported and there is no build in way to insert extension properties to the schema.
Perhaps this is something that could be explored in future, and of course PR:s are welcome. :slightly_smiling_face:
@coffeebe4code You can build the server object using the modify trait.
https://github.com/juhaku/utoipa/pull/763 Are these the same x-properties? My PR is for openapi extensions
I am using the actix example essentially.
We have custom requirements at our company to add several extra fields, usually for certain blocks. like the server block, or extra x-properties in the info block.
I would much rather build this file at compile time as well, but I can manage that on my end if there are no exposed means from this project.
Great freaking project btw, this all worked perfectly out of the box very quick to set up.