Skip to content

Allow to set the NamingStrategy for StringEnumConverter in ApiClientSerializationOptions #497

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

Open
CodinFae opened this issue Feb 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@CodinFae
Copy link

Hi,

Currently, it is only possible to pass a boolean an whether enums are serialized as string vs as int. However, StringEnumConverter has multiple NamingStrategy it can accept. Would it be possible to pass a NamingStrategy as parameters to ApiClientSerializationOptions? Would there be another way?

I can try and make a PR if needed

Thanks!

@DiscoPYF DiscoPYF added the enhancement New feature or request label Feb 17, 2025
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