fix: shipimg 경로 충돌 수정 — /{imo} 숫자 패턴 제약 추가

- /{imo} → /{imo:\d+}로 변경하여 /valid-list 경로와 충돌 방지

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
htlee 2026-02-20 02:17:18 +09:00
부모 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'를 사용합니다."