regToken, accountToken (#820, #834)

This commit is contained in:
Michael Quigley
2025-02-04 11:52:46 -05:00
parent 7685c06e45
commit 47421e65bd
42 changed files with 482 additions and 407 deletions

View File

@ -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"
}
}

View File

@ -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