Andrew Young
bfb5b721c5
Merge remote-tracking branch 'upstream/master' into fix-no-content
...
Conflicts:
samples/client/petstore/java/src/main/java/com/wordnik/client/ApiInvoker.java
2013-12-02 13:42:15 -08:00
Robert Blair
830ad87fcb
issues/91 - enum in model commented out by default
2013-11-27 18:03:57 -08:00
Rob Blair
f883c5e77c
issues/91 - allow enum and min/max to be used in templates
...
* parse numeric min / max values, include in parameters
* pass along the allowable values in the model used by templates
* ensure ‘hasMore’ is set for more parameter lists used by templates
* java model now includes min / max in comment, and allowed enum values as model children
* note: enums in spec can contain non-java characters, so the User.java in examples does not compile presently.
2013-11-27 14:18:35 -08:00
Andrew Young
8cc83d180d
Fixed spacing issue.
2013-11-27 12:58:58 -08:00
Andrew Young
65cc529ec6
Updated to handle the case of a NO_CONTENT response.
2013-11-27 12:52:38 -08:00
Joel Caplin
c779905163
Rationalize response status code check. Ensure that all bona fide 2xx responses are treated in the same way that "200 OK" is.
...
Previously, was explicitly checking for response code 200 (ClientResponse.Status.OK).
Now, checks the family of the response to make sure it is successful (Family.SUCCESSFUL). This enables us to POST to resources that return 201 created - without having to handle a checked ApiException.
2013-10-31 18:23:44 -07:00
Tony Tam
01b745c366
added hack to support writing json models in 1.1 format
2013-10-22 02:23:50 -07:00
Tony Tam
8fb6fc847c
fix for #81
2013-10-18 15:26:20 -07:00
Tony Tam
11d1b8fcd4
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-10-18 14:46:21 -07:00
Tony Tam
044621b325
fixed import issue for objc
2013-10-18 14:45:45 -07:00
Tony Tam
5a3426dee6
renamed to use SWG as default prefix
2013-10-18 14:45:29 -07:00
Tony Tam
189569518d
updated to use afnetworking, cocoapods
2013-10-18 14:44:44 -07:00
Tony Tam
6f1a4a2f82
Merge pull request #70 from sibblegp/fix_python_obj_type
...
Only check in lists and dictionaries
2013-10-18 08:25:10 -07:00
Gregg Carrier
ee19dfadf1
more descriptive exception message than MatchError
2013-10-16 22:11:15 -04:00
Mark Crowther
7bde2ffd6e
Fix Java Generator to always generate valid Java variable names
2013-10-03 15:59:40 +01:00
Ivan Porto Carrero
f17654cd96
adds bodyParamRequired
2013-10-01 20:17:11 -07:00
Tony Tam
609cef0b65
added android client
2013-09-20 12:34:12 -07:00
Tony Tam
cfa1f1a3c1
formatting
2013-09-19 08:13:50 -07:00
Duane Johnson
7956ccc979
Add an 'httpMethodLowerCase' property
...
Some libraries use lower case httpMethod names for method calls. For
example, Ruby's Faraday library uses 'get', 'put', 'post', 'delete'.
Rather than this unweildy Ruby code produced by a mustache template:
self.send("GET".downcase, path, request_opts)
This patch would allow for a more tidy output such as:
get(path, request_opts)
2013-09-18 15:47:41 -06:00
Tony Tam
13bc111bd6
added some logging for fatal container issues
2013-09-18 12:55:12 -07:00
Tony Tam
cc0a30edf8
added header support, suppressed println
2013-09-18 11:55:45 -07:00
Tony Tam
0ffc6cb7a0
added header passing for codegen
2013-09-17 13:44:45 -07:00
Tony Tam
6a2f53f07d
added type modification
2013-09-16 17:35:15 -07:00
Tony Tam
930b1ea0ea
updated java example
2013-09-16 17:35:01 -07:00
Tony Tam
8e8e5308b6
added validation error if response not specified
2013-09-16 16:25:19 -07:00
Tony Tam
8f71d3fc50
added form params
2013-09-16 16:25:00 -07:00
Tony Tam
a123d8f066
added set mapping
2013-09-16 16:24:44 -07:00
Tony Tam
ea15cad8d5
fixes for position, and null arg removal
2013-09-16 16:24:24 -07:00
Tony Tam
93677742d3
Merge pull request #93 from canadaduane/swagger_config
...
Fix Ruby Request class: no access to inject_format on Class object
2013-09-12 17:33:26 -07:00
Duane Johnson
389765c113
Fix Ruby Request class: no access to inject_format on Class object
2013-09-12 16:05:59 -06:00
Tony Tam
5ef5fa7296
fixed container type translation
2013-09-12 13:57:03 -07:00
Tony Tam
4e408e6d80
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-09-12 13:42:01 -07:00
Tony Tam
a140ea2b9d
fixed response type with array of simple types
2013-09-12 13:41:53 -07:00
Ivan Porto Carrero
b920881490
allow api level config of default imports in async scala
2013-09-09 18:51:04 -07:00
Tony Tam
ddf81948a8
fixed bug where inner simple types were not being processed
2013-09-09 17:52:49 -07:00
Tony Tam
6652028d71
fixed bug where inner simple types were not being processed
2013-09-09 17:52:30 -07:00
Tony Tam
c9fccc5c75
removed lc array
2013-09-09 17:52:06 -07:00
Tony Tam
f766937ac7
added set support
2013-09-09 17:51:48 -07:00
Tony Tam
5f61d20610
fixed build error
2013-09-09 13:59:55 -07:00
Ivan Porto Carrero
7ed2df2722
one more qualified type
2013-09-07 10:15:28 -07:00
Ivan Porto Carrero
a8a2a41315
Fill out qualified type when it's provided in the json
2013-09-06 22:14:48 -07:00
Ivan Porto Carrero
676283875b
add the ability to exclude packages for models in the async scala codegen
2013-09-06 20:52:14 -07:00
Ivan Porto Carrero
4f95550977
fix set generation in async client
2013-09-05 21:58:24 -07:00
Ivan Porto Carrero
7056081605
fix Array[long] to List[Long]
2013-09-05 21:45:19 -07:00
Tony Tam
c90083855f
added set test
2013-09-05 17:15:36 -07:00
Tony Tam
2f997e6b29
added fix for set
2013-09-05 17:15:10 -07:00
Duane Johnson
7d6660d56c
Change ruby generation to be a little more ruby-esque
...
Cleaned up some very long lines, added indentation, and shortened
the repetitive parts of the model mustache template.
2013-08-30 17:07:11 -06:00
Tony Tam
450b3c7ed5
fixed array with simple types, added test
2013-08-28 17:28:52 -07:00
Ivan Porto Carrero
e1e95fc1d2
remove redundant brace
2013-08-27 20:22:22 -07:00
Mike O'Connor
33163cd253
options should be unwrapped
2013-08-27 17:04:09 -04:00