|
|
version: v1
|
|
|
kind: HttpApi
|
|
|
metadata:
|
|
|
service: productCalendar
|
|
|
path: /product-calendars
|
|
|
endpoints:
|
|
|
- method: createProductCalendar
|
|
|
route:
|
|
|
post: /
|
|
|
- method: updateProductCalendar
|
|
|
route:
|
|
|
put: /{productCalendarId}
|
|
|
- method: getProductCalendar
|
|
|
route:
|
|
|
get: /{productCalendarId}
|
|
|
- method: removeProductCalendar
|
|
|
route:
|
|
|
delete: /{productCalendarId}
|
|
|
- method: listProductCalendar
|
|
|
route:
|
|
|
get: /
|
|
|
params:
|
|
|
- name: offset
|
|
|
- name: limit |
...
|
...
|
|