Commit Graph

2387 Commits

Author SHA1 Message Date
wing328
3ba4cd1409 Merge pull request #2090 from jaz-ah/issue-1994
[Swift] fix issue 1994: make sure we don't crash if rawValue returns …
2016-02-10 13:54:57 +08:00
wing328
62e3bf2543 Merge pull request #1993 from jaz-ah/issue-1992
[Swift] fix issue 1992 - ensure that our variable names don't match the names…
2016-02-10 13:45:53 +08:00
Joseph Zuromski
694d735edc [Swift] fix issue 1994: make sure we don't crash if rawValue returns nil when trying to create an enumeration - instead return nil which allows the instance variable to be nil in this case (it will still try to unwrap the optional though if you declare the enumeration as a required property)
note: there aren't really any tests I can add to validate this since the service is always returning valid enumerations. but I did update the sample code.
2016-02-09 12:59:14 -08:00
wing328
a36966d961 Merge pull request #1991 from jaz-ah/issue-1989
[Swift] fix issue 1989: generate AnyObject type from json object type instead…
2016-02-10 00:42:39 +08:00
delenius
d56d626450 Remove wildcards from imports 2016-02-09 07:50:12 -08:00
delenius
dd29cf9d53 Use defaultValue for the usePromise CliOption 2016-02-09 07:35:45 -08:00
delenius
aab96ec772 Remove unused callback param when using promises 2016-02-08 23:39:05 -08:00
delenius
e825b953f7 Add usePromise parameter to JS client 2016-02-08 19:15:00 -08:00
Tony Tam
e99e322198 adde Date mapping, escape operationId 2016-02-08 13:48:46 -08:00
Tony Tam
802f9e4424 revert to Object when model missing 2016-02-08 13:48:20 -08:00
Matan Goldman
341f862569 change the order of the elif inside to_dict for better performance (dictionary/additionalProperties is less probable) 2016-02-07 21:46:33 +02:00
Matan Goldman
2ddbfa8218 Now it should be fully compatible with python 2.7 and 3.4 2016-02-07 21:46:33 +02:00
wing328
59fde5f072 Merge pull request #2060 from wing328/scottrw93_fix_2036
[Python] Fix for Python client upload list of files Issue #2036
2016-02-07 23:47:36 +08:00
Scott Williams
a6fe87a52a Use more appropriate variable name 2016-02-07 23:34:04 +08:00
Scott Williams
b43e1e2c8f Change form_param to list of tuples from dict 2016-02-07 23:33:37 +08:00
Scott Williams
2407c494e7 Change post_param from dict to list of tuples to allow list of files 2016-02-07 23:33:27 +08:00
Scott Williams
833ce25cab Change post_param from dict to list of tuples to allow list of files 2016-02-07 23:33:15 +08:00
Scott Williams
5ac630f7ff Fix for issue #2036, python client wont upload list of files 2016-02-07 23:32:52 +08:00
Matan Goldman
32d2a4d4cb fix python 3.4 compatabilty 2016-02-07 16:23:12 +02:00
Matan Goldman
ec4c5502f1 fix identation 2016-02-07 14:21:31 +02:00
Matan Goldman
ab39eff8a1 Add additionalProperties handling in python code genrator by adding dictionary handling in model's to_dict() method 2016-02-07 13:11:28 +02:00
wing328
510a5bdb74 Merge pull request #2055 from delenius/prototype-fixed
Use prototypes for model methods
2016-02-07 15:33:23 +08:00
wing328
3174ab0033 Merge pull request #1997 from achew22/javascript_closure
Add Closure annotated Javascript Angular generator
2016-02-07 14:53:25 +08:00
Tony Tam
eafd79e8ea updated index file 2016-02-06 07:07:53 -08:00
Tony Tam
a4d7a97504 added json provider for https://github.com/swagger-api/swagger-core/releases 2016-02-06 06:41:43 -08:00
delenius
897c854728 Use prototypes for model methods
Fixes #2044.
2016-02-05 21:27:11 -08:00
Tony Tam
eb9cff7c48 added x-swagger-router-controller, operationId for node.js versions 2016-02-05 17:12:40 -08:00
glederrey
00349406f8 FIX: Fix the flash client library. 2016-02-05 12:16:27 +01:00
wing328
81db72b62f Revert "FIX: Fixed FLash Client library" 2016-02-05 19:08:57 +08:00
Tony Tam
9eb6993ccc fixed build error 2016-02-04 18:06:59 -08:00
Tony Tam
5e80b61e3e updated swagger-core versions 2016-02-04 18:02:19 -08:00
Gael Lederrey
77f9bc3642 FIX: Fixed FLash Client library 2016-02-04 14:03:13 +01:00
wing328
e926c86141 Merge pull request #2035 from wing328/csharp_fix_default_header
[C#] fix default header in async method and sanitize model name
2016-02-04 20:33:46 +08:00
wing328
96f9e93cff Merge pull request #2034 from xhh/javascript-collection-format
[JavaScript] Support collectionFormat for parameters in JavaScript client
2016-02-04 19:02:38 +08:00
wing328
8d40b7a890 sanitize model name (C#) 2016-02-04 18:52:16 +08:00
wing328
5e1cb9349a update exmaple, add toExampleValue 2016-02-04 18:18:45 +08:00
wing328
246369ccdd update csharp help, fix default header 2016-02-04 18:18:44 +08:00
wing328
aac1b259a7 Merge pull request #2021 from chameleon82/feature/jaxrs-resteasy
Feature/jaxrs resteasy
2016-02-04 17:56:06 +08:00
xhh
47f25efb25 JavaScript client: support collectionFormat for parameters
Closes #1953
2016-02-04 16:30:41 +08:00
wing328
35039bf122 Merge pull request #2030 from xhh/javascript-improvements
[JavaScript]  some improvements and enhancements to JavaScript client
2016-02-04 15:03:50 +08:00
wing328
8285dea113 Merge pull request #2008 from wing328/license_template
[Ruby] add API info as file header to ruby templates
2016-02-04 14:49:57 +08:00
xhh
2eb125681e JavaScript client: handle response deserialization
to support array of models and Date property in model

Closes #1951
2016-02-04 12:36:44 +08:00
wing328
2de3e2e88c Merge pull request #2024 from jimschubert/csharp_webapi_aspnet5_server
[aspnet] Initial implementation of ASP.NET 5 server
2016-02-04 12:08:43 +08:00
xhh
c7fa44cd0c Fix ApiClient.isFileParam in browserify runtime
Closes #2028
2016-02-04 08:43:13 +08:00
Alex
d2a3492dd1 Add bin/jaxrs-resteasy-petstore-server.sh
Add sample into samples/petstore/jaxrs-resteasy
Update multipart/form-data ability
2016-02-04 01:01:28 +06:00
Jim Schubert
328dd93aef [aspnet] Update readme to aspnet5, add partial class support and windows batch file 2016-02-03 13:10:52 -05:00
Alex
d98063083b Rename folder resteasy3_0_11 to resteasy 2016-02-03 20:56:18 +06:00
wing328
cd0c8728b7 Merge pull request #2019 from ergon/feature/use-retrofit-beta3
Use retrofit2-beta3 and it's dendencies in retrofit2 clients
2016-02-03 17:49:12 +08:00
xhh
fa052ffa19 JavaScript client: ensure a default project/module name
when it is an empty string (same for "projectVersion")

Closes #2022
2016-02-03 16:01:52 +08:00
xhh
5463015725 JavaScript client: use brackets to access mobel properties
to support nonstandard characters in property names, e.g. "user-status".
2016-02-03 16:01:33 +08:00