Bugzilla – Attachment 165550 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]
[OPTIONAL] Bug 36546: Use JSON instead
OPTIONAL-Bug-36546-Use-JSON-instead.patch (text/plain), 1.31 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-04-25 14:09:49 UTC
(
hide
)
Description:
[OPTIONAL] Bug 36546: Use JSON instead
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-04-25 14:09:49 UTC
Size:
1.31 KB
patch
obsolete
>From 4b820f29d431f876390083af26da6cbb32198542 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] [OPTIONAL] Bug 36546: Use JSON instead > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 75753884211..9455f972f01 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 d71e55236a5..b82e123745d 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