Robert Blair
1e2f7cb1f8
To throw expected ApiException instead of NullPointerException, check required parameters before use
2013-11-27 01:13:51 -08:00
Robert Blair
17c38115e6
rebuild java files before changes to template
2013-11-27 01:05:13 -08:00
Robert Blair
0ee6531fcd
Version mapping for scala 2.10.* should be consistent.
2013-11-27 01:02:04 -08:00
George Shakhnazaryan
87c12c155d
Extract actual work from generateClient so that we can call it without killing the JVM.
2013-11-19 15:55:06 -06:00
SimonKaluza
b373e4312e
Fixed SWGApiClient.m's run-type type checking to allow NSArrays to be passed (for Swagger-generated methods that rely on List parameters in the HTTP body)
2013-11-12 23:26:09 -05:00
Ivan Porto Carrero
b39a609226
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-11-09 12:18:42 -08:00
Ivan Porto Carrero
d25f64cca0
change to return transpor client in async scala client
2013-11-09 12:18:20 -08:00
Tony Tam
0d40a53e06
Merge pull request #101 from joeltgf/master
...
Change "success" response status code in Java ApiInvoker to all 2xx responses vs. just 200.
2013-11-04 09:57:09 -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
59da358eb5
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-10-22 12:08:56 -07:00
Tony Tam
b815ffa403
formatting
2013-10-22 12:08:43 -07:00
Tony Tam
27a8be2381
upped version for release
2013-10-22 12:08:31 -07:00
Tony Tam
d5b53a1778
updated templates
2013-10-22 02:24:37 -07:00
Tony Tam
01b745c366
added hack to support writing json models in 1.1 format
2013-10-22 02:23:50 -07:00
Russell Horton
af96f33e6f
regenerated python, python3 and php clients
2013-10-18 16:24:08 -07:00
Tony Tam
2dda926cb6
added path to spec files
2013-10-18 16:05: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
5076d76a74
updated scripts to detect scala version and use appropriate library if possible
2013-10-18 14:46:03 -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
b6b28bb1a2
added version checking to avoid runtime scala incompatibilities
2013-10-18 14:45:05 -07:00
Tony Tam
189569518d
updated to use afnetworking, cocoapods
2013-10-18 14:44:44 -07:00
Tony Tam
731fddbc30
regenerated client
2013-10-18 14:44:02 -07:00
Tony Tam
c4990b773d
regenerated client
2013-10-18 14:43:26 -07:00
Tony Tam
d56c5e3b44
regenerated client
2013-10-18 14:42:57 -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
Tony Tam
a96d49f045
Merge pull request #100 from JanxSpirit/master
...
more descriptive exception message than MatchError
2013-10-16 20:21:11 -07:00
Gregg Carrier
ee19dfadf1
more descriptive exception message than MatchError
2013-10-16 22:11:15 -04:00
Tony Tam
2c5524476e
Merge pull request #98 from markac/master
...
Fix Java Generator to always generate valid Java variable names
2013-10-07 22:10:28 -07: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
0a47fc23a3
Merge pull request #96 from df-jsykes/master
...
Fix for sidebar never scrolling in static docs, preventing the user from seeing all operations.
2013-09-30 15:04:06 -07:00
Jason Sykes
13eb435138
removed trigger
2013-09-30 17:56:39 -04:00
Jason Sykes
329f2817c2
Fix to scroll left side of sample docs
2013-09-30 17:50:36 -04: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
Tony Tam
e851262875
Merge pull request #95 from canadaduane/http_lc
...
Add an 'httpMethodLowerCase' property
2013-09-18 15:02:43 -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
e4a4f25f22
updated test to match changes in petstore as deployed
2013-09-16 16:23:56 -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