menu.yaml 526 字节
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
    - method: batchDeleteMenu
      route:
        post: /batch-delete    
    - method: batchEnableMenu
      route:
        post: /batch-enable