Maelig Nantel
a39942f43f
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JaxRSServerCodegen.java
2016-01-18 10:10:27 +01:00
wing328
bfc83b330f
fix indent, update perl & python sample
2016-01-17 19:32:50 +08:00
wing328
906bd2c7bf
add binary mapping for code generator
2016-01-17 19:14:11 +08:00
Tony Tam
bde2bbab56
Merge pull request #1906 from swagger-api/issue-1905
...
added date library option
2016-01-15 16:15:41 -08:00
Tony Tam
70784a3d98
fixed templates
2016-01-15 14:28:55 -08:00
Tony Tam
04e0df3b4a
added date library option
2016-01-15 14:20:20 -08:00
Maelig Nantel
467939216c
fix java warnings
...
Do not impact any feature. Juste correct some Java warnings (static
methods, unused imports or parameters...).
2016-01-15 14:02:55 +01:00
Maelig Nantel
faa4ecd0cd
Support java code generation for UUIDProperty
...
A property defined as "type: string & format: uuid" is now generated in
Java using "java.util.UUID" class instead of a classical String. In the
Java, the UUID class do not provide a constructor. You may use the
method UUID.fromString(<uuid_string>) to construct your UUID object.
2016-01-15 12:39:25 +01:00
wing328
bfb8cdce2e
fix another replaceall in perl codegen
2016-01-15 16:03:35 +08:00
wing328
cbbb48a4e4
fix file.separator in replaceall (perl)
2016-01-15 15:47:40 +08:00
wing328
fee8acef97
fix isBinary, CodegenParameter copy, add isBinary to php api client
2016-01-15 11:43:02 +08:00
wing328
f54185c66d
add binary support for php response
2016-01-15 11:43:02 +08:00
John Hancock
584ea2862c
CSharp: Optionally build csproj file
2016-01-12 21:55:17 -05: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
ef8e5dbcf5
Merge pull request #1862 from cbornet/feign_auth
...
Add auth support to feign library
2016-01-12 09:27:51 +08:00
cbornet
58c0e63012
add auth support to feign library
...
Fix #1840
2016-01-11 22:16:01 +00: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
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
6b7439b9d9
add compile-mono, fix csharp comment
2016-01-10 00:17:55 +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
wing328
468a13dc96
add cli option to optionally generate assemblyinfo.cs (default: true)
2016-01-08 17:03:57 +08: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
Tony Tam
66e3cac8db
Merge branch 'master' of https://github.com/KevinGlinski/swagger-codegen into KevinGlinski-master
2016-01-07 15:40:01 -08:00
Kevin Glinski
06717fb307
Merge remote-tracking branch 'upstream/master'
2016-01-07 16:35:08 -05: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
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
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