summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api/swagger.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-31 14:36:44 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-31 14:36:44 -0700
commite53215bc0c0126b624bf92df52a897a4603e044b (patch)
tree85cf2d2103a27e8ee1bef9140a9b4a9a906478d6 /rust/fatcat-api/api/swagger.yaml
parent93b3fc46f3eb837235d804ece5b199949f2048b2 (diff)
downloadfatcat-e53215bc0c0126b624bf92df52a897a4603e044b.tar.gz
fatcat-e53215bc0c0126b624bf92df52a897a4603e044b.zip
add bad request response type for eg accept
Diffstat (limited to 'rust/fatcat-api/api/swagger.yaml')
-rw-r--r--rust/fatcat-api/api/swagger.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml
index 021594c0..d54aafc4 100644
--- a/rust/fatcat-api/api/swagger.yaml
+++ b/rust/fatcat-api/api/swagger.yaml
@@ -1808,11 +1808,11 @@ paths:
uppercase_data_type: "SUCCESS"
producesJson: true
400:
- description: "Unmergable"
+ description: "Bad Request"
schema:
$ref: "#/definitions/error_response"
- x-responseId: "Unmergable"
- x-uppercaseResponseId: "UNMERGABLE"
+ x-responseId: "BadRequest"
+ x-uppercaseResponseId: "BAD_REQUEST"
uppercase_operation_id: "ACCEPT_EDITGROUP"
uppercase_data_type: "ERRORRESPONSE"
producesJson: true