datamodel-code-generator icon indicating copy to clipboard operation
datamodel-code-generator copied to clipboard

feature: adding dataclasses_json

Open puttemanss opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe. The data that will be returned of the dataclass is not in the expected output casing that we need for business. But we don't want to have code smells so our dataclasses are in snake casing but the output should be in camel casings.

Describe the solution you'd like to add dataclasses_json library in to this solution as parameter in the creation of the model.

Describe alternatives you've considered Adding this manual after creation of the model (a lot of work :'( )

Additional context https://pypi.org/project/dataclasses-json/ @dataclass_json(letter_case=LetterCase.CAMEL)

puttemanss avatar Mar 24 '25 14:03 puttemanss