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

--- Comment #1 from Ere Maijala <[email protected]> ---
Created attachment 99314
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99314&action=edit
Bug 24700: Avoid validating REST API spec multiple times

This patch changes the spec loading so that it is fully loaded and merged with
any plugin routes before validation. The individual parts are separately
validated only if the resulting complete spec is invalid. Note: the OpenAPI
plugin validates the spec given to it, so normally no manual validation is
necessary.

Test plan:
1. prove -v t/db_dependent/Koha/REST/*
2. prove -v t/db_dependent/api/v1/*

Sponsored-by: The National Library of Finland

-- 
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