SiMing Weng
32a6f19933
[Java][RestTemplate] fix compilation issue with API client (resttemplate) ( #5832 )
...
* adapt the resttemplate target for the threeten Time API
* add threeten dependencies to build.gradle
* fix missing dollar sign
* fix missing dollar sign
2017-06-16 00:58:11 +08:00
wing328
fee54157c0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-15 17:14:39 +08:00
Moscagus
f2276e5b35
Fix for issue #5777 - java/jersey2 ApiClient.invokeAPI doesn´t close the Response object ( #5782 )
...
* Update ApiClient.mustache
Fix for issue #5777
* Update ApiClient.mustache
* Create ApiClient.mustache
* Run java-petstore-jersey2.sh
2017-06-15 00:45:14 +08:00
Michael Kourlas
d20f83e643
[Java] Fix for issue #3638 : Generated Java APIs incorrectly encode commas in certain query parameters ( #4908 )
...
* Fix for issue #3638
* Update tests for fix for issue #3638
* Fix bug when queryParams and collectionQueryParams are both specified
* Update tests
* Add certain tests back, address CI failures
2017-06-15 00:20:04 +08:00
wing328
1da52bf8ba
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-11 21:43:34 +08:00
wing328
2d385d8bcb
update retrofit2 dep ( #5820 )
2017-06-11 16:12:04 +08:00
wing328
7cddd17acc
[Java] Add JSON-patch support to other Java API clients ( #5808 )
...
* add JSON-patch support to other Java API clients
* minor fix to java jersey1 json check
2017-06-09 21:46:40 +08:00
Brendan Burns
53bd931f5c
Add JSON-patch as a JSON mime-type ( #5764 )
2017-06-09 16:47:38 +08:00
Björn Petersen
e9a0d7ea83
Add android dependency to pom if 'parcelableModel' is set ( #5801 ) ( #5802 )
...
* Add android dependency to pom if 'parcelableModel' is set
* Update java-okhttp-gson-parcelableModel sample
2017-06-09 16:16:53 +08:00
wing328
022eb0d379
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-09 15:24:53 +08:00
Trent Albright
676e2a04f5
Fix issue with buffered sink handling in OkHttp ( #5786 )
...
* Fix issue with buffered sink handling in okhttp
Fixes unexpected end of stream exceptions when using the okhttp-gson library
and making asynchronous calls.
* update petstore samples for okhttp-gson
$ ./bin/java-petstore-okhttp-gson.sh
$ ./bin/security/java-petstore-okhttp-gson.sh
* WIP: trigger ci
2017-06-07 18:15:06 +08:00
wing328
87bbbc1a1b
Merge remote-tracking branch 'origin/master' into 230_merge_master
2017-06-05 23:27:11 +08:00
sdoeringNew
ffc0d32b9c
#5712 put @JsonValue to appropriate place in generated enum, add TypeAdapter for Gson enums, enhance tests ( #5713 )
2017-06-02 16:03:32 +08:00
wing328
cc55dfbf13
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-18 16:22:42 +08:00
Harald Walker
4417bb6b32
#5649 Fix FileAlreadyExistsException when downloading file using jersey2 ( #5654 )
...
* #5649 Fix download file copy
* Include generated pet store samples and fix indentation
* Regenerate petstore sample to fix indentation
2017-05-18 15:12:53 +08:00
wing328
e1e5ac4d37
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-17 22:00:06 +08:00
Benjamin Douglas
be3cfda3ce
Disable Jackson FAIL_ON_INVALID_SUBTYPE in feign ( #5597 )
...
* Disable Jackson FAIL_ON_INVALID_SUBTYPE in feign
With this change, Jackson does not fail even if it doesn't recognize a
discriminator type name. This is helpful when upgrading a microservice with
a new subtype while keeping compatibility with its old clients. The instance
is returned as null instead of throwing an exception deep in the feign
framework, allowing clients to gracefully degrade.
* Disable FAIL_ON_INVALID_SUBTYPE for all Jackson-based projects
2017-05-16 21:20:05 +08:00
Brendan Burns
c5d1c5d73b
Extract out a new helper method from java ApiClients ( #5648 )
2017-05-16 13:59:06 +08:00
wing328
96a8440a57
fix missing private datetime var in java okhttp client
2017-05-14 23:42:31 +08:00
wing328
7fc36f1e1e
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-14 22:32:12 +08:00
sdoeringNew
98d53bc8d2
#5619 added getValue() method in generated Enum classes in Java ( #5620 )
2017-05-13 00:03:44 +08:00
Brendan Burns
e7a1f5fb17
[Java] Add custom SSL KeyManagers for okhttp-gson Java clients ( #5629 )
...
* Add the ability to set SSL KeyManagers for okhttp-gson Java clients
* Update generated code.
* Update security model files.
2017-05-12 23:49:00 +08:00
wing328
cfd9d7e4c6
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-05 11:01:36 +08:00
fisherliu
d08d55d419
add @Valid annotion for bean-validation ( #5517 )
2017-05-04 23:03:12 +08:00
wing328
fb357086c8
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-04 19:04:39 +08:00
Andrea Polci
fd17955685
#5548 Avoid html escaping of pattern in bean validation ( #5549 )
...
* Issue #5548 Avoid html escaping of pattern in bean validation
* Run spring-all-petstore.sh and java-petstore-all.sh scripts
2017-05-04 17:12:13 +08:00
wing328
3b98cc7ca0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-03 17:32:24 +08:00
wing328
e28471341c
add switcgh to determine java8, java7 ( #5541 )
2017-05-03 16:41:58 +08:00
wing328
413a00ef40
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-03 00:09:14 +08:00
Benjamin Douglas
b7df040b6e
Fix class name in discriminator subtypes ( #5487 )
2017-05-01 15:50:58 +08:00
guidovezzoni
663db1b72a
Fix issue5425 ( #5483 )
...
* issue 5425 : [Android] Bug generating parcelables constructors for custom classes ( missing getClassLoader() )
* issue 5425 : changes in generated code
* ran ./bin/java-petstore-all.sh and committed the changes
2017-04-28 01:23:32 +08:00
wing328
e969b35ea2
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-24 18:07:17 +08:00
wing328
d9026c67aa
remove carriage return in resteasy java files
2017-04-24 17:44:27 +08:00
wing328
f09372e2ec
replace tab with spaces
2017-04-24 17:27:07 +08:00
wing328
640b16b58a
Merge branch 'master' into master
2017-04-24 17:00:27 +08:00
nbruno
ddc309ec19
Add support for Spring's RestTemplate in Java client codegen ( #5404 )
...
* Add support for Spring's RestTemplate in Java client codegen
Resolves #1176
* Update all Java samples to include change for Jackson enums
Currently enums are deserialized from a String value with an
explicit @JsonCreator. However, they are not being serialized with
this String value. This change introduces the @JsonValue annotation
on the toString() method of enums, so they will be serialized as a
String with the correct value.
2017-04-24 14:40:47 +08:00
wing328
c8d9450db5
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-23 22:46:10 +08:00
Rik Sprenkels
bd8b2d37c0
Fixes for swagger.json to Java escaping. ( #5247 )
2017-04-23 19:10:25 +08:00
wing328
f7cbb2c0e6
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-23 15:26:15 +08:00
Mario
f61e0d4024
Add RuntimeException option ( #5405 )
...
* add option to change Exception to RuntimeException
* rename propertie
remove space in template
2017-04-21 22:13:57 +08:00
Christoph Auer
70e4dad72e
java/lib/retrofit2: Fix indent
2017-04-18 11:53:30 +02:00
Christoph Auer
9640e30f48
Update java/lib/okhttp-gson
2017-04-18 11:53:30 +02:00
Christoph Auer
4b88374df4
Update java/lib/retrofit2
2017-04-18 11:53:29 +02:00
Christoph Auer
ca87a4b817
Update java/lib/retrofit
2017-04-18 11:53:29 +02:00
Christoph Auer
5b475bcb16
Java/feign: Remove spaces at empty lines
2017-04-18 11:53:29 +02:00
Christoph Auer
83e902ba3f
Update java/lib/jersey2
2017-04-18 11:53:29 +02:00
Christoph Auer
b2674feb14
Java: Remove spaces at empty lines
2017-04-18 11:53:29 +02:00
Christoph Auer
85a58f3414
Update Java/lib/feign
2017-04-18 11:53:29 +02:00
Christoph
71b12636e4
[JAVA] Update gradle and android build tools
2017-04-18 11:53:28 +02:00
wing328
50c6f87d98
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-13 17:48:34 +08:00