Skip to content
New issue

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

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

Already on GitHub? # to your account

[REQ] removeEnumValuePrefix cause breaking change in angular-typescript #20457

Open
huantaoliu opened this issue Jan 13, 2025 · 2 comments
Open

Comments

@huantaoliu
Copy link

huantaoliu commented Jan 13, 2025

Is your feature request related to a problem? Please describe.

the recent change of make removeEnumValuePrefix = false by default cuased a breaking change in my project. in angular-typescript
enum SomeEnum {
KEY1 = 'ONE',
KEY2 ='TWO'
}

Describe the solution you'd like

It is not configureable in the doc :
https://openapi-generator.tech/docs/generators/typescript-angular

Ideally we can support that config in typescript-angular , and allow uer to configure that attribute

@wing328
Copy link
Member

wing328 commented Jan 14, 2025

did you try the fallback mentioned in #20452 ?

@huantaoliu
Copy link
Author

it worked, i think we should update the doc for anylar-typescript, i can send MR for that

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants