Analytics Service context-path 설정 및 Controller 경로 최적화
- context-path 추가: /api/v1/analytics
- Swagger UI 경로를 기본값으로 수정 (/swagger-ui.html)
- 모든 Controller의 @RequestMapping에서 /api/v1 제거
- Events 관련 Controller 4개: /api/v1/events → /events
- Users 관련 Controller 4개: /api/v1/users → /users
- DebugController: /api/debug → /debug
이제 Ingress를 통한 접근 및 Swagger UI가 정상 작동합니다.
- Swagger UI: /api/v1/analytics/swagger-ui/index.html
- API: /api/v1/analytics/events/{eventId}/analytics
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,7 @@ spring:
|
||||
server:
|
||||
port: ${SERVER_PORT:8086}
|
||||
servlet:
|
||||
context-path: /api/v1/analytics
|
||||
encoding:
|
||||
charset: UTF-8
|
||||
enabled: true
|
||||
@@ -117,7 +118,7 @@ springdoc:
|
||||
api-docs:
|
||||
path: /v3/api-docs
|
||||
swagger-ui:
|
||||
path: /api/v1/analytics/swagger-ui.html
|
||||
path: /swagger-ui.html
|
||||
tags-sorter: alpha
|
||||
operations-sorter: alpha
|
||||
show-actuator: false
|
||||
|
||||
Reference in New Issue
Block a user