From a548d69980b8d09d8e8ecbd82999fde5d754a09f Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 21 May 2021 12:52:02 -0300 Subject: [PATCH] Bug 28370: (follow-up) More cases Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/definitions/error.json | 3 ++- api/v1/swagger/paths/holds.json | 15 ++++++++++----- api/v1/swagger/paths/oauth.json | 3 ++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/api/v1/swagger/definitions/error.json b/api/v1/swagger/definitions/error.json index e43673f2174..3f81255bb10 100644 --- a/api/v1/swagger/definitions/error.json +++ b/api/v1/swagger/definitions/error.json @@ -5,5 +5,6 @@ "description": "Error message", "type": "string" } - } + }, + "additionalProperties": true } diff --git a/api/v1/swagger/paths/holds.json b/api/v1/swagger/paths/holds.json index 366cf358380..bb7a0359213 100644 --- a/api/v1/swagger/paths/holds.json +++ b/api/v1/swagger/paths/holds.json @@ -214,7 +214,8 @@ "type": [ "boolean", "null" ] } }, - "required": [ "patron_id", "pickup_library_id" ] + "required": [ "patron_id", "pickup_library_id" ], + "additionalProperties": false } }, { @@ -307,7 +308,8 @@ "type": "string", "format": "date" } - } + }, + "additionalProperties": false } } ], @@ -510,7 +512,8 @@ "type": "string", "format": "date" } - } + }, + "additionalProperties": false } } ], @@ -736,7 +739,8 @@ "type": "string", "description": "Internal identifier for the pickup library" } - } + }, + "additionalProperties": false } } ], @@ -753,7 +757,8 @@ "type": "string", "description": "Internal identifier for the pickup library" } - } + }, + "additionalProperties": false } }, "400": { diff --git a/api/v1/swagger/paths/oauth.json b/api/v1/swagger/paths/oauth.json index 4b00db605a2..f58f29f8905 100644 --- a/api/v1/swagger/paths/oauth.json +++ b/api/v1/swagger/paths/oauth.json @@ -43,7 +43,8 @@ "expires_in": { "type": "integer" } - } + }, + "additionalProperties": false } }, "400": { -- 2.31.1