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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 6 15:14:15 CEST 2021


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 120630
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120630&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

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


More information about the Koha-bugs mailing list