diff --git a/build.gradle b/build.gradle index 6790343..ea948f7 100644 --- a/build.gradle +++ b/build.gradle @@ -89,6 +89,7 @@ dependencies { implementation 'com.google.firebase:firebase-admin:9.1.1' implementation 'org.springframework.boot:spring-boot-starter-data-redis' + implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0' } // Querydsl 설정부 diff --git a/src/main/java/igoMoney/BE/common/config/WebSecurityConfig.java b/src/main/java/igoMoney/BE/common/config/WebSecurityConfig.java index 78157ba..90a75f3 100644 --- a/src/main/java/igoMoney/BE/common/config/WebSecurityConfig.java +++ b/src/main/java/igoMoney/BE/common/config/WebSecurityConfig.java @@ -18,7 +18,12 @@ public class WebSecurityConfig { private static final String[] WHITE_LIST_URL = { - "/auth/**" + "/auth/**", + "v3/api-docs/**", + "/swagger-resources", + "/swagger-resources/**", + "/swagger-ui/**", + "/swagger-ui.html" }; private final JwtAuthenticationFilter jwtAuthFilter; private final AuthenticationProvider authenticationProvider;