Skip to content

File names are not affected by namingConvention when using "tags" mode #2253

@sjmc11

Description

@sjmc11

The config for namingConvention does not affect file names when using tags or tags-split mode.

export default {
   appClient: {
      input: "../server/openapi.yaml",
      output: {
         target: "./src/client/api",
         schemas: "./src/client/types",
         mode: "tags-split",
         namingConvention: "camelCase",
      }
  }
}

This generates the following file names:

./src/client/api/blocks-api.ts instead of ./src/client/api/blocksApi.ts
./src/client/api/documents-api.ts instead of ./src/client/api/documentsApi.ts

Is there another config that I should be using?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions