@@ -, +, @@ --- Koha/REST/V1.pm | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Koha/REST/V1.pm +++ a/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'; --- a/package.json +++ a/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", --