fusenapi/server_api/data-transfer.api
2023-06-05 17:56:55 +08:00

23 lines
456 B
Plaintext

syntax = "v1"
info (
title: // 个人文件传输
desc: // 图片,pdf,设计logo等
author: ""
email: ""
)
type request {
// TODO: add members here and delete this comment
Name string `path:"name,options=you|me"` // parameters are auto validated
}
type response {
// TODO: add members here and delete this comment
Message string `json:"message"`
}
service user-auth {
@handler GreetHandler
get /greet/from/:name(request) returns (response);
}