aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index bf8467ff27..e77651b15e 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -13831,6 +13831,10 @@
"pull_request": {
"$ref": "#/definitions/PullRequestMeta"
},
+ "ref": {
+ "type": "string",
+ "x-go-name": "Ref"
+ },
"repository": {
"$ref": "#/definitions/RepositoryMeta"
},