@orval/core 7.16.1 → 7.17.2

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/dist/index.js CHANGED
@@ -3643,7 +3643,7 @@ const generateTargetForTags = (builder, options) => {
3643
3643
  //#region src/writers/split-tags-mode.ts
3644
3644
  const writeSplitTagsMode = async ({ builder, output, specsName, header, needSchema }) => {
3645
3645
  const { filename, dirname: dirname$1, extension } = getFileInfo(output.target, {
3646
- backupFilename: camel(builder.info.title),
3646
+ backupFilename: conventionName(builder.info.title, output.namingConvention),
3647
3647
  extension: output.fileExtension
3648
3648
  });
3649
3649
  const target = generateTargetForTags(builder, output);
@@ -3745,7 +3745,7 @@ const writeSplitTagsMode = async ({ builder, output, specsName, header, needSche
3745
3745
  //#region src/writers/tags-mode.ts
3746
3746
  const writeTagsMode = async ({ builder, output, specsName, header, needSchema }) => {
3747
3747
  const { filename, dirname: dirname$1, extension } = getFileInfo(output.target, {
3748
- backupFilename: camel(builder.info.title),
3748
+ backupFilename: conventionName(builder.info.title, output.namingConvention),
3749
3749
  extension: output.fileExtension
3750
3750
  });
3751
3751
  const target = generateTargetForTags(builder, output);