Bug 36546: Use JSON instead

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Tomas Cohen Arazi 2024-04-25 11:09:32 -03:00 committed by Katrin Fischer
parent 7908e4a4fa
commit e1bbbedb80
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -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",