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

Remove compile dependency on openapi-generator #909

Conversation

clementdenis
Copy link
Contributor

@clementdenis clementdenis commented Jun 26, 2023

Description

The SDK currently depends on openapi-generator as a compile dependency, which is not needed as the generator is only used for generating SDK classes. Also, this is a huge 6MB library, which adds a lot of weight to dependant projects.

Category

  • Bugfix
  • Enhancement
  • New Feature
  • Library Upgrade
  • Configuration Change
  • Versioning Change
  • Unit or Integration Test(s)
  • Documentation

Signoff

  • I have submitted a CLA for this PR
  • Each commit message explains what the commit does
  • I have updated documentation to explain what my PR does
  • My code is covered by tests if required
  • I did not edit any automatically generated files

Copy link
Contributor

@arvindkrishnakumar-okta arvindkrishnakumar-okta left a comment

Choose a reason for hiding this comment

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

left a comment

@clementdenis clementdenis force-pushed the remove_openapigenerator_compile_dep branch from d507dce to 6d8e825 Compare June 26, 2023 13:05
- Replace usage of commons-lang's StringUtils with TextUtil from Apache HTTP client
@clementdenis clementdenis force-pushed the remove_openapigenerator_compile_dep branch from 6d8e825 to 7adba7c Compare June 26, 2023 13:06
@clementdenis
Copy link
Contributor Author

The reason for the change in RetryUtil was the removal of common-lang3's StringUtils as a dependency, as I was trying to find an alternative I tried to improve it a bit.

I rolled back that, and just used Apache HTTP client's !TextUtils.isBlank instead of StringUtils.isNotBlank

@arvindkrishnakumar-okta
Copy link
Contributor

Thanks @clementdenis, I'll close this PR in favor of #911.

@clementdenis clementdenis deleted the remove_openapigenerator_compile_dep branch July 20, 2023 16:07
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