aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-21 11:51:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-21 11:51:40 -0700
commit256b297886352fd0e732183e00d476bb32bc663e (patch)
tree29b36eacee790e6d2356c61ed25ed6f7250f578e /fatcat-openapi2.yml
parentcb63f207258071ade7f300dc63e9ed8cb98a1353 (diff)
downloadfatcat-256b297886352fd0e732183e00d476bb32bc663e.tar.gz
fatcat-256b297886352fd0e732183e00d476bb32bc663e.zip
no more default/mangled HTTP status codes
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 8403f644..2326f225 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -328,7 +328,7 @@ x-entity-responses: &ENTITYRESPONSES
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -695,7 +695,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -716,7 +716,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -738,7 +738,7 @@ paths:
description: Bad Request
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -764,7 +764,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -790,7 +790,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -807,7 +807,7 @@ paths:
description: Success
schema:
$ref: "#/definitions/stats_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"