📜 Description


새 메뉴를 추가하는 API입니다.

관리자페이지에서 사용될 수 있지만, 현재는 db에 데이터 추가하는 용도로 사용되고 있습니다.

🔑 Method : GET

🗝 URI : /api/menus


🔍 Parameters : Nothing


✅ Request Body(example)


{
    "name": "테스트",
    "imgUrl": "<https://image.istarbucks.co.kr/upload/store/skuimg/2021/04/[9200000002487]_20210426091745467.jpg>",
    "basePrice": 5000,
    "isSoldOut": false,
    "categoryId": 1
}

✅ Response Body(example)


{
    "ok": true,
    "data": {
        "name": "테스트",
        "basePrice": 5000,
        "imgUrl": "<https://image.istarbucks.co.kr/upload/store/skuimg/2021/04/[9200000002487]_20210426091745467.jpg>",
        "isSoldOut": false,
        "categoryId": 1,
        "id": 165
    }
}