swagger-api/swagger-codegen

[PHP] Add option to generate client without Guzzle

Open

#5305 aperta il 3 apr 2017

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: PHPEnhancement: Featurehelp wanted

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor