1
0
mirror of synced 2025-12-23 11:54:18 -05:00

add api versioning option by default to openapi script (#33209)

This commit is contained in:
Rachael Sewell
2022-12-05 12:42:42 -08:00
committed by GitHub
parent 4e80ced191
commit 1afa6ef321

View File

@@ -84,9 +84,12 @@ async function getBundledFiles(schemas) {
const bundlerOptions = await getBundlerOptions()
try {
console.log(`bundle -w -o ${TEMP_DOCS_DIR} ${bundlerOptions}`)
console.log(`bundle -v -w -o ${TEMP_DOCS_DIR} ${bundlerOptions}`)
execSync(
`${path.join(GITHUB_REP_DIR, 'bin/openapi')} bundle -w -o ${TEMP_DOCS_DIR} ${bundlerOptions}`,
`${path.join(
GITHUB_REP_DIR,
'bin/openapi'
)} bundle -v -w -o ${TEMP_DOCS_DIR} ${bundlerOptions}`,
{ stdio: 'inherit' }
)
} catch (error) {