[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2024-09-12 08:42:38 +00:00 committed by kolaente
parent 20724f6fb5
commit 9dd95101f9
3 changed files with 8 additions and 6 deletions

View File

@ -9342,9 +9342,9 @@ const docTemplate = `{
"type": "integer"
},
"password": {
"description": "The user's password in clear text. Only used when registering the user.",
"description": "The user's password in clear text. Only used when registering the user. The maximum limi is 72 bytes, which may be less than 72 characters. This is due to the limit in the bcrypt hashing algorithm used to store passwords in Vikunja.",
"type": "string",
"maxLength": 250,
"maxLength": 72,
"minLength": 8
},
"username": {

View File

@ -9334,9 +9334,9 @@
"type": "integer"
},
"password": {
"description": "The user's password in clear text. Only used when registering the user.",
"description": "The user's password in clear text. Only used when registering the user. The maximum limi is 72 bytes, which may be less than 72 characters. This is due to the limit in the bcrypt hashing algorithm used to store passwords in Vikunja.",
"type": "string",
"maxLength": 250,
"maxLength": 72,
"minLength": 8
},
"username": {

View File

@ -1273,8 +1273,10 @@ definitions:
type: integer
password:
description: The user's password in clear text. Only used when registering
the user.
maxLength: 250
the user. The maximum limi is 72 bytes, which may be less than 72 characters.
This is due to the limit in the bcrypt hashing algorithm used to store passwords
in Vikunja.
maxLength: 72
minLength: 8
type: string
username: