[Bug 30193] New: Invalid refs removed in JSON::Validator 5.x
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 Bug ID: 30193 Summary: Invalid refs removed in JSON::Validator 5.x Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com CC: tomascohen@gmail.com Newer versions of JSON::Validator got the 'allow_invalid_refs' feature removed. We need to (finally) tweak our spec files to match the OpenAPI standard. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=26893 Assignee|koha-bugs@lists.koha-commun |tomascohen@gmail.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30194 Status|NEW |ASSIGNED Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194 [Bug 30194] Adapt Koha for JSON::Validator@5.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 --- Comment #1 from Tomás Cohen Arazi <tomascohen@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30193 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- It is all or nothing it seems. Marking as duplicate of the invalid refs one. *** This bug has been marked as a duplicate of bug 30194 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org