menu.yaml
374 字节
version: v1
kind: HttpApi
metadata:
service: menu
path: /menu
endpoints:
- method: createMenu
route:
post: /
- method: updateMenu
route:
put: /{menuId}
- method: getMenu
route:
get: /{menuId}
- method: removeMenu
route:
delete: /{menuId}
- method: listMenu
route:
post: /search