From 3113f09f62128ae975876826ee219382a26afe2a Mon Sep 17 00:00:00 2001 From: Hgyeol Date: Sun, 31 Aug 2025 23:35:17 +0900 Subject: [PATCH 1/3] =?UTF-8?q?feat(#8)=20:=20/swagger-ui=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=EC=8B=9C=20=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=95=88?= =?UTF-8?q?=ED=95=B4=EB=8F=84=20=EB=90=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/hello/cluebackend/global/config/SecurityConfig.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); From a9e49e4db1ef7491e854567d510c3b3f9051a4c3 Mon Sep 17 00:00:00 2001 From: Hgyeol Date: Sun, 31 Aug 2025 23:35:53 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat(#8)=20:=20swagger=20title=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/hello/cluebackend/global/config/SwaggerConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } From 82fb699a0c2d98badebe48829dbaa87e49e27d7b Mon Sep 17 00:00:00 2001 From: Hgyeol Date: Mon, 1 Sep 2025 00:18:42 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix(#8)=20:=20swgger=20Failed=20to=20load?= =?UTF-8?q?=20remote=20configuration=20=EC=9D=B4=EC=8A=88=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hello/cluebackend/global/config/SecurityConfig.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/hello/cluebackend/global/config/SecurityConfig.java b/src/main/java/hello/cluebackend/global/config/SecurityConfig.java index 1823afb7..20b254bf 100644 --- a/src/main/java/hello/cluebackend/global/config/SecurityConfig.java +++ b/src/main/java/hello/cluebackend/global/config/SecurityConfig.java @@ -114,7 +114,13 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) { // 경로별 인가 작업 http .authorizeHttpRequests(auth -> auth - .requestMatchers("/", "/refresh-token", "/register", "/first-register", "/api/timetable/**", "/test", "/swagger-ui/**").permitAll() + .requestMatchers("/", "/refresh-token", "/register", "/first-register", "/api/timetable/**", "/test", + "/h2-console/**", + "/favicon.ico", + "/error", + "/swagger-ui/**", + "/swagger-resources/**", + "/v3/api-docs/**").permitAll() .anyRequest().authenticated());