-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Swagger Editor show Structural error at openapi for 3.1.0 #4798
Comments
I'm having the same issue. I wouldn't mind opening up a fix for this, as it looks like a fairly simple one. |
Same issue here |
The current version of SwaggerEditor (v4) deployed to |
@frankkilcommins as far as I can see, https://editor-next.swagger.io/ does not support URL parameters, which is crucial, hence the reliance on https://editor.swagger.io. |
@Spenhouet nice spot. Thanks! We've created #4806 for that specific issue. Note: Only SwaggerEditor@5 supports OpenAPI 3.1.0. SwaggerEditor@4 will not receive OpenAPI 3.1.0 support and is considered legacy at this point. The plan is to continually migrate fully to SwaggerEditor@5 and deprecate the SwaggerEditor@4 in the future, meaning that v5 will eventually be what's deployed to https://editor.swagger.io. I'll close this issue as a result and we can track support of the URL query param via #4806 |
Isn't 3.1.0 the latest stable version though? Could the logic be updated?
|
Q&A (please complete the following information)
Content & configuration
My Swagger/OpenAPI definition contains the version 3.1.0 as openapi version:
Describe the bug you're encountering
When opened in https://editor.swagger.io/, it shows the error:
Expected behavior
Using version 3.1.0 should not yield any validation error.
Screenshots
The text was updated successfully, but these errors were encountered: