EcoYeosu / YeosuRo-BackEnd

0 stars 2 forks source link

✨feat: Site조회 구현 / 응답 공통로직 구현 #55

Closed hae02y closed 1 month ago

hae02y commented 1 month ago

응답 예시

  1. 정상응답
    {
    "status": 200,
    "message": "OK",
    "data": {
        "id": 1,
        "category": "카테고리",
        "memo": "메모입니다.",
        "latitude": "111",
        "longitude": "222",
        "address": "어디어디"
    }
    }

data의 경우 object / List 형태에 맞추어 표출됨

  1. 에러응답
    {
    "error": "Not Found",
    "message": "Endpoint '/place/:placeId/review' not found",
    "status": 404
    }