tydata-server/app/user/cmd/api/desc/auth/auth.api
2025-01-10 00:09:25 +08:00

17 lines
299 B
Plaintext

syntax = "v1"
info (
title: "认证服务"
desc: "认证服务"
author: "Liangzai"
email: "2440983361@qq.com"
)
type (
sendSmsReq {
Mobile string `json:"mobile" validate:"required,mobile"`
ActionType string `json:"actionType" validate:"required,oneof=login register query"`
}
)