mappingRule.yaml 574 字节
version: v1
kind: HttpApi
metadata:
  service: mappingRule
  path: /mapping-rules
  endpoints: 
  - method: createMappingRule
    route:
      post: /  
  - method: updateMappingRule
    route:
      put: /{mappingRuleId}
  - method: getMappingRule
    route:
      get: /{mappingRuleId}
  - method: removeMappingRule
    route:
      delete: /{mappingRuleId}
  - method: listMappingRule
    route:
      get: /
    params:
      - name: offset
      - name: limit
  - method: search
    route:
      post: /search
  - method: prepare
    route:
      post: /prepare