-
Notifications
You must be signed in to change notification settings - Fork 238
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
OpenAPI 3.1 support? #410
Comments
Hi @IanVS, OpenAPI 3.1 definitely isn't supported, yet. FWIW, there are tools that will down convert to from 3.1 to 3.0 but there could be loss of features in the process. That said, our plugin does attempt to resolve all JSON schema $ref pointers, regardless of whether or not they follow the OpenAPI spec. |
Thanks for confirming. What would you think about making that clearer in the README? Maybe just change |
|
I agree, that could definitely help make it clearer. Hi @stefan-schweiger, support for 3.1 is on the roadmap. We're hoping to have it ready for our v2.0.0 release in the next 2-3 months. |
looks like this'll be a post-2.0 update? I can imagine it's some work to support multiple OpenAPI versions. |
Hi @jasikpark, it really depends. We use external libraries for parsing so it would really come down to:
|
ok! thx for breaking that down - maybe this issue can contain the status of those deps |
Hi @sserrata, have you given any more thought to openapi 3.1 support? In specific, I'm wishing we had the ability to describe the shape of dynamic keys on objects: OAI/OpenAPI-Specification#1505. |
Hi @IanVS, I checked and there is a more recent release of |
Hi @IanVS, I was wondering if you've had a chance to test the new |
Not yet, though I hope to before too long. I'm a bit behind on upgrades and it's going to take a lot of reworking of our custom CSS to update to the latest plugin versions. Was kind of holding off until there was word that docusaurus 3 is fully supported, which would give us even more reason to upgrade. |
The new parser is also available for 2.1.3 (introduced in 2.1.1). |
I'm still on |
Closing as limited support for OpenAPI 3.1 is already available |
Hi @sserrata I finally updated to 3.0 of the plugin, and tried using openapi 3.1, but the issue remains that I described at the top of this issue, that using |
Added an issue for that specific bug: #950 |
Is your feature request related to a problem?
I was trying to use open api 3.1.0 syntax, but it seems to be causing problems, so maybe it's not supported?
Describe the solution you'd like
Support 3.1.0
Additional context
Is it already supported and I'm just using it wrong? I do see
Compatible: Works with Swagger 2.0 and OpenAPI 3.x.
in the website, but when I tried to usetype: [string, 'null']
, the resulting span was juststringnull
smashed together like that, whereasnullable: true
added a nicenullable
tag.The text was updated successfully, but these errors were encountered: