summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-04-11 01:49:39 +0200
committerGitHub <noreply@github.com>2020-04-10 19:49:39 -0400
commit0dadea19bcc469937d0b2376db031a46cfcfb742 (patch)
tree302c8b72a3b76743ff0e4cfd806b3aca450ab434 /templates/swagger
parentc97e9883801d28ca44b8b7049a4285c8d904eea8 (diff)
downloadgitea-0dadea19bcc469937d0b2376db031a46cfcfb742.tar.gz
gitea-0dadea19bcc469937d0b2376db031a46cfcfb742.zip
[Api] Check Notify (always return json) (#10059)
* BEAKING: check return status based on struct not httpStatus * update Tests * CI.restart()
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl3
1 files changed, 0 insertions, 3 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 8591381ef4..8b10a75990 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -530,9 +530,6 @@
"responses": {
"200": {
"$ref": "#/responses/NotificationCount"
- },
- "204": {
- "description": "No unread notification"
}
}
}