users.yaml
388 字节
version: v1
kind: HttpApi
metadata:
service: users
path: /users
endpoints:
- method: createUsers
route:
post: /
- method: updateUsers
route:
put: /{Id}
- method: getUsers
route:
get: /{Id}
- method: removeUsers
route:
delete: /{Id}
- method: listUsers
route:
get: /
params:
- name: offset
- name: limit