Commit Graph

16 Commits

Author SHA1 Message Date
baartosz
2315ef2a7f Php client using guzzle6 & psr7 instead of curl (#5190)
* reimplemented basic requests with httpplug

* added returning headers

* added query params support

* removed constant reference to model class

* some extra @throws; form params

* form and query params encoding

* file upload / form multipart

* added missing response headers in WithHttpInfo calls

* removed Store test From PetApiTest class

* removed configuration overriding test as its now task of client adapters

* updated store tests with new client initialization code

* updated composer.json template

* not using json_decode if response is string

* renamed some variables to camelCase

* removed ApiClient and Configuration classes

* added HeaderSelector template

* added ObjectSerializer injection

* regenerated all samples

* added AuthConfig and readded support for custom api keys

* readded support for oauth tokens

* readded basic auth; moved auth tests to separate test class

* readded header params

* readded support for collections in paths

* readded  config option; readded exception handling

* file downloading; readded some Configuration properties removed earlier

* readded default headers

* made responses and return types work same way as earlier

* made all methods static in ObjectSerializer

* updated test.php, replaced autoload.php with composer's autoloader

* updated api doc template

* removed classes used for testing; regenerated Fake_classname_tags123Api

* replaced httplug with guzzle6

* updated required php version to 5.5

* clean up

* readded missing userAgent feature; removed default headers from Configuration

* updated test.php

* downgraded phpunit back to 4.8 to work with php5.5; fixed client initialization in some tests
2017-04-03 15:47:57 +08:00
wing328
90512e6326 Remove Apache license from API client generators (#4197)
* remove php apache license

* remove apache license from C#

* remove apache license in objc code

* remove license from swift 3 code

* remove apache license from perl code

* remove license from scala code

* remove license from ts, go, android, cpp, scala

* remove license from java api client

* restore clojure petstore files

* remove license from travis file

* clean up apache-related terms in php, ruby, python mustache tempaltes

* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
Dalibor Karlović
70fa2fb78e [PHP] Better PSR2 compatibility (#3863)
* feature(php-cs-fixer) add php-cs-fixer support

* feature(php-cs-fixer) tweak Mustache templates to fit PSR2

* feature(php-cs-fixer) bin/php-petstore.sh output
2016-09-27 08:23:44 +08:00
Kim Sondrup
9bb097fcf5 [PHP] Correct Composer license identifier (#3848)
* [PHP] Correct Composer license identifier

* Update petstore PHP
2016-09-22 18:49:08 +08:00
wing328
0b7d0c34af add debug switch to print out downloaded file info 2016-05-14 17:11:48 +08:00
wing328
1cb1b0351c update php sample 2016-05-10 22:38:21 +08:00
wing328
d6158c4c55 fix uuid for java, php, ruby and csharp 2016-05-02 22:06:33 +08:00
Arne Jørgensen
ecfb71a0df [PHP] Regenerated petstore sample 2016-04-19 21:32:11 +02:00
wing328
c101c1204e add php documentation 2016-03-16 16:14:04 +08:00
wing328
44705b566d add default version for package 2015-07-13 15:24:12 +08:00
wing328
259b31ccd4 temporary folder setting 2015-07-13 15:21:38 +08:00
Branden Cash
719a0b732e Update sample client 2015-06-18 11:43:48 -07:00
wing328
7fd996bc86 update php sample 2015-06-09 13:31:14 +08:00
Tony Tam
64ea3f8177 rebuilt 2015-06-07 20:50:35 -07:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
wing328
8512259d02 update method name based on style guide, update petstore sample 2015-04-17 00:26:06 +08:00