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

Update Swagger-UI to v5 to be compatible with latest fastapi #1

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

hija
Copy link
Contributor

@hija hija commented Jul 21, 2023

Fastapi is using openapi version 3.1.0 as default. For openapi 3.1.0 one must use swagger-ui v5, since the previous versions do not support it. As a result, I propose to change the swagger-ui version to v5.

Besides, v5 also supports all previous versions, so I don't see any disadvantage in switching

@ahmetoner ahmetoner merged commit 049eb7f into ahmetoner:main Jul 22, 2023
@ahmetoner
Copy link
Owner

Thanks for your commit.

@hija
Copy link
Contributor Author

hija commented Jul 22, 2023

Thanks for merging :) Do you consider releasing a new version? 😊

@ahmetoner
Copy link
Owner

Thanks for reminding :) here is the release: https://github.com/ahmetoner/fastapi-offline-swagger-ui/releases/tag/1.1.0

@hija
Copy link
Contributor Author

hija commented Jul 22, 2023

Thanks :) Have a nice weekend!

@ahmetoner
Copy link
Owner

Thanks, you too

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

Successfully merging this pull request may close these issues.

2 participants