Closes #2616 - Address PR comment

This commit is contained in:
CRoberto1926 2024-07-19 17:08:10 +02:00 committed by James Reynaldi
parent 41b228029f
commit b90a9556d8
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ public class BootWebSecurityConfigurer {
.requestMatchers(HttpMethod.GET, "/docs/**")
.permitAll()
.requestMatchers(
HttpMethod.GET, "/api-docs", "/api-docs/**", "swagger-ui", "/swagger-ui/**")
HttpMethod.GET,
"/api-docs",
"/api-docs/**",
"/swagger-ui",
"/swagger-ui/**")
.permitAll())
.cors(Customizer.withDefaults())
.addFilter(jaasApiIntegrationFilter())