summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api/swagger.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api-spec/api/swagger.yaml')
-rw-r--r--rust/fatcat-api-spec/api/swagger.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml
index 7ee33725..293186c6 100644
--- a/rust/fatcat-api-spec/api/swagger.yaml
+++ b/rust/fatcat-api-spec/api/swagger.yaml
@@ -6734,8 +6734,14 @@ definitions:
error_response:
type: "object"
required:
+ - "error"
- "message"
+ - "success"
properties:
+ success:
+ type: "boolean"
+ error:
+ type: "string"
message:
type: "string"
example: "A really confusing, totally unexpected thing happened"
@@ -6744,11 +6750,15 @@ definitions:
type: "object"
required:
- "message"
+ - "success"
properties:
+ success:
+ type: "boolean"
message:
type: "string"
example: "The computers did the thing successfully!"
example:
+ success: true
message: "The computers did the thing successfully!"
upperCaseName: "SUCCESS"
container_entity: