serezha93
140826b47f
minor fixes ( #5981 )
...
* Update configuration.mustache
added return tag in PHPDoc
* made sanitizeFilename as static method
* updated petstore
2017-07-09 16:23:18 +08:00
mguan-trulia
918343b684
issue #3365 adding accept encoding for PHP ( #5525 )
2017-05-06 10:40:08 +08:00
wing328
9a8ede4189
update php sample
2017-01-19 21:22:20 +08:00
Pete Holiday
2e4de0ca1e
Remove unnecessary call to setHost() in the constructor ( #4525 )
...
* Remove unnecessary call to setHost() in the constructor
The default host will be automatically set on the client by the ApiClient constructor.
* Updated PHP API Classes corresponding to template updates in #4525 .
* Additional changes generated by the petstore update unrelated to #4525 , but seem to have not been included yet.
* Add test to prevent regressions of #4525
2017-01-12 16:17:17 +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
Ville Skyttä
91b7494e3e
Spelling fixes
2016-09-06 14:45:04 +03:00
Daniel Ge
b16eda17e8
Improve error message for connection failures
...
Previous ApiException message would simply print out the result of the
`curl_getinfo($curl)` call, which might be useful only if the developer
actually wanted very low-level information from curl about why a call
failed. The new message should print out a higher-level but more
informative, human-readable message. If necessary for debugging, the
ApiException's responseObject is set to the `curl_getinfo($curl)`.
2016-07-06 12:09:41 -07:00
Arne Jørgensen
a4ec29000a
[PHP] Regenerate petstore samples
2016-06-30 07:12:28 +02:00
Arne Jørgensen
e41019fb2b
[PHP] Regenerate petstore sample
2016-05-26 00:13:45 +02:00
Mikolaj Przybysz
6aa821d76d
Rebuild php petstore sample client
2016-05-24 15:03:25 +02:00
Arne Jørgensen
1f02fd281f
[PHP] Regenerate petstore sample
2016-05-14 13:45:41 +02:00
wing328
0b7d0c34af
add debug switch to print out downloaded file info
2016-05-14 17:11:48 +08:00
wing328
800a858acb
add enum support to php, refactor post process model enum
2016-05-03 11:14:44 +08:00
wing328
02ac7d93c5
minor php code improvement
2016-04-09 17:59:28 +08:00
Elijah Miller
74536af3b9
Map binary to string in PHP since ByteArray is no longer in use.
2016-03-03 11:01:13 -05:00
wing328
9fd4f39c8c
update tostring to use sanitizeforserialization
2016-01-18 21:27:29 +08:00
wing328
f54185c66d
add binary support for php response
2016-01-15 11:43:02 +08:00
Ron
3a2ad9e2e4
Happy new year!
2016-01-06 16:04:16 -08:00
wing328
340e60002e
more style change for php client
2015-12-07 00:52:30 +08:00
wing328
b282d4fbea
add http_parse_headers, update test case
2015-12-06 23:58:25 +08:00
wing328
bb341832a5
add http info to php api methods
2015-12-06 19:00:52 +08:00
wing328
e11a3d468e
update auth for php to skip empty apikey/username,password
2015-11-22 18:35:45 +08:00
Arne Jørgensen
47b2ae934b
Regenerated PHP petstore sample.
2015-10-27 22:58:25 +01:00
wing328
4e4e9e7893
add a CLI option to sort method argument
2015-09-22 15:57:22 +08:00
wing328
f154e407d2
update coding style based on CodeSniffer
2015-07-13 15:26:12 +08:00
wing328
259b31ccd4
temporary folder setting
2015-07-13 15:21:38 +08:00
wing328
7f31da734d
add file response for php, update test case
2015-07-13 15:09:09 +08:00
wing328
fcd0b31d7d
add file response for php
2015-07-13 15:09:09 +08:00
Tony Tam
07d5365c5c
merged from #902 , rebuilt client
2015-06-25 10:17:28 -07:00
Branden Cash
719a0b732e
Update sample client
2015-06-18 11:43:48 -07:00
William Cheng
436db1f8e7
add __toString and update php sample
2015-06-17 19:00:29 +08:00