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

@ -33,7 +33,7 @@ import (
// @Produce json
// @Param credentials body user.APIUserPassword true "The user credentials"
// @Success 200 {object} user.User
// @Failure 400 {object} code.vikunja.io/web.HTTPError "No or invalid user register object provided / User already exists."
// @Failure 400 {object} web.HTTPError "No or invalid user register object provided / User already exists."
// @Failure 500 {object} models.Message "Internal error"
// @Router /register [post]
func RegisterUser(c echo.Context) error {