db_req.api 173 B

123456789101112
  1. type request {
  2. Id string `path:"id"`
  3. }
  4. type response {
  5. Res int `json:"res"`
  6. }
  7. service db_api {
  8. @handler apiTest
  9. get /db/api/api_test/:id (request) returns (response)
  10. }