api polish: change password (#834)

This commit is contained in:
Michael Quigley
2025-02-03 11:03:22 -05:00
parent 9f31112e1b
commit d13a47d1c0
15 changed files with 300 additions and 72 deletions

View File

@ -137,7 +137,17 @@ func init() {
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/changePasswordRequest"
"properties": {
"email": {
"type": "string"
},
"newPassword": {
"type": "string"
},
"oldPassword": {
"type": "string"
}
}
}
}
],
@ -1706,20 +1716,6 @@ func init() {
}
}
},
"changePasswordRequest": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"newPassword": {
"type": "string"
},
"oldPassword": {
"type": "string"
}
}
},
"configuration": {
"type": "object",
"properties": {
@ -2446,7 +2442,17 @@ func init() {
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/changePasswordRequest"
"properties": {
"email": {
"type": "string"
},
"newPassword": {
"type": "string"
},
"oldPassword": {
"type": "string"
}
}
}
}
],
@ -4017,20 +4023,6 @@ func init() {
}
}
},
"changePasswordRequest": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"newPassword": {
"type": "string"
},
"oldPassword": {
"type": "string"
}
}
},
"configuration": {
"type": "object",
"properties": {