Commit Graph

222 Commits

Author SHA1 Message Date
xhh
8fa14446e3 Add milliseconds hint to comment of getConnectTimeout 2015-12-24 17:56:19 +08:00
xhh
a58901f375 Java okhttp-gson client: get/set connect timeout 2015-12-23 18:58:16 +08:00
wing328
aa55c95d1b fix default needToImport 2015-12-21 14:12:19 +08:00
wing328
0078dc11d1 Merge pull request #1703 from evigeant/feature/simple-jaxrs-serialization
Simplify Jersey and Jersey2 client serialization
2015-12-16 11:32:11 +08:00
wing328
2bb2ab6cad Merge pull request #1700 from wing328/java_feign_update_test
[Java] Update Feign client sample and test cases
2015-12-11 00:41:22 +08:00
evigeant
a3024a3553 Updated PetStore sample for java client jersey2 2015-12-10 10:45:47 -05:00
evigeant
d51746d7fa Updated PetStore sample for Java client (default) 2015-12-10 10:43:30 -05:00
wing328
1bab13ab27 Merge pull request #1689 from xhh/java-json-mime
[Java] Improve the checking of JSON MIME
2015-12-10 17:22:40 +08:00
wing328
f5693b6c73 update sample and test case for java feign 2015-12-10 16:35:38 +08:00
wing328
83dc5393cb Merge pull request #1625 from davidkiss/master
adding support for both Java client using Netflix Feign and JMeter tests
2015-12-10 16:07:48 +08:00
David Kiss
0d19b30c99 using isBodyParam instead of vendorExtention.x-isBody 2015-12-09 23:12:42 -05:00
xhh
be0bc71c86 Improve checking of JSON MIME in Java default and jersey2
to support suffix like charset in "application/json; charset=UTF8"
2015-12-09 16:30:55 +08:00
xhh
921659be5c Improve checking of JSON MIME in Java okhttp-gson client
to support suffix like charset in "application/json; charset=UTF8"
2015-12-09 16:09:15 +08:00
David Kiss
1723078508 added support in feign for binary uploads 2015-12-07 22:34:38 -05:00
David Kiss
538ccb3f12 Merge remote-tracking branch 'xhh2/davidkiss-master'
Conflicts:
	samples/client/petstore/java/feign/README.md
	samples/client/petstore/java/feign/build.gradle
	samples/client/petstore/java/feign/pom.xml
	samples/client/petstore/java/feign/settings.gradle
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/ApiClient.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/PetApi.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/StoreApi.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/UserApi.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Category.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Order.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Pet.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Tag.java
	samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/User.java
2015-12-07 21:29:14 -05:00
David Kiss
eb4acd0971 added unit tests to feign client 2015-12-07 01:13:20 -05:00
xhh
80ed75eef0 Add more javadoc to Java okhttp-gson client 2015-12-07 12:23:50 +08:00
xhh
b1bc75189a Add WithHttpInfo API methods to Java okhttp-gson client
to allow accessing response status code and headers
and removed the methods of recording last response info from
ApiClient.
2015-12-07 11:17:32 +08:00
xhh
d11a19d171 Fix file uploading issue with Java jersey2 client codegen
Closes #1650
2015-12-02 18:31:02 +08:00
xhh
eb0e47461c Add petstore client sample for Java-feign 2015-12-01 16:13:31 +08:00
wing328
a41ca7278a update retrofit2 gradle to use double quote 2015-11-29 23:21:44 +08:00
wing328
3e213267aa update java petstore sample 2015-11-29 00:18:34 +08:00
wing328
1fbdb92625 Merge pull request #1613 from xhh/ruby-eql-hash
[Ruby] Add "==", "eql?" and "hash" methods to Ruby client
2015-11-26 10:29:59 +08:00
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
xhh
0dac326230 Add "==", "eql?" and "hash" methods to Ruby client 2015-11-25 11:46:43 +08:00
wing328
a7e1e128f6 Merge pull request #1605 from xhh/java-equals-hash-code
[Java] Add "equals" and "hashCode" methods to Java clients
2015-11-24 15:38:20 +08:00
xhh
f2a8955926 Add "equals" and "hashCode" methods to Java clients
for the "retrofit" and "retrofit2" libraries
2015-11-23 19:59:44 +08:00
xhh
2e51aa5076 Add "equals" and "hashCode" methods to Java clients
Added for the default, "jersey2" and "okhttp-gson" clients
2015-11-23 15:57:14 +08:00
xhh
4f831e032c Use separate library to do base64 encoding in Java
default and jersey2 clients to make it work in both JVM and Android
2015-11-22 16:27:14 +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
xhh
81cf57a00b Use okhttp's Credentials class to build basic auth string 2015-11-20 20:10:05 +08:00
xhh
b823e8bd35 Ignore auths when value not specified in Java clients 2015-11-20 17:34:46 +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