diff options
author | Norwin <noerw@users.noreply.github.com> | 2021-09-18 01:40:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 19:40:50 -0400 |
commit | 0ffad31b9285044fc8a2b424a1fe65522cc287d6 (patch) | |
tree | b4d183480410296505ddcae1da722b6728bdc0a3 /templates/swagger | |
parent | ba2e600d17bab8870f4ab33eb5816dff19a060c3 (diff) | |
download | gitea-0ffad31b9285044fc8a2b424a1fe65522cc287d6.tar.gz gitea-0ffad31b9285044fc8a2b424a1fe65522cc287d6.zip |
Notifications API: respond with updated notifications (#17064)
* notifications api: return updated notifications in response
* make generate-swagger
* openapi fix
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index e99e092843..9b5f059504 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -739,7 +739,7 @@ ], "responses": { "205": { - "$ref": "#/responses/empty" + "$ref": "#/responses/NotificationThreadList" } } } @@ -822,7 +822,7 @@ ], "responses": { "205": { - "$ref": "#/responses/empty" + "$ref": "#/responses/NotificationThread" }, "403": { "$ref": "#/responses/forbidden" @@ -7058,7 +7058,7 @@ ], "responses": { "205": { - "$ref": "#/responses/empty" + "$ref": "#/responses/NotificationThreadList" } } } |