Commit Graph

2304 Commits

Author SHA1 Message Date
wing328
ece56af43c Merge pull request #1874 from cbornet/fix_param
[Feign]Fix wrong query param key name in feign client
2016-01-12 20:06:29 +08:00
wing328
24980ea1c6 Merge pull request #1866 from xhh/java-okhttp-gson-debugging
[Java okhttp-gson] Implement the "debugging" option of ApiClient
2016-01-12 16:53:39 +08:00
xhh
ef8d2fd766 Ruby: IO improvements on file downloading
- Use `File.basename` to sanitize the filename got from response header
- Write to the `Tempfile` directly and return it
- Set file encoding according to the response body's encoding

See #1848
2016-01-12 11:59:41 +08:00
wing328
8b430cdeb0 Merge pull request #1864 from wing328/csharp_binary_response
[C#] add binary support
2016-01-12 11:58:28 +08:00
wing328
d35d97d145 Merge pull request #1865 from wing328/php_fix_file_security
[PHP] better filename handling in ObjectSerializer
2016-01-12 11:28:59 +08:00
wing328
be49dc58bd Merge pull request #1857 from erikvanzijst/erik/java_object_naming_clash
Java Class Name Clashes with java.lang.*
2016-01-12 10:57:53 +08:00
wing328
ef8e5dbcf5 Merge pull request #1862 from cbornet/feign_auth
Add auth support to feign library
2016-01-12 09:27:51 +08:00
cbornet
07947d8cad fix wrong query param key name 2016-01-11 22:25:56 +00:00
Shyri Villar
d40bb8ad32 [android-volley] Added synchronous request support 2016-01-11 23:18:18 +01:00
cbornet
5e4db995c9 add oauth support to feign client 2016-01-11 22:16:01 +00:00
cbornet
58c0e63012 add auth support to feign library
Fix #1840
2016-01-11 22:16:01 +00:00
Shyri Villar
59b91c2120 [android-volley] improved RequestQueue configuration and decoupled ApiInvoker from Android Context 2016-01-11 21:18:28 +01:00
xhh
3c6639b4f6 Remove path delimiters from downloading filename 2016-01-11 22:13:07 +08:00
wing328
81436e8ae3 Merge pull request #1839 from Shyri/android-volley-library
Android volley fix responses with additionalProperties and update sdk version
2016-01-11 22:11:44 +08:00
xhh
b87d6a0f36 Java okhttp-gson: implement the "debugging" option
for ApiClient and upgrade OkHttp
2016-01-11 18:10:02 +08:00
wing328
3099aa2d85 Merge pull request #1853 from xhh/java-timeout
[Java] Support setting connect timeout for the default and jersey2 clients
2016-01-11 17:10:22 +08:00
wing328
eebf743fad better filename handling in objectseralizer (php) 2016-01-11 16:16:49 +08:00
wing328
3c48202bee Merge pull request #1833 from frinux/patch-1
projectName support to fill package.json template
2016-01-11 12:08:31 +08:00
wing328
391eb1bcb0 Merge pull request #1834 from frinux/patch-2
Fixed bug: basePath should not be empty
2016-01-11 11:57:26 +08:00
wing328
e0f43c1c58 add binary support to C# client 2016-01-11 00:45:57 +08:00
wing328
e1348e7871 add new files for c# 2016-01-10 02:29:58 +08:00
wing328
08756413dc fix comment in csharpdonet2.0 2016-01-10 00:31:37 +08:00
wing328
6b7439b9d9 add compile-mono, fix csharp comment 2016-01-10 00:17:55 +08:00
wing328
ed2cb1d2e4 Merge pull request #1859 from jhancock93/datetimeoffset2
CSharp client: Add support for DateTimeOffset and sourceFolder configuration.
2016-01-09 21:13:01 +08:00
Erik van Zijst
dbe62bee37 #1858: The Java equals/hashcode methods ignores state from superclasses
This fixes equals/hashCode for derived classes.
2016-01-08 15:11:59 -08:00
Erik van Zijst
995869f4d5 Java Class Name Clashes with java.lang.*
A swagger file that contains a definition named "object" compiles into a
class named Object. This is technically not a problem as it lives in a
different package than java.lang.Object, but this requires the templates to
refer to Java's Object using its fully qualified name.
2016-01-08 11:07:18 -08:00
John Hancock
2a7fc2d00e Fixed whitespace/tab issues 2016-01-08 13:06:25 -05:00
John Hancock
ebe090572f CSharp: add support for DateTimeOffset and sourceFolder configuration options
Adds option to use DateTimeOffset to model datetime fields instead of
DateTime to allow preservation of timezone information. Modifies
ApiClient.ParameterToString to support DateTimeOffset. Also adds
sourceFolder option.
2016-01-08 13:03:33 -05:00
John Hancock
5f9164049c CSharp: add support for DateTimeOffset and sourceFolder configuration 2016-01-08 13:03:24 -05:00
frinux
15676ff72e Update NodeJSServerCodegen.java
projectName was already defined so never overriden.
2016-01-08 16:19:46 +01:00
frinux
6064f32ba5 Compilation error fixed
io.swagger.models.Info dependency added
2016-01-08 16:19:46 +01:00
frinux
4f715342a1 projectName support to fill package.json template
Inspired by ClojureClientCodegen.java, it is interesting to use projectName from info.title swagger spec to fill up package.json name attribute
2016-01-08 16:19:46 +01:00
frinux
b6e8ad56b5 Fixed bug: basePath should not be empty
This last change was producing a wrong swagger spec

@see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
"The value MUST start with a leading slash (/)"
2016-01-08 16:14:50 +01:00
xhh
3d65218619 Java jersey2 client: get/set connect timeout 2016-01-08 19:05:43 +08:00
xhh
9657d4437e Java client: get/set connect timeout, fix "debugging" 2016-01-08 17:45:29 +08:00
wing328
468a13dc96 add cli option to optionally generate assemblyinfo.cs (default: true) 2016-01-08 17:03:57 +08:00
Shyri Villar
4261fe402c android-volley-library updated android sdk, buildtools and target versions 2016-01-08 09:28:00 +01:00
Shyri Villar
9fefd1e7e5 Fixed android-volley-library responses when additionalProperties is present. Clean responses mechanism using volley default's 2016-01-08 09:27:59 +01:00
wing328
8bd7640512 Merge pull request #1838 from expectedbehavior/ruby-el-capitan
Minimal update for Ruby testing on El Capitan
2016-01-08 14:55:14 +08:00
wing328
c993b2bd70 Merge pull request #1832 from wing328/php_array_test
[PHP] add more test case for php (array of array, map of map)
2016-01-08 14:39:23 +08:00
wing328
a8f5809370 replace httpHeader with httpHeaders in php object serializer 2016-01-08 14:04:10 +08:00
Tony Tam
7c3406804d updated versions 2016-01-07 20:43:49 -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
Tony Tam
66e3cac8db Merge branch 'master' of https://github.com/KevinGlinski/swagger-codegen into KevinGlinski-master 2016-01-07 15:40:01 -08:00
Elijah Miller
c0da950fce Minimal update for Ruby testing on El Capitan. 2016-01-07 18:17:07 -05:00
Tony Tam
e63a4c6651 Merge branch 'android_reserved_word' of https://github.com/wing328/swagger-codegen into wing328-android_reserved_word 2016-01-07 14:52:40 -08:00
Kevin Glinski
06717fb307 Merge remote-tracking branch 'upstream/master' 2016-01-07 16:35:08 -05:00
Arne Jørgensen
b256ccb045 Document Java 8 as requirement. 2016-01-07 22:01:22 +01:00
Tony Tam
771ddccbe9 updated jersey version 2016-01-07 08:42:21 -08:00
wing328
0bdff1c50b update reserved word to include local variable names for android, scala 2016-01-07 11:33:16 +08:00
wing328
fc218d0b4f Merge pull request #1812 from captin411/perl-flexible-module-name
[Perl] more flexible perl module naming (Allow::This even without WWW::)
2016-01-07 10:37:45 +08:00
Kevin Glinski
3465a746d3 adding configurable options to the gemspec file 2016-01-06 21:02:29 -05:00
Ron
3a2ad9e2e4 Happy new year! 2016-01-06 16:04:16 -08:00
Tony Tam
d4d4c43032 updated versions 2016-01-06 09:47:32 -08:00
Tony Tam
8c8e3227d9 Merge pull request #1826 from swagger-api/issue-1825
added serverPort detection from the spec
2016-01-06 09:41:06 -08:00
Tony Tam
1110bd7a08 added to templates 2016-01-06 09:31:14 -08:00
wing328
61bf45bda4 update typescript reserved word list to include local variable names
used in api methods
2016-01-06 23:58:58 +08:00
wing328
30445633d6 update objc reserved word list to include local variable name in api
methods
2016-01-06 23:58:58 +08:00
wing328
f033f59867 update reserved word list for C# .net 2.0 with local variable name in
api method
2016-01-06 23:58:58 +08:00
wing328
eeaf832cae update csharp reserved words with local variable names in api methods 2016-01-06 23:58:58 +08:00
wing328
22b5f02ec3 update python reserved words to include local variable names in api
methods
2016-01-06 23:58:58 +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
Tony Tam
19ff7dc19c pom updates 2016-01-06 06:30:25 -08:00
Tony Tam
19c81bf7bd fix, tests for #1822 2016-01-06 05:29:44 -08:00
Tony Tam
ed4a729cd2 added internal names to reserved words list 2016-01-05 16:40:17 -08:00
Tony Tam
e82c12ccf8 updated tests, added parentSchema 2016-01-05 16:12:03 -08:00
Tony Tam
5a956df108 updated jdk version 2016-01-05 16:11:17 -08:00
Tony Tam
ba9bd11a8d updated parentModel names in inheritence situations 2016-01-05 14:58:36 -08:00
Tony Tam
e83cea0a48 Update Dockerfile 2016-01-05 12:30:02 -08:00
Tony Tam
8d120a0330 updated scripts 2016-01-05 06:08:22 -08:00
Tony Tam
e1afe7da65 remove println 2016-01-05 05:02:45 -08:00
Tony Tam
380d8c1d15 added config help, example for https://github.com/swagger-api/swagger-codegen/pull/1784#issuecomment-168599569 2016-01-05 05:02:05 -08:00
Tony Tam
ceadea10aa Merge pull request #1813 from swagger-api/issue-1811
added Docker support
2016-01-05 04:31:49 -08:00
wing328
1acf5d2ff4 Merge pull request #1816 from xhh/android-volley-library
[Android] Change the android-volley client codegen to an Android library (sub template)
2016-01-05 17:19:05 +08:00
xhh
beabe8cda2 Merge branch 'master' into android-volley-library
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AndroidClientCodegen.java
2016-01-05 16:39:15 +08:00
wing328
5a74370180 fix import for java server templates 2016-01-05 15:02:18 +08:00
wing328
99d19575f0 fix missing object import in java (retrofit, okhttp) 2016-01-05 14:44:26 +08:00
David Bartle
99842f646f more flexible perl module naming
- No more presuming 'WWW::' is at the beginning
  (default is now "WWW::SwaggerClient" vs "SwaggerClient" in order
   to accomodate)
- Test that module names Like::This write to the filesystem and in
  the mustache templates properly
2016-01-04 20:38:07 -08:00
Tony Tam
881d1407dc exclusions 2016-01-04 20:24:15 -08:00
Tony Tam
4a5dd60182 added Dockerfile 2016-01-04 20:21:15 -08:00
Tony Tam
a45b72e4da updated to include swagger-ui in war file 2016-01-04 20:21:09 -08:00
Tony Tam
608f045bd0 removed debug level 2016-01-04 20:20:51 -08:00
Tony Tam
40a11004b3 removed logic to make default location 2016-01-04 20:20:37 -08:00
Tony Tam
37a370e662 updated default port 2016-01-04 20:19:16 -08:00
Tony Tam
d18d848729 added relative file logic 2016-01-04 20:19:00 -08:00
wing328
ba8e992806 Merge pull request #1807 from wing328/java_fix_import
[Java] To fix missing imports in inline models
2016-01-05 11:45:50 +08:00
wing328
4597d27fe9 add self as a reserved keyword to python 2016-01-05 10:17:07 +08:00
wing328
6967c0c2c7 add comment about java.utils.Objects 2016-01-05 09:59:27 +08:00
wing328
ff9e04e4dd fix #1804 2016-01-05 09:52:33 +08:00
lugaru1234
b88e96ae10 Default values have been added to the boolean options 2016-01-04 16:33:34 +03:00
xhh
bed94ac3d0 Add the missing "volley" dependency 2016-01-04 20:22:33 +08:00
xhh
0103c2f906 Change the android-volley client codegen to an Android library 2016-01-04 19:09:07 +08:00
wing328
563cabe931 Merge pull request #1499 from arnested/collectionFormat
Accept arrays as arguments to collection parameters in PHP client.
2016-01-04 15:41:25 +08:00
wing328
dee885e9f5 Merge pull request #1803 from Tengah/issue-1802
Fixed configuration of host in api_client so that it gets done at run-time not load-time
2016-01-04 15:19:07 +08:00
wing328
c56252e4a0 Merge pull request #1801 from MyPureCloud/issue-1799
Issue 1799 - Inherited classes must come before implemented interface…
2016-01-04 14:52:45 +08:00
wing328
106f20fe51 Merge pull request #1800 from MyPureCloud/issue-1797
Issue 1797 - Adding assembly info
2016-01-04 14:51:40 +08:00
wing328
c315d7f3df Merge pull request #1775 from Shyri/android-volley
Android volley client generator
2016-01-04 14:30:55 +08:00
wing328
ef24b66c6c Merge pull request #1731 from evigeant/feature/jaxrs-no-sys-property
[jaxrs] Updated generator to use additional properties instead of system properties
2016-01-04 11:48:00 +08:00
wing328
3072247ca9 Merge pull request #1792 from xhh/java-model-indented
[Java] Update imports in models of Java clients
2016-01-04 11:04:25 +08:00
Arne Jørgensen
d71d164843 Accept arrays as arguments to collection parameters. 2016-01-03 22:45:07 +01:00
evigeant
ca67e3506b Fixed idententation to use spaces instead of tab 2016-01-03 15:07:27 -05:00
evigeant
5867608ee1 Merge branch 'master' into feature/jaxrs-no-sys-property
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JaxRSServerCodegen.java
	modules/swagger-codegen/src/test/java/io/swagger/codegen/options/JaxRSServerOptionsProvider.java
2016-01-03 08:18:31 -05:00
Bob Pasker
dfae08adc8 in Python, a method as the default value of a formal parameter defines the value when the module is loaded (normally at import time), not when the method is invoked 2015-12-31 18:10:19 -05:00
unknown
58694d0623 Issue 1799 - Inherited classes must come before implemented interfaces in the class definition
* Switched the order of parent class and the interface
2015-12-31 15:34:25 -07:00
unknown
6b39fde35a Issue 1797 - Adding assembly info
* New mustache template created for AssemblyInfo.cs
* Properties added to the C# codegen file to specify the assembly property values and adding AssemblyInfo.mustache to list of supporting files
2015-12-31 14:58:26 -07:00
Kirill Vlasov
6fc871db38 Fixing squid:S1488 - Local Variables should not be declared and then immediately returned or thrown 2015-12-31 17:08:59 +05:00
xhh
f4581d3008 Update imports in models of Java clients
- Remove the StringUtil import which is no longer needed
- Remove duplicated imports of Objects and io.swagger.annotations.*
- Only include jackson related imports in the Java clients needing it
  (i.e. the default, jersey2 and feign Java clients)
2015-12-31 12:44:34 +08:00
Tony Tam
b98085eaa5 merged 2015-12-30 19:58:28 -08:00
Tony Tam
1e2abbe422 Merge pull request #1774 from DevFactory/staging/redundant-field-initializer-fix-2
Redundant Field Initializer
2015-12-30 19:54:23 -08:00
Tony Tam
f73acc7c18 Merge pull request #1791 from scottrw93/master
Issue 1631 Valid yml definition generates API error in node js server
2015-12-30 19:51:44 -08:00
Tony Tam
470c17db36 removed printout 2015-12-30 19:48:06 -08:00
11356176
eb2c7708cb Issue 1631 Valid yml definition generates API error in node js server 2015-12-31 01:07:10 +00:00
Tony Tam
88fab0b85f Merge branch 'master' into issue-1789 2015-12-30 15:06:54 -08:00
Ron
9a54371ca9 Swagger Spec -> OpenAPI Spec 2015-12-30 14:52:15 -08:00
Tony Tam
adb3795a44 formatting 2015-12-30 14:51:43 -08:00
Tony Tam
e08e578c58 updated templates per #1789 2015-12-30 14:51:37 -08:00
Tony Tam
9ca914f769 updated jaxrs generator pojos 2015-12-30 14:20:52 -08:00
Tony Tam
788c70922d updated cli name 2015-12-30 13:40:51 -08:00
Tony Tam
d75e602168 made imports more intelligent 2015-12-30 13:16:08 -08:00
Tony Tam
1cd54ee685 added bigDecimalAsString option to allow serializing with strings 2015-12-30 12:32:37 -08:00
Tony Tam
ac7856d009 formatting 2015-12-30 12:27:31 -08:00
Tony Tam
6f324e069e Merge pull request #1786 from lugaru1234/options-type-fix
CliOption.type has been set to "boolean" for boolean options
2015-12-30 11:01:07 -08:00
Tony Tam
26c50ce0a3 Merge pull request #1785 from swagger-api/issue-1748
added `serverPort`
2015-12-30 11:00:58 -08:00
Tony Tam
460e5befec fixed index issue 2015-12-30 10:42:20 -08:00
lugaru1234
67bea9ec27 CliOption.type has ben set to boolean for boolean options 2015-12-30 18:17:45 +03:00
wing328
96889d47ba Merge pull request #1742 from icha024/master6
Spring-MVC config "j8-async": Uses async servlet & Java 8 interface
2015-12-30 17:00:35 +08:00
Tony Tam
05b0d8f1bf added serverPort 2015-12-30 00:06:24 -08:00
Tony Tam
8146f1dce6 Merge pull request #1750 from swagger-api/issue-1749
added library param
2015-12-30 00:05:05 -08:00
Tony Tam
b5e9ca0295 Merge pull request #1784 from swagger-api/issue-1035
adds configurable date library, prepares for multiple jaxrs versions
2015-12-29 23:57:08 -08:00
Tony Tam
405e09a057 added tests 2015-12-29 23:44:15 -08:00
Tony Tam
29f928d644 prepare for multiple jaxrs libraries 2015-12-29 23:28:31 -08:00
Tony Tam
ffe12b0620 added library, date library 2015-12-29 23:28:09 -08:00
wing328
0b841cb17a Merge pull request #1778 from bradmsmith/master
Update README.mustache
2015-12-30 15:06:27 +08:00
wing328
dcad165871 Merge pull request #1783 from ModelSolv/Issue-1781
[Akka-Scala] Fix #1781 re specs w/o security defs
2015-12-30 14:49:44 +08:00
wing328
9782bf8981 Merge pull request #1780 from wing328/perl_fix_datetime
[Perl] fix DateTime mapping
2015-12-30 14:36:45 +08:00
wing328
974e0125ce Merge pull request #1768 from pculligan/master
Outstanding fix for #1173: Added support for vendor extensions on model and property
2015-12-30 14:20:24 +08:00
wing328
43b047c720 Merge pull request #1779 from wing328/php_remove_duplicated_mapping
[PHP] remove duplicated type mapping
2015-12-30 14:12:21 +08:00
wing328
0c4214b93c Merge pull request #1777 from xhh/java-model-indented
[Java] Move method StringUtil.toIndentedString to model
2015-12-30 13:54:36 +08:00
Shyri Villar
b41efdab5f updated android-volley build.gradle 2015-12-29 18:12:11 +01:00
Andy Lowry
e864994b62 [Akka-Scala] Fix #1781 re specs w/o security defs
Per issue recommendation, fix is to DefaultCodegen#fromSecurity, which
now returns an empty list rather than null if no securityDefinitions
property is present in the swagger spec
2015-12-29 11:58:28 -05:00
wing328
6180b7b059 Merge pull request #1720 from artem-dudarev/patch-2
[C#] Escape \r in XML comments
2015-12-30 00:40:30 +08:00
Shyri Villar
29c05b5d65 Added string responses [android-volley] 2015-12-29 15:47:38 +01:00
Shyri Villar
8260c661b3 Fix AndroidManifest xml schema [android-volley] 2015-12-29 15:47:33 +01:00
Shyri Villar
d162fc5362 Add permissions to manifest [android-volley] 2015-12-29 15:47:32 +01:00
Shyri Villar
602abdd242 Added http basic authentication method [android-volley] 2015-12-29 15:47:31 +01:00
Shyri Villar
ea1cbdaf8f Fix API template [android-volley] 2015-12-29 15:47:30 +01:00
Shyri Villar
e9990d610f Fix API template [android-volley] 2015-12-29 15:47:29 +01:00
Shyri Villar
b91e5c95d5 Rename request templates and fixed patch request [android-volley] 2015-12-29 15:47:28 +01:00
Shyri Villar
a897a2f28b Added PATCH request [android-volley] 2015-12-29 15:47:26 +01:00
Shyri Villar
cb9e4bf961 Added DELETE request [android-volley] 2015-12-29 15:47:25 +01:00
Shyri Villar
b28e0893f1 Added PUT request [android-volley] 2015-12-29 15:47:23 +01:00
Shyri Villar
c30720289b Import corrections [android-volley] 2015-12-29 15:45:10 +01:00
Shyri Villar
3c275f1831 try catch when string response removed 2015-12-29 15:45:09 +01:00
Shyri Villar
2af665a8e3 Added ApiKeyAuth implementation [android-volley] 2015-12-29 15:45:08 +01:00
Shyri Villar
e054c3cfc0 Moved request templates [android-volley] 2015-12-29 15:45:06 +01:00
Shyri Villar
89b4d9b4e9 fixed requests packages and imports [android-volley] 2015-12-29 15:45:05 +01:00
Shyri Villar
5cfcb0b60b fixed response parsing in post request template [android-volley] 2015-12-29 15:45:04 +01:00
Shyri Villar
2e4f6dc0a1 Added error listeners in api template [android-volley] 2015-12-29 15:45:03 +01:00
Shyri Villar
cfdf2bc3b8 fix returnContainer [android-volley] 2015-12-29 15:45:02 +01:00
Shyri Villar
b55f8802ac throw volley error on body post null [android-volley] 2015-12-29 15:45:01 +01:00
Shyri Villar
f5aba6d0a5 removed faulty setuseragent [android-volley] 2015-12-29 15:45:00 +01:00
Shyri Villar
93ed2e639d added android-volley to CodegenConfig 2015-12-29 15:44:59 +01:00
Shyri Villar
b290d2d919 fix responses template [android-volley] 2015-12-29 15:44:57 +01:00
Shyri Villar
5c9606bc66 fix apiInvoker template imports [android-volley] 2015-12-29 15:44:56 +01:00
Shyri Villar
7b811ad44b various api template fixes [android-volley] 2015-12-29 15:44:55 +01:00
Shyri Villar
b9abe2b51d Added apiException template [android-volley] 2015-12-29 15:44:54 +01:00
Shyri Villar
84a22c8344 Added build.gradle and AndroidManifest [android-volley] 2015-12-29 15:44:53 +01:00
Shyri Villar
f5e757e6b9 Added build.gradle and AndroidManifest [android-volley] 2015-12-29 15:44:52 +01:00
Shyri Villar
52ebd25732 Added responses class [android-volley] 2015-12-29 15:44:51 +01:00
Shyri Villar
c80ff7ed0d Added responses class 2015-12-29 15:44:49 +01:00
Shyri Villar
980957b9a9 fix getrequest import [android-volley] 2015-12-29 15:44:48 +01:00
Shyri Villar
f3ff567d3f added default string response to api template [android-volley] 2015-12-29 15:44:47 +01:00
Shyri Villar
e098e8f372 Added PostRequest [android-volley] 2015-12-29 15:44:46 +01:00
Shyri Villar
5c79c21f3c fixed Api returnType [android-volley] 2015-12-29 15:44:45 +01:00
Shyri Villar
c3679893df Added jsonUtil and Pair android-volley 2015-12-29 15:44:43 +01:00
Shyri Villar
090839fe06 Added AndroidVolley ClientCodegen 2015-12-29 15:44:42 +01:00
Shyri Villar
acac1bb83b Added GetRequest template android-volley 2015-12-29 15:44:41 +01:00
Shyri Villar
efac324b73 Added api template android-volley 2015-12-29 15:44:40 +01:00
Shyri Villar
16bf228a41 Added model template android-volley 2015-12-29 15:44:38 +01:00
Shyri Villar
a2aeb5a129 Added ClientOptions android-volley 2015-12-29 15:44:37 +01:00
Shyri Villar
795b324fe5 Added imports to Android Volley apiInvoker 2015-12-29 15:44:36 +01:00
Shyri Villar
78352dd454 First steps on Android Volley ApiInvoker 2015-12-29 15:44:35 +01:00
wing328
e4078855f5 fix date mapping for perl 2015-12-29 16:29:20 +08:00
wing328
8882c36c91 fix perl datetime mapping 2015-12-29 15:21:38 +08:00
wing328
fed4ba3cf8 use DateTime for php date 2015-12-29 15:04:27 +08:00
wing328
11d6bb9a95 php remove duplicated type mapping 2015-12-29 15:00:56 +08:00
wing328
6e4d097710 Merge pull request #1769 from arnested/php-wildcard-response-code
Handle wildcard response codes correct in PHP
2015-12-29 14:49:01 +08:00
wing328
c5ccb3f8eb Merge pull request #1772 from xhh/ruby-inline-base-object
[Ruby] Remove base_object from Ruby model
2015-12-29 13:27:23 +08:00
Brad Smith
acc43e7f71 Update README.mustache
Fix broken link
2015-12-28 21:14:08 -08:00
xhh
3d4b5ff1c7 Java: Move method StringUtil.toIndentedString to model
Closes #1701
2015-12-29 12:30:54 +08:00
Ian Chan
3103846f45 Enforce Java 1.8 when generating spring-mvc with j8-async option
The spring-mvc j8-async code is now located in it's own sample directory
with Java 8 enforced via Maven plug-in.
2015-12-29 13:40:46 +13:00
Kirill Vlasov
7a63dd1416 Fixing pmd:RedundantFieldInitializer - Redundant Field Initializer 2015-12-28 17:38:54 +05:00
xhh
670e56f692 Remove base_object from Ruby model
and move methods from base_object to each model so that model files will
have no dependency when generating "models only"
2015-12-28 17:42:33 +08:00
wing328
d6125483cf remove commented code in perl 2015-12-28 16:32:41 +08:00
wing328
fa9844af7e remove baseobject from perl, add README.mustache 2015-12-28 16:08:43 +08:00
wing328
3a2447634c Merge pull request #1766 from wing328/swift_promisekit_3
[Swift] update promisekit and alamofire to the latest version
2015-12-28 16:01:52 +08:00
wing328
858d44a27f Merge pull request #1761 from xhh/ruby-timeout
Ruby client: add "timeout" to configuration
2015-12-27 23:42:53 +08:00
Tony Tam
cbfdffb09a Merge pull request #1734 from wing328/fix_array_inline_response
Fix array/map inline response/model
2015-12-27 06:18:01 -08:00
Arne Jørgensen
6a45111e10 Handle wildcard response codes correct in PHP
Wildcard response codes was handled like all other response codes
resulting in a misleading construction like this:

```
            switch ($e->getCode()) {
            case 0:
                $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Error', $e->getResponseHeaders());
                $e->setResponseObject($data);
                break;
            }
```

This commit fixes it to use the default fallback of the PHP switch
statement:

```
            switch ($e->getCode()) {
            default:
                $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Error', $e->getResponseHeaders());
                $e->setResponseObject($data);
                break;
            }
```
2015-12-27 15:17:18 +01:00