test.api
417 字节
syntax = "v1"
info(
title: "天联鹰蜓"
desc: "天联鹰蜓"
author: "小火箭"
email: "email"
version: "v1"
)
@server(
prefix: v1
group: tool
)
service Core {
@doc "健康"
@handler miniHealth
post /health (MiniHealthRequest) returns (MiniHealthResposne)
}
type(
MiniHealthRequest struct{
}
MiniHealthResposne struct{
Ok bool `json:"ok"`
}
)