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
The dart client generator overwrites a custom set templateDir when using dart 2.x. The default dart2 templates also fail to compile since they depend on some old and already deleted dependency (dartson).
openapi-generator version
<=4.1.0 and master
OpenAPI declaration file content or url
/
Command line used for generation
openapi-generator generate -o api -g dart -i openapi-backend.yml -t
Steps to reproduce
Use the command from above with a model like this:
SomeEnum:
type: stringenum:
- left
- right
- center
Description
The dart client generator overwrites a custom set templateDir when using dart 2.x. The default dart2 templates also fail to compile since they depend on some old and already deleted dependency (dartson).
openapi-generator version
<=4.1.0 and master
OpenAPI declaration file content or url
/
Command line used for generation
openapi-generator generate -o api -g dart -i openapi-backend.yml -t
Steps to reproduce
Use the command from above with a model like this:
Related issues/PRs
fixes and used some changes from #2830
Suggest a fix/enhancement
see PR
The text was updated successfully, but these errors were encountered: