add: some user api and all api desc

This commit is contained in:
wwweww
2026-02-27 19:17:01 +08:00
parent a0c720eb2f
commit 5930fb0dde
156 changed files with 9457 additions and 1086 deletions
+3 -6
View File
@@ -7,7 +7,7 @@ info (
)
type (
EmptyResp {}
EmptyResp {}
ForgotPasswordReq {
Email string `json:"email"`
}
@@ -24,7 +24,7 @@ type (
@server (
group: email
prefix: /api/email
prefix: /api/v1/email
middleware: Logger
)
service email-api {
@@ -34,14 +34,11 @@ service email-api {
)
@handler SendVerificationCode
post /verification-code/send (SendVerificationCodeReq) returns (SendVerificationCodeResp)
}
@server (
group: user
group: email
prefix: /api/v1/auth
)
service email-api {
@doc "忘记密码-发送验证码"