Bugzilla – Attachment 165589 Details for
Bug 36546
Bundle API spec to speed up worker startup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36546: Use JSON instead
Bug-36546-Use-JSON-instead.patch (text/plain), 1.35 KB, created by
Paul Derscheid
on 2024-04-25 20:07:52 UTC
(
hide
)
Description:
Bug 36546: Use JSON instead
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-04-25 20:07:52 UTC
Size:
1.35 KB
patch
obsolete
>From 1b559e88eb08460a894ccf8f6f7d4e339c48775a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 25 Apr 2024 11:09:32 -0300 >Subject: [PATCH] Bug 36546: Use JSON instead > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > Koha/REST/V1.pm | 2 +- > package.json | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/REST/V1.pm b/Koha/REST/V1.pm >index 7575388421..9455f972f0 100644 >--- a/Koha/REST/V1.pm >+++ b/Koha/REST/V1.pm >@@ -75,7 +75,7 @@ sub startup { > $self->secrets([$secret_passphrase]); > } > >- my $spec_file = $self->home->rel_file("api/v1/swagger/swagger_bundle.yaml"); >+ my $spec_file = $self->home->rel_file("api/v1/swagger/swagger_bundle.json"); > > push @{$self->routes->namespaces}, 'Koha::Plugin'; > >diff --git a/package.json b/package.json >index d71e55236a..b82e123745 100644 >--- a/package.json >+++ b/package.json >@@ -54,7 +54,7 @@ > "build:prod": "yarn css:build:prod && yarn js:build:prod", > "cypress": "cypress", > "prettier": "prettier", >- "api:bundle": "redocly bundle api/v1/swagger/swagger.yaml > api/v1/swagger/swagger_bundle.yaml" >+ "api:bundle": "redocly bundle --ext json api/v1/swagger/swagger.yaml --output api/v1/swagger/swagger_bundle.json" > }, > "repository": { > "type": "git", >-- >2.44.0
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 36546
:
164520
|
165412
|
165446
|
165449
|
165450
|
165550
|
165581
|
165589
|
165821
|
165828
|
165829
|
165830
|
165831
|
165923
|
165945