swagger, require admin token for update user

This commit is contained in:
kiwiidb
2023-05-24 12:53:30 +02:00
parent c9dd382027
commit b890c2c8ec
7 changed files with 248 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ type CreateUserRequestBody struct {
// CreateUser godoc
// @Summary Create an account
// @Description Create a new account with a login and password
// @Description Create a new account with a login and password. Requires Authorization header with admin token.
// @Accept json
// @Produce json
// @Tags Account