Commit Graph

2170 Commits

Author SHA1 Message Date
wing328
38bac9dfb4 fix byte[] in spring mvc and java inflector 2016-01-19 23:35:23 +08:00
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
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
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
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
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
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
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