cooperation-project.yaml 625 字节
version: v1
kind: HttpApi
metadata:
  service: cooperationProject
  path: /cooperation-projects
  endpoints: 
  - method: releaseCooperationProject
    route:
      post: /release-cooperation-project
  - method: createCooperationProject
    route:
      post: /  
  - method: updateCooperationProject
    route:
      put: /{cooperationProjectId}
  - method: getCooperationProject
    route:
      get: /{cooperationProjectId}
  - method: removeCooperationProject
    route:
      delete: /{cooperationProjectId}
  - method: listCooperationProject
    route:
      get: /
    params:
      - name: offset
      - name: limit