How to fix a disappeared "Authorize" button #41
kevinwallimann
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Before using the springdoc-openapi-scala library in our Spring Boot Application, we used the
@SecurityScheme
annotation on theSpringBootServletInitializer
to make OpenAPI display the Authorize button on the swagger UIAfter adding this library, unfortunately the Authorize button disappeared. However, adding the following OpenApiCustomizer fixed the issue and brought the button back
Note: springdoc-openapi-scala-2_2.12 v0.2.0 was used.
Beta Was this translation helpful? Give feedback.
All reactions