We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30efc96 commit 96c4c9cCopy full SHA for 96c4c9c
modules/structs/user.go
@@ -17,7 +17,8 @@ type User struct {
17
ID int64 `json:"id"`
18
// the user's username
19
UserName string `json:"login"`
20
- // the user's authentication sign-in name. default: empty
+ // the user's authentication sign-in name.
21
+ // default: empty
22
LoginName string `json:"login_name"`
23
// the user's full name
24
FullName string `json:"full_name"`
templates/swagger/v1_json.tmpl
@@ -18480,8 +18480,9 @@
18480
"x-go-name": "UserName"
18481
},
18482
"login_name": {
18483
- "description": "the user's login name",
+ "description": "the user's authentication sign-in name.",
18484
"type": "string",
18485
+ "default": "empty",
18486
"x-go-name": "LoginName"
18487
18488
"prohibit_login": {
0 commit comments