From 256b297886352fd0e732183e00d476bb32bc663e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 21 Jun 2018 11:51:40 -0700 Subject: no more default/mangled HTTP status codes --- rust/fatcat-api/api.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'rust/fatcat-api/api.yaml') 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" -- cgit v1.2.3