12345678910111213141516171819202122232425 |
- syntax = "v1"
- info (
- title: // TODO: add title
- desc: // TODO: add description
- author: "wangshan"
- email: "wangshan@topnet.net.cn"
- )
- type request {
- // TODO: add members here and delete this comment
- }
- type response {
- // TODO: add members here and delete this comment
- }
- service bxcore-api {
- @handler GetUser // TODO: set handler name and delete this comment
- get /users/id/:userId(request) returns(response)
- @handler CreateUser // TODO: set handler name and delete this comment
- post /users/create(request)
- }
|