File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10381,6 +10381,9 @@ components:
1038110381 type : object
1038210382 description : Request body for updating user profile. All fields are optional.
1038310383 properties :
10384+ handle :
10385+ type : string
10386+ description : User handle. Can only be set if the user does not already have a handle.
1038410387 name :
1038510388 type : string
1038610389 description : Display name
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ type CreateUserRequest struct {
5252}
5353
5454type UpdateUserRequest struct {
55+ Handle * string `json:"handle,omitempty" validate:"omitempty,min=1"`
5556 Name * string `json:"name,omitempty" validate:"omitempty,min=1"`
5657 Bio * string `json:"bio,omitempty" validate:"omitempty,max=256"`
5758 Location * string `json:"location,omitempty"`
You can’t perform that action at this time.
0 commit comments