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
|
// Login is the login handler
|
||||||
// @Summary Login
|
// @Summary Login
|
||||||
// @Description Logs a user in. Returns a JWT-Token to authenticate further requests.
|
// @Description Logs a user in. Returns a JWT-Token to authenticate further requests.
|
||||||
// @tags user
|
// @tags auth
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Param credentials body user.Login true "The login credentials"
|
// @Param credentials body user.Login true "The login credentials"
|
||||||
|
@ -31,7 +31,7 @@ import (
|
|||||||
// RegisterUser is the register handler
|
// RegisterUser is the register handler
|
||||||
// @Summary Register
|
// @Summary Register
|
||||||
// @Description Creates a new user account.
|
// @Description Creates a new user account.
|
||||||
// @tags user
|
// @tags auth
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Param credentials body user.APIUserPassword true "The user credentials"
|
// @Param credentials body user.APIUserPassword true "The user credentials"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user