diff --git a/pkg/routes/api/v1/login.go b/pkg/routes/api/v1/login.go index 58607be02ce..214e5fbc8f7 100644 --- a/pkg/routes/api/v1/login.go +++ b/pkg/routes/api/v1/login.go @@ -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" diff --git a/pkg/routes/api/v1/user_register.go b/pkg/routes/api/v1/user_register.go index 1fcc77b48ef..5e3001f3dc1 100644 --- a/pkg/routes/api/v1/user_register.go +++ b/pkg/routes/api/v1/user_register.go @@ -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"