aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:32:43 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:34:49 -0700
commitc4a4957d2f6a5ded19e47ca4d42ea8cf19742ece (patch)
treea26fcf2ca01ddd313d3193bb48bc20ca4e0b9949 /rust/fatcat-openapi2.yml
parent54a31b551427a584250ac1e17f76be3211ba7012 (diff)
downloadfatcat-c4a4957d2f6a5ded19e47ca4d42ea8cf19742ece.tar.gz
fatcat-c4a4957d2f6a5ded19e47ca4d42ea8cf19742ece.zip
less ambigous error response name
Diffstat (limited to 'rust/fatcat-openapi2.yml')
-rw-r--r--rust/fatcat-openapi2.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/rust/fatcat-openapi2.yml b/rust/fatcat-openapi2.yml
index 195f23fe..01e0b60c 100644
--- a/rust/fatcat-openapi2.yml
+++ b/rust/fatcat-openapi2.yml
@@ -41,7 +41,7 @@ x-entity-edit-props: &ENTITYEDITPROPS
definitions:
- error:
+ error_response:
type: object
required:
- message
@@ -162,15 +162,15 @@ x-entity-responses: &ENTITYRESPONSES
400:
description: Bad Request
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
404:
description: Not Found
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
default:
description: Generic Error
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
paths:
/creator:
@@ -375,11 +375,11 @@ paths:
404:
description: Not Found
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
default:
description: Generic Error
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
/editor/{username}/changelog:
parameters:
- name: username
@@ -395,11 +395,11 @@ paths:
404:
description: Not Found
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
default:
description: Generic Error
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
/editgroup:
post:
responses:
@@ -410,11 +410,11 @@ paths:
400:
description: Bad Request
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
default:
description: Generic Error
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
/editgroup/{id}:
parameters:
- name: id
@@ -430,11 +430,11 @@ paths:
404:
description: Not Found
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
default:
description: Generic Error
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
/editgroup/{id}/accept:
parameters:
- name: id
@@ -450,12 +450,12 @@ paths:
400:
description: Unmergable
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
404:
description: Not Found
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"
default:
description: Generic Error
schema:
- $ref: "#/definitions/error"
+ $ref: "#/definitions/error_response"