Alvin
cc58711490
update okhttp-gson samples
2015-11-25 15:17:43 +08:00
xhh
630def9d19
Add "equals" and "hashCode" methods to Java clients
...
for the "retrofit" and "retrofit2" libraries
2015-11-25 15:14:03 +08:00
xhh
5ae96c61a9
Add "equals" and "hashCode" methods to Java clients
...
Added for the default, "jersey2" and "okhttp-gson" clients
2015-11-25 15:14:03 +08:00
xhh
11d7e44756
Use separate library to do base64 encoding in Java
...
default and jersey2 clients to make it work in both JVM and Android
2015-11-25 15:14:03 +08:00
xhh
136d0aaa87
Use okhttp's Credentials class to build basic auth string
2015-11-25 15:14:02 +08:00
xhh
e4ac6ef033
Ignore auths when value not specified in Java clients
2015-11-25 15:14:01 +08:00
Alvin
98396d04a7
update sample & test
2015-11-21 20:12:11 +08:00
Alvin
dc65b5647f
update okhttp-gson samples
2015-11-21 19:42:01 +08:00
wing328
c150247dca
Merge pull request #1579 from xhh/fix-java-date-format
...
[Java okhttp-gson] Fix datetime format for Android
2015-11-20 15:59:07 +08:00
Curt Hostetter
951e56071f
Ran ./bin/java-petstore-jersey2.sh to update the Petstore sample
2015-11-17 11:18:55 -05:00
xhh
431cdc9c37
Java okhttp-gson: fix datetime format for Android
...
by detecting the current environment (Android SDK version and Java
version) and determine a default datetime format accordingly
Closes #1573
2015-11-17 17:54:13 +08:00
wing328
95d8585dce
Merge pull request #1534 from xhh/java-datetime-format
...
[Java] Improvement date-time format in Java clients
2015-11-16 09:57:52 +08:00
wing328
08bb339398
Merge pull request #1559 from wing328/remove_setting_files
...
Remove eclipse file
2015-11-12 19:52:18 +08:00
xhh
93c6966501
Fix code of customizing date-time format in test
2015-11-12 17:34:12 +08:00
wing328
ee60b5f4f1
Merge pull request #1494 from cbornet/android_manifest
...
Add android manifest to java codegen
2015-11-12 17:17:01 +08:00
wing328
6d470d1896
remove eclipse files
2015-11-12 17:14:20 +08:00
xhh
6b3fc79dec
Merge branch 'master' into java-datetime-format
2015-11-12 17:10:08 +08:00
xhh
55bcceac07
Fix tests on date format by using custom date format
2015-11-12 17:10:03 +08:00
wing328
8836644d37
Merge pull request #1546 from xhh/java-enum-array
...
Fix error with array of enum in Java client
2015-11-10 23:39:21 +08:00
wing328
e00d102c47
Merge pull request #1545 from emilianobonassi/support_retrofit2
...
Add support to Retrofit2
2015-11-10 20:43:19 +08:00
Emiliano Bonassi
47f4396fb7
- fix source/target java version to 1.6
...
- add test profile for CI
2015-11-10 12:30:13 +01:00
xhh
c07e30b8cf
Update testCreateUser to avoid occasional failures
2015-11-10 13:22:06 +08:00
Emiliano Bonassi
3a7204d66c
Add support to Retrofit2
2015-11-10 03:20:49 +01:00
xhh
e3c44b5af3
Improvement on comment
2015-11-09 16:47:33 +08:00
xhh
c48b93384b
Merge branch 'master' into java-datetime-format
2015-11-09 15:59:32 +08:00
xhh
8cab7e785d
Customizing date format in Java okhttp-gson client
2015-11-09 13:49:50 +08:00
xhh
cbc18c97ba
Customizing date format in Java jersey2 client
2015-11-09 11:58:41 +08:00
xhh
a45af48e35
Fix test
2015-11-09 10:23:46 +08:00
wing328
4feca0d680
Merge pull request #1491 from cbornet/javax_android
...
Provide dependency to javax.annotation.Generated for android templates
2015-11-08 11:12:57 +08:00
xhh
c59be88a3e
Support customizing date format in model (de)serialization in Java client
...
and update the default date format to conform to RFC3339
2015-11-07 15:16:13 +08:00
xhh
8d3e555f8a
Add README.md to Java clients
...
containing documentation like how to build and use the client
2015-11-06 17:15:32 +08:00
xhh
1a67f452e2
Make parameters unique in generated code
...
through a config option "ensureUniqueParams" which is false by default
Closes #1422
2015-11-04 20:51:56 +08:00
wing328
c8ce84f650
replace tab with space, update samples
2015-11-03 21:34:44 +08:00
wing328
5bf4d022cf
Merge pull request #1490 from xhh/java-oauth
...
Add oauth support for Java client
2015-11-03 20:34:12 +08:00
cbornet
8b0bf8ff72
add a listener on new token reception
...
Add a listener on new token reception that can then be stored or logged for debug
Add an helper method to add authorizations (otherwise if the swagger def is not complete or correct, it is hard to configure from the main app)
2015-11-02 19:20:24 +01:00
cbornet
5b1f287176
add android manifest to java codegen
2015-11-02 18:32:52 +01:00
cbornet
645b8a01e1
provide dependency to javax.annotation.Generated for android
2015-11-02 16:16:14 +01:00
xhh
a94f9b69af
Add oauth support to other Java clients
...
with libraries jersey2 and okhttp-gson
2015-11-02 22:52:51 +08:00
xhh
b27931cd8c
Add oauth support for Java client
2015-11-02 21:27:53 +08:00
xhh
953edc940f
Java jersey2: use a shared Client instance
2015-10-29 09:40:07 +08:00
xhh
95113dbe22
Fix syntax error on authMethods in java retrofit client
2015-10-27 10:45:23 +08:00
xhh
214e0186e8
Ignore null fields in model serialization
...
in Java clients.
Closes #1413
2015-10-21 12:05:27 +08:00
Tony Tam
7f5cdba606
rebuilt
2015-10-20 11:42:40 -07:00
Tony Tam
295af57c9a
fixed build error
2015-10-20 11:31:21 -07:00
Tony Tam
10a9c62e2b
merged
2015-10-20 10:57:36 -07:00
Tony Tam
a6bd0773f7
added files
2015-10-20 10:56:18 -07:00
Tony Tam
2f3a2413c7
rebuilt
2015-10-20 08:49:26 -07:00
Tony Tam
e1ee7065d5
rebuilt client
2015-10-19 23:12:02 -07:00
cbornet
3debd08a32
remove useless import
2015-10-16 12:47:25 +02:00
cbornet
92d1e8a1d9
use StringUtil to format csv
2015-10-16 12:21:45 +02:00