@@ -, +, @@ $ kshell k$ prove t/db_dependent/api/v1 --- api/v1/swagger/paths/clubs.json | 3 ++- api/v1/swagger/paths/import_batch_profiles.json | 8 +++++--- api/v1/swagger/paths/patrons_extended_attributes.json | 3 ++- api/v1/swagger/paths/patrons_password.json | 3 ++- api/v1/swagger/paths/public_patrons.json | 11 +++++++---- api/v1/swagger/paths/return_claims.json | 9 ++++++--- 6 files changed, 24 insertions(+), 13 deletions(-) --- a/api/v1/swagger/paths/clubs.json +++ a/api/v1/swagger/paths/clubs.json @@ -44,7 +44,8 @@ "type": "integer" } }, - "required": [ "pickup_library_id" ] + "required": [ "pickup_library_id" ], + "additionalProperties": false } } ], --- a/api/v1/swagger/paths/import_batch_profiles.json +++ a/api/v1/swagger/paths/import_batch_profiles.json @@ -130,7 +130,8 @@ "description": "any comments added when the file was uploaded", "type": ["string", "null"] } - } + }, + "additionalProperties": false } } ], @@ -250,7 +251,8 @@ "description": "any comments added when the file was uploaded", "type": ["string", "null"] } - } + }, + "additionalProperties": false } } ], @@ -357,4 +359,4 @@ } } } -} +} --- a/api/v1/swagger/paths/patrons_extended_attributes.json +++ a/api/v1/swagger/paths/patrons_extended_attributes.json @@ -281,7 +281,8 @@ "description": "Extended attribute value", "type": "string" } - } + }, + "additionalProperties": false } } ], --- a/api/v1/swagger/paths/patrons_password.json +++ a/api/v1/swagger/paths/patrons_password.json @@ -26,7 +26,8 @@ "type": "string" } }, - "required": ["password", "password_2"] + "required": ["password", "password_2"], + "additionalProperties": false } } ], --- a/api/v1/swagger/paths/public_patrons.json +++ a/api/v1/swagger/paths/public_patrons.json @@ -34,7 +34,8 @@ "password", "password_repeated", "old_password" - ] + ], + "additionalProperties": false } } ], @@ -109,7 +110,8 @@ "allowed": { "type": "boolean" } - } + }, + "additionalProperties": false } } ], @@ -184,7 +186,8 @@ "allowed": { "type": "boolean" } - } + }, + "additionalProperties": false } } ], @@ -237,4 +240,4 @@ } } } -} +} --- a/api/v1/swagger/paths/return_claims.json +++ a/api/v1/swagger/paths/return_claims.json @@ -34,7 +34,8 @@ "description": "Charge a lost fee if true and Koha is set to allow a choice. Ignored otherwise.", "type": "boolean" } - } + }, + "additionalProperties": false } } ], @@ -133,7 +134,8 @@ "description": "Interal identifier for the librarian updating the claim notes", "type": "string" } - } + }, + "additionalProperties": false } } ], @@ -300,7 +302,8 @@ "description": "User id for the librarian resolving the claim", "type": "string" } - } + }, + "additionalProperties": false } } ], --