Commit Graph

1874 Commits

Author SHA1 Message Date
William Cheng
3622cfd169 add method documentation for objc client 2015-04-19 23:41:26 +08:00
William Cheng
ae389a8993 update python method documentation 2015-04-19 23:23:09 +08:00
Tony Tam
cbbe29cf70 Merge pull request #651 from wing328/method_name_style
Update method name based on style guide
2015-04-16 10:09:47 -07:00
wing328
c87579e1f7 fix rspec due to change of optional parameter in ruby method 2015-04-17 01:03:15 +08:00
wing328
c30ed059fe update php api test with SwaggerClient.php 2015-04-17 00:26:06 +08:00
wing328
676c4d0835 add back php unit testing and readme to PHP SwaggerClient sample code 2015-04-17 00:26:06 +08:00
wing328
4c717829b3 update test.php, remove old SwaggerPetstore-php 2015-04-17 00:26:06 +08:00
wing328
8512259d02 update method name based on style guide, update petstore sample 2015-04-17 00:26:06 +08:00
Tony Tam
e45b04ef32 Merge pull request #649 from xhh/ruby-optional-params
Add support of optional parameters to Ruby codegen
2015-04-16 09:11:28 -07:00
xhh
de21088619 Support optional body parameter 2015-04-16 18:20:36 +08:00
xhh
61bf7f49cc Remove redundant blank lines 2015-04-16 15:56:08 +08:00
xhh
a819e4d523 Support optional parameters in Ruby client
* Pass optional parameters via the `opts` Hash
* Handle query parameters in a way similar to header/form parameters to
  support parameter name normalization, e.g. the "additional_metadata"
  key is passed for "additionalMetadata"
* Rename variables to be consistent: `query_params`, `header_params` and
  `form_params`
* Remove unnecessary blank lines
2015-04-16 15:56:08 +08:00
Tony Tam
57ca71fcc9 Merge pull request #626 from wing328/fix_ruby_rspec
Fixed Ruby rspec
2015-04-15 22:56:54 -07:00
Tony Tam
a03574e119 Merge pull request #631 from xhh/ruby-config
Fix hard-coded values in Ruby client: scheme, host and base_path
2015-04-15 22:54:46 -07:00
Tony Tam
19d7dad33c Merge pull request #618 from wing328/python3_codegen
Added back python 3 codegen
2015-04-15 22:53:15 -07:00
Tony Tam
2cd8ba9875 Merge branch 'geekerzp-develop_2.0_objc_tests' into develop_2.0 2015-04-15 22:49:05 -07:00
Tony Tam
dc11c94514 Merge branch 'develop_2.0_objc_tests' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_tests 2015-04-15 22:46:46 -07:00
Tony Tam
037fe442dc Merge branch 'geekerzp-develop_2.0_objc_optional_property' into develop_2.0 2015-04-15 22:44:03 -07:00
Tony Tam
0525d66b86 regenerated 2015-04-15 22:43:48 -07:00
Tony Tam
a168c4bf06 Merge branch 'develop_2.0_objc_optional_property' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_optional_property 2015-04-15 22:12:01 -07:00
Tony Tam
a465edd890 Merge pull request #645 from who/develop_2.0
[PHP Templates] Fixing a bug which was preventing payloads to serialize into JSON
2015-04-15 16:51:24 -07:00
who
164a01ed12 Fixing a bug which was preventing payloads to serialize into JSON 2015-04-15 16:17:21 -07:00
Tony Tam
39602c4b2b Merge pull request #644 from hyeghiazaryan/develop_2.0
Adding defaultHeaders dictionary to generated API classes.
2015-04-15 14:24:20 -07:00
hrachya
33dfcd247d Adding defaultHeaders dictionary to generated API classes. defaultHeaders will be merged with headerParams before sending the request.
fix for https://github.com/swagger-api/swagger-codegen/issues/638
2015-04-15 13:02:09 -07:00
Tony Tam
1617b76e27 Merge pull request #637 from hyeghiazaryan/develop_2.0
Adding import for Foundation.h to SWGQueryParamCollection.h
2015-04-15 10:08:21 -07:00
geekerzp
0a9df88e53 Using propertyIsOptional to implement optional property instead of
using `Optional` protocol in objc client.
2015-04-15 17:53:45 +08:00
geekerzp
989641892e Remove outdated tests in objc client 2015-04-15 15:10:46 +08:00
hrachya
21fcbc7acb Adding import for Foundation.h to SWGQueryParamCollection.h
fix for https://github.com/swagger-api/swagger-codegen/issues/636
2015-04-14 13:20:38 -07:00
Tony Tam
dfa17d2291 Merge pull request #630 from who/develop_2.0
Making default PHP namespace generic and fix issues 628 and 635
2015-04-14 12:35:44 -07:00
who
f4a2eff4b7 Fixing nested model deserialization - Issue #635 2015-04-14 12:24:59 -07:00
Tony Tam
f9fd511eb0 Merge pull request #634 from hyeghiazaryan/develop_2.0
Adding toParamName override to ObjcClientCodegen.java
2015-04-14 11:36:25 -07:00
hrachya
ff71a2cc60 Adding toParamName override to ObjcClientCodegen.java
fix for https://github.com/swagger-api/swagger-codegen/issues/633
2015-04-14 11:23:09 -07:00
xhh
41371bd901 Initialize a default configuration object 2015-04-14 15:03:21 +08:00
xhh
7db7b146be Fix hard-coded values in Ruby client: scheme, host and base_path 2015-04-14 12:32:25 +08:00
who
de25d63838 Making the default PHP package name more generic instead of being specific to Petstore 2015-04-13 16:27:30 -07:00
who
42829ffb13 A proposed fix for Issue #628 2015-04-13 13:14:10 -07:00
Tony Tam
444666a365 Merge pull request #629 from who/develop_2.0
Correct usage of strpos in PHP APIClient mustache template
2015-04-13 12:30:41 -07:00
who
41db8798af correct usage of strpos 2015-04-13 12:22:38 -07:00
Tony Tam
33bd614a42 Merge pull request #625 from geekerzp/develop_2.0_python_form_params
Fixed request content-type in python client
2015-04-13 10:26:17 -07:00
Tony Tam
10ad0b48dc Merge pull request #623 from wing328/php_fix_double
Fixed "double" response type in PHP client
2015-04-13 10:24:54 -07:00
wing328
4a0314849e fix ruby spec 2015-04-13 22:23:52 +08:00
geekerzp
10a9d298d7 Fixed request content-type in objc client.
In api.mustache the name of content-type is `Content-Type`,
but in swagger.mustache the name of content-type is `Content-type`.
2015-04-13 17:30:43 +08:00
William Cheng
13d513f02b fix double in php client response 2015-04-12 23:06:07 +08:00
Tony Tam
7f84deaf30 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-04-10 23:07:27 -07:00
Tony Tam
765a5c6aa1 added uniqueness for nickname, #612 2015-04-10 23:07:00 -07:00
Tony Tam
f7c195a7ac updated pom for #612 2015-04-10 23:06:47 -07:00
Tony Tam
252cb18aeb Merge pull request #619 from geekerzp/develop_2.0_python_package
Update Python codegen to support packaging via Setuptools
2015-04-10 21:03:08 -07:00
Tony Tam
54a5ecb101 Merge pull request #620 from geekerzp/develop_2.0_objc_content_type
Fixed request content-type in objc client
2015-04-10 21:01:25 -07:00
geekerzp
63ca000482 fixed request content-type to multipart/form-data when upload file is null 2015-04-11 11:46:55 +08:00
geekerzp
00aa844964 update readme.md 2015-04-11 10:38:32 +08:00