chore: GPL-3.0 license propagated into *.go files in backend

This commit is contained in:
2025-06-24 01:36:25 +03:00
parent cfe60cfb8e
commit be9aee7145
27 changed files with 439 additions and 9 deletions

View File

@@ -299,6 +299,10 @@ const docTemplate = `{
},
"models.LoginRequest": {
"type": "object",
"required": [
"password",
"username"
],
"properties": {
"password": {
"type": "string"
@@ -324,6 +328,10 @@ const docTemplate = `{
},
"models.RegistrationBeginRequest": {
"type": "object",
"required": [
"password",
"username"
],
"properties": {
"email": {
"type": "string"
@@ -333,7 +341,9 @@ const docTemplate = `{
"type": "string"
},
"username": {
"type": "string"
"type": "string",
"maxLength": 20,
"minLength": 3
}
}
}