25 lines
519 B
Smarty
25 lines
519 B
Smarty
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)
|
|
}
|