productSection.yaml 474 字节
version: v1
kind: HttpApi
metadata:
  service: productSection
  path: /product-sections
  endpoints: 
  - method: createProductSection
    route:
      post: /  
  - method: updateProductSection
    route:
      put: /{sectionId}
  - method: getProductSection
    route:
      get: /{sectionId}
  - method: removeProductSection
    route:
      delete: /{sectionId}
  - method: listProductSection
    route:
      get: /
    params:
      - name: offset
      - name: limit