replace username by login

This commit is contained in:
kiwiidb
2022-07-07 14:07:28 +02:00
parent 5e31a28fa2
commit 96c6a4f952
5 changed files with 23 additions and 23 deletions

View File

@@ -399,7 +399,7 @@ const docTemplate = `{
},
"/v2/users": {
"post": {
"description": "Create a new account with a username and password",
"description": "Create a new account with a login and password",
"consumes": [
"application/json"
],
@@ -532,10 +532,10 @@ const docTemplate = `{
"v2controllers.CreateUserRequestBody": {
"type": "object",
"properties": {
"password": {
"login": {
"type": "string"
},
"username": {
"password": {
"type": "string"
}
}
@@ -543,10 +543,10 @@ const docTemplate = `{
"v2controllers.CreateUserResponseBody": {
"type": "object",
"properties": {
"password": {
"login": {
"type": "string"
},
"username": {
"password": {
"type": "string"
}
}