chore: updated docs

This commit is contained in:
2025-07-06 14:03:55 +03:00
parent bc9f5c6d3c
commit 8588a17928
3 changed files with 17 additions and 38 deletions

View File

@@ -137,7 +137,10 @@
],
"responses": {
"200": {
"description": "desc"
"description": "Account is created and awaiting verification"
},
"409": {
"description": "Username or email is already taken"
}
}
}
@@ -358,13 +361,10 @@
"type": "string"
},
"password": {
"description": "TODO: password checking",
"type": "string"
},
"username": {
"type": "string",
"maxLength": 20,
"minLength": 3
"type": "string"
}
}
},
@@ -376,21 +376,14 @@
"verification_code"
],
"properties": {
"avatar_url": {
"type": "string",
"maxLength": 255
},
"birthday": {
"type": "string"
},
"name": {
"type": "string",
"maxLength": 75
"type": "string"
},
"username": {
"type": "string",
"maxLength": 20,
"minLength": 3
"type": "string"
},
"verification_code": {
"type": "string"