Analytics Service Swagger 설정 개선

- Swagger UI 경로를 Ingress 경로와 일치하도록 수정 (/api/v1/analytics/swagger-ui.html)
- AKS 환경 서버 URL을 Swagger 서버 목록에 추가
- API 테스트 편의성 향상

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Hyowon Yang 2025-10-30 15:31:32 +09:00
parent 14823a17c4
commit 9e2d0a3889
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@ public class SwaggerConfig {
.addServersItem(new Server() .addServersItem(new Server()
.url("http://localhost:8086") .url("http://localhost:8086")
.description("Local Development")) .description("Local Development"))
.addServersItem(new Server()
.url("http://kt-event-marketing-api.20.214.196.128.nip.io")
.description("AKS Development"))
.addServersItem(new Server() .addServersItem(new Server()
.url("{protocol}://{host}:{port}") .url("{protocol}://{host}:{port}")
.description("Custom Server") .description("Custom Server")

View File

@ -117,7 +117,7 @@ springdoc:
api-docs: api-docs:
path: /v3/api-docs path: /v3/api-docs
swagger-ui: swagger-ui:
path: /swagger-ui.html path: /api/v1/analytics/swagger-ui.html
tags-sorter: alpha tags-sorter: alpha
operations-sorter: alpha operations-sorter: alpha
show-actuator: false show-actuator: false