gibahjoe / openapi-generator-dart

Openapi Generator for Dart/Flutter
BSD 3-Clause "New" or "Revised" License
123 stars 34 forks source link

Add AdditionalProperties enumUnknownDefaultCase #119

Closed quyenvsp closed 8 months ago

quyenvsp commented 10 months ago

Enums should have Unknown fallback default. Currently, if api server change enums then old version of application/client will can not deserialize and throw ArgumentError because enums value don't exists.