1
0

Fix swagger docs for create requests

This commit is contained in:
kolaente
2021-05-26 21:56:31 +02:00
parent 8e65ffb99b
commit e23014dbe4
21 changed files with 80 additions and 80 deletions

View File

@ -61,7 +61,7 @@ func (NamespaceUser) TableName() string {
// @Security JWTKeyAuth
// @Param id path int true "Namespace ID"
// @Param namespace body models.NamespaceUser true "The user you want to add to the namespace."
// @Success 200 {object} models.NamespaceUser "The created user<->namespace relation."
// @Success 201 {object} models.NamespaceUser "The created user<->namespace relation."
// @Failure 400 {object} web.HTTPError "Invalid user namespace 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 namespace"