Closed gwesterman closed 1 year ago
The enumStyle option is only used for models defined as enums, not for nested property declarations, which are always declared as an inline type. this has been proposed before, but is out of scope, because it would require the model to export additional enums, which complicates generation.
Using v0.24.1, no matter what value for enumStyle I use ("alias", "upper", "pascal", "ignorecase") the following schema:
always results in the following generated output:
Note: It also does not default to "pascal" but to "upper".
I'd also much rather prefer an actual enum to be generated which I can then use in my code.