feat: add http handlers, docs
This commit is contained in:
@@ -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