summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2020-01-08 17:10:34 -0600
committerzeripath <art27@cantab.net>2020-01-08 23:10:34 +0000
commit5b2d9333f1d06a15f11906b39c4867cc5d1c9448 (patch)
tree76081204412a1f909769c6ee2d1e9c5a58b04cd9 /templates/swagger
parent14a96874442a13bb212affb13a585f0536d89c2a (diff)
downloadgitea-5b2d9333f1d06a15f11906b39c4867cc5d1c9448.tar.gz
gitea-5b2d9333f1d06a15f11906b39c4867cc5d1c9448.zip
Add HTML URL to API Issues (#9654)
* Add HTML URL to API Issues Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
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 d3e2ac6113..4e37f65d19 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -10305,6 +10305,10 @@
"format": "date-time",
"x-go-name": "Deadline"
},
+ "html_url": {
+ "type": "string",
+ "x-go-name": "HTMLURL"
+ },
"id": {
"type": "integer",
"format": "int64",