Dependency updates etc

This commit is contained in:
2024-02-11 17:01:25 +01:00
parent 80ebba33bc
commit 99c47abe2e
6 changed files with 98 additions and 21 deletions

View File

@@ -10,6 +10,7 @@ import (
// @Description Requires Authorization-header with role "admin" or a matching account id
// @Description Example: Authorization: bearer xxx
// @Description Where "xxx" is a valid JWT token
// @Param Authorization header string true "Insert your access token"
// @ID account-del
// @Accept json
// @Produce json

View File

@@ -10,6 +10,7 @@ import (
// @Description Requires Authorization-header with either role "admin" or with a matching account id.
// @Description Example: Authorization: bearer xxx
// @Description Where "xxx" is a valid JWT token
// @Param Authorization header string true "Insert your access token"
// @ID get-account-by-id
// @Accept json
// @Produce json
@@ -50,6 +51,7 @@ func (h Handlers) AccountGet(c *fiber.Ctx) error {
// @Description Requires Authorization-header with role "admin".
// @Description Example: Authorization: bearer xxx
// @Description Where "xxx" is a valid JWT token
// @Param Authorization header string true "Insert your access token"
// @Accept json
// @Produce json
// @Success 200 {object} []db.Account

View File

@@ -25,6 +25,7 @@ type AuthInput struct {
// @Description Requires Authorization-header with role "admin".
// @Description Example: Authorization: bearer xxx
// @Description Where "xxx" is a valid JWT token
// @Param Authorization header string true "Insert your access token"
// @ID account-create
// @Accept json
// @Produce json

View File

@@ -11,6 +11,7 @@ import (
// @Description Requires Authorization-header with role "admin".
// @Description Example: Authorization: bearer xxx
// @Description Where "xxx" is a valid JWT token
// @Param Authorization header string true "Insert your access token"
// @ID account-update-fields
// @Accept json
// @Produce json