aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2021-09-30 06:17:39 +0200
committerGitHub <noreply@github.com>2021-09-30 07:17:39 +0300
commit3bbdce26012d02d3b5082f8774ce432ad9c2990b (patch)
treeb0a25803038e034af1c232a582dd5baed80c8696 /templates
parentac10c4ecc2364bc994cc649e27b7789da04730ba (diff)
downloadgitea-3bbdce26012d02d3b5082f8774ce432ad9c2990b.tar.gz
gitea-3bbdce26012d02d3b5082f8774ce432ad9c2990b.zip
API: add html urls to notification subjects (#17178)
* API: add html urls to notification subjects * add "Repository" Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 03d1cbda98..c6fa664af6 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -15728,6 +15728,14 @@
"description": "NotificationSubject contains the notification subject (Issue/Pull/Commit)",
"type": "object",
"properties": {
+ "html_url": {
+ "type": "string",
+ "x-go-name": "HTMLURL"
+ },
+ "latest_comment_html_url": {
+ "type": "string",
+ "x-go-name": "LatestCommentHTMLURL"
+ },
"latest_comment_url": {
"type": "string",
"x-go-name": "LatestCommentURL"