-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Removes khttp #92
Removes khttp #92
Conversation
Wow, @raviu you are awesome. Hope this get merged soon. |
Nice, good to get this moving, thanks alot. |
Thank you @raviu. |
cc: @bnasslahsen can you look into this please? it is very important for many! |
@raviu thanks for the quick fix, hope this gets merged soon |
When can this be merged? Hope this gets merged soon |
When this gonna be merged? :) Also fighting problems with this |
src/main/kotlin/org/springdoc/openapi/gradle/plugin/OpenApiGeneratorTask.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/org/springdoc/openapi/gradle/plugin/OpenApiGeneratorTask.kt
Outdated
Show resolved
Hide resolved
…eratorTask.kt Shadowing of local variables should generally be avoided Co-authored-by: PascalPensa <[email protected]>
…eratorTask.kt Shadowing of local variables should generally be avoided Co-authored-by: PascalPensa <[email protected]>
Hello, do we have an stimation on when this will get merged? |
By the end of this week hopefully! |
The urgency of this has dropped now that the read only jcenter/bintray repos are back. This situation could happen again though. Worthy checking options over at khttp as an alternative. |
Khttp is not available on https://repo.maven.apache.org/maven2/ (it used to be until recently), so it would be nice to release the change. This dependency doesn't seem to be needed (you provided a clear and simple replacement), and there are CVE-2022-24329, and CVE-2020-29582 associated with it, so it's an unnecessary burden. |
## Summary The build failed because of missing `khttp` library that is required by `springdoc-openapi` plugin. This library has been removed from maven2 repo from 2022, so not sure why the previous build succeeded (maybe github caches some gradle libraries). The `springdoc-openapi` plugin has removed the usage of `khttp` too since `1.5.0`. I'm upgrading the version to `1.6.0` which is the latest that gradle 6 supports. More details in this issue: springdoc/springdoc-openapi-gradle-plugin#92. ## Changes - [ ] Client-facing API Changes - [ ] Internal API Changes - [x] Bug Fixes - [ ] New Features - [ ] Performance Improvements - [ ] Code Style - [ ] Refactoring - [ ] Documentation - [ ] Tests For all the boxes checked, please include additional details of the changes made in this pull request. ## Testing Done <!--- Check any relevant boxes with "x" --> - [ ] Manually Tested on local docker setup. Please include commands ran, and their output. - [ ] Added new tests for the changes made. - [ ] Updated existing tests to reflect the changes made. - [x] No tests added or updated. Please explain why. If unsure, please feel free to ask for help. - [ ] Some other form of testing like staging or soak time in production. Please explain. For all the boxes checked, include a detailed description of the testing done for the changes made in this pull request. # Additional Information - [ ] Breaking Changes - [ ] Deprecations - [ ] Large PR broken into smaller PRs, and PR plan linked in the description. For all the boxes checked, include additional details of the changes made in this pull request.
## Summary The build failed because of missing `khttp` library that is required by `springdoc-openapi` plugin. This library has been removed from maven2 repo from 2022, so not sure why the previous build succeeded (maybe github caches some gradle libraries). The `springdoc-openapi` plugin has removed the usage of `khttp` too since `1.5.0`. I'm upgrading the version to `1.6.0` which is the latest that gradle 6 supports. More details in this issue: springdoc/springdoc-openapi-gradle-plugin#92. ## Changes - [ ] Client-facing API Changes - [ ] Internal API Changes - [x] Bug Fixes - [ ] New Features - [ ] Performance Improvements - [ ] Code Style - [ ] Refactoring - [ ] Documentation - [ ] Tests For all the boxes checked, please include additional details of the changes made in this pull request. ## Testing Done <!--- Check any relevant boxes with "x" --> - [ ] Manually Tested on local docker setup. Please include commands ran, and their output. - [ ] Added new tests for the changes made. - [ ] Updated existing tests to reflect the changes made. - [x] No tests added or updated. Please explain why. If unsure, please feel free to ask for help. - [ ] Some other form of testing like staging or soak time in production. Please explain. For all the boxes checked, include a detailed description of the testing done for the changes made in this pull request. # Additional Information - [ ] Breaking Changes - [ ] Deprecations - [ ] Large PR broken into smaller PRs, and PR plan linked in the description. For all the boxes checked, include additional details of the changes made in this pull request.
It seems we're currently only using khttp for something pretty simple.
Would we be able to replace it with something like this? Not sure if there were plans to use khttp for something else.
Potentially for #91