37 Commits

Author SHA1 Message Date
nmonterroso
01d7776fc1 don't create a new response object, and keep the old string value in the exception and have the object as ApiException->responseObject 2015-06-22 11:47:23 -07:00
nmonterroso
6f11092a57 call setHost using API baspath when no apiclient is provided 2015-06-22 10:35:57 -07:00
nmonterroso
e598384d97 move authentication to the API level, so that supporting classes aren't api-specific 2015-06-22 10:31:38 -07:00
nmonterroso
53bddae904 separate serialization responsibility to ObjectSerializer class 2015-06-22 09:47:28 -07:00
nmonterroso
1519912a1a cleaning up some php doc 2015-06-22 09:26:45 -07:00
nmonterroso
b3a3bdd2e0 add fully-qualified class names to deserialize params 2015-06-22 09:18:41 -07:00
nmonterroso
b9ca19168a remove static fields in Configuration and make variable case more consistent 2015-06-22 08:28:22 -07:00
nmonterroso
acdc5328fe deserialize thrown exceptions 2015-06-19 11:24:56 -07:00
nmonterroso
f9f58596b8 account for return type where the response type is in a list container, and properly import models into operations 2015-06-18 16:51:24 -07:00
nmonterroso
bb11322919 use proper namespaces, getters/setters, and phpdocs 2015-06-18 15:41:12 -07:00
wing328
50ae9659ad rollback php template 2015-06-09 12:37:30 +08:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Ron
96107193e9 updated reverb references 2015-06-07 11:18:49 -04:00
wing328
e993d08563 rename APIClient to ApiClient, APIClientException to APIException 2015-05-28 15:06:31 +08:00
wing328
691838c47d add test case for api client instance 2015-05-23 10:35:19 +08:00
wing328
612abf134b api client as instance (not static class) 2015-05-22 22:09:51 +08:00
Tony Tam
c8a56add5d merged 2015-05-20 22:45:52 -07:00
wing328
278a653154 add authentication 2015-05-20 17:13:52 +08:00
wing328
5744bd0138 better exception using InvalidArgumentException 2015-05-19 16:21:06 +08:00
wing328
41e178e268 better accept and content-type for php, added test cases 2015-05-18 22:16:54 +08:00
Tony Tam
d6ac7c5ecf Merge pull request #659 from wing328/add_php_unit_test
Bug fix for PHP client POST (model) and add more PHP test cases
2015-05-16 09:13:35 -07:00
wing328
93e4ef0eec fix required parameters check for php 2015-04-30 16:52:33 +08:00
wing328
7e37f3294a bug fix for post (model) and update php test cases 2015-04-17 20:01:58 +08:00
who
42829ffb13 A proposed fix for Issue #628 2015-04-13 13:14:10 -07:00
who
41db8798af correct usage of strpos 2015-04-13 12:22:38 -07:00
William Cheng
cb2f5d3e25 fix php warning in php5.3 2015-04-08 11:33:09 +08:00
wing328
3811a5a209 resolve conflict during rebase 2015-04-06 18:03:15 +08:00
William Cheng
03c48af9e6 Fix content-type and accept in PHP API 2015-04-01 04:26:32 +08:00
William Cheng
6ab51bcb4e remove tab with 2 spaces in php api template 2015-03-27 23:11:13 +08:00
William Cheng
1c547e9598 update php documentation 2015-03-27 22:40:59 +08:00
William Cheng
a0dc2097eb update php api client to support datetime (iso8601) for parameters
(header, path, url, form)
2015-03-14 23:48:05 +08:00
William Cheng
5347915c12 form parameter(single quote), add more comment 2015-03-11 21:14:17 +08:00
William Cheng
7c23eedf07 use baseName for parameter name in PHP api 2015-03-09 23:15:12 +08:00
Tony Tam
fde5014bf9 fix for #224, added safe php comparison 2015-02-16 17:49:22 -08:00
Tony Tam
da8176e170 updated templates 2015-02-15 22:19:26 -08:00
James Ebentier
73a702f91e PHP: adding the ability to use multipart-form submissions as well as adding formParams to the api 2015-02-06 11:15:22 -08:00
Tony Tam
6bb2e4ccb4 moved to modules per #411 2015-02-05 07:17:38 -08:00