mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2026-06-12 19:49:10 +00:00
API Gateway 라우팅 설정 개선
- 서비스 디스커버리 제거하고 직접 URL 라우팅으로 변경 - application.yml 환경변수 기반 동적 라우팅 적용 - 로그인/리프레시 API 경로 수정 (/api/v1/auth/login, /api/v1/auth/refresh) - 사용자 관련 API 경로 추가 (/api/v1/users/**) - JWT 인증 필터 적용 및 Circuit Breaker 설정 유지 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ public class SwaggerConfig {
|
||||
return GroupedOpenApi.builder()
|
||||
.group("product")
|
||||
.displayName("Product Service")
|
||||
.pathsToMatch("/products/**", "/product/**")
|
||||
.pathsToMatch("/api/v1/products/**", "/product/**")
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ import java.time.LocalDate;
|
||||
* - 상품변경 이력 조회
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/products")
|
||||
@RequestMapping("/api/v1/products")
|
||||
@Validated
|
||||
@Tag(name = "Product Change Service", description = "상품변경 서비스 API")
|
||||
@SecurityRequirement(name = "bearerAuth")
|
||||
|
||||
Reference in New Issue
Block a user