Open Danielku15 opened 2 years ago
Since swagger is dependant on MS openAPI.Net project, I think we need to wait for it to first support the 3.1.0 spec, but I can be wrong here.
It is on our roadmap https://github.com/microsoft/OpenAPI.NET/issues/795
Hi! Any news on this? As https://github.com/microsoft/OpenAPI.NET/issues/795 is closed.
@szymczakk Wait for preview release? https://github.com/microsoft/OpenAPI.NET/issues/795#issuecomment-1994528711
@szymczakk Wait for preview release? microsoft/OpenAPI.NET#795 (comment)
Sorry, just saw the status that is closed, haven’t read the comments.
thanks :)
This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made.
This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made.
When will this be supported? Any workarounds until this is solved?
We can only look into supporting it when Microsoft.OpenApi supports it.
For anyone as confused as I:
Despite https://github.com/microsoft/OpenAPI.NET/issues/795 ("Add OpenAPI 3.1 Support") being closed, the release it is slated to go out in, OpenAPI.NET:2.0 is currently still in progress (delayed from its original slated release date).
Looks like the preview release with 3.1.0 support is out now...
I am really looking forward to this. It only took 2.5+ years for MS to support 3.1 specs.
Unfortunately it is a bit hard to search for "3.1" or "3.1.0" in GitHub so I hope I'm not raising a duplicate here.
I was wondering what the plans on officially adding support for OpenApi 3.1.0 are? https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0
I'm not aware of all the exact changes but as of today Swashbuckle always generates version "3.0.1" schema and there seems no way to change this (value is hard-coded in SerializeAsV3). In our case it leads to some validation errors in the schema as we are using request bodies in DELETE operations, this was not allowed in "3.0.1" but the restriction was lifted in "3.1.0" because the HTTP RFC allows it.