Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace . in enum keys #1852

Open
arthurfiorette opened this issue Jan 28, 2025 · 1 comment
Open

Replace . in enum keys #1852

arthurfiorette opened this issue Jan 28, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@arthurfiorette
Copy link
Contributor

Some of my enums have dots in their keys, their generated enum code looks like the following:

export enum Sample {
  categorymodelfield: 'category.model.field'
}

Since dots are not valid characters, is there a way to generate them like category_model_field instead of grouping them all together? Simply removing dots does not improve readability...

@melloware melloware added the enhancement New feature or request label Jan 28, 2025
@melloware
Copy link
Collaborator

Can you paste what your OpenAPI JSON looks like with these dots in it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants