@workos/oagen 0.12.0 → 0.14.0

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.
@@ -2097,7 +2097,7 @@ async function writeFiles(files, outputDir, options) {
2097
2097
  continue;
2098
2098
  }
2099
2099
  if (file.skipIfExists) {
2100
- if (header && !existingContent.startsWith(header)) await fs.writeFile(fullPath, header + "\n\n" + existingContent, "utf-8");
2100
+ if (header && !existingContent.startsWith(header) && !file.path.endsWith(".json")) await fs.writeFile(fullPath, header + "\n\n" + existingContent, "utf-8");
2101
2101
  result.skipped.push(file.path);
2102
2102
  continue;
2103
2103
  }
@@ -3260,4 +3260,4 @@ function summarize(changes) {
3260
3260
  //#endregion
3261
3261
  export { MANIFEST_FILENAME as a, treeShakeFiles as c, collectReferencedNames as d, generateAllFiles as f, resolveOperations as h, generate as i, applyFileHeaders as l, deriveMethodName as m, getEmitter as n, integrateGeneratedFiles as o, generateFiles as p, registerEmitter as r, mapFilesForTargetIntegration as s, diffSpecs as t, buildEmitterContext as u };
3262
3262
 
3263
- //# sourceMappingURL=diff-CihuFSbJ.mjs.map
3263
+ //# sourceMappingURL=diff-C38px0NK.mjs.map