[BUG] enum issue when using generated dart
Created by: boojongmin
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
What's the version of OpenAPI Generator used? -
Have you search for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Bounty to sponsor the fix (example)
Description
I meet a bug when using a generated dart source.
because json serializer can't serialize enum type directly. so I modify code like below image.(add '.value')
would you fix this bug?
openapi-generator version
4.1.3