[Koha-bugs] [Bug 30193] Invalid refs removed in JSON::Validator 5.x

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 3 20:21:18 CET 2022


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 131347
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131347&action=edit
Bug 30193: Remove use of allow_invalid_ref

This patch removes the code that makes Koha allow an invalid spec It is
expected to break the API.

As an excercise, try saving the raw output from
http://localhost:8080/api/v1 into swagger.json along the swagger.yaml
file, and tweak V1.pm to point to the json version.

Notice the API works! The idea, is we adapt our API so it conforms to
the standard as much as possible, while keeping some modularity.

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


More information about the Koha-bugs mailing list