Closed beaniejoy closed 1 year ago
GET /cafes/{cafeId}/menus/{menuId}
cafe_menu
menu_option
option_detail
CafeMenu
프론트 작업하면서 추후 CafeMenu api 스펙 변경 예정
현재 상태
GET /cafes/{cafeId}/menus/{menuId}
cafe_menu
): name, price, optionListmenu_option
): title, optionDetailListoption_detail
): name, extra_price메뉴 생성(Create)
(
cafe_menu
,menu_option
,option_detail
모두 포함)메뉴 조회(Read)
(연관관계에 있는
menu_option
,option_detail
은 제외)(기존에 있는
menu_option
단일 조회 api 사용)메뉴 수정(Update)
(
cafe_menu
,menu_option
,option_detail
모두 포함)CafeMenu
Entity 내용을 update 하되 JPA dirty checking 기능 활용하고 잘 적용되는지 테스트해볼 것메뉴 삭제(Delete)