58 Commits

Author SHA1 Message Date
wing328
e28471341c add switcgh to determine java8, java7 (#5541) 2017-05-03 16:41:58 +08:00
wing328
e8feca2753 [Android] add windows batch, better code foramt (#5496)
* remove trailing space in cpprest, update samples

* add android batch files, better code format, sync petstore.json with
petstore.yaml

* restore petstore.json and sync it to petstore.yaml

* update circleci pom.xml

* add new android files

* add new android files
2017-04-27 17:58:38 +08:00
Christoph Auer
9652ce37f7 Update android/lib/volley 2017-04-18 11:53:29 +02:00
Christoph Auer
84dc2e1dd9 Update android 2017-04-18 11:53:29 +02:00
wing328
7db3388fdc Update maven compiler plugin to the latest version (3.6.1) (#5300)
* update maven compiler plugin to the latest version

* update feign petstore
2017-04-02 21:39:48 +08:00
wing328
f064d29e82 Use unescaped path in API client templates (#5154)
* use unescaped path in api client templates

* use unescape basePath in API client templates
2017-03-22 20:49:06 +08:00
wing328
4fe79f0078 Remove default format (JSON) from API operations (#4987)
* remove default format (json) and update ruby petstore

* update python petstore sample

* update php petstore sample

* update android petstore sample

* update java petstore sample

* update objc sample

* remove default format (json) from perl
2017-03-09 11:12:01 +08:00
Val Polouchkine
122194c30e Fix typo (#4956)
Authorizatoin should be Authorization
2017-03-07 13:49:42 +08:00
Tony Tam
894f272f89 updated core versions 2017-03-01 08:51:18 -05:00
wing328
a291d3113a [Android] better code format for Android (volley) API client (#4384)
* better code format for android volley

* better code format for apiinvoker, add docstring

* use 2-space indentation for pair class

* use 2 spaces indentation for other classes in android
2016-12-14 00:40:21 +08:00
wing328
b33d4ec30c add enum_outer_doc.mustache for android (#4381) 2016-12-13 17:54:23 +08:00
wing328
90512e6326 Remove Apache license from API client generators (#4197)
* remove php apache license

* remove apache license from C#

* remove apache license in objc code

* remove license from swift 3 code

* remove apache license from perl code

* remove license from scala code

* remove license from ts, go, android, cpp, scala

* remove license from java api client

* restore clojure petstore files

* remove license from travis file

* clean up apache-related terms in php, ruby, python mustache tempaltes

* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
wing328
03ed192b98 [Android] fix URL encoding for Android API client (#3992)
* fix url encoding for android

* add exception handling for url encoding in android
2016-10-14 11:12:37 +08:00
wing328
cd6b5fec20 [Android][Volley] add serializeModel support to Android (#3933)
* add serializeModel support to Android

* add test for new android option
2016-10-06 17:35:33 +08:00
Richard
bc2f614b92 apiInvoker : in getInstance, if instance is null initialize instance (#3766)
* apiInvoker : in getInstance, if instance is null initialize instance
build : replace the deprecated volley library by the android one
jsonUtil : Add in gsonBuider an adapter to deserialize Date class
And update petstore sample for volley library

* Update apiInvoker.mustache

Add a space after if,  to stick to the code style.

* Update ApiInvoker.java

Add a space after if, in petstore samples, to stick to the code style.
2016-09-12 15:56:35 +08:00
wing328
326b8020d2 fix property name 'result' for android using "this" 2016-09-07 18:55:19 +08:00
sidhantgoyal
8dfe230b7c [android] volley socket timeout configurable (#3646)
* [android] volley socket timeout configurable

* Updated Android Volley Petstore sample
2016-08-29 16:31:49 +08:00
Ville Skyttä
2fbec6d9eb Spelling fixes 2016-08-28 17:05:34 +03:00
wing328
81f947e723 update android petstore sample, add this to volley's model 2016-08-25 23:12:23 +08:00
Mike Solomon
8536d7991c Uses this.{{name}} to scope instance
Otherwise, if {{classVarName}} is the same as a class member name, the function will not work.
2016-08-19 10:11:31 +03:00
Tony Tam
c49db091ef updated versions for release 2016-07-15 13:45:22 -07:00
Bochun Bai
f75a42f810 Remove more Java String comparison using "==" 2016-07-13 18:06:45 +08:00
wing328
6b4b2025ee add license to android volley 2016-07-05 22:39:38 +08:00
wing328
95eb06e2e9 add http client dependency to android volley 2016-06-27 11:25:15 +08:00
Mateusz Mackowiak
ac7a7503b4 [Android][Volley] fix support for requests null body 2016-06-14 16:00:40 +02:00
Mateusz Mackowiak
54afae57c8 [Android][Volley] fix support for post null body 2016-06-14 15:49:41 +02:00
zhenjun115
9a7e269de1 remove trailing spaces in the mustache template; 2016-05-20 22:39:53 +08:00
zhenjun115
87b25080c3 remove duplicated gradle wrapper mustache files from android api client; 2016-05-20 22:01:55 +08:00
zhenjun115
f2a2014ef4 add gradle wrapper mustache for android api client; 2016-05-20 20:24:22 +08:00
wing328
c6f03806df Replaced {{mediaType}} with {{{mediaType}} to keep the original media 2016-05-20 17:48:47 +08:00
wing328
cda6bc380e update android volley dependencies, add source and target in pom.xml 2016-05-15 17:06:46 +08:00
zhenjun115
32a6099853 add gitignore.mustache and git_push.mustache for android api client using volley; 2016-05-12 23:04:43 +08:00
zhenjun115
ee15ef3579 a new pom.mustache for android api client using volley HTTP library; 2016-05-11 13:05:54 +08:00
zhenjun115
6709a92cbc remove pom.mustache from android api client using volley HTTP library; 2016-05-07 23:38:05 +08:00
zhenjun115
101f9a4086 add generated markdown files to android api client for default and volley; 2016-05-07 14:33:47 +08:00
zhenjun115
3629fbac44 add pom.mustache for android api client(using volley HTTP library);update android api client samples(using volley HTTP library); 2016-05-07 14:12:19 +08:00
Andriy Druk
7888205657
fix equals and hashcode for Android 2016-04-21 13:28:04 +03:00
Joseph Zuromski
7bbe4404d7 fix regression introduced in commit 00c97c8ff6a0b50027d6805d78b1b0f185c174e3 2016-04-14 00:44:30 -07:00
Joseph Zuromski
fb705cb9fa fix issue 2512: crash w/ NPE when dereferencing networkStatus which could be nil on a volley timeout error 2016-04-06 13:24:59 -07:00
Tony Tam
d64e8b23a1 updated versions 2016-03-29 23:50:01 -07:00
wing328
00c97c8ff6 update build.gradle for android (default, volley) 2016-03-25 17:35:21 +08:00
wing328
1936af2cab update android user agent 2016-03-15 11:41:48 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
xhh
665ffa355b Android: add localVar prefix for "response" and "builder" 2016-03-01 12:04:46 +08:00
xhh
cc08be6eda Fix concurrent_unit_version in android-volley build.gradle
Closes #2228
2016-03-01 10:50:41 +08:00
xhh
75c2cc9029 Android client: better local variable naming
and fix the importing of Long and Byte
2016-02-29 18:27:23 +08:00
Shyri Villar
877661a1f4 Add OAuth stub [androiod-volley] 2016-01-20 20:59:55 +01:00
Shyri Villar
407837ebe2 Added configurable timeout 2016-01-20 20:11:36 +01:00
Shyri Villar
92e7d0e69c fix ApiKeyAuth applyToHeader when no api-key is provided 2016-01-20 19:59:28 +01:00
Shyri Villar
060f0f33c2 add test dependencies [android-volley-library] 2016-01-18 22:11:11 +01:00