Update docs
This commit is contained in:
parent
89df70adbd
commit
179db15180
|
@ -43,7 +43,7 @@ type UserDeletionRequestConfirm struct {
|
|||
// @Produce json
|
||||
// @Param credentials body v1.UserDeletionRequest true "The user password."
|
||||
// @Success 200 {object} models.Message
|
||||
// @Failure 412 {object} web.HTTPError "Bad username provided."
|
||||
// @Failure 412 {object} web.HTTPError "Bad password provided."
|
||||
// @Failure 500 {object} models.Message "Internal error"
|
||||
// @Router /user/deletion/request [post]
|
||||
func UserRequestDeletion(c echo.Context) error {
|
||||
|
@ -141,7 +141,7 @@ func UserConfirmDeletion(c echo.Context) error {
|
|||
// @Produce json
|
||||
// @Param credentials body v1.UserDeletionRequest true "The user password to confirm."
|
||||
// @Success 200 {object} models.Message
|
||||
// @Failure 412 {object} web.HTTPError "Bad password providede"
|
||||
// @Failure 412 {object} web.HTTPError "Bad password provided."
|
||||
// @Failure 500 {object} models.Message "Internal error"
|
||||
// @Router /user/deletion/cancel [post]
|
||||
func UserCancelDeletion(c echo.Context) error {
|
||||
|
|
|
@ -6347,7 +6347,7 @@ var doc = `{
|
|||
}
|
||||
},
|
||||
"412": {
|
||||
"description": "Bad password providede",
|
||||
"description": "Bad password provided.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/web.HTTPError"
|
||||
}
|
||||
|
@ -6439,7 +6439,7 @@ var doc = `{
|
|||
}
|
||||
},
|
||||
"412": {
|
||||
"description": "Bad username provided.",
|
||||
"description": "Bad password provided.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/web.HTTPError"
|
||||
}
|
||||
|
|
|
@ -6330,7 +6330,7 @@
|
|||
}
|
||||
},
|
||||
"412": {
|
||||
"description": "Bad password providede",
|
||||
"description": "Bad password provided.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/web.HTTPError"
|
||||
}
|
||||
|
@ -6422,7 +6422,7 @@
|
|||
}
|
||||
},
|
||||
"412": {
|
||||
"description": "Bad username provided.",
|
||||
"description": "Bad password provided.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/web.HTTPError"
|
||||
}
|
||||
|
|
|
@ -5561,7 +5561,7 @@ paths:
|
|||
schema:
|
||||
$ref: '#/definitions/models.Message'
|
||||
"412":
|
||||
description: Bad password providede
|
||||
description: Bad password provided.
|
||||
schema:
|
||||
$ref: '#/definitions/web.HTTPError'
|
||||
"500":
|
||||
|
@ -5622,7 +5622,7 @@ paths:
|
|||
schema:
|
||||
$ref: '#/definitions/models.Message'
|
||||
"412":
|
||||
description: Bad username provided.
|
||||
description: Bad password provided.
|
||||
schema:
|
||||
$ref: '#/definitions/web.HTTPError'
|
||||
"500":
|
||||
|
|
Loading…
Reference in New Issue