feat(core): Upgrade swagger (no-changelog) (#8384)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-01-18 14:16:14 +01:00
committed by GitHub
parent f31cc0743f
commit c7c4ae4514
3 changed files with 495 additions and 125 deletions

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 = `npm run swagger -- bundle src/${specPath} --type yaml --outfile ${distSpecPath}`;
const command = `pnpm openapi -- bundle src/${specPath} --output ${distSpecPath}`;
shell.exec(command, { silent: true });
});
}