mirror of
https://github.com/openziti/zrok.git
synced 2025-08-14 18:18:30 +02:00
@ -1442,7 +1442,7 @@ func init() {
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"regToken": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@ -1454,7 +1454,7 @@ func init() {
|
||||
"description": "account created",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"token": {
|
||||
"accountToken": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@ -3588,7 +3588,7 @@ func init() {
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"regToken": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@ -3600,7 +3600,7 @@ func init() {
|
||||
"description": "account created",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"token": {
|
||||
"accountToken": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -66,8 +66,8 @@ type RegisterBody struct {
|
||||
// password
|
||||
Password string `json:"password,omitempty"`
|
||||
|
||||
// token
|
||||
Token string `json:"token,omitempty"`
|
||||
// reg token
|
||||
RegToken string `json:"regToken,omitempty"`
|
||||
}
|
||||
|
||||
// Validate validates this register body
|
||||
@ -103,8 +103,8 @@ func (o *RegisterBody) UnmarshalBinary(b []byte) error {
|
||||
// swagger:model RegisterOKBody
|
||||
type RegisterOKBody struct {
|
||||
|
||||
// token
|
||||
Token string `json:"token,omitempty"`
|
||||
// account token
|
||||
AccountToken string `json:"accountToken,omitempty"`
|
||||
}
|
||||
|
||||
// Validate validates this register o k body
|
||||
|
Reference in New Issue
Block a user