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 cb7fc56 commit 559190dCopy full SHA for 559190d
gitea/org_team.go
@@ -18,3 +18,10 @@ type CreateTeamOption struct {
18
Description string `json:"description" binding:"MaxSize(255)"`
19
Permission string `json:"permission"`
20
}
21
+
22
+// EditTeamOption options when edit team
23
+type EditTeamOption struct {
24
+ Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
25
+ Description string `json:"description" binding:"MaxSize(255)"`
26
+ Permission string `json:"permission"`
27
+}
0 commit comments