aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
author6543 <24977596+6543@users.noreply.github.com>2019-11-29 16:14:24 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2019-11-29 23:14:24 +0800
commitd7c13103534639023badb5e1af8e1ecb72b9c594 (patch)
treec47dea1a1d744f52f278aee6bff46621800d64c4 /templates
parente151674cfa4255938f974cfb050b5222db77dcf5 (diff)
downloadgitea-d7c13103534639023badb5e1af8e1ecb72b9c594.tar.gz
gitea-d7c13103534639023badb5e1af8e1ecb72b9c594.zip
expose PR counter on Repo API (#9202)
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 338ab104e9..9c5db48080 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -10329,6 +10329,11 @@
"format": "int64",
"x-go-name": "OpenIssues"
},
+ "open_pr_counter": {
+ "type": "integer",
+ "format": "int64",
+ "x-go-name": "OpenPulls"
+ },
"original_url": {
"type": "string",
"x-go-name": "OriginalURL"