Bugzilla – Attachment 132254 Details for
Bug 30194
Update required JSON::Validator version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30194: (follow-up) Remove reference to swagger-v2-schema
Bug-30194-follow-up-Remove-reference-to-swagger-v2.patch (text/plain), 1.33 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-03-25 19:37:06 UTC
(
hide
)
Description:
Bug 30194: (follow-up) Remove reference to swagger-v2-schema
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-03-25 19:37:06 UTC
Size:
1.33 KB
patch
obsolete
>From cfd19aeb74b728f41e82da26724e29b719c2f292 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 24 Mar 2022 10:30:33 +0000 >Subject: [PATCH] Bug 30194: (follow-up) Remove reference to swagger-v2-schema > >This file is now bundled directly an no longer needs to be refered to >separately. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/REST/Plugin/PluginRoutes.pm | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/Koha/REST/Plugin/PluginRoutes.pm b/Koha/REST/Plugin/PluginRoutes.pm >index e97a29c764..e626a179b8 100644 >--- a/Koha/REST/Plugin/PluginRoutes.pm >+++ b/Koha/REST/Plugin/PluginRoutes.pm >@@ -49,8 +49,6 @@ sub register { > > if ( C4::Context->config("enable_plugins") ) > { >- $self->{'swagger-v2-schema'} = $app->home->rel_file("api/swagger-v2-schema.json"); >- > # plugin needs to define a namespace > @plugins = Koha::Plugins->new()->GetPlugins( > { >@@ -79,7 +77,7 @@ sub inject_routes { > return try { > > my $backup_spec = merge_spec( clone($spec), $plugin ); >- if ( $self->spec_ok( $backup_spec, $validate ) ) { >+ if ( $self->spec_ok( $backup_spec ) ) { > $spec = merge_spec( $spec, $plugin ); > } > else { >-- >2.35.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30194
:
131374
|
131486
|
131487
|
131488
|
131497
|
131498
|
131499
|
131500
|
131501
|
131502
|
131547
|
131548
|
131549
|
131550
|
131551
|
131552
|
132069
|
132070
|
132071
|
132072
|
132073
|
132097
|
132098
|
132099
|
132100
|
132102
|
132112
|
132116
|
132118
|
132119
|
132120
|
132121
|
132122
|
132123
|
132124
|
132125
|
132126
|
132151
|
132152
|
132252
|
132253
|
132254
|
132334
|
132335
|
132336
|
132337
|
132338
|
132339
|
132340
|
132442
|
132449