chore(docs): move login and register routes to auth category in api docs

This commit is contained in:
kolaente 2023-07-03 18:10:01 +02:00
parent 117c569721
commit 32689531ec
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ import (
// Login is the login handler
// @Summary Login
// @Description Logs a user in. Returns a JWT-Token to authenticate further requests.
// @tags user
// @tags auth
// @Accept json
// @Produce json
// @Param credentials body user.Login true "The login credentials"

View File

@ -31,7 +31,7 @@ import (
// RegisterUser is the register handler
// @Summary Register
// @Description Creates a new user account.
// @tags user
// @tags auth
// @Accept json
// @Produce json
// @Param credentials body user.APIUserPassword true "The user credentials"