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 (Label) TableName() string {
// @Produce json
// @Security JWTKeyAuth
// @Param label body models.Label true "The label object"
// @Success 200 {object} models.Label "The created label object."
// @Success 201 {object} models.Label "The created label object."
// @Failure 400 {object} web.HTTPError "Invalid label object provided."
// @Failure 500 {object} models.Message "Internal error"
// @Router /labels [put]