Skip to content

Commit 3f72468

Browse files
committed
Fix swagger
1 parent 84b1df3 commit 3f72468

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

templates/swagger/v1_json.tmpl

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13890,6 +13890,14 @@
1389013890
"repo.projects",
1389113891
"repo.ext_wiki"
1389213892
]
13893+
},
13894+
"units_map": {
13895+
"type": "object",
13896+
"additionalProperties": {
13897+
"type": "string"
13898+
},
13899+
"x-go-name": "UnitsMap",
13900+
"example": "{\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"]"
1389313901
}
1389413902
},
1389513903
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -14701,6 +14709,14 @@
1470114709
"repo.projects",
1470214710
"repo.ext_wiki"
1470314711
]
14712+
},
14713+
"units_map": {
14714+
"type": "object",
14715+
"additionalProperties": {
14716+
"type": "string"
14717+
},
14718+
"x-go-name": "UnitsMap",
14719+
"example": "{\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"]"
1470414720
}
1470514721
},
1470614722
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -17263,6 +17279,14 @@
1726317279
"repo.projects",
1726417280
"repo.ext_wiki"
1726517281
]
17282+
},
17283+
"units_map": {
17284+
"type": "object",
17285+
"additionalProperties": {
17286+
"type": "string"
17287+
},
17288+
"x-go-name": "UnitsMap",
17289+
"example": "{\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"]"
1726617290
}
1726717291
},
1726817292
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -18626,4 +18650,4 @@
1862618650
"TOTPHeader": []
1862718651
}
1862818652
]
18629-
}
18653+
}

0 commit comments

Comments
 (0)