aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:18:15 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:18:15 -0700
commit92a911e394c5fad7e7ebb1139abd50fd87450a81 (patch)
tree105e941c92d829097952c0c6053304500d3ba163 /rust/fatcat-openapi2.yml
parenta2ee4b0004f16026c4a26bf72baba6722ae1b13b (diff)
downloadfatcat-92a911e394c5fad7e7ebb1139abd50fd87450a81.tar.gz
fatcat-92a911e394c5fad7e7ebb1139abd50fd87450a81.zip
add 404 responses
Diffstat (limited to 'rust/fatcat-openapi2.yml')
-rw-r--r--rust/fatcat-openapi2.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/fatcat-openapi2.yml b/rust/fatcat-openapi2.yml
index 1b671b76..195f23fe 100644
--- a/rust/fatcat-openapi2.yml
+++ b/rust/fatcat-openapi2.yml
@@ -163,6 +163,10 @@ x-entity-responses: &ENTITYRESPONSES
description: Bad Request
schema:
$ref: "#/definitions/error"
+ 404:
+ description: Not Found
+ schema:
+ $ref: "#/definitions/error"
default:
description: Generic Error
schema:
@@ -208,10 +212,6 @@ paths:
description: Found Entity
schema:
$ref: "#/definitions/creator_entity"
- 404:
- description: no such creator
- schema:
- $ref: "#/definitions/error"
<<: *ENTITYRESPONSES
/container:
post: