mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2026-06-12 23:19:10 +00:00
Content Service API 경로 표준화
- API 경로를 /content에서 /api/v1/content로 변경 - REST API 버저닝 패턴 적용 (/api/v1/서비스명) - ContentController.java의 @RequestMapping 수정 - OpenAPI 명세서 경로 업데이트 (7개 엔드포인트) - Javadoc 주석의 API 경로 정보 업데이트 영향 범위: content-service만 수정, common 모듈 변경 없음 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -61,7 +61,7 @@ tags:
|
||||
description: 이미지 재생성 및 삭제 (UFR-CONT-020)
|
||||
|
||||
paths:
|
||||
/content/images/generate:
|
||||
/api/v1/content/images/generate:
|
||||
post:
|
||||
tags:
|
||||
- Job Status
|
||||
@@ -71,7 +71,7 @@ paths:
|
||||
|
||||
## 처리 방식
|
||||
- **비동기 처리**: Kafka `image-generation-job` 토픽에 Job 발행
|
||||
- **폴링 조회**: jobId로 생성 상태 조회 (GET /content/images/jobs/{jobId})
|
||||
- **폴링 조회**: jobId로 생성 상태 조회 (GET /api/v1/content/images/jobs/{jobId})
|
||||
- **캐싱**: 동일한 eventDraftId 재요청 시 캐시 반환 (TTL 7일)
|
||||
|
||||
## 생성 스타일
|
||||
@@ -182,7 +182,7 @@ paths:
|
||||
security:
|
||||
- BearerAuth: []
|
||||
|
||||
/content/images/jobs/{jobId}:
|
||||
/api/v1/content/images/jobs/{jobId}:
|
||||
get:
|
||||
tags:
|
||||
- Job Status
|
||||
@@ -339,7 +339,7 @@ paths:
|
||||
security:
|
||||
- BearerAuth: []
|
||||
|
||||
/content/events/{eventDraftId}:
|
||||
/api/v1/content/events/{eventDraftId}:
|
||||
get:
|
||||
tags:
|
||||
- Content Management
|
||||
@@ -427,7 +427,7 @@ paths:
|
||||
security:
|
||||
- BearerAuth: []
|
||||
|
||||
/content/events/{eventDraftId}/images:
|
||||
/api/v1/content/events/{eventDraftId}/images:
|
||||
get:
|
||||
tags:
|
||||
- Content Management
|
||||
@@ -506,7 +506,7 @@ paths:
|
||||
security:
|
||||
- BearerAuth: []
|
||||
|
||||
/content/images/{imageId}:
|
||||
/api/v1/content/images/{imageId}:
|
||||
get:
|
||||
tags:
|
||||
- Image Management
|
||||
@@ -590,7 +590,7 @@ paths:
|
||||
security:
|
||||
- BearerAuth: []
|
||||
|
||||
/content/images/{imageId}/regenerate:
|
||||
/api/v1/content/images/{imageId}/regenerate:
|
||||
post:
|
||||
tags:
|
||||
- Image Management
|
||||
|
||||
Reference in New Issue
Block a user