You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- syntax = "v1"
-
- info (
- title: // TODO: add title
- desc: // TODO: add description
- author: "{{.gitUser}}"
- email: "{{.gitEmail}}"
- )
-
- type request {
- // TODO: add members here and delete this comment
- }
-
- type response {
- // TODO: add members here and delete this comment
- }
-
- service {{.serviceName}} {
- @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)
- }
|