Skip to content

Commit

Permalink
[FO-900] swagger 무한 루프 오류 픽스 (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoodlesOnMyFood authored Feb 6, 2024
1 parent ee7d426 commit 565375d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ class SwaggerConfig(
)
).consumes(getConsumeContentTypes()).produces(getProduceContentTypes())
.apiInfo(apiInfo()).select().apis(RequestHandlerSelectors.basePackage("com.fone"))
.paths(PathSelectors.ant("/**")).build()
.paths(PathSelectors.ant("/**"))
.build()
.pathMapping("/")
.ignoredParameterTypes(Principal::class.java)
.securityContexts(listOf(securityContext()))
.securitySchemes(listOf<SecurityScheme>(apiKey()))
Expand Down

0 comments on commit 565375d

Please sign in to comment.