Fix swagger docs

This commit is contained in:
kolaente 2020-06-28 16:25:46 +02:00
parent b55b21373c
commit 3b2289c8fa
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
32 changed files with 6406 additions and 2603 deletions

View file

@ -39,8 +39,8 @@ type UserPassword struct {
// @Param userPassword body v1.UserPassword true "The current and new password."
// @Security JWTKeyAuth
// @Success 200 {object} models.Message
// @Failure 400 {object} code.vikunja.io/web.HTTPError "Something's invalid."
// @Failure 404 {object} code.vikunja.io/web.HTTPError "User does not exist."
// @Failure 400 {object} web.HTTPError "Something's invalid."
// @Failure 404 {object} web.HTTPError "User does not exist."
// @Failure 500 {object} models.Message "Internal server error."
// @Router /user/password [post]
func UserChangePassword(c echo.Context) error {