3719 Commits

Author SHA1 Message Date
wing328
c8edacb25c Merge pull request #1225 from wing328/fix_getHasXXXParam
Fix getHasXxxParam in CodegenOperation
2015-09-13 22:15:50 +08:00
xhh
1ecb8a74c1 Allow customizing temp folder for file downloading 2015-09-13 21:02:22 +08:00
xhh
967c574f5b Support file downloading in Java okhttp-gson client 2015-09-13 18:41:53 +08:00
wing328
8bb8a7a79a fix getHasXxxParam 2015-09-12 16:00:10 +08:00
Matthew Davis
1268b0627f added NSNumber catch to pathParams as well 2015-09-11 17:33:36 -07:00
Matthew Davis
761f172c2f forgot an 'else' statement 2015-09-11 17:27:25 -07:00
Matthew Davis
1321d5f9a5 [Obj-C] Fixed an issue where NSNumber parameters would cause a crash in multipart/form-data upload endpoints 2015-09-11 17:23:48 -07:00
Madhukar Devaraju
35f462f571 Java: Support List of Enums in postProcessModels 2015-09-11 14:56:37 -07:00
wing328
f21fa08cd6 update C# ParamterToString to support array of object, add test case 2015-09-11 22:48:38 +08:00
wing328
16afd4ee9b update map to use String instead of string 2015-09-11 18:02:51 +08:00
xhh
34f196a144 Java-okhttp-gson: allow access to status code and response headers of last (async) request 2015-09-11 13:22:37 +08:00
xhh
def3f5b3fb Java-jersey2: record status code and response headers of last request 2015-09-11 13:22:37 +08:00
xhh
60e5a34534 Update Java-jersey2 client to skip binary support
Binary parameter/response support was added to the default Java client
codegen which changed the signature of the `invokeAPI` method in
"api.mustache", causing the "jersey2" client fail to compile.
Here an separate version of `api.mustache` is added for "jersey2" client
which does not handle binary support (for now).
2015-09-11 13:22:37 +08:00
wing328
1eed90f34e Merge pull request #1214 from GoodTRKR/master
[Obj-C] Fixed an issue with incorrect references in the ApiClient when using a custom prefix.
2015-09-11 09:30:58 +08:00
Matthew Davis
dbdcf34044 [Obj-C] Fixed an issue with incorrect references in the ApiClient when using a custom prefix. 2015-09-10 15:14:53 -07:00
Leo
43d71ed10c Remove the parameter in the BasePath getter
The parameter in the BasePath getter is not needed.
2015-09-10 12:17:23 -05:00
Arne Jørgensen
3c3762fd92 Add HEAD and OPTIONS support in PHP client.
The generated PHP client didn't support the HEAD and OPTIONS methods.

Followup on #1156 and #1201.
2015-09-10 14:55:49 +02:00
Robin Eggenkamp
0edbfeff15 Bump Alamofire version to final 2.0.0 2015-09-10 14:24:55 +02:00
wing328
71a3218bb3 fix sinatra type (tag) 2015-09-09 20:27:59 +08:00
wing328
3385082e2c Merge pull request #1201 from arnested/missing-head
Fix HEAD path item is missing.
2015-09-08 22:28:03 +08:00
wing328
2b1a63a7de Merge pull request #1150 from ePaul/bugfix/1146-escape-line-breaks-in-response-description
jaxrs: escape line breaks in response description
2015-09-08 21:38:50 +08:00
wing328
93847d8dc7 Merge pull request #1149 from ePaul/feature/1146-do-not-escape-javadocs
jaxrs (and other Java generators): do not escape newlines in generated javadocs.
2015-09-08 21:17:14 +08:00
Arne Jørgensen
3514bf14b3 Fix HEAD path item is missing.
Fixes #1156.
2015-09-08 10:00:17 +02:00
wing328
5bcd8fb207 Merge pull request #1199 from xhh/java-okhttp-gson
[Java okhttp-gson, Android] Set source and target compatibility to 1.7 in build.gradle
2015-09-08 11:31:38 +08:00
wing328
a8f7708789 Merge pull request #1198 from yissachar/dart
Add Dart support
2015-09-08 09:18:51 +08:00
wing328
26c0bfef7d Merge pull request #1196 from wing328/typescript_basepath
[TypeScript] Fix base path
2015-09-07 21:57:23 +08:00
wing328
12190e0900 Merge pull request #1172 from xhh/ruby-apiclient
[Ruby] Implement API client structure for Ruby client
2015-09-07 21:56:59 +08:00
wing328
f340a389e9 Merge pull request #1182 from Helmsdown/cli-enhancements-2
Refactor codegen to support an "uber" meta model for user defined values
2015-09-07 21:55:50 +08:00
xhh
8b96cdb7d7 Set source/target compatibility in Android client 2015-09-07 16:35:34 +08:00
xhh
90307cafc6 Merge branch 'master' into java-okhttp-gson 2015-09-07 15:33:18 +08:00
Yissachar Radcliffe
58c5ecf13c Generate auth files to correct location 2015-09-06 19:58:28 -04:00
Yissachar Radcliffe
e72a53448e Add Dart support 2015-09-06 18:35:29 -04:00
wing328
90b89c6189 fix typescript basepath 2015-09-05 16:48:00 +08:00
wing328
ee1febcd95 Merge pull request #1188 from wing328/master
[NodeJS] fixed HTML-escaped description on nodejs json files
2015-09-05 15:44:16 +08:00
russellb337
6c079e95d9 Merge remote-tracking branch 'upstream/master' into cli-enhancements-2 2015-09-04 15:25:10 -07:00
russellb337
d22398eb73 put all values into dynamic properties map 2015-09-04 15:24:36 -07:00
wing328
30228dcca5 Merge pull request #1192 from SparrowJang/master
Python - response is empty object
2015-09-04 22:42:39 +08:00
wing328
2e30a3af27 Merge pull request #1189 from mad102190/feature/objc-response-headers
[Obj-C] Added ability to access HTTP Response headers
2015-09-04 16:42:25 +08:00
sparrow.jang
ba701be2f2 fixed a empty object for response 2015-09-04 15:20:34 +08:00
Matthew Davis
f705e03fc4 changes to podspec.mustache to accept new params 2015-09-03 13:02:24 -07:00
Matthew Davis
75bb59572a added extra CLI options required to generate a valid (lint-able) podspec file. 2015-09-03 12:54:25 -07:00
Matthew Davis
2822e9ea38 added support for retrieving HTTP response headers in obj-c. Also added a +sharedAPI class method for easy initialization of an API class without passing headers 2015-09-03 12:18:00 -07:00
russellb337
435ce7b9d5 make JsonAnySetter for dynamic properties "builder" style 2015-09-03 10:16:44 -07:00
russellb337
ab6118afe4 update default generator to skip generation of models that have import mappings defined 2015-09-03 08:24:33 -07:00
wing328
8ce06fc898 fix HTML-escaped description on nodejs json files 2015-09-03 22:38:19 +08:00
russellb337
44b5c22cd4 Merge remote-tracking branch 'upstream/master' into cli-enhancements-2 2015-09-02 09:28:58 -07:00
russellb337
6d7557971b switch Generate to use CodegenConfigurator 2015-09-02 09:28:40 -07:00
Cameron
9af16c0d79 Support dots in output folder for C# generator 2015-09-02 13:36:35 +01:00
xhh
027e4c5a20 Set source and target compatibility to 1.7
in build.gradle to make it work with Android
2015-09-02 18:35:58 +08:00
wing328
c56d807a15 Merge pull request #1169 from boazsapir/master
Handle correctly the case of no default response (see comment in #1124)
2015-09-02 18:03:02 +08:00