Skip to content
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

support of OpenAPI 3.1.* ? #274

Closed
yfhui opened this issue Nov 29, 2021 · 4 comments
Closed

support of OpenAPI 3.1.* ? #274

yfhui opened this issue Nov 29, 2021 · 4 comments

Comments

@yfhui
Copy link

yfhui commented Nov 29, 2021

currently this is using "swagger-ui-dist": "^3.18.1" which according to my understanding, this does not support the new openAPI 3.1.

Consider update to swagger-ui v4 for support of openAPI 3.1 (see this issue in swagger-ui)

Edit: openAPI 3.1 is not offically supported by swagger-ui v4

@scottie1984
Copy link
Owner

should be fixed now as part of https://github.com/scottie1984/swagger-ui-express/releases/tag/4.2.0

@yfhui
Copy link
Author

yfhui commented Dec 1, 2021

great! thanks for the quick response!

@yfhui
Copy link
Author

yfhui commented Dec 2, 2021

@scottie1984 I think I may have overread something, swagger UI v4.x actually still does not offically support openAPI 3.1 yet. See this line at swagger-ui code at the master branch. But the upgrade to v4 still be good, no need to revert anything.

@StephanBijzitter
Copy link

This issue should be re-opened, the line guarding against 3.1 is still in place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants