small changes

add doc folder in gitignore
change type of return array for REST API
This commit is contained in:
rick 2022-10-21 20:09:36 +02:00
parent ba2d42be9e
commit dd818c353d
Signed by: Rick
GPG key ID: 4A6223D66294EB20
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.env .env
docs/*
# Created by https://www.toptal.com/developers/gitignore/api/node,go,vim,rust,emacs # Created by https://www.toptal.com/developers/gitignore/api/node,go,vim,rust,emacs
# Edit at https://www.toptal.com/developers/gitignore?templates=node,go,vim,rust,emacs # Edit at https://www.toptal.com/developers/gitignore?templates=node,go,vim,rust,emacs

View file

@ -80,7 +80,7 @@ func GetUser(c *fiber.Ctx) error {
// @Summary Renvoie la liste des groupes d'un utilisateur // @Summary Renvoie la liste des groupes d'un utilisateur
// @Produce json // @Produce json
// @Success 200 {array} primitive.ObjectID "Liste des ids des groupes" // @Success 200 {array} models.Group "Liste des ids des groupes"
// @Failure 403 // @Failure 403
// @Failure 404 // @Failure 404
// @Failure 500 // @Failure 500