cooperation-contract.yaml 709 字节
version: v1
kind: HttpApi
metadata:
  service: cooperationContract
  path: /cooperation-contracts
  endpoints: 
  - method: createCooperationContract
    route:
      post: /  
  - method: updateCooperationContract
    route:
      put: /{cooperationContractId}
  - method: getCooperationContract
    route:
      get: /{cooperationContractId}
  - method: removeCooperationContract
    route:
      delete: /{cooperationContractId}
  - method: searchCooperationContract
    route:
      post: /search
  - method: searchCooperationContractByUndertaker
    route:
      post: /search-by-undertaker
  - method: listCooperationContract
    route:
      get: /
    params:
      - name: offset
      - name: limit