53 Commits

Author SHA1 Message Date
fehguy
3d2f09a693 updated versions 2015-06-09 00:25:09 -07:00
Tony Tam
4f0198dd13 rebuilt, fixed test imports 2015-06-07 20:30:41 -07:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Tony Tam
6c57810128 rebuilt 2015-06-07 00:08:01 -07:00
Tony Tam
8c340d52a4 updated packages 2015-06-06 23:58:36 -07:00
Tony Tam
0c1657d744 updated package 2015-06-06 23:43:34 -07:00
Oleg Godovykh
ec08d31031 add template for Retrofit and Gson 2015-05-29 12:23:18 -04:00
Tony Tam
11dd7784f8 rebuilt 2015-05-20 22:20:51 -07:00
Tony Tam
e58f8db9aa merged 2015-05-20 22:12:37 -07:00
xhh
db9ca1a485 Fix test of updatePetWithForm for Android Petstore sample 2015-05-19 15:42:29 +08:00
Tony Tam
d6016757cb Merge pull request #705 from wing328/fix_required_parameter
Fix required parameter validation for Java, Android, PHP and Ruby
2015-05-12 05:48:22 -04:00
Andrew B
20ced771ba Restoring the pom.xml so integration tests work 2015-05-07 01:09:25 -07:00
Andrew B
01b7385a5e Implementing gson in android client templates 2015-05-06 22:54:25 -07:00
who
902c56f09b Initial commit of jackson-to-gson 2015-05-06 17:46:54 -07:00
who
b94eb443ea Adding some tests that were accidentally deleted 2015-04-30 12:52:21 -07:00
who
6be2c06ed3 Adding maven publish functionality for android client 2015-04-30 10:34:43 -07:00
wing328
303378c5eb fix android required parameter check 2015-04-30 16:29:21 +08:00
Andrew B
5082f69631 Adding maven publish functionality for android client 2015-04-29 22:08:27 -07:00
Oleg Godovykh
14c2d14fc2 provide both jar and aar 2015-04-29 14:18:44 -04:00
Oleg Godovykh
119a981701 add possibility to create aar library 2015-04-29 13:39:00 -04:00
Oleg Godovykh
b6495a9fc2 replace maven settings for Android client with gradle 2015-04-28 17:49:59 -04:00
William Cheng
5465708a42 add method documentation to android and scala 2015-04-19 23:51:46 +08:00
wing328
8512259d02 update method name based on style guide, update petstore sample 2015-04-17 00:26:06 +08:00
Tony Tam
950bfff1c1 fixed serialization of arrays 2015-04-04 17:20:18 -07:00
Tony Tam
bba91c7e92 added android tests 2015-04-04 17:20:04 -07:00
Tony Tam
ba2ccf788c name rebuilds, tests 2015-04-04 17:00:22 -07:00
xhh
d5ad4c4ae7 Fix date time format for Android client
According to Android's docs (https://developer.android.com/reference/java/text/SimpleDateFormat.html)
the `SimpleDateFormat` class in Android does not accept `XXX` as the timezone, it uses `Z` instead.

Also updated the date time format of Android and Java clients to include milliseconds.
2015-04-01 10:22:04 +08:00
Tony Tam
6ac497d774 rebuilt 2015-03-31 16:12:42 -07:00
xhh
90db8e2147 Add setUserAgent method to Java and Android clients 2015-03-29 09:55:20 +08:00
xhh
65883a5d85 Set default User-Agent for Java and Android clients 2015-03-29 09:55:19 +08:00
William Cheng
fd602af180 better naming convention for android-java codegen 2015-03-23 15:41:24 +08:00
xhh
b5a4d5be04 Add support of form parameter to Android client
* Handle form parameters in a way similar to Java client.
* Handle file uploading.
* Normalize query, header and form parameters with the
  ApiInvoker.parameterToString method, which formats Date value to ISO 8601.
2015-03-21 22:20:28 +08:00
Tony Tam
9ae106affd rebuilt clients 2015-02-17 21:37:51 -08:00
Tony Tam
2e88dea3ac updated versions 2015-02-16 20:44:22 -08:00
Tony Tam
4f0823bffa rebuilt client 2015-02-16 17:55:59 -08:00
Tony Tam
d98e894b41 rebuilt client 2015-02-15 22:12:48 -08:00
Tony Tam
8daebf78f4 updated sample 2015-02-14 17:06:32 -08:00
Tony Tam
20deb15c8c updated client 2015-02-12 21:54:34 -08:00
Tony Tam
2f16ee3b29 renamed package 2015-02-05 11:34:23 -08:00
Tony Tam
4c674ca94b rebuilt samples 2014-10-26 21:46:26 -07:00
Tony Tam
f04827c6d3 updated android sample 2014-09-27 17:00:03 -07:00
Tony Tam
2729070d7f updated android sample 2014-09-27 16:59:08 -07:00
Tony Tam
2dd73872a4 updated with tests 2014-09-26 09:38:07 -07:00
Rob Blair
fc77521d49 Simplify java sample poms.
* remove scala references from the java client pom template files.
* regenerate the petstore sample pom.xml, verify they can build properly.
2014-08-25 17:37:36 -07:00
Rob Blair
1522069281 Regenerate the java code before modifying templates 2014-08-25 17:35:44 -07:00
Rob Blair
233555790a Regenerate sample java files with example response status codes
* none of existing examples use the responseMessage.responseModel feature, but I have tested it.
* Didn't want to muck with sample json
* update the scripts used to generate both java versions.
* see https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#525-response-message-object
2014-06-16 12:59:53 -07:00
Tony Tam
a404823c54 updated copyright 2014-06-10 17:23:35 -07:00
Tony Tam
ce5be3452c added patch class 2014-06-10 15:50:49 -07:00
Tony Tam
ce14c225e5 added patch 2014-06-10 10:36:46 -07:00
Tony Tam
773fb89acb Merge pull request #111 from RobBlairInq/issues/67
Issues/67 - generate expected exceptions in java templates when parameters are missing
2013-12-04 23:32:11 -08:00