https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33503
--- Comment #3 from Olli-Antti Kivilahti <[email protected]> --- From the plugin, one can implement this hook with this code fragment: sub api_spec { my ( $plugin, $args ) = @_; return JSON::Validator::Schema::OpenAPIv2->new; my $schema2 = JSON::Validator::Schema::OpenAPIv2->new; $schema2->resolve($plugin->mbf_dir() . "/openapi.yaml"); return $schema2->bundle->data; #Bundle merges the external/internal/local references in the plugin schema path. } -- 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/
