swagger-api/swagger-codegen

[PHP] Add option to generate client without Guzzle

Open

#5,305 opened on Apr 3, 2017

View on GitHub
 (5 comments) (0 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Client: PHPEnhancement: Featurehelp wanted

Description

Description

Follow up on discussions that took place in https://github.com/swagger-api/swagger-codegen/pull/5190 and https://github.com/swagger-api/swagger-codegen/issues/1482. In some cases dependency on guzzle may be a problem and it should be possible to use any other psr7-compatible client. Its should not be a big deal considering that generated client is already using psr7 compatible request and response objects.

Swagger-codegen version

2.3.0+

Swagger declaration file content or url

n/a

Command line used for generation

--library=none or something

Steps to reproduce

n/a

Related issues

https://github.com/swagger-api/swagger-codegen/pull/5190 https://github.com/swagger-api/swagger-codegen/issues/1482

Suggest a Fix

n/a

Contributor guide