productGroup.yaml 475 字节
version: v1
kind: HttpApi
metadata:
  service: productGroup
  path: /product-groups
  endpoints: 
  - method: createProductGroup
    route:
      post: /  
  - method: updateProductGroup
    route:
      put: /{productGroupId}
  - method: getProductGroup
    route:
      get: /{productGroupId}
  - method: removeProductGroup
    route:
      delete: /{productGroupId}
  - method: listProductGroup
    route:
      get: /
    params:
      - name: offset
      - name: limit