https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653 --- Comment #49 from Julian Maurice <julian.maurice@biblibre.com> --- Comment on attachment 106445 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106445 Bug 23653: use local copy of swagger v2 schema Review of attachment 106445: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=23653&attachment=106445) ----------------------------------------------------------------- ::: Koha/REST/Plugin/PluginRoutes.pm @@ +49,5 @@
{ + my $schema = $app->home->rel_file("api/swagger-v2-schema.json"); + if ($schema){ + $self->{'swagger-v2-schema'} = $schema; + }
What is the test for ? rel_file returns something even if the file does not exist -- You are receiving this mail because: You are watching all bug changes.