Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
William Cheng
c20352caab
Update Android Petstore (httpclient, volley) with OAS2, OAS3 ( #145 )
...
* restore android samples from codegen 2x
* update android volley with oas2
* update android volley oas3
* update android http client petstore (oas2)
* update android httpclient petstore (oas3)
2018-04-19 16:13:35 +08:00
etondoze
d1a296412e
Upgraded swagger-parser and swagger-core versions ( #7497 )
2018-01-25 21:35:11 +08:00
ecolleu
3cd3b907f6
[ANDROID][volley] Handle UnsupportedEncodingException in invokeAPI ( #6436 )
...
* [ANDROID][volley] Handle UnsupportedEncodingException in invokeAPI (Issue #6432 )
The constructor of StringEntity can throw UnsupportedEncodingException, which is not catch nor thrown by createRequest method.
Therefore the build of android client fails with:
ApiInvoker.java:448: error: unreported exception UnsupportedEncodingException; must be caught or declared to be thrown
This commit adds a try ... catch on UnsupportedEncodingException in invokeAPI methods and declare this exception to be thrown in createRequest
* [ANDROID][volley] Handle UnsupportedEncodingException in invokeAPI (Issue #6432 )
The constructor of StringEntity can throw UnsupportedEncodingException, which is not catch nor thrown by createRequest method.
Therefore the build of android client fails with:
ApiInvoker.java:448: error: unreported exception UnsupportedEncodingException; must be caught or declared to be thrown
This commit adds a try ... catch on UnsupportedEncodingException in invokeAPI methods and declare this exception to be thrown in createRequest
* [ANDROID][Volley] Handle UnsupportedEncodingException (Issue #6432 )
Throw more precise ApiException
2017-09-07 18:12:09 +08:00
Mykola Yashchenko
bb2a53ac9c
added additional properties to manage Android version numbers more easily ( #6160 )
2017-07-27 19:27:59 +08:00
Tony Tam
9286e26162
updated versions
2017-06-16 11:49:32 -07:00
Paŭlo Ebermann
4b9988c4f2
Update samples for several language (just whitespace changes, reordering, VERSION) ( #5828 )
...
* Update samples for several languages.
Just whitespace changes and some reordering where the order doesn't matter.
* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
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
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
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
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
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
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
wing328
81f947e723
update android petstore sample, add this to volley's model
2016-08-25 23:12:23 +08:00
Tony Tam
b74c1b98a2
updated version
2016-08-05 10:32:06 +02: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
Mateusz Mackowiak
0816f315d3
[Android][Volley] fix support for post null body
2016-06-13 17:23:34 +02:00
zhenjun115
f2a2014ef4
add gradle wrapper mustache for android api client;
2016-05-20 20:24:22 +08:00
zhenjun115
f79b894411
gradle wrapper for android api client;
2016-05-16 21:14:19 +08:00
wing328
cda6bc380e
update android volley dependencies, add source and target in pom.xml
2016-05-15 17:06:46 +08:00
wing328
d01305671f
minor fix to android after switching default lib
2016-05-15 14:40:20 +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
黄真俊
e868690c03
add pom.xml based on build.gradle for android api client( using the volley HTTP library );
2016-05-04 19:51:53 +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 00c97c8ff6
2016-04-14 00:44:30 -07:00
Joseph Zuromski
d9cee4c269
update samples
2016-04-14 00:00:22 -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
wing328
00c97c8ff6
update build.gradle for android (default, volley)
2016-03-25 17:35:21 +08:00
wing328
8ca279f6f7
better handling of model name starting with number for android
2016-03-17 12:11:27 +08:00
wing328
1936af2cab
update android user agent
2016-03-15 11:41:48 +08:00
wing328
a529d9dfe0
push new git_push and .gitinore file
2016-03-12 18:01:53 +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