fix: Fix openapi generation (no-changelog) (#8398)

This commit is contained in:
Jon
2024-01-19 17:15:33 +00:00
committed by GitHub
parent cf4bc48055
commit 9883eda42e

View File

@@ -46,7 +46,7 @@ function bundleOpenApiSpecs(rootDir = ROOT_DIR, specFileName = SPEC_FILENAME) {
}, [])
.forEach((specPath) => {
const distSpecPath = path.resolve(rootDir, 'dist', specPath);
const command = `pnpm openapi -- bundle src/${specPath} --output ${distSpecPath}`;
const command = `pnpm openapi bundle src/${specPath} --output ${distSpecPath}`;
shell.exec(command, { silent: true });
});
}