-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null in enum not handled correctly #63
Comments
EnumNull:
enum:
- null
type: string I am not sure I follow, what does this even represent as a Dart class? How is this a proper enum definition? I am not sure this edge case is even worth spending time coding up and protecting for... Unless you have a real world example that is not an edge case test scheme from OpenAPI repo? |
It's more common than you think.
It used to be
|
Proposal:
|
Ok so it just means that the enum itself is nullable, not that the individual enum value is There is a "simple" fix for this, I believe. I can take care of it. |
Details
The text was updated successfully, but these errors were encountered: