Fix swagger docs for create requests

This commit is contained in:
kolaente 2021-05-26 21:56:31 +02:00
parent 8e65ffb99b
commit e23014dbe4
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
21 changed files with 80 additions and 80 deletions

View file

@ -68,7 +68,7 @@ type UserWithRight struct {
// @Security JWTKeyAuth
// @Param id path int true "List ID"
// @Param list body models.ListUser true "The user you want to add to the list."
// @Success 200 {object} models.ListUser "The created user<->list relation."
// @Success 201 {object} models.ListUser "The created user<->list relation."
// @Failure 400 {object} web.HTTPError "Invalid user list object provided."
// @Failure 404 {object} web.HTTPError "The user does not exist."
// @Failure 403 {object} web.HTTPError "The user does not have access to the list"