summaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl33
1 files changed, 30 insertions, 3 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index b0e94b8bb5..00d769cdd1 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -15030,7 +15030,16 @@
"type": "string"
},
"x-go-name": "UnitsMap",
- "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\"]"
+ "example": {
+ "repo.code": "read",
+ "repo.ext_issues": "none",
+ "repo.ext_wiki": "none",
+ "repo.issues": "write",
+ "repo.projects": "none",
+ "repo.pulls": "owner",
+ "repo.releases": "none",
+ "repo.wiki": "admin"
+ }
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -15871,7 +15880,16 @@
"type": "string"
},
"x-go-name": "UnitsMap",
- "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\"]"
+ "example": {
+ "repo.code": "read",
+ "repo.ext_issues": "none",
+ "repo.ext_wiki": "none",
+ "repo.issues": "write",
+ "repo.projects": "none",
+ "repo.pulls": "owner",
+ "repo.releases": "none",
+ "repo.wiki": "admin"
+ }
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -18582,7 +18600,16 @@
"type": "string"
},
"x-go-name": "UnitsMap",
- "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\"]"
+ "example": {
+ "repo.code": "read",
+ "repo.ext_issues": "none",
+ "repo.ext_wiki": "none",
+ "repo.issues": "write",
+ "repo.projects": "none",
+ "repo.pulls": "owner",
+ "repo.releases": "none",
+ "repo.wiki": "admin"
+ }
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"