Commit Graph

226 Commits

Author SHA1 Message Date
wing328
2104ef3192 doc for new models 2016-03-30 21:09:34 +08:00
wing328
20f1e97df3 fix typo in readme 2016-03-30 20:58:18 +08:00
Arne Jørgensen
da518d55d2 Regenerate PHP petstore sample 2016-03-28 11:30:27 +02:00
Arne Jørgensen
0196cdd558 [PHP] Use parent constructor when inheriting 2016-03-28 11:30:27 +02:00
wing328
97e821af6b update php readme 2016-03-19 16:15:41 +08:00
wing328
95cd8b73a6 update sample code, update test case 2016-03-19 16:03:36 +08:00
Arne Jørgensen
aa61204ede Regenerate PHP petstore sample 2016-03-18 00:52:12 +01:00
wing328
05a8c47a36 update docstring to include default value 2016-03-17 17:43:21 +08:00
wing328
b40603d274 update readme, add getting started 2016-03-17 16:53:09 +08:00
wing328
47bb5689d9 better hanlding of model name starting with number 2016-03-17 11:49:06 +08:00
wing328
4b5a0a4872 beter handling of model name starting with number 2016-03-16 23:10:59 +08:00
Arne Jørgensen
55ef72d47e Regenerate PHP petstore sample 2016-03-16 13:08:09 +01:00
wing328
2eda3b16cf fix file example 2016-03-16 16:25:32 +08:00
wing328
c101c1204e add php documentation 2016-03-16 16:14:04 +08:00
wing328
259d113d35 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into php_api_doc 2016-03-16 11:42:27 +08:00
wing328
be7a49385f set default user default for ruby, php, python, java 2016-03-15 11:41:47 +08:00
wing328
532d22c5a3 add api documentation to php 2016-03-14 17:25:11 +08:00
wing328
41383e78c3 change php git_push location 2016-03-13 15:58:04 +08:00
wing328
a529d9dfe0 push new git_push and .gitinore file 2016-03-12 18:01:53 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
wing328
b5c0f17a02 update php to handle object type and add more test case 2016-03-05 14:25:01 +08:00
wing328
ae54301ed7 better model name for php 2016-03-04 14:26:28 +08:00
wing328
a92a9f2a03 Merge pull request #1990 from expectedbehavior/php-raw-string
[PHP] Use String instead of Byte Array
2016-03-04 10:57:59 +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
Elijah Miller
6698c532e6 Keep PHP binary responses as strings for easier manipulation. 2016-03-03 11:01:13 -05:00
wing328
7e63226ed4 update wording for test file, minor tweats to petstore test 2016-03-03 20:19:37 +08:00
wing328
f68e93c662 better local variable naming for ruby, python and php 2016-02-28 11:48:14 +08:00
wing328
6962947611 better handling of model (reserved keyword) 2016-02-25 14:16:40 +08:00
wing328
4e034d3dc5 better reserved word handling for php 2016-02-25 13:16:54 +08:00
wing328
74c512453e add .travis.yml 2016-02-20 21:54:00 +08:00
wing328
f27d2534a6 update php readme 2016-02-19 23:37:35 +08:00
wing328
fd9a62adbe update php test case with higher memory limit 2016-02-18 16:40:13 +08:00
wing328
a4825d8142 add multi auth setting (based on #1961) 2016-02-16 17:17:42 +08:00
wing328
f8b82e14fe use logger.info to display command line result 2016-01-28 11:25:11 +08:00
wing328
751b4cd832 remove var_dump 2016-01-20 21:46:10 +08:00
wing328
058b408dfb add test cases for findPetsByTags 2016-01-20 21:42:51 +08:00
wing328
b21c5f08a7 Merge pull request #1921 from wing328/php_generate_test
[PHP] generate files for unit testing models and API files
2016-01-20 10:05:20 +08:00
wing328
61c717b6de add comments 2016-01-19 19:50:27 +08:00
wing328
8927c1dc0f add test template for php 2016-01-19 14:49:32 +08:00
wing328
dcd2c00fe6 fix empty object serialization issue 2016-01-18 21:42:24 +08:00
wing328
9fd4f39c8c update tostring to use sanitizeforserialization 2016-01-18 21:27:29 +08:00
wing328
fee8acef97 fix isBinary, CodegenParameter copy, add isBinary to php api client 2016-01-15 11:43:02 +08:00
wing328
c7b9635e98 add test cases for byte array (body) 2016-01-15 11:43:02 +08:00
wing328
f54185c66d add binary support for php response 2016-01-15 11:43:02 +08:00
wing328
cba7e063e1 add test case for objectserializer 2016-01-11 21:01:02 +08:00
wing328
eebf743fad better filename handling in objectseralizer (php) 2016-01-11 16:16:49 +08:00
wing328
a7ff6e22ab update php sample before runnning CI tests 2016-01-08 14:07:05 +08:00
wing328
61e6cbef66 fix httpHeader (remove s) 2016-01-08 10:37:48 +08:00
wing328
64427a16d1 add more test case for php (array of array, map of map) 2016-01-08 10:34:19 +08:00
Ron
3a2ad9e2e4 Happy new year! 2016-01-06 16:04:16 -08:00
wing328
9ab27cd848 update reserved words for php and ruby to include local variable names
in api methods
2016-01-06 23:58:58 +08:00
Arne Jørgensen
1292fe4dfd Regenerated PHP petstore sample. 2016-01-03 22:59:15 +01:00
wing328
11d6bb9a95 php remove duplicated type mapping 2015-12-29 15:00:56 +08:00
Arne Jørgensen
84c35bd0cb Regenerated PHP petstore sample. 2015-12-27 15:29:08 +01:00
wing328
3acb5d60a0 add swgger client profiling for php 2015-12-11 14:36:28 +08:00
wing328
9faf6f4068 add php profiler for petstore, fix empty/null string check 2015-12-10 18:55:28 +08:00
wing328
340e60002e more style change for php client 2015-12-07 00:52:30 +08:00
wing328
442f87c19a minor style change for php functions 2015-12-07 00:42:25 +08:00
wing328
17b14fa281 update php sample 2015-12-07 00:37:22 +08:00
wing328
11466570f7 php add test case for withinfo method returnig void 2015-12-07 00:30:17 +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
ddc4d8460d fix php access token setter 2015-11-25 00:00:26 +08:00
wing328
e11a3d468e update auth for php to skip empty apikey/username,password 2015-11-22 18:35:45 +08:00
wing328
6c12e5ac8b update php sample 2015-10-28 21:45:22 +08:00
wing328
67815ed5f2 add oauth support for php 2015-10-28 21:44:12 +08:00
Arne Jørgensen
47b2ae934b Regenerated PHP petstore sample. 2015-10-27 22:58:25 +01:00
Tony Tam
a21f08118e rebuilt 2015-10-20 10:31:42 -07:00
wing328
7d69107696 Merge pull request #1356 from arnested/deserialize-httpHeader
Deserialize httpHeader.
2015-10-09 11:31:24 +08:00
Arne Jørgensen
b7b8b527db Use HTTP headers from ApiException in PHP client.
The `$httpHeader` variable was not set when catching exceptions.

See also #1354.

Regenerated php-petstore sample.
2015-10-08 11:46:36 +02:00
Arne Jørgensen
3bd4502bbf Deserialize httpHeader.
See #1354.

Regenerated php-petstore sample.
2015-10-08 11:25:43 +02:00
wing328
4e4e9e7893 add a CLI option to sort method argument 2015-09-22 15:57:22 +08:00
Tony Tam
3160913433 update files as rebase from #838 2015-08-23 11:05:19 -07:00
wing328
f2df26f6e6 fix deserializing datetime, add test case 2015-08-22 23:09:12 +08:00
wing328
b971aa7433 add example to config option, replace localhost with basePath 2015-08-13 23:27:59 +08:00
Andrew B
b70a0bf0c6 Fixing an issue with errant namespace in the sample petstore 2015-07-13 14:56:33 -07:00
Andrew B
7dca394eca Support for customizing Composer package and namespaces 2015-07-13 14:46:56 -07:00
xhh
715c56afcc Rebuild petstore PHP sample with updated order on params 2015-07-13 16:51:19 +08:00
wing328
879c1b921c update php petstore sample 2015-07-13 15:31:20 +08:00
wing328
f154e407d2 update coding style based on CodeSniffer 2015-07-13 15:26:12 +08:00
wing328
44705b566d add default version for package 2015-07-13 15:24:12 +08:00
wing328
71a22141bf add enum support for model property 2015-07-13 15:24:11 +08:00
wing328
38149173ff revert petstore json, fixed test case 2015-07-13 15:21:39 +08:00
wing328
2258a4632d fix test.php, fix default configuration 2015-07-13 15:21:39 +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
69eae7d35b merged 2015-06-25 10:23:05 -07:00
Tony Tam
07d5365c5c merged from #902, rebuilt client 2015-06-25 10:17:28 -07:00
nmonterroso
efd5b806be updating php generated samples and updating tests 2015-06-23 09:27:52 -07:00
wing328
550493ba84 fix php separator 2015-06-23 21:20:12 +08:00
Branden Cash
b74050dd7b Change to use the autoload.php and change the namespacing 2015-06-18 11:45:08 -07:00
Branden Cash
eed45a41a3 Fixed the missing closing doc chars and updated sample 2015-06-18 11:43:54 -07:00
Branden Cash
719a0b732e Update sample client 2015-06-18 11:43:48 -07:00
Tony Tam
d8c337185f Merge pull request #857 from wing328/php_warning
[PHP] Remove PHP5.3 warning
2015-06-17 08:27:47 -07:00
William Cheng
436db1f8e7 add __toString and update php sample 2015-06-17 19:00:29 +08:00
William Cheng
7aab1eaffb update test.php to put exception test at last 2015-06-10 23:53:56 +08:00
wing328
a0c55693dc add test case for loginUser, separate test cases into different files 2015-06-10 21:59:48 +08:00
wing328
9aca2868b9 change static method to instance method, update test case to remove php warning 2015-06-10 21:18:48 +08:00
wing328
303dbe7730 fix array,map for perl, add test case 2015-06-10 10:53:21 +08:00