You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/06/06 08:50:32 UTC

[incubator-ponymail-foal] branch master updated: add in 404 responses

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new fe20d20  add in 404 responses
fe20d20 is described below

commit fe20d201b2359bfcb15a909d127a4da3a94342b9
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Jun 6 10:50:25 2021 +0200

    add in 404 responses
---
 server/openapi.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/server/openapi.yaml b/server/openapi.yaml
index cdd9615..0c77814 100644
--- a/server/openapi.yaml
+++ b/server/openapi.yaml
@@ -384,6 +384,11 @@ paths:
               schema:
                 $ref: '#/components/schemas/SingleEmailResponse'
           description: 200 Response
+        '404':
+          content:
+            text/plain:
+              example: "Email not found!"
+          description: 404 response if email not found
         default:
           content:
             application/json:
@@ -489,6 +494,11 @@ paths:
                 
                 See <https://asterix-jenkins.ics.uci.edu/job/asterix-integration-tests/changes>
           description: 200 Response
+        '404':
+          content:
+            text/plain:
+              example: "Email not found!"
+          description: 404 response if email not found
         default:
           content:
             application/json: