561 Commits

Author SHA1 Message Date
cbornet
d29a5537bc add support for jsr310 dates to okhttp-gson client 2016-06-20 16:50:08 +02:00
cbornet
48564079be add support for jsr310 dates to retrofit2 client
See #2874
2016-06-20 14:32:18 +02:00
cbornet
3e9064b81e support jsr310 dates in feign client
See #2874
2016-06-20 13:04:44 +02:00
wing328
8283b701e8 fix java property with the name "class" 2016-06-20 14:51:17 +08:00
wing328
cc5668c825 Merge pull request #3108 from JasonQuinn/master
Adding the ability to get and set the httpClient for jersey2
2016-06-18 16:56:01 +08:00
Jason Quinn
54babeb5ed Updating jersey2 sample 2016-06-14 15:01:10 +01:00
cbornet
0f3569e982 set joda as default dateLibrary for java codegens that support it
Fix #3087
2016-06-10 12:17:36 +02:00
wing328
ff28988a67 Merge branch 'joda_retrofit_1' of https://github.com/cbornet/swagger-codegen into cbornet-joda_retrofit_1 2016-06-10 16:32:23 +08:00
wing328
216d4b8b23 Merge pull request #3083 from cbornet/joda_retrofit
Add joda support to retrofit2 clients and use it in samples
2016-06-10 15:18:00 +08:00
wing328
b418719804 update sample, update shell script with messages about removing files 2016-06-10 14:30:32 +08:00
wing328
c6cc15f429 Merge branch 'jersey_joda' of https://github.com/cbornet/swagger-codegen into cbornet-jersey_joda 2016-06-10 14:04:15 +08:00
cbornet
2fe9cd2ba0 add joda support to retrofit 1 clients 2016-06-09 18:41:44 +02:00
cbornet
61884211bb add joda support to okhttp-gson and use it in the samples 2016-06-09 18:20:52 +02:00
cbornet
3c252f264c use joda in jersey1/jersey2 client sample 2016-06-09 17:10:57 +02:00
Peter
32cabcfb23
updated petstore with latest okhttp changes 2016-06-09 11:35:03 +02:00
wing328
bc42d941ec Merge branch 'patch-1' of https://github.com/karussell/swagger-codegen into karussell-patch-1
Conflicts:
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/ApiException.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Configuration.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Pair.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/OAuth.java
2016-06-09 17:06:50 +08:00
wing328
0a3a47dbd4 add license to java okhttp client 2016-06-09 16:20:57 +08:00
wing328
2d170fd7a6 add license to 2016-06-09 16:07:36 +08:00
Peter
28bece0ce0
made response change to petstore 2016-06-09 08:56:42 +02:00
cbornet
ec3a200c8c remove generated annotation in feign sample 2016-06-08 19:53:00 +02:00
wing328
c11908824e Merge pull request #3075 from cbornet/feign_joda
[Feign] Support joda dates in feign client and use it in petstore sample
2016-06-09 01:28:10 +08:00
cbornet
acf17c85ad add joda support to retrofit clients and use it in samples
also adds back the petstore tests
2016-06-08 18:50:49 +02:00
wing328
691aa53d5a [Java][okhttp-gson] fix java doc for okhttp-gson (#3077)
* fix java doc for okhttp-gson

* add ci test for javadoc

* fix return type for java doc

* fix warning/error with javadoc

* fix error/warning in javadoc

* fix 2 warnings related to docstring

* remove trailing space for okhttp tmeplate
2016-06-09 00:47:49 +08:00
cbornet
3ae39c9562 support joda in feign and use it in sample 2016-06-07 22:39:34 +02:00
clasnake
f3cff97acc Regenerate the sample client for feign. 2016-06-04 22:21:27 +08:00
clasnake
4da829315f Add sbt support for feign. 2016-06-04 21:51:49 +08:00
clasnake
503fb138f5 Add sbt support for retrofit2 and retrofit2rx. 2016-06-04 21:13:10 +08:00
clasnake
9ed290efea Add sbt support for retrofit. 2016-06-04 20:53:21 +08:00
clasnake
f4ba31964a Merge branch 'master' into 3006/sbt_for_java_scala
Conflicts:
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/ApiException.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Configuration.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Pair.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/OAuth.java
2016-06-03 00:43:43 +08:00
clasnake
f0d3bd8f21 Add sbt support for jersey2, fix dependency issue for okhttp-gson. 2016-06-03 00:37:53 +08:00
wing328
a3610f1c12 [Java] fix warning in pom.xml (java okhttp-gson) (#3023)
* fix warning in pom.xml

* minor fix to pom (okhttp-gson)
2016-06-02 17:37:11 +08:00
wing328
43fe3fa6d0 Merge pull request #3003 from Cosium/feign-disable-fail_on_unknwon_properties
Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default
2016-06-01 22:33:36 +08:00
Réda Housni Alaoui
5740de9cc7 Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default 2016-05-31 18:51:11 +02:00
wing328
73ab94dfbf fix sbt build for okhttp-gson 2016-05-31 22:22:54 +08:00
wing328
9d581a791d Merge pull request #2968 from zhenjun115/java_api_client
add markdown docs for java api client using retrofit2;
2016-05-30 11:15:32 +08:00
Darrell King
8a403a06e3 2983: Java Feign client generator: HTTP header name should be named Accept not Accepts 2016-05-29 21:14:59 +01:00
zhenjun115
09a29063be add markdown docs for java api client using retrofit2; 2016-05-25 23:44:44 +08:00
zhenjun115
a093e7b74d gradle wrapper for java api client; 2016-05-17 23:40:57 +08:00
cbornet
596a076077 fix wrong method call 2016-05-17 10:35:37 +02:00
cbornet
fc1d06d810 update retrofit2 samples 2016-05-17 10:25:52 +02:00
Aditya Kajla
5633fdfb3d Java: Add basic junit test templates for api clients 2016-05-16 17:55:29 -07:00
cbornet
b543a53dc7 update feign sample 2016-05-13 16:33:49 +00:00
wing328
b27d8c22c7 fix java import issue due to enum and inner model (array of array of
model)
2016-05-09 23:12:12 +08:00
xhh
020a9fcdc0 Fix enum model docs for JS and Java clients 2016-05-06 18:41:15 +08:00
wing328
8f2573f8a7 add new files for retrofit2rx 2016-05-03 11:20:45 +08:00
wing328
fc982d1205 add new files for java petstore 2016-05-03 11:20:44 +08:00
wing328
6370165912 fix retrofit 1, 2 java sample 2016-05-03 11:19:59 +08:00
wing328
3913388331 fix java okhttp enum mismatche tab 2016-05-03 11:19:59 +08:00
wing328
70b25a682d fix java default and feign sample 2016-05-03 11:19:59 +08:00
xhh
4419e71d4b improve enum support in java okhttp-gson client 2016-05-03 11:16:05 +08:00