wing328
dcd2c00fe6
fix empty object serialization issue
2016-01-18 21:42:24 +08:00
wing328
9fd4f39c8c
update tostring to use sanitizeforserialization
2016-01-18 21:27:29 +08:00
Maelig Nantel
370a8d136f
fixes
2016-01-18 11:35:57 +01:00
Maelig Nantel
89ed3bdb75
New fix
2016-01-18 11:16:04 +01:00
Maelig Nantel
b292ce54ce
Update after merging
2016-01-18 10:10:55 +01:00
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
7b1dde3d85
Merge pull request #1911 from wing328/mapping_update_binary
...
Add "binary" mapping in code generators
2016-01-18 12:29:18 +08:00
wing328
417dcc8a86
update csharp configuration to avoid circular dependency, deprecate
...
ApiClient.Default
2016-01-18 11:39:32 +08: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
wing328
1bae5c44b2
fix null apiclient in .net (windows)
2016-01-17 16:04:13 +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
8005931e5a
Corrent issue 1885
...
Handle the Swagger "default" value for a parameter with the JAX-RS
@DefaultValue annotation. This correction will also be reported in the
new JAX-RS CXF Codegen.
2016-01-15 16:49:36 +01: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
xhh
319c260678
Java okhttp-gson: support binary (byte array)
...
for body parameter and response.
Also Update Java default, jersey2 and okhttp-gson clients to support
(constant) query string in the `path` (to work with the 2 "fake"
petstore endpoints on binary).
2016-01-15 19:33:33 +08: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
wing328
078f68a211
Merge pull request #1876 from xhh/file-downloading-fixes
...
File downloading improvements for Ruby and Java
2016-01-15 11:25:25 +08:00
wing328
0c4cc10095
Merge pull request #1882 from scottrw93/master
...
Fix for Jaxrs file upload missing param in service class
2016-01-15 11:22:37 +08:00
wing328
56f8d5f9e2
Merge pull request #1886 from bakito/master
...
skip trailing comma for enums in TypeScript angular
2016-01-15 11:02:58 +08:00
xhh
521ba9924b
Add a method to sanitize filename, add test cases
2016-01-14 23:06:30 +08:00
Marc Brugger
198310d5f2
skip trailing comma for enums
2016-01-14 14:06:00 +01:00
tkb16
f1710a1840
skip trailing comma for enums
2016-01-14 12:51:02 +01:00
wing328
f50463da02
fix security issue with filename for c# api client
2016-01-14 10:43:56 +08:00
11356176
c2a001847f
Merge remote-tracking branch 'upstream/master'
2016-01-13 18:14:06 +00:00
Scott Williams
e01cde8010
Fix for Jaxrs file upload service class missing param
2016-01-13 15:18:33 +00:00
John Hancock
584ea2862c
CSharp: Optionally build csproj file
2016-01-12 21:55:17 -05:00
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