We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8f959a commit 26512ffCopy full SHA for 26512ff
codersdk/groups.go
@@ -26,8 +26,8 @@ type CreateGroupRequest struct {
26
27
type Group struct {
28
ID uuid.UUID `json:"id" format:"uuid"`
29
- Name string `json:"name" validate:"required,group_name"`
30
- DisplayName string `json:"display_name" validate:"required,group_display_name"`
+ Name string `json:"name"`
+ DisplayName string `json:"display_name"`
31
OrganizationID uuid.UUID `json:"organization_id" format:"uuid"`
32
Members []ReducedUser `json:"members"`
33
AvatarURL string `json:"avatar_url"`
0 commit comments