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

@ -30,9 +30,9 @@ import (
// @tags user
// @Accept json
// @Produce json
// @Param credentials body models.EmailConfirm true "The token."
// @Param credentials body user.EmailConfirm true "The token."
// @Success 200 {object} models.Message
// @Failure 412 {object} code.vikunja.io/web.HTTPError "Bad token provided."
// @Failure 412 {object} web.HTTPError "Bad token provided."
// @Failure 500 {object} models.Message "Internal error"
// @Router /user/confirm [post]
func UserConfirmEmail(c echo.Context) error {