productLine.yaml
444 字节
version: v1
kind: HttpApi
metadata:
service: productLine
path: /product-lines
endpoints:
- method: createProductLine
route:
post: /
- method: updateProductLine
route:
put: /{lineId}
- method: getProductLine
route:
get: /{lineId}
- method: removeProductLine
route:
delete: /{lineId}
- method: listProductLine
route:
get: /
params:
- name: offset
- name: limit