aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 23:51:44 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 23:51:44 -0800
commita192b0b84e46179a8f28218dfcbb5eb4e28dbf9d (patch)
treef5ea70e1863fbc15a629382b4c189d914c8a555a /fatcat-openapi2.yml
parent7632129c594b9edbae8ee9ba5da6ae35d1af2429 (diff)
downloadfatcat-a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d.tar.gz
fatcat-a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d.zip
add a couple additional response types, for consistency
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index da582ade..70e8e540 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -2573,6 +2573,10 @@ paths:
description: Bad Request
schema:
$ref: "#/definitions/error_response"
+ 404: # added only for response type consistency
+ description: Not Found
+ schema:
+ $ref: "#/definitions/error_response"
500:
description: Generic Error
schema:
@@ -2657,6 +2661,10 @@ paths:
type: array
items:
$ref: "#/definitions/changelog_entry"
+ 400: # added only for response type consistency
+ description: Bad Request
+ schema:
+ $ref: "#/definitions/error_response"
500:
description: Generic Error
schema:
@@ -2677,6 +2685,10 @@ paths:
description: Found Changelog Entry
schema:
$ref: "#/definitions/changelog_entry"
+ 400: # added only for response type consistency
+ description: Bad Request
+ schema:
+ $ref: "#/definitions/error_response"
404:
description: Not Found
schema: