Dilip Krishnan
7cc9581f04
Updated the mustache template to remove the spurious import
...
Also regenerated the spring-mvc server sample
2015-07-12 20:56:36 -05:00
Dilip Krishnan
9283249963
Updated the swagger-codegen sample for generating the service side stubs
...
for spring mvc using springfox implementation
2015-07-12 20:56:31 -05:00
Tony Tam
461f556289
Merge pull request #893 from sudohippie/develop_2.0-fork
...
Android & Java template modifications to check collectionFormat when creating query parameters
2015-07-09 10:11:54 -07:00
Martin Hardorf
e3d3641b96
Removed unused import
2015-07-09 14:57:40 +02:00
Martin Hardorf
7e8f8e85d7
Changed default name of the modelPackage
2015-07-09 14:55:15 +02:00
Martin Hardorf
abc7100a17
Removed unused code from the api classes
2015-07-09 14:54:36 +02:00
Morten Andersen
661b9d6315
Docker generate example
2015-07-09 12:58:33 +02:00
moander
a21c2be877
Set executable flag
2015-07-09 10:39:35 +00:00
moander
5c29cbf33d
Build and run script for docker
2015-07-09 12:33:43 +02:00
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
moander
80731633b4
Created a Dockerfile
2015-07-09 01:22:06 +02: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
Tony Tam
dfd8d5ef64
updated to latest release version
2015-07-06 04:55:12 -07:00
wing328
94768d44b5
better type comparision
2015-07-06 13:55:33 +08:00
wing328
3b1999af4b
update csharp sample
2015-07-06 11:24:59 +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
Ole Lensmar
aba755d3de
Merge pull request #940 from xhh/jax-rs-classname
...
Sanitize API class name in Jax RS server codegen
2015-07-02 11:38:10 +02: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