Maelig Nantel
6e69d4e007
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-18 11:53:13 +01: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
d04d554e0a
update comment in csharp test
2016-01-18 11:45:13 +08:00
wing328
417dcc8a86
update csharp configuration to avoid circular dependency, deprecate
...
ApiClient.Default
2016-01-18 11:39:32 +08:00
wing328
e2f646039c
Merge pull request #1904 from swagger-api/olensmar-patch-1
...
fixed cmdline class in custom template examples
2016-01-18 10:08:59 +08:00
wing328
7e6f1f8bf3
Merge pull request #1909 from wing328/csharp_fix_null_apiclient
...
[C#] fix null ApiClient issue in .net (windows)
2016-01-17 23:45: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
Ole Lensmar
e3d8eb0e0a
fixed cmdline class in custom template examples
2016-01-15 14:02:35 -05:00
Tony Tam
0c2376b429
Update README.md
2016-01-15 09:35:41 -08:00
Tony Tam
e50dc04418
Merge pull request #1902 from hiveship/issue-1885
...
Correct issue 1885
2016-01-15 08:33:33 -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
2a5bd0a80e
Merge pull request #1897 from wing328/perl_fix_replaceall
...
[Perl] fix replaceAll to avoid index out of bound exception in Windows
2016-01-15 16:54:22 +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
e0738d2bc6
Merge pull request #1891 from wing328/php_binary_support
...
[PHP] addd binary support to response and body parameter
2016-01-15 13:52:30 +08:00
wing328
fee8acef97
fix isBinary, CodegenParameter copy, add isBinary to php api client
2016-01-15 11:43:02 +08:00
wing328
c7b9635e98
add test cases for byte array (body)
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
wing328
e1f18527f3
Merge pull request #1884 from wing328/csharp_filename_security
...
[C#] sanitize filename for C# API client
2016-01-15 10:37:50 +08:00
11356176
52df082b13
Update pet store for jaxrs
2016-01-14 21:39:08 +00:00
11356176
b439bf020e
Update pet store for Jaxrs
2016-01-14 20:54:47 +00:00
xhh
521ba9924b
Add a method to sanitize filename, add test cases
2016-01-14 23:06:30 +08:00
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