quicktype
quicktype copied to clipboard
Make enums optional
Hey!
Awesome project you have, I love it, used for typescript and c#, however I would like to have the feature to toggle if it should generate enums or just put "string". Here is an example:
I have provided a sample data of about 50 entries, and I don't want to be limited to these colors for example. Right now I manually have to replace everything with string, but would be nice if it was a toggle to use enums or strings.
Thanks, best regards Philip
I just want to reignite the discussion since we generate schemas from numerous sources and aim to avoid enum generation. It would also be beneficial to have the ability to specify field names for which we do not want to generate enums.