@kollors/deep-json-server 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/openapi.js +1 -1
package/package.json
CHANGED
package/src/openapi.js
CHANGED
|
@@ -256,7 +256,7 @@ export async function generateOpenApi({ databasePath, outputPath, schemaPath })
|
|
|
256
256
|
const resolvedOutputPath = resolve(outputPath);
|
|
257
257
|
|
|
258
258
|
await mkdir(dirname(resolvedOutputPath), { recursive: true });
|
|
259
|
-
await writeFile(resolvedOutputPath, stringify(document, { lineWidth: 0 }), 'utf8');
|
|
259
|
+
await writeFile(resolvedOutputPath, stringify(document, { aliasDuplicateObjects: false, lineWidth: 0 }), 'utf8');
|
|
260
260
|
|
|
261
261
|
return document;
|
|
262
262
|
}
|