forked from vikunja/vikunja
chore(docs): move login and register routes to auth category in api docs
This commit is contained in:
parent
117c569721
commit
32689531ec
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user