Chrimle / openapi-to-java-records-mustache-templates

Generate Java Records from OpenAPI Specifications
https://chrimle.github.io/openapi-to-java-records-mustache-templates/
Apache License 2.0
3 stars 0 forks source link

Generate `fromValue`-method in `enum` classes #188

Closed Chrimle closed 1 month ago

Chrimle commented 1 month ago

Is your feature request related to a problem? Please describe. I would like a fromValue-method for my enum classes - without needing to add the useEnumCaseInsensitive.

Describe the solution you'd like Add the method regardless of configOption, and adapt it accordingly.