Skip to content

Commit

Permalink
hotfix: fix swagger configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
chominho96 committed Apr 6, 2024
1 parent 58c49e9 commit 2444475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/unithon/uniletter/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public OpenAPI openAPI() {
new Components().addSecuritySchemes(
"oauth2 token",
new SecurityScheme()
.scheme("bearer")
.type(SecurityScheme.Type.HTTP)
.scheme("Bearer ")
.type(SecurityScheme.Type.APIKEY)
.bearerFormat("jwt")
.name("oauth2")
));
Expand Down

0 comments on commit 2444475

Please sign in to comment.