https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653
--- Comment #10 from Mason James <m...@kohaaloha.com> --- hmm, this does look like a legitimate bug, caused by 22522 the 'try' block always fails with... Can't locate object method "bundle" via package "JSON::Validator::OpenAPI::Mojolicious" at /kohadevbox/koha/Koha/REST/V1.pm line 76. ...and the 'catch' block calls validator->load_and_validate_schema() which does a lookup to swagger.io ./Koha/REST/V1.pm 72 73 # Try to load and merge all schemas first and validate the result just once. 74 my $spec; 75 try { 76 $spec = $validator->bundle( 77 { 78 replace => 1, 79 schema => $self->home->rel_file("api/v1/swagger/swagger.json") 80 } 81 ); 82 100 } 101 catch { 102 # Validation of the complete spec failed. Resort to validation one-by-one 103 # to catch bad ones. 104 $validator->load_and_validate_schema( 105 $self->home->rel_file("api/v1/swagger/swagger.json"), 106 { 107 allow_invalid_ref => 1, 108 } 109 ); -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/