Skip to content

Commit

Permalink
[HotFix] swagger authorization setting ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Jan 6, 2024
1 parent c9c153f commit 343cddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public OpenAPI api() {
Components components = new Components()
.addSecuritySchemes(jwtSchemeName, new SecurityScheme()
.name(jwtSchemeName)
.type(SecurityScheme.Type.HTTP) // HTTP 방식
.scheme("bearer")
.type(SecurityScheme.Type.APIKEY) // HTTP 방식
// .scheme("bearer")
.in(SecurityScheme.In.COOKIE)
.bearerFormat("JWT")); // 토큰 형식을 지정하는 임의의 문자(Optional)

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application-real.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ server:
whitelabel.enabled: true

springdoc:
use-fqn: true

0 comments on commit 343cddd

Please sign in to comment.