]> git.koha-community.org Git - koha.git/commit
Bug 30536: Remove validation overhead
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Apr 2022 12:47:06 +0000 (13:47 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 May 2022 21:19:51 +0000 (11:19 -1000)
commit8e1265c45ddfc53d4bcbfc51e25b297e3592daf4
treef651dd613758f2d73fd8450fca41432e0c75a82c
parent1c84009908e4b4abb89c6b8934ce7502a6e2933c
Bug 30536: Remove validation overhead

With the introduction of proper validation of collection headers in
OpenAPI we no longer need to do our own validation here.

This patch removes the early validation of x-koha-embed headers in
preference to letting OpenAPI do it once and only once instead.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/Plugin/Query.pm
Koha/REST/V1/Auth.pm