fix: shipimg 경로 충돌 수정 — /{imo} 숫자 패턴 제약 추가
- /{imo} → /{imo:\d+}로 변경하여 /valid-list 경로와 충돌 방지
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
부모
d49fd6a790
커밋
8a9efdaf95
@ -34,7 +34,7 @@ public class ShipImageControllerV2 {
|
||||
|
||||
private final ShipImageService shipImageService;
|
||||
|
||||
@GetMapping("/{imo}")
|
||||
@GetMapping("/{imo:\\d+}")
|
||||
@Operation(
|
||||
summary = "선박 이미지 경로 조회",
|
||||
description = "IMO 번호로 선박 이미지 경로 목록을 조회합니다. 프론트엔드에서 썸네일은 path + '_1.jpg', 원본은 path + '_2.jpg'를 사용합니다."
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user