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

chore: use latest stable openapi-generator-cli #222

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

nathanielc
Copy link
Collaborator

Turns out that the openapi-generator-cli npm crate is a whole major version behind (6 vs 7) of the openapi-generator jar. This change removes the usage of the npm package as it was only a wrapper for downloading the jar and running it. Now we have a simple bash script that uses that latest stable release of openapi-generator.

This means we now have the fix for the extra .clone() calls and can enable -D warnings for test/example code not just the binary build.

Turns out that the openapi-generator-cli npm crate is a whole major
version behind (6 vs 7) of the openapi-generator jar. This change
removes the usage of the npm package as it was only a wrapper for
downloading the jar and running it. Now we have a simple bash script
that uses that latest stable release of openapi-generator.

This means we now have the fix for the extra .clone() calls and can
enable -D warnings for test/example code not just the binary build.
Copy link
Collaborator

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@nathanielc nathanielc added this pull request to the merge queue Jan 25, 2024
Merged via the queue into main with commit 7177c1c Jan 25, 2024
4 checks passed
@nathanielc nathanielc deleted the chore/openapi branch January 25, 2024 15:18
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants