-
-
Notifications
You must be signed in to change notification settings - Fork 504
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-config is loaded twice #688
Comments
Duplicate of #349, #545. |
Starting from v1.4.1, the following properties can be used to prevent the load of the swagger-config twice.
springdoc.swagger-ui.display-query-params-without-oauth2=true
springdoc.swagger-ui.display-query-params=true |
Thanks for sharing! @bnasslahsen |
Describe the bug
swagger-config url is loaded twice.
Thus onComplete callback is also called twice which makes it harder to customize the UI.
To Reproduce
springdoc-openapi 1.3.9
You may check the online demo:
https://springdoc-openapi-test-app1-exhausted-civet.eu-de.mybluemix.net/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: