productMaterialGroup.yaml 556 字节
version: v1
kind: HttpApi
metadata:
  service: productMaterialGroup
  path: /product-material-groups
  endpoints: 
  - method: createProductMaterialGroup
    route:
      post: /  
  - method: updateProductMaterialGroup
    route:
      put: /{productMaterialGroupId}
  - method: getProductMaterialGroup
    route:
      get: /{productMaterialGroupId}
  - method: removeProductMaterialGroup
    route:
      delete: /{productMaterialGroupId}
  - method: listProductMaterialGroup
    route:
      get: /
    params:
      - name: offset
      - name: limit