small changes
add doc folder in gitignore change type of return array for REST API
This commit is contained in:
parent
ba2d42be9e
commit
dd818c353d
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue