cooperation-application.yaml 915 字节
version: v1
kind: HttpApi
metadata:
  service: cooperationApplication
  path: /cooperation-applications
  endpoints: 
  - method: applyForCooperation
    route:
      post: /apply-for-cooperation
  - method: agreeCooperationApplication
    route:
      post: /agree-cooperation-application
  - method: rejectCooperationApplication
    route:
      post: /reject-cooperation-application
  - method: createCooperationApplication
    route:
      post: /  
  - method: updateCooperationApplication
    route:
      put: /{cooperationApplicationId}
  - method: getCooperationApplication
    route:
      get: /{cooperationApplicationId}
  - method: removeCooperationApplication
    route:
      delete: /{cooperationApplicationId}
  - method: searchCooperationApplication
    route:
      post: /search
  - method: listCooperationApplication
    route:
      get: /
    params:
      - name: offset
      - name: limit