company.yaml 561 字节
version: v1
kind: HttpApi
metadata:
  service: company
  path: /companys
  endpoints: 
  - method: createCompany
    route:
      post: /  
  - method: updateCompany
    route:
      put: /{companyId}
  - method: getCompany
    route:
      get: /{companyId}
  - method: removeCompany
    route:
      delete: /{companyId}
  - method: listCompany
    route:
      post: /search
  - method: listCompanyCustomizeMenus
    route:
      get: /{companyId}/customize-menus/
  - method: updateCompanyCustomizeMenus
    route:
      put: /{companyId}/customize-menus