Commit Graph

11 Commits

Author SHA1 Message Date
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
Mark Crowther
7bde2ffd6e Fix Java Generator to always generate valid Java variable names 2013-10-03 15:59:40 +01:00
Tony Tam
a3f5c0c688 fixed content type for java client 2013-08-08 16:05:05 -07:00
Tony Tam
2199d08e72 added support for artifact id 2013-06-01 12:11:12 -07:00
Tony Tam
5e801dd1d7 updated repos, removed scala runtime 2013-04-22 09:49:15 -07:00
Tony Tam
871e0e30f1 removed swagger-core deps 2013-04-04 22:17:25 -07:00
Hongbin Lu
c0c2f0bebc Fixed an error that escaping a non-string object 2013-02-21 17:33:37 +00:00
Tony Tam
a4afa9bac2 updated to use case classes, removed swagger-core deps 2012-10-06 05:57:21 +02:00
Tony Tam
22783f8f0a updated package 2012-09-25 22:29:49 -07:00
Tony Tam
e2dbe61adf updated to use swagger 1.1.0 2012-09-23 18:43:14 -07:00
Tony Tam
f7a929bd02 renamed template dir 2012-08-28 16:52:18 -07:00