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.28
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 ).
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.28
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 ).