Generator does not handle empty strings in enum fields (Go) #4329
Labels
generator
Issues or improvements relater to generation capabilities.
help wanted
Issue caused by core project dependency modules or library
type:bug
A broken experience
Milestone
We are trying to generate a Go client from the Clever API openapi specification available at the below link:
https://github.com/Clever/swagger-api/blob/master/v3.0.yml
This includes many enum definitions that follow this basic pattern.
This is resulting in the following generated code
This results in the valid value of "" being interpreted as an error.
The text was updated successfully, but these errors were encountered: