[Koha-bugs] [Bug 28272] Definition files are missing additionalProperties: false

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 7 15:26:56 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28272

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 120690
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120690&action=edit
Bug 28272: Prevent api spec to accept extra parameters

Some of our definition files are missing { additionalProperties: false }
We must have it to make sure all properties are defined and prevent the
spec to accept extra parameters (being more strict but also allowing to
catch errors more easily)

grep -rL additionalProperties api/v1/swagger/definitions/*.json

Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list