Skip to content
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

dart2 client not compiling and ignoring templateDir #3655

Closed
alexnavratil opened this issue Aug 15, 2019 · 1 comment · Fixed by #3656
Closed

dart2 client not compiling and ignoring templateDir #3655

alexnavratil opened this issue Aug 15, 2019 · 1 comment · Fixed by #3656

Comments

@alexnavratil
Copy link
Contributor

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:

SomeEnum:
      type: string
      enum:
        - left
        - right
        - center
Related issues/PRs

fixes and used some changes from #2830

Suggest a fix/enhancement

see PR

@auto-labeler
Copy link

auto-labeler bot commented Aug 15, 2019

👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant