users-favorite-menus.yaml
323 字节
version: v1
kind: HttpApi
metadata:
service: user
path: /user
endpoints:
- method: updateFavoriteMenus
route:
put: /{userId}/favorite-menus
- method: getFavoriteMenus
route:
get: /{userId}/favorite-menus
- method: deleteFavoriteMenus
route:
delete: /{userId}/favorite-menus/{code}