cooperation-mode.yaml 570 字节
version: v1
kind: HttpApi
metadata:
  service: cooperationMode
  path: /cooperation-modes
  endpoints: 
  - method: createCooperationMode
    route:
      post: /  
  - method: updateCooperationMode
    route:
      put: /{cooperationModeId}
  - method: getCooperationMode
    route:
      get: /{cooperationModeId}
  - method: removeCooperationMode
    route:
      delete: /{cooperationModeId}
  - method: searchCooperationMode
    route:
      post: /search
  - method: listCooperationMode
    route:
      get: /
    params:
      - name: offset
      - name: limit