diff options
author | a1012112796 <1012112796@qq.com> | 2021-04-10 14:12:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 07:12:38 +0100 |
commit | e375cbfd464e12a704c3c1325315a0381ab877a7 (patch) | |
tree | 93d0769ac68625a5a365a821b1a4bf9aa3470bac /templates/swagger | |
parent | 9a0858cecf3518c9c5808bc2aeaa99278fd86cd0 (diff) | |
download | gitea-e375cbfd464e12a704c3c1325315a0381ab877a7.tar.gz gitea-e375cbfd464e12a704c3c1325315a0381ab877a7.zip |
rsponse 404 when delete not exist email (#15383)
fix #15357
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 99c3373cef..4be2718ef1 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -10221,6 +10221,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } |