You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
We encountered a conflict in a class where a static member and an instance member are defined with the same name ('name'). Dart does not allow a class to define a static member 'name' and have an instance member 'EnumClass.name' with the same name.
Class 'OrderBy' can't define static member 'name' and have instance member 'EnumClass.name' with the same name.
Try renaming the member to a name that doesn't conflict.dart(conflicting_static_and_instance)
Uh oh!
There was an error while loading. Please reload this page.
Bug Report Checklist
Description
We encountered a conflict in a class where a static member and an instance member are defined with the same name ('name'). Dart does not allow a class to define a static member 'name' and have an instance member 'EnumClass.name' with the same name.
openapi-generator version
v7.12.0
OpenAPI declaration file content or url
Generation Details
docker run --rm -v ./test_code:/local openapitools/openapi-generator-cli:v7.12.0 generate -i ${OPENAPI_YML} -g dart-dio -o /local/
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: