taskNature.yaml 594 字节
version: v1
kind: HttpApi
metadata:
  service: taskNature
  path: /task-natures
  endpoints:
  - method: createTaskNature
    route:
      post: /      
  - method: updateTaskNature
    route:
      put: /{taskNatureId}
  - method: getTaskNature
    route:
      get: /{taskNatureId}         
  - method: removeTaskNature
    route:
      delete: /{taskNatureId}  
  - method: listTaskNature
    route:
      get: /
    params:
      - name: companyId
      - name: taskNatureName       
      - name: taskNatureNameMatch      
      - name: offset
      - name: limit