Commit Graph

4568 Commits

Author SHA1 Message Date
bakito
341c840bf9 regenerate petshop code 2016-01-14 14:51:06 +01: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
13d5bcfa4d Merge pull request #1881 from mkrufky/patch-1
README.md: Validating your OpenAPI Spec should point to #validating-your-openapi-spec
2016-01-13 21:41:46 +08:00
Michael Ira Krufky
62e19c20e2 README.md: Validating your OpenAPI Spec should point to #validating-your-openapi-spec 2016-01-13 08:15:20 -05: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
c110270cf4 Merge pull request #1878 from xhh/ruby-test-fix
Ruby: fix testing issue of deleting nonexistent pet
2016-01-12 19:47:46 +08:00
xhh
637cae153c Ruby: fix testing issue of deleting nonexistent pet 2016-01-12 18:12:54 +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
wing328
cba7e063e1 add test case for objectserializer 2016-01-11 21:01:02 +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
ce82aa41fc Merge pull request #1863 from wing328/csharp_package_config
[C#] Fix comments and add compile-mono.sh
2016-01-10 15:03:59 +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
Tony Tam
67e91cdb07 Merge pull request #1861 from erikvanzijst/erik/recursive_equals
#1858: The Java equals/hashcode methods ignores state from superclasses
2016-01-08 15:36:06 -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
wing328
170bde65e5 Fix link to 2.1.5 2016-01-08 19:55:31 +08:00
wing328
e3b5176792 Merge pull request #1831 from xhh/ruby-deserialize-test
Add test cases of nested array/map deserialization to Ruby petstore sample
2016-01-08 19:07:00 +08:00
xhh
3d65218619 Java jersey2 client: get/set connect timeout 2016-01-08 19:05:43 +08:00