[Koha-bugs] [Bug 17032] REST API tests: Make sure Swagger object definition is up-to-date with database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 9 13:19:28 CEST 2016


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

--- Comment #10 from Lari Taskula <larit at student.uef.fi> ---
In case this test doesn't always return the same result, and fails sometimes,
you might be interested in this:

I applied many API-related patches on top of master and ran this test multiple
times. I noticed it didn't always have the same result; Swagger2 wasn't always
able to find the type of definition because for some reason $ref was left
unresolved for that definition - but after updating to the latest versions of
Swagger2 (0.83) and JSON::Validator (0.82), it now seems to work. Looks like
the author of JSON::Validator just patched some issues regarding to resolving
$refs.

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


More information about the Koha-bugs mailing list