summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api
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 /rust/fatcat-api-spec/api
parent7632129c594b9edbae8ee9ba5da6ae35d1af2429 (diff)
downloadfatcat-a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d.tar.gz
fatcat-a192b0b84e46179a8f28218dfcbb5eb4e28dbf9d.zip
add a couple additional response types, for consistency
Diffstat (limited to 'rust/fatcat-api-spec/api')
-rw-r--r--rust/fatcat-api-spec/api/swagger.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml
index 293186c6..0b18add8 100644
--- a/rust/fatcat-api-spec/api/swagger.yaml
+++ b/rust/fatcat-api-spec/api/swagger.yaml
@@ -6318,6 +6318,15 @@ paths:
uppercase_operation_id: "CREATE_EDITGROUP"
uppercase_data_type: "ERRORRESPONSE"
producesJson: true
+ 404:
+ description: "Not Found"
+ schema:
+ $ref: "#/definitions/error_response"
+ x-responseId: "NotFound"
+ x-uppercaseResponseId: "NOT_FOUND"
+ uppercase_operation_id: "CREATE_EDITGROUP"
+ uppercase_data_type: "ERRORRESPONSE"
+ producesJson: true
500:
description: "Generic Error"
schema:
@@ -6508,6 +6517,15 @@ paths:
uppercase_operation_id: "GET_CHANGELOG"
uppercase_data_type: "VEC<CHANGELOGENTRY>"
producesJson: true
+ 400:
+ description: "Bad Request"
+ schema:
+ $ref: "#/definitions/error_response"
+ x-responseId: "BadRequest"
+ x-uppercaseResponseId: "BAD_REQUEST"
+ uppercase_operation_id: "GET_CHANGELOG"
+ uppercase_data_type: "ERRORRESPONSE"
+ producesJson: true
500:
description: "Generic Error"
schema:
@@ -6545,6 +6563,15 @@ paths:
uppercase_operation_id: "GET_CHANGELOG_ENTRY"
uppercase_data_type: "CHANGELOGENTRY"
producesJson: true
+ 400:
+ description: "Bad Request"
+ schema:
+ $ref: "#/definitions/error_response"
+ x-responseId: "BadRequest"
+ x-uppercaseResponseId: "BAD_REQUEST"
+ uppercase_operation_id: "GET_CHANGELOG_ENTRY"
+ uppercase_data_type: "ERRORRESPONSE"
+ producesJson: true
404:
description: "Not Found"
schema: