jet icon indicating copy to clipboard operation
jet copied to clipboard

Support JSON tags

Open jaupe opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. The JSON we send back needs to be lower-case. We don't want to add it to the generated model structs because if we re-generate, then we will lose the tags.

Describe the solution you'd like Ability to add JSON tags in a maintenance-free manner if we re-generate the schema

jaupe avatar May 26 '22 16:05 jaupe

Hi @jaupe. It is possible to add tags to model types using generator customization. Check the test sample.

go-jet avatar May 27 '22 09:05 go-jet