Martin Hardorf
d3bc347e31
Changed base path to use contextPath
2015-07-09 10:34:39 +02:00
wing328
1f35f58841
add back summary and description to nodejs swagger.json
2015-07-09 14:05:08 +08:00
xhh
a51d71e728
Fix syntax error when there are no authMethods
2015-07-09 10:48:16 +08:00
wing328
b8c06505f6
use fully qualified name for Task
2015-07-09 10:21:55 +08:00
Tobias Pfeifer
4c16366f45
fix SpringMVCServerCodegen for maps as in JavaClientCodegen
2015-07-08 15:45:38 +02:00
Martin Hardorf
4133cae2bc
Fixed mustache to handle non-required parameters
2015-07-08 11:19:25 +02:00
Martin Hardorf
f6a1af2831
Changed maps to any and DateTime to Date
2015-07-08 11:17:06 +02:00
xhh
a24fee00cb
Support primitive response in Ruby client
2015-07-08 16:46:31 +08:00
xhh
f42f329ace
Parse "date" as Date in Ruby client
2015-07-08 13:10:28 +08:00
xhh
6fd2ccabee
Merge branch 'develop_2.0' into ruby-debug
2015-07-08 12:38:21 +08:00
DariusM
20c7932df4
Python /python3 datetime and date fixed
2015-07-07 13:00:28 +02:00
wing328
e49fe7a12f
better style for model, add <value> to all properties
2015-07-07 16:25:33 +08:00
wing328
b1b0e28f59
update c# style
2015-07-06 23:06:28 +08:00
wing328
94768d44b5
better type comparision
2015-07-06 13:55:33 +08:00
wing328
7e4a82bcfb
add readme
2015-07-06 11:18:05 +08:00
wing328
f823c0e26a
update newtonsoft json
2015-07-06 11:03:36 +08:00
xhh
bf32777b67
Fix NullPointerException in tests, improve usage to addVars
2015-07-03 18:07:34 +08:00
wing328
987a61640b
fix file upload issue. add error handling for status code 0
2015-07-03 17:39:27 +08:00
xhh
66d16cfeaf
Validate parameter against allowed values (enum)
2015-07-03 16:46:23 +08:00
xhh
0bf4163389
Copy properties of intermediate (interface) models
2015-07-03 15:08:37 +08:00
xhh
b61a400d91
Copy properties of parent model to model with allOf
...
Also fix #936
2015-07-03 15:08:37 +08:00
wing328
55827fe516
fix model import for csharp
2015-07-03 14:20:54 +08:00
wing328
5c888ad039
better method comment
2015-07-03 13:55:51 +08:00
wing328
d7d6ba957e
fix comment and use 4-space indentation
2015-07-03 11:45:31 +08:00
wing328
57b54d8ad7
update code style for apiclient, configuration and apiexception
2015-07-03 10:36:21 +08:00
Peter S. May
4b896c759c
[C#] Use RestSharp's mechanism for path parameters in URL templates
...
Previously, a simple find-and-replace had been used to substitute path parameters into the path. Among other omissions, this resulted in special characters such as `/` being left unescaped.
The RestSharp request object, as it turns out, expects a path template in the same format as provided by Swagger (with param names in braces), to be filled in using `AddParameter()`. In this edit, the code now uses this mechanism. The form parameter values are now passed to `CallApi*()` as a `Dictionary<String, String>`, where they are added to the request before submission. Since this was already how query and form parameters (etc.) were implemented, the resulting code is more consistent with itself than before.
2015-07-02 15:33:30 -04:00
xhh
fe35675168
Allow numbers for classname
...
and remove spaces
2015-07-02 17:15:53 +08:00
xhh
d825b96720
Sanitize API class name in Jax RS server codegen
2015-07-02 12:00:18 +08:00
wing328
422da698f6
import model only if it has import for c#
2015-07-02 11:18:41 +08:00
wing328
488e604207
use stream for file
2015-07-01 21:37:48 +08:00
xhh
846d282ba0
Add helper methods for last response
2015-07-01 18:48:31 +08:00
xhh
6f1dd5ce35
Store last response in a thread-safe way
2015-07-01 17:37:16 +08:00
xhh
108b2241c0
Validate model property against allowed values (enum)
...
when present with attribute setters
2015-07-01 17:18:29 +08:00
wing328
4d6dbf7d92
show return in doc only if it has a return
2015-07-01 15:16:28 +08:00
Nadezhda Makarkina
eca827613d
Fixed #831 : skipOverwrite flag has been added
2015-06-30 17:58:35 +03:00
wing328
2e76b56f30
revert file to String, add test case for upload file
2015-06-30 17:50:22 +08:00
wing328
f290de95dd
update parameter name to camelize lower
2015-06-29 23:14:00 +08:00
wing328
59987a54a9
fix deserialization of string and other primitive
2015-06-29 22:16:38 +08:00
cbornet
2d59c5d190
generate oauth2 fields in the data for the templates
...
Fixes #347
2015-06-29 13:39:39 +02:00
wing328
9726ada8d1
fix return type and tempfolder
2015-06-29 15:30:34 +08:00
wing328
76ece5a4eb
add file response support for c# (passed test cases)
2015-06-29 12:17:49 +08:00
kubo_takaichi
91af76cf41
Use CLI option
2015-06-27 23:24:49 +09:00
kubo_takaichi
65af735d6c
Merge commit '4143e286374bdd384c39a68df1f8f3a3eb58e6a4' into feature/swift_develop_2.0
2015-06-27 21:19:32 +09:00
wing328
3eca940e7d
fix perl and asyncscala optional tab
2015-06-26 23:56:20 +08:00
wing328
38d62d768a
fix optional for python, python3
2015-06-26 23:56:20 +08:00
xhh
1de6952279
Support customizing default headers via config option
...
for example:
config.default_headers['X-MY-HEADER'] = 'my-header-value'
2015-06-26 19:09:20 +08:00
xhh
54d6a7e19c
Merge branch 'develop_2.0' into ruby-file-response
2015-06-26 17:44:37 +08:00
xhh
2d3d35cfd7
Rebuild Ruby petstore client
2015-06-26 16:37:58 +08:00
xhh
8c10e4f2b0
Remove unused code
2015-06-26 16:06:32 +08:00
xhh
0ac1ef266f
Avoid more monkey-patching
2015-06-26 16:04:18 +08:00