unitConversion.yaml 495 字节
version: v1
kind: HttpApi
metadata:
  service: unitConversion
  path: /unit-conversions
  endpoints: 
  - method: createUnitConversion
    route:
      post: /  
  - method: updateUnitConversion
    route:
      put: /{unitConversionId}
  - method: getUnitConversion
    route:
      get: /{unitConversionId}
  - method: removeUnitConversion
    route:
      delete: /{unitConversionId}
  - method: listUnitConversion
    route:
      get: /
    params:
      - name: offset
      - name: limit