You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Library guzzlehttp/psr7 has released new 2.0.0 version. changelog .
With version 1.* guzzlehttp/psr7 started to introduce Query::build class method in place of future deprecated function build_query .
Since version 2.0.0, old deprecated function build_query has been dropped going to require Query::build instead.
Swagger codegen generates sourcecode using the old function that is no more existent, giving run time exception.
Swagger-codegen version
3.0.27
Command line used for generation
./bin/php-petstore.sh
Steps to reproduce
Download the source code.
Build the code.
Launch the previous command (./bin/php-petstore.sh ).
Description
Library guzzlehttp/psr7 has released new 2.0.0 version. changelog .
With version 1.* guzzlehttp/psr7 started to introduce
Query::build
class method in place of future deprecated functionbuild_query
.Since version 2.0.0, old deprecated function
build_query
has been dropped going to requireQuery::build
instead.Swagger codegen generates sourcecode using the old function that is no more existent, giving run time exception.
Swagger-codegen version
3.0.27
Command line used for generation
./bin/php-petstore.sh
Steps to reproduce
Download the source code.
Build the code.
Launch the previous command (
./bin/php-petstore.sh
).Related issues/PRs
PR guzzle http psr7 2.0 compliant
The text was updated successfully, but these errors were encountered: