add api versioning option by default to openapi script (#33209)
This commit is contained in:
@@ -84,9 +84,12 @@ async function getBundledFiles(schemas) {
|
|||||||
const bundlerOptions = await getBundlerOptions()
|
const bundlerOptions = await getBundlerOptions()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
console.log(`bundle -w -o ${TEMP_DOCS_DIR} ${bundlerOptions}`)
|
console.log(`bundle -v -w -o ${TEMP_DOCS_DIR} ${bundlerOptions}`)
|
||||||
execSync(
|
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' }
|
{ stdio: 'inherit' }
|
||||||
)
|
)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user