[Koha-bugs] [Bug 18137] REST API: Migrate from Mojolicious::Plugin:: Swagger2 to Mojolicious::Plugin::OpenAPI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 21 14:19:29 CET 2017


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

Lari Taskula <lari.taskula at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|gmcharlt at gmail.com          |lari.taskula at jns.fi

--- Comment #7 from Lari Taskula <lari.taskula at jns.fi> ---
Mojolicious::Plugin::OpenAPI is at the time of this post at version 1.09 in
CPAN, however I am having problems with the CPAN version, as follows: 

Could not load document from
/home/ubuntu/kohaclone/api/v1/swagger/../parameters.json: Can't open file
"/home/ubuntu/kohaclone/api/v1/swagger/../parameters.json": No such file or
directory at /usr/local/share/perl/5.18.2/JSON/Validator.pm line 140.

Fortunately, it looks like Mojolicious::Plugin::OpenAPI version 1.10 (currently
at unreleased status in GitHub) fixes this issue. So if you are testing this
before 1.10 is released, I would suggest using the source provided directly in
GitHub. https://github.com/jhthorsen/mojolicious-plugin-openapi

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


More information about the Koha-bugs mailing list