3620 Commits

Author SHA1 Message Date
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
a8f5809370 replace httpHeader with httpHeaders in php object serializer 2016-01-08 14:04:10 +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
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
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
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
ba9bd11a8d updated parentModel names in inheritence situations 2016-01-05 14:58:36 -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
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
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