diff options
author | Norwin <noerw@users.noreply.github.com> | 2021-09-30 06:17:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 07:17:39 +0300 |
commit | 3bbdce26012d02d3b5082f8774ce432ad9c2990b (patch) | |
tree | b0a25803038e034af1c232a582dd5baed80c8696 /templates | |
parent | ac10c4ecc2364bc994cc649e27b7789da04730ba (diff) | |
download | gitea-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.tmpl | 8 |
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" |