Commit Graph

4670 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
wing328
95c033c4dd Merge pull request #2072 from delenius/promises
Add usePromise parameter to JS client
2016-02-10 00:34:34 +08:00
Joseph Zuromski
cf7fc1a61b make SwaggerClient a shared scheme 2016-02-09 08:30:27 -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
7301618671 Add petstore tests for usePromises version 2016-02-08 20:02:38 -08:00
delenius
bf71e6b145 Merge branch 'promises' of https://github.com/delenius/swagger-codegen into promises 2016-02-08 19:15:47 -08:00
delenius
e825b953f7 Add usePromise parameter to JS client 2016-02-08 19:15:00 -08:00
wing328
cabe003e02 Merge pull request #2071 from delenius/prototype-tests
Modify JS PetStore tests for prototypes change
2016-02-09 10:41:30 +08:00
Joseph Zuromski
d84953d504 add in more tests 2016-02-08 15:22:32 -08:00
Joseph Zuromski
2465f398da add a couple more user tests 2016-02-08 14:43:08 -08:00
Tony Tam
f539fdcfea Merge pull request #2074 from swagger-api/issue-2073
Update parser, inline resolver
2016-02-08 14:37:34 -08:00
Joseph Zuromski
fff0951771 add in some real tests 2016-02-08 14:23:22 -08:00
Tony Tam
e99e322198 adde Date mapping, escape operationId 2016-02-08 13:48:46 -08:00
Tony Tam
e2d61abc10 update parser version 2016-02-08 13:48:31 -08:00
Tony Tam
802f9e4424 revert to Object when model missing 2016-02-08 13:48:20 -08:00
Joseph Zuromski
288acdb2d4 one more gitignore to keep git clean after build 2016-02-08 13:04:18 -08:00
Joseph Zuromski
7c4983df16 fixup gitignore/schemes 2016-02-08 12:59:35 -08:00
Joseph Zuromski
4a0c7966a1 add in pods 2016-02-08 12:56:49 -08:00
Joseph Zuromski
bc0658e81c add in initial swift client tests 2016-02-08 12:51:14 -08:00
delenius
153faebc6d Modify JS PetStore tests for prototypes change
This is just the result of running ./bin/javascript-petstore.sh
after the fix for #2044.
2016-02-08 12:39:30 -08:00
delenius
7e9a5f00b1 Add usePromise parameter to JS client 2016-02-08 12:31:00 -08:00
Tony Tam
12ff5cc8cd updated to 1.0.18-SNAPSHOT for https://github.com/swagger-api/swagger-parser/issues/182 2016-02-08 10:13:23 -08:00
wing328
2a73c1152c Merge pull request #2063 from mtngld/issue_2037
Conitnue fixing of #2037
2016-02-08 23:09:34 +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
57f38e4433 Update pet-store python client files 2016-02-07 23:33:49 +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
wing328
a968d9000e Merge pull request #2058 from mtngld/master
Add model's "additionalProperties" handling in python client
2016-02-07 22:56:11 +08:00
Matan Goldman
32d2a4d4cb fix python 3.4 compatabilty 2016-02-07 16:23:12 +02:00
Joseph Zuromski
a4a1372fc1 update swift samples 2016-02-07 05:59:23 -08: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
a9ab8a6e98 Merge pull request #2057 from wing328/fix_local_java_test
[Java] fix local Java test issue using fully qualified name
2016-02-07 16:54:20 +08:00
wing328
9f78b3cf9c fix local java test using fully qualified name 2016-02-07 16:16:06 +08: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
c80df9ee4d Merge pull request #2052 from swagger-api/issue-2001
added x-swagger-router-controller, operationId for node.js versions
2016-02-05 17:24:00 -08:00