summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 4babc475..da582ade 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -101,16 +101,25 @@ definitions:
error_response:
type: object
required:
+ - success
+ - error
- message
properties:
+ success:
+ type: boolean
+ error:
+ type: string
message:
type: string
example: "A really confusing, totally unexpected thing happened"
success:
type: object
required:
+ - success
- message
properties:
+ success:
+ type: boolean
message:
type: string
example: "The computers did the thing successfully!"