menu.yaml
427 字节
version: v1
kind: HttpApi
metadata:
service: menu
path: /menus
endpoints:
- method: createMenu
route:
post: /
- method: updateMenu
route:
put: /{menuId}
- method: getMenu
route:
get: /{menuId}
- method: removeMenu
route:
delete: /{menuId}
- method: listMenu
route:
get: /
params:
- name: offset
- name: limit