Skip to content

guzzle http psr7 2.0 compliant #11198

Description

@manzolo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions