We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0431f4e commit 68e80f2Copy full SHA for 68e80f2
src/convert.js
@@ -11,7 +11,7 @@ const JSON_OUTPUT = `${OUTPUT_DIR}/swagger.json`
11
const convertOpenApi = async function () {
12
const [openapiDef] = await Promise.all([
13
SwaggerParser.validate(YAML_INPUT, { dereference: { circular: false } }),
14
- mkdir(OUTPUT_DIR, { recursive: true }, () => {}),
+ mkdir(OUTPUT_DIR, { recursive: true }),
15
])
16
const openapiJson = JSON.stringify(openapiDef, null, 2)
17
await writeFile(JSON_OUTPUT, openapiJson)
0 commit comments