4. 가게 정보 조회 API (/stores/{storeId})

✅ 메서드 및 URL

메서드 요청 URL
GET /api/stores/{storeId}

✅ Request Header

파라미터 타입 필수여부 설명
Authorization String 선택 JWT 인증 토큰 (소유주 or 사용자)
Content-Type String 필수 application/json

✅ Request Path Parameter

파라미터 타입 필수여부 설명
storeId Integer 필수 조회할 가게 ID

✅ Response Elements

필드명 타입 설명
storeId Integer 가게 ID
name String 가게 이름
ownerId Integer 소유주 ID
category String 카테고리 코드 (KOREAN, ...)
address String 가게 주소
rating Float 평점 (0.0 ~ 5.0)
createdAt String 생성일시 (ISO 8601)
updatedAt String 마지막 수정일시 (ISO 8601)

✅ Response 예시 (200 OK)

json
복사편집
{
  "storeId": 3,
  "name": "홍콩반점",
  "ownerId": 7,
  "category": "KOREAN",
  "address": "서울시 강남구 역삼동 123-45",
  "rating": 4.8,
  "createdAt": "2025-07-01T09:12:45",
  "updatedAt": "2025-07-15T16:32:10"
}