https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653 --- Comment #64 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Julian Maurice from comment #49)
Comment on attachment 106445 [details] [review] Bug 23653: use local copy of swagger v2 schema
Review of attachment 106445 [details] [review]: -----------------------------------------------------------------
::: 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
I removed the test. Ready for QA. -- You are receiving this mail because: You are watching all bug changes.