diff --git a/src/main/java/hello/cluebackend/global/config/SecurityConfig.java b/src/main/java/hello/cluebackend/global/config/SecurityConfig.java index 8a14cc46..1823afb7 100644 --- a/src/main/java/hello/cluebackend/global/config/SecurityConfig.java +++ b/src/main/java/hello/cluebackend/global/config/SecurityConfig.java @@ -114,8 +114,7 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) { // 경로별 인가 작업 http .authorizeHttpRequests(auth -> auth -// .requestMatchers("/", "/refresh-token", "/register", "/first-register", "/api/timetable/**", "/test", "/api/document/download/{documentId:\\d+}").permitAll() - .requestMatchers("/", "/refresh-token", "/register", "/first-register", "/api/timetable/**", "/test").permitAll() + .requestMatchers("/", "/refresh-token", "/register", "/first-register", "/api/timetable/**", "/test", "/swagger-ui/**").permitAll() .anyRequest().authenticated()); diff --git a/src/main/java/hello/cluebackend/global/config/SwaggerConfig.java b/src/main/java/hello/cluebackend/global/config/SwaggerConfig.java index 80b7fc43..39ba21c3 100644 --- a/src/main/java/hello/cluebackend/global/config/SwaggerConfig.java +++ b/src/main/java/hello/cluebackend/global/config/SwaggerConfig.java @@ -18,7 +18,7 @@ public OpenAPI openAPI() { private Info apiInfo() { return new Info() - .title("CodeArena Swagger") + .title("Clue Swagger") .description("CLUE REST API") .version("1.0.0"); }