xhh
b686b53259
Support overriding API/model templates with library template
2015-08-08 11:14:06 +08:00
wing328
f27eb7e0de
Merge pull request #1058 from xhh/str-response-offset
...
Fix bug with truncated lone string responses for Android/Scala clients
2015-08-08 11:10:02 +08:00
xhh
a41361c959
Change the "--library" option into a config option
2015-08-07 22:16:32 +08:00
xhh
167e95bb3a
Merge branch 'develop_2.0' into library-template-jersey2
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
2015-08-07 21:18:27 +08:00
geekerzp
732a9eb64d
Fix issue in Configuration-body.mustache in objc client
2015-08-07 18:31:07 +08:00
xhh
c7f595fc91
Fix bug with truncated lone string responses for Android/Scala clients
2015-08-07 10:40:42 +08:00
Andrew B
d5b959d8cd
Fixing a bug with truncated lone string responses
2015-08-06 16:54:24 -07:00
Andrew B
7a92f53b55
Adding some tests for PR 1051
2015-08-06 15:22:18 -07:00
Marcos Prieto
cad2f961bd
Undo unicode on sanitize method. Keep the PR on point
2015-08-06 10:21:56 +02:00
tiffanyperumpail
5328c00e8f
Simplified enum by changing CodeGenStatus to an enum instead of a wrapper. Updated version of swagger-parser to 1.0.9.
2015-08-05 16:53:39 -07:00
tiffanyperumpail
1b31a01b76
Added CodeGenStatus class with Status enum
2015-08-05 16:18:24 -07:00
Andrew B
dc76887820
Fixing subClassed types so that they can use enums
2015-08-05 15:50:34 -07:00
xhh
07f10a8abc
Add command to display all library templates supported
...
for a specific language
2015-08-05 16:37:08 +08:00
xhh
4ba521a5c0
Add jersey2 library template for Java client
2015-08-05 15:37:26 +08:00
xhh
d88ec847ae
Remave unused imports
2015-08-05 09:43:15 +08:00
xhh
aff21e5e6b
Add a "library" option to generate with sub-template
2015-08-04 18:32:54 +08:00
Marcos Prieto
befacc41bd
Support for nested dict/list
...
Checking for `startwith` instead of just `in` to correctly categorize
nested structures.
2015-08-04 11:51:38 +02:00
Marcos Prieto
edebbcb802
Support for unicode headers, ie support for urlib3.util.make_headers
2015-08-04 11:51:25 +02:00
xhh
bfb4629ab7
Java client: decouple JSON handling
2015-08-04 15:47:55 +08:00
Tony Tam
1007534575
fix for #1042 , removed empty /
when basePath is null
2015-08-03 16:47:51 -07:00
Rogercf
97d24a7119
Update DefaultCodegen.java
...
Fixed indentation
2015-08-03 19:50:29 -03:00
Rogercf
13038d2a12
Update DefaultCodegen.java
...
Replaced hardcoded "String" with property.items.baseType
2015-08-03 19:46:10 -03:00
Rogercf
c5dc070685
Update model.mustache
...
Fixed generating array of enums properties in the java template
2015-08-03 19:21:54 -03:00
Rogercf
a30b66beb1
Update DefaultCodegen.java
...
Setting the "items" field when the type is array and updating some values if the array is an array of enums
2015-08-03 19:20:51 -03:00
Rogercf
aff766b785
Update CodegenProperty.java
...
Added a "items" field to keep track of the inner type to be accessed in the mustache templates
2015-08-03 19:19:10 -03:00
xhh
112a7ec8c1
Java client: move form params handling to ApiClient
2015-08-03 18:33:42 +08:00
wing328
55be0330e3
Merge pull request #1039 from geekerzp/python-desciption
...
[Python] Fix issue in python client
2015-08-03 10:48:56 +08:00
wing328
fe83d18a09
Merge pull request #1026 from geekerzp/objc-deserializtion
...
[Objc] Fix deserialize nested map error
2015-07-31 16:17:11 +08:00
wing328
a6f8f9e4ff
Merge pull request #1017 from herveDarritchon/develop_2.0
...
Defect (Issue #905 ) : Add code to be able to override the configPackage …
2015-07-31 16:05:17 +08:00
geekerzp
79c988616c
Fix issue #1038
2015-07-31 16:01:45 +08:00
wing328
dc62f688d9
Merge pull request #1015 from tandrup/conditional-copy-from-parent
...
Conditional copy properties from parent
2015-07-31 15:56:48 +08:00
wing328
db10bd764b
Merge pull request #1036 from wing328/csharp_add_back_dll
...
[C#] add back RestSharp and Newtonsoft.Json DLL
2015-07-31 15:56:21 +08:00
xhh
0ef4702aa8
Merge branch 'develop_2.0' into retrofit-form-field-naming
...
Conflicts:
samples/client/petstore/retrofit/src/main/java/io/swagger/client/api/PetApi.java
2015-07-30 16:40:43 +08:00
xhh
a1e6908b65
Merge branch 'develop_2.0' into retrofit-string-resp
2015-07-30 15:02:02 +08:00
xhh
2d4c07a474
Fix typo
2015-07-30 15:01:51 +08:00
wing328
05f00013f1
add back csharp dll, update sample
2015-07-30 10:19:46 +08:00
wing328
bc528ef928
Merge pull request #1027 from adamholdenyall/patch-3
...
Catch all exceptions on Deserialize
2015-07-30 10:06:32 +08:00
Tony Tam
318a239976
Merge pull request #1031 from Toilal/pom-issues
...
Fix issues in POM configuration
2015-07-29 07:35:05 -07:00
Toilal
189962208e
Update scala maven plugin and fix issues in POM configuration
2015-07-29 15:15:12 +02:00
wing328
bd28271b0b
Merge pull request #1019 from geekerzp/python-refactor
...
[Python] Enhancements of python client
2015-07-29 17:39:58 +08:00
xhh
14b808a910
Retrofit template: return body string directly
...
when failed to parse response body as JSON, fixing unit test for
UserApi#loginUser
2015-07-29 17:10:49 +08:00
Ole Lensmar
9c3fad3040
fixed generated code to go to target/generated-sources, added maven-codegen-plugin to generated jaxrs project together with initial swagger definition, fixed overwrite flag to kick in only if file exists, fixed initial readme
2015-07-28 14:40:43 -07:00
Tony Tam
dc7c2a4bab
updated name
2015-07-28 13:35:33 -07:00
Tony Tam
0b85ad464a
Merge pull request #1028 from swagger-api/inflector-template
...
added template for the inflector
2015-07-28 10:31:40 -07:00
Ole Lensmar
c5d02fe98e
added template for the inflector
2015-07-28 10:19:36 -07:00
adamholdenyall
a81e5096f5
Catch all exceptions on Deserialize
...
If you look at the source of NewtonSoft.Json, you'll see that DeserializeObject never throws an IOException. All exceptions should be caught in this method, just like Serialize.
2015-07-28 09:53:10 -05:00
wing328
52971e6aa9
Merge pull request #1018 from wing328/fix_empty_operationid
...
[All] Better exception handling for empty operationId (method name)
2015-07-28 17:39:19 +08:00
geekerzp
b2e0d83f2e
Update objc client.
...
* Fix issue that list of primitive types deserialization.
* Add test cases for list of primitive types deserialization and nested list deserialization.
2015-07-28 17:21:10 +08:00
geekerzp
8bd282acd6
Change parameter name key
to identifier
of
...
Configuration#get_api_key_with_prefix in python client.
2015-07-28 11:25:19 +08:00
geekerzp
b51ef77401
Remove #!/usr/bin/env python
from python client
2015-07-28 11:25:19 +08:00