diff --git a/api/v1/swagger/definitions/error.json b/api/v1/swagger/definitions/error.json index e43673f217..3f81255bb1 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 366cf35838..bb7a035921 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 4b00db605a..f58f29f890 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": {