feat: add http handlers, docs
This commit is contained in:
1 parent
5829b471d5
commit
b2d5659aec
7 files changed
+466
-43
No files matched your search
@@ -28,3 +28,16 @@ type RefreshTokenRequest struct {
|
||||
type OTPProviderReq struct {
|
||||
Receptor string `json:"receptor"`
|
||||
}
|
||||
|
||||
type OTPProviderResponse struct {
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type OTPVerifyRequest struct {
|
||||
Phone string `json:"phone" validate:"required"`
|
||||
Code string `json:"code" validate:"required"`
|
||||
}
|
||||
|
||||
type OTPVerifyResponse struct {
|
||||
Message string `json:"message"`
|
||||
}
|
||||
Reference in new issue
Block a user