aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-21 11:51:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-21 11:51:40 -0700
commit256b297886352fd0e732183e00d476bb32bc663e (patch)
tree29b36eacee790e6d2356c61ed25ed6f7250f578e /rust/fatcat-api/api.yaml
parentcb63f207258071ade7f300dc63e9ed8cb98a1353 (diff)
downloadfatcat-256b297886352fd0e732183e00d476bb32bc663e.tar.gz
fatcat-256b297886352fd0e732183e00d476bb32bc663e.zip
no more default/mangled HTTP status codes
Diffstat (limited to 'rust/fatcat-api/api.yaml')
-rw-r--r--rust/fatcat-api/api.yaml19
1 files changed, 10 insertions, 9 deletions
diff --git a/rust/fatcat-api/api.yaml b/rust/fatcat-api/api.yaml
index 253cec04..2326f225 100644
--- a/rust/fatcat-api/api.yaml
+++ b/rust/fatcat-api/api.yaml
@@ -158,14 +158,15 @@ definitions:
#format: custom
volume:
type: string
- pages:
- type: string
issue:
type: string
example: "12"
+ pages:
+ type: string
publisher:
type: string
language:
+ description: "Two-letter RFC1766/ISO639-1 language code, with extensions"
type: string
contribs:
type: array
@@ -327,7 +328,7 @@ x-entity-responses: &ENTITYRESPONSES
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -694,7 +695,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -715,7 +716,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -737,7 +738,7 @@ paths:
description: Bad Request
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -763,7 +764,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -789,7 +790,7 @@ paths:
description: Not Found
schema:
$ref: "#/definitions/error_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
@@ -806,7 +807,7 @@ paths:
description: Success
schema:
$ref: "#/definitions/stats_response"
- default:
+ 500:
description: Generic Error
schema:
$ref: "#/definitions/error_response"