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

--- Comment #64 from Jonathan Druart <[email protected]> 
---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to