New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OpenAPI 3.1 Support #795
Comments
I'm particularly interested in the new |
@darrelmiller do you have an ETA on this? Do you need help? |
It is currently planned as a stretch goal for CY2022H2. |
I believe dictionary support is missing from the list microsoft/kiota#62 |
@KeithMAtFis I have good news for you! Previously, But since OpenAPI 3.1 uses JSON Schema 2020-12, this restriction is lifted, and now sibling keywords are respected. Your use case should work as long as the package does something with the |
@gregsdennis that is great. I should have provided some background, I am using Minimal API and DOTNet 6, C#10 and it seems that that does not support OpenAPI 3.1.0 yet in its current form. Out of the box there is Swagger support but it seems to only support 3.0.1 and backwards support to v2. I have not found a way to allow output to 3.1.0 standards. The Nugets that I am using are Swashbuckle.AspNetCore, Swashbuckle.AspNetCore.Swagger and Swashbuckle.Core all at version 6.4.0 (latest). Would you know if there is another NuGet that I should be using or certain configuration i should use? Btw, I really appreciate you taking the time to respond. (here is the GITHUB link to support 3.1.0 in Swashbuckle domaindrivendev/Swashbuckle.AspNetCore#2349) |
I don't know of any others, no. It looks like Swashbuckle is dependent upon this lib, so the goal is to get this one going first. |
There's a new project https://github.com/sourcemeta/alterschema that aims to convert between schema versions. I think they plan to handle OpenAPI versions as well eventually. This might take care of "Enable upcasting from V2/V3 to 3.1". |
What are the timeline on these changes? It looks like a lot of project depends on this project to move forward with OpenAPI 3.1 With regards, |
Hello all! I'm taking a sab at implementing the 9th item - "Map nullable to null type." I have broken up this effort into two seperate PRs. I want to make sure I am not stepping on anyones toes before raising a PR. The first modifies the parser to map the OpenAPI represetntation of null within a type array to the existing Does this sound good to everyone? |
Hey @funkeyfreak, |
@funkeyfreak we're considering taking a dependency on an external JSON schema library so maybe just hold off on creating a PR. |
It looks a lot of progress is occurring to support this goal. Is there a general target on when OpenAPI v3.1 support will be released? |
Swagger/SmartBear has started to support 3.1 since June, at https://smartbear.com/news/news-releases/swagger-open-source-tooling-now-supports-latest-op/ |
hi all, do we have any update for this, any ETA, anything? |
Hi @msolujic |
My research about OpenAPI 3.1 support led me to this project - https://github.com/gregsdennis/Graeae |
@HavenDV I created that as kind of an experiment to see if I can make a JsonSchema.Net-based OpenAPI implementation. It provides the models, and all of the referencing and everything works right, but it's really basic. My focus is really the |
hi @MaggieKimani1 are we closer for this issue to be closed and OAS 3.1 to be supported by OpenAPI.NET? |
Hi @msolujic, we've finished working on this issue but we're currently working on other breaking changes that need to go out with the v2.0 release. ETA for the preview release is within a month or less. |
Do we have support for OAS 3.1 now? |
Includes:
The text was updated successfully, but these errors were encountered: