You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment there are no direct support for extensions in utoipa::path attribute macro. And only way to add those is manually via Modify trait or otherwise edit the OpenApi before serving. The response itself does support extensions https://docs.rs/utoipa/latest/utoipa/openapi/response/struct.Response.html but it is a bit convoluted to add one for now.
Hello! First of all - Amazing project.
I need a way for my openapi to look like this:
Currently, I cannot find a away to insert an extension in the response, like
x-my-extension: "[DONE]"
in my example.Is there a way to do this?
Thanks in advance
The text was updated successfully, but these errors were encountered: