Created by: olexiyk
Instead of relying on Guzzle directly, depend on a psr/http-client-implementation (AKA PSR 18). This is a metapackage which implementations can declare they provide, all the major ones already do (including Guzzle, Symfony, etc).
Inspired by discussion: https://github.com/OpenAPITools/openapi-generator/issues/7518
PR checklist
- [ x ] Read the contribution guidelines.
- [ x ] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
- [ x ] Run the following to build the project and update samples:
./mvnw clean package ./bin/generate-samples.sh ./bin/utils/export_docs_generators.sh
./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH. - [ x ] File the PR against the correct branch:
master
,5.1.x
,6.0.x
- [ x ] If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
@jebentier (2017/07), @dkarlovi (2017/07), @mandrean (2017/08), @jfastnacht (2017/09), @ackintosh (2017/09)