productMaterial.yaml
505 字节
version: v1
kind: HttpApi
metadata:
service: productMaterial
path: /product-materials
endpoints:
- method: createProductMaterial
route:
post: /
- method: updateProductMaterial
route:
put: /{productMaterialId}
- method: getProductMaterial
route:
get: /{productMaterialId}
- method: removeProductMaterial
route:
delete: /{productMaterialId}
- method: listProductMaterial
route:
get: /
params:
- name: offset
- name: limit