[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 19:02:12 CET 2017


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

--- Comment #9 from Lari Taskula <lari.taskula at jns.fi> ---
(In reply to Lari Taskula from comment #7)
> 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
It appears v 1.10 was released right after I posted this. So cpanm
Mojolicious::Plugin::OpenAPI at 1.10 should be fine.

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


More information about the Koha-bugs mailing list