xhh
7296da7bc3
Fix tests by upgrading libraries
2016-02-19 17:48:59 +08:00
xhh
a892511b1f
Add missing libs to Java jersey2 client
2016-02-19 13:24:16 +08:00
xhh
de463cf170
Merge branch 'master' into java-object-mapper-getter
...
Conflicts:
samples/client/petstore/java/default/src/main/java/io/swagger/client/ApiClient.java
2016-02-18 20:57:22 +08:00
xhh
b9a6a9b6ce
Java: add getter/setter for ApiClient#objectMapper
...
and ApiClient#httpClient as well.
Closes #2134
2016-02-18 20:17:42 +08:00
xhh
cac8df949d
Fix tests
2016-02-17 19:46:40 +08:00
xhh
b2ed17e63e
Remove unused jackson imports from Java models
...
by fixing the logic of enum Boolean checking.
Other changes:
* Remove the `true &&` prefix from the `equals` method in models.
* Apply some changes of Java-default to Java-okhttp-gson, i.e. adding
`this` and parent model handling.
* Some improvements on spaces and blank lines.
2016-02-17 18:03:27 +08:00
wing328
516a9413a2
update pom.mustache and sample
2016-02-15 18:24:57 +08:00
wing328
816ae0bb3f
update pom for okhttp-gson java to test gradle
2016-02-15 18:17:35 +08:00
xhh
908ab83d9b
Java okhttp-gson: fix dependencies
2016-02-15 16:48:58 +08:00
Andrew B
a303a09749
Adding PATCH header override the default Java client
2016-02-12 18:52:49 -08:00
wing328
9f78b3cf9c
fix local java test using fully qualified name
2016-02-07 16:16:06 +08:00
Silvio Heuberger
671dba4284
Use retrofit2-beta3 and it's dendencies in retrofit2 clients
...
Requires some changes to the generated client code
as some package renaming and api changes have occurred.
2016-02-02 15:43:08 +01:00
Maarten Groot
eee441b72a
Update Petstore Java jersey2 sample
2016-01-28 16:35:11 +01:00
Silvio Heuberger
e34706386f
Change the artifact identifier for the retrofit2-rx sample
2016-01-25 10:29:13 +01:00
Silvio Heuberger
d60f7d1186
Change templates and test code so that the sample is 1.7 compatible
...
Alas.
2016-01-25 10:29:13 +01:00
Silvio Heuberger
042dd59a38
Add sample client usage for retrofit2 with rx adapter and java 8
2016-01-25 10:29:13 +01:00
xhh
253a955cff
Merge branch 'master' into java-binary-support
...
Conflicts:
samples/client/petstore/java/default/src/test/java/io/swagger/petstore/test/PetApiTest.java
samples/client/petstore/java/jersey2/src/test/java/io/swagger/petstore/test/PetApiTest.java
samples/client/petstore/java/okhttp-gson/src/test/java/io/swagger/petstore/test/PetApiTest.java
2016-01-21 17:28:14 +08:00
xhh
5eb1cc04b9
Fix tests of UserAPI
2016-01-20 12:16:38 +08:00
xhh
1ddc91b8a9
Try fixing occasional testing failuers in Java client
...
by using random and atomically increasing IDs
2016-01-20 11:55:04 +08:00
xhh
319c260678
Java okhttp-gson: support binary (byte array)
...
for body parameter and response.
Also Update Java default, jersey2 and okhttp-gson clients to support
(constant) query string in the `path` (to work with the 2 "fake"
petstore endpoints on binary).
2016-01-15 19:33:33 +08:00
wing328
078f68a211
Merge pull request #1876 from xhh/file-downloading-fixes
...
File downloading improvements for Ruby and Java
2016-01-15 11:25:25 +08:00
xhh
521ba9924b
Add a method to sanitize filename, add test cases
2016-01-14 23:06:30 +08:00
wing328
24980ea1c6
Merge pull request #1866 from xhh/java-okhttp-gson-debugging
...
[Java okhttp-gson] Implement the "debugging" option of ApiClient
2016-01-12 16:53:39 +08:00
wing328
ef8e5dbcf5
Merge pull request #1862 from cbornet/feign_auth
...
Add auth support to feign library
2016-01-12 09:27:51 +08:00
cbornet
5e4db995c9
add oauth support to feign client
2016-01-11 22:16:01 +00:00
cbornet
58c0e63012
add auth support to feign library
...
Fix #1840
2016-01-11 22:16:01 +00:00
xhh
3c6639b4f6
Remove path delimiters from downloading filename
2016-01-11 22:13:07 +08:00
xhh
b87d6a0f36
Java okhttp-gson: implement the "debugging" option
...
for ApiClient and upgrade OkHttp
2016-01-11 18:10:02 +08:00
xhh
3d65218619
Java jersey2 client: get/set connect timeout
2016-01-08 19:05:43 +08:00
xhh
9657d4437e
Java client: get/set connect timeout, fix "debugging"
2016-01-08 17:45:29 +08:00
wing328
99d19575f0
fix missing object import in java (retrofit, okhttp)
2016-01-05 14:44:26 +08:00
wing328
6967c0c2c7
add comment about java.utils.Objects
2016-01-05 09:59:27 +08:00
wing328
ff9e04e4dd
fix #1804
2016-01-05 09:52:33 +08:00
wing328
d741ce0d91
Merge pull request #1729 from benmccann/rm-bin
...
Remove bin directory
2016-01-04 15:31:09 +08:00
xhh
f4581d3008
Update imports in models of Java clients
...
- Remove the StringUtil import which is no longer needed
- Remove duplicated imports of Objects and io.swagger.annotations.*
- Only include jackson related imports in the Java clients needing it
(i.e. the default, jersey2 and feign Java clients)
2015-12-31 12:44:34 +08:00
wing328
0c4214b93c
Merge pull request #1777 from xhh/java-model-indented
...
[Java] Move method StringUtil.toIndentedString to model
2015-12-30 13:54:36 +08:00
xhh
3d4b5ff1c7
Java: Move method StringUtil.toIndentedString to model
...
Closes #1701
2015-12-29 12:30:54 +08:00
xhh
a2c020f9e8
Add simple profiling for Java Petstore sample
2015-12-26 16:48:49 +08:00
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
Ben McCann
89be4231db
Remove bin directory
2015-12-16 16:09:25 -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