52 Commits

Author SHA1 Message Date
William Cheng
fa15f58506 fix warning/error in php5.3 2015-05-22 05:15:46 +08:00
Tony Tam
c8a56add5d merged 2015-05-20 22:45:52 -07:00
wing328
4f310cd7b1 update function comment 2015-05-20 22:13:24 +08:00
wing328
6e13403a37 fix http basic auth, add test cases for new api client without host 2015-05-20 21:55:16 +08:00
wing328
9a1dedbe76 add test case (getPetbyId), remove old authenetication (only supports header) 2015-05-20 18:43:34 +08:00
wing328
20439e646f add test case and prefix support 2015-05-20 18:25:35 +08:00
wing328
06c7a6a109 add todo for oauth, support multiple api key 2015-05-20 17:13:52 +08: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
af260cba41 update api client to support default header 2015-05-19 15:33:03 +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
070a6203e0 remove php comment 2015-05-07 13:35:19 +08: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
164a01ed12 Fixing a bug which was preventing payloads to serialize into JSON 2015-04-15 16:17:21 -07:00
who
f4a2eff4b7 Fixing nested model deserialization - Issue #635 2015-04-14 12:24:59 -07: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
13d513f02b fix double in php client response 2015-04-12 23:06:07 +08:00
William Cheng
eb0fccd1d2 fixed content-type check for model 2015-04-08 11:54:57 +08:00
William Cheng
cb2f5d3e25 fix php warning in php5.3 2015-04-08 11:33:09 +08:00
wing328
8d6d1cb329 recovered APIclient due to merge 2015-04-06 18:10:43 +08:00
wing328
6b2035e353 Merge branch 'php_package' of https://github.com/wing328/swagger-codegen into php_package
Conflicts:
	modules/swagger-codegen/src/main/resources/php/APIClient.mustache
	samples/client/petstore/php/SwaggerPetstore-php/lib/APIClient.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/PetApi.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/StoreApi.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/UserApi.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/models/Category.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/models/Order.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/models/Pet.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/models/Tag.php
	samples/client/petstore/php/SwaggerPetstore-php/lib/models/User.php
2015-04-06 18:05:10 +08:00
wing328
3811a5a209 resolve conflict during rebase 2015-04-06 18:03:15 +08:00
wing328
c1046cc87b add php packaging support 2015-04-06 17:59:42 +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
ab8d62214a add attributemap to php model, update php petstore sample 2015-03-19 20:58:22 +08:00
Tony Tam
4f32e9dbff Merge pull request #502 from FindTheBest/develop_2.0
PHP Generated Models
2015-03-17 08:51:02 -07:00
Tony Tam
486186e042 Merge pull request #505 from wing328/php_support_user_agent
update User-agent in PHP API client
2015-03-16 20:44:46 -07:00
William Cheng
6bc8de1230 rebase on develop_2.0 2015-03-15 22:02:16 +08:00
William Cheng
b8166f283a update php to support user agent 2015-03-15 16:33:57 +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
James Ebentier
24842d4a29 PHP Models: fixing an issue with commas being where they shouldn't 2015-03-13 10:53:42 -07:00
James Ebentier
0854ca5ce5 PHP Models: updating the models generated for PHP styling 2015-03-13 10:53:19 -07:00
James Ebentier
6ca34e362d PHP Models: updating the models generated for PHP to be array accessable and have a simple constructor 2015-03-13 10:51:45 -07:00
Tony Tam
fc52ab972b Merge pull request #494 from FindTheBest/develop_2.0
Fixing bug in new APIClientException
2015-03-13 09:44:02 -07:00
Tony Tam
7aca1cfb3f Merge pull request #486 from wing328/php_fix_deserialize
Bug fixes for Swagger.php deserialize function
2015-03-13 09:39:50 -07:00
James Ebentier
575967b5de Fixing bug in new APIClientException
This new exception had a typo in it for the construct class declaration.
2015-03-12 13:23:46 -07:00
James Ebentier
56ff34dc47 PHP Bindings: exposing response and response info to be accessible through thrown exceptions when non 200 response code is received 2015-03-12 12:12:07 -07:00
William Cheng
5347915c12 form parameter(single quote), add more comment 2015-03-11 21:14:17 +08:00
William Cheng
d0edb836ac fix syntax error at 223, update array comparision (case insensitive) 2015-03-11 15:47:28 +08:00
William Cheng
941f6e7757 add PATCH support to PHP API client 2015-03-10 18:13:55 +08:00
William Cheng
7c23eedf07 use baseName for parameter name in PHP api 2015-03-09 23:15:12 +08:00
Terence Foxcroft
c6f10ef1ea Minor fix to cater for empty array 2015-02-17 07:10:08 +02: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
8b4180ca4a PHP: moving over the addition of a setTimeout function for the APIClient 2015-02-06 11:16:16 -08:00