18346 Commits

Author SHA1 Message Date
Tony Tam
369689d001 merged 2015-03-17 16:30:59 -07:00
Tony Tam
df39fe5d08 added Json schema fields 2015-03-17 16:30:42 -07:00
sosso
b73340ab83 Java: properly add request headers
https://jersey.java.net/nonav/apidocs/1.8/jersey/com/sun/jersey/api/client/PartialRequestBuilder.html#header(java.lang.String, java.lang.Object)

We were running into issues with our headers not making it into our requests.  Upon some research, it appears that Jersey's header() method returns the builder object, meaning we have to do this assignment to properly construct the request.  After making the change, our requests work as expected.
2015-03-17 11:39:32 -07:00
William Cheng
a1d02785af update README with ruby on the codegen usage 2015-03-18 00:14:39 +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
b6ca69f57a Merge pull request #510 from xhh/patch-2
update null comparison for query params in Java
2015-03-17 07:10:52 -07:00
Tony Tam
62992c2de1 Merge pull request #509 from wing328/ruby_form_parameter
update ruby client to support form parameters, add PATCH support
2015-03-17 07:05:09 -07:00
Xu Hui Hui
b2da6dc8a2 update null comparison for query params in Java
to make it clear and also allow a query parameter to be set with string value: "null" (4 characters string)
2015-03-17 16:34:01 +08:00
Tony Tam
c96853d5aa Merge pull request #507 from cchafer/security_schemes_definition
Adding defintion of security schemes in CodegenSecurity
2015-03-16 22:13:19 -07:00
Tony Tam
c215d8ab91 fix and tests for #503 2015-03-16 22:10:35 -07:00
Tony Tam
46d1950fbd removed unnecessary file 2015-03-16 21:04:21 -07:00
Tony Tam
03b764d404 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-03-16 20:54:14 -07:00
Tony Tam
a8aebec9ba removed description 2015-03-16 20:54:08 -07:00
Tony Tam
fd72ff56bf fixed context path 2015-03-16 20:54:01 -07:00
Tony Tam
ebec85fd54 added context path 2015-03-16 20:53:48 -07:00
Tony Tam
fd792ef180 added more helpful error trace 2015-03-16 20:53:34 -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
Tony Tam
8111d4e909 Merge pull request #506 from wing328/ruby_codegen
Add ruby codegen, update sample (petstore) for ruby
2015-03-16 19:49:21 -07:00
William Cheng
fc9d632522 update ruby client to support form parameters, add PATCH support, update
ruby petstore client
2015-03-17 05:24:43 +08:00
Camille Chafer
d580d294b6 Adding defintion of security schemes in CodegenSecurity 2015-03-16 11:58:29 +01:00
William Cheng
e9227ad7e5 add ruby codegen, update sample (petstore) for ruby 2015-03-16 18:47:22 +08:00
Tony Tam
156ec2a2dd Merge pull request #485 from wing328/fix_php_string_response
minor bug fixes and enhancement to Swagger.php
2015-03-15 21:02:37 -07:00
William Cheng
186310b553 Merge branch 'fix_php_string_response' of https://github.com/wing328/swagger-codegen into fix_php_string_response
Conflicts:
	modules/swagger-codegen/src/main/resources/php/Swagger.mustache
	samples/client/petstore/php/Swagger.php
2015-03-15 22:08:44 +08:00
William Cheng
bcdee4e038 update php petstore sample code 2015-03-15 22:06:42 +08: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
Tony Tam
ad7a5967ff Merge pull request #504 from wing328/php_param_supppor_datetime
PHP parameters to suppport datetime (ISO8601)
2015-03-14 22:41:54 -07: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
470ba201d8 build error fix 2015-03-13 10:45:12 -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
Ron
d9b247f302 Merge pull request #500 from jwyterlin/patch-1
Update README.md
2015-03-13 09:38:18 -04:00
Jhonathan Wyterlin
c1e45a5931 Update README.md 2015-03-13 10:35:59 -03:00
Michael Burman
4748af4d59 Fix NPE with resourcePath = /, issue #495
(cherry picked from commit 01515e4ded6fa59da87d109dd8056c1b4a64e0f7)
2015-03-13 14:38:19 +02: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
Tony Tam
6c57d6a76e Merge pull request #491 from FindTheBest/develop_2.0
PHP Bindings: exposing response and response info in Exceptions
2015-03-12 12:23:34 -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
David Valdez
5b72653d7f Update README.md 2015-03-12 12:07:24 -07:00
Tony Tam
0a949e26f0 Merge pull request #487 from wing328/update_php_form
form parameter(single quote), add more comments
2015-03-11 08:44:26 -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
James Ebentier
c75cd55e2c Merge remote-tracking branch 'wordnik/master' 2015-03-10 13:05:16 -07:00
Tony Tam
911be4360a Merge pull request #483 from wing328/add_patch_php
Add PATCH support to PHP API client
2015-03-10 11:42:57 -07:00
Tony Tam
939b4c713d per #458 2015-03-10 11:42:31 -07:00
Tony Tam
e6abc2a881 Merge pull request #458 from djvaldez/master
Update README.md - fixed incorrect flag for custom generator class
2015-03-10 11:40:34 -07:00
Tony Tam
b2977cd29b Merge pull request #477 from wing328/fix_php_basename
use baseName for parameter name in PHP api
2015-03-10 11:39:28 -07:00
Tony Tam
da6f0eec84 Merge pull request #481 from godaddy/develop_2.0
Develop 2.0 - Fix for python3 client deserialize passing wrong parameter
2015-03-10 11:38:59 -07:00