William Cheng
5e29d61639
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-05-13 18:44:58 +08:00
William Cheng
85ff15ac8a
update samples
2021-05-10 19:05:02 +08:00
Guillaume TOURBIER
808c0b03bd
feat: add access to webclient and webclientBuilder ( #9329 )
...
* feat: add access to webclient and webclientBuilder
fix : #8602
* docs: add params for webclient & builder
2021-05-10 19:02:36 +08:00
William Cheng
a35e9b590c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-30 13:18:35 +08:00
William Cheng
99ddd6d2f2
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-30 11:41:09 +08:00
Jakob
0af45b3823
[Java] add jackson annotations to setters ( #9041 )
...
* [Java] add jackson annotations to setters
Closes #6856
* [Java] fix conflictiong setter with JsonNullable
2021-03-30 11:17:15 +08:00
William Cheng
a078b1d826
Merge branch '5.2.x' into 6.0.x
2021-03-29 12:56:33 +08:00
William Cheng
16b141e402
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-26 10:20:36 +08:00
William Cheng
39f0177ede
[Java] Update WebClient dependencies ( #8972 )
...
* update webclient dependencies
* update build.gradle
2021-03-22 13:58:04 +08:00
William Cheng
95d356ab6b
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-21 01:10:46 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
William Cheng
9d8494a89d
update samples
2021-03-15 22:55:36 +08:00
Backfighter
ad603f44fb
[Java][webclient] Fix deprecation warning: BodyInserters.fromObject ( #8963 )
...
* Fix deprecation warning: BodyInserters.fromObject
See for more information #8553
* [Java][webclient] Upgrade to spring 5.2.13
2021-03-14 00:12:48 +08:00
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
Tyler Ballast
f5151de9fc
Add whitespace to SDK documentation where necessary ( #8919 )
...
* Add a space between table title and the line above it to resolve issues when translating markdown to asciidoc
* Regenerate Samples
Co-authored-by: Tyler Ballast <tyler.ballast@reportix.com>
Co-authored-by: tballast <tyler.ballast@gmail.com>
2021-03-08 21:40:54 +08:00
William Cheng
694b10e41c
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-28 16:47:55 +08:00
William Cheng
d97717ee24
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-28 15:52:44 +08:00
William Cheng
84813be309
remove supportJava6 option ( #8514 )
2021-01-26 10:27:09 +08:00
William Cheng
52065cc1c5
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-18 12:40:31 +08:00
William Cheng
53a5bfecfd
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-18 11:33:57 +08:00
Toby Murray
99144252f7
Migrate off deprecate Gradle configurations ( #8436 )
...
A bunch of gradle configurations have been deprecated, with drop in replacements. Relevant to this project:
compile -> implementation
testCompile -> testImplementation
They're visible by executing e.g. ./gradlew build --warning-mode all with supporting documentation here: https://docs.gradle.org/6.6.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
2021-01-15 22:32:50 +08:00
William Cheng
25b0cbe2f1
Prepare 5.0.1 snapshot ( #8249 )
...
* update version to 5.0.1-SNAPSHOT
* update samples
* update meta codegen
2020-12-21 17:14:18 +08:00
William Cheng
4261252491
prepare 6.0.0 snapshot release
2020-12-21 16:39:40 +08:00
William Cheng
345b68a107
prepare 5.1.0 snapshot release
2020-12-21 16:35:12 +08:00
William Cheng
d7d5e53f2b
Prepare v5.0.0 release ( #8247 )
...
* update to 5.0.0
* update samples
2020-12-21 13:04:11 +08:00
William Cheng
a407090bef
update samples
2020-12-18 12:28:41 +08:00
Cody Mikol
f9d6c6fb21
CHORE[DEPENDENCIES]: bump swagger-parser => 2.0.22 ( #7597 )
...
this fixes a bug where the parser would return
null when missing parameters rather than reporting
some useful error.
Fixes N/A
2020-12-08 15:18:07 +08:00
Toby Murray
cbe1fd9728
Bump Gradle in generated Java projects to 6.7.1 ( #8079 )
...
* Bump Gradle in Java projects from 6.0.1 to 6.7.1
Regular maintenance, 6.0.1 was released November 18th, 2019 and the latest release (November 16th, 2020) is 6.7.1. This updates all the wrapper templatesto the latest version.
* Updated generated Java samples
Generated via `./bin/generate-samples.sh bin/configs/java-*`
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-12-07 10:44:23 +08:00
Thomas Hervé
616b44f3b1
Improve generated Java examples ( #8012 )
...
* Add basic types imports to generated examples
This adds an extension to include basic types imports to generated Java
examples.
* Make some fixes to example generation
* Generate OffsetDatetime correctly
* Create a useful sample for enums, regenerate samples
* Fix BigDecimal as well
2020-11-26 18:14:26 +08:00
David Ruppelt
4f0e75b32d
remove default ContentType for java webclient ( #7945 )
2020-11-24 22:28:23 +08:00
Thomas Hervé
14ff8e0ffd
Remove links to basic types in java API docs ( #7989 )
...
* Remove links to basic types in java API docs
This removes (most) wrong links to basic types in Java API docs.
* Regenerate some more samples
2020-11-23 16:24:31 +08:00
William Cheng
2578ef5e63
Prepare snapshot (v5.0.0) ( #7986 )
...
* Revert "prepare 5.0.0-beta3 release"
This reverts commit 3ebe774df37b43348bac1310a272de53a2d7040b.
* revert to snapshot
* update samples
2020-11-20 19:19:59 +08:00
William Cheng
2715f1371a
Prepare 5.0.0 beta3 ( #7984 )
...
* prepare 5.0.0-beta3 release
* update samples
* remove beta3 from readme
2020-11-20 15:18:58 +08:00
William Cheng
e09d1bee43
[Java][webclient] fix missing dependencies in build.gradle ( #7777 )
...
* fix build.gradle in java webclient
* update junit version in samples
2020-10-21 21:29:53 +08:00
William Cheng
b768e42704
Update junit to newer version (4.13.1) ( #7690 )
...
* update junit to newer version
* update junit to newer version
2020-10-14 10:10:32 +08:00
William Cheng
fe31b9e2ce
java jersey2: remove trailing whitespaces ( #7632 )
2020-10-09 17:11:23 +08:00
dtiller
3f7a3f2b59
[TYPO] [WEBCLIENT] Issue 7425: Fixed comments that referred to RestTemplate. ( #7445 )
...
* Issue 7425: Fixed comments that referred to RestTemplate.
* Ran genreate-samples.sh
* Re-ran generate-samples.sh against all configs.
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-19 12:07:35 +08:00
William Cheng
2fd23f505e
Prepare 5.0.0-SNAPSHOT ( #7347 )
...
* Revert "Prepare 5.0.0-beta2 release (#7345 )"
This reverts commit 212b4f784742744b7b238607dcefb23ec9db64d7.
* update readme
2020-09-04 15:31:54 +08:00
William Cheng
212b4f7847
Prepare 5.0.0-beta2 release ( #7345 )
...
* update version
* update doc
* update samples
2020-09-04 13:03:45 +08:00
Jim Schubert
a6d30cac9d
[core] Templating: limit compilation to supported extensions and constrain target paths ( #6598 )
2020-09-02 15:52:35 -04:00
Oleh Kurpiak
14a500c6fe
[Java][Client] Use java8 OffsetDateTime for clients ( #7190 )
...
* use java8 OffsetDateTime for clients
* use java8 OffsetDateTime for clients
* fix javadoc
* add javadoc to JavaTimeFormatter.mustache
* add javadoc to JavaTimeFormatter.mustache
* add javadoc to JavaTimeFormatter.mustache
2020-08-31 22:31:28 +08:00
William Cheng
26c17c5774
[Java] remove deprecated jackson classes ( #7304 )
...
* [java/resttemplate] Generate valid code if no Authentication implementations present
Take the logic used to decide which instances to add to the authentications map and re-use to not import classes or offer non-functional util methods
* parameterize formParams
fixes #5782
* replace use of ISO8601DateFormat and ISO8601Utils with StdDateFormat
fixes #5779
* add constructor to intialise calendar
* Revert "[java/resttemplate] Generate valid code if no Authentication implementations present"
This reverts commit 6e450907bae1d831a4a8c9b66f6b707424f0a39a.
* Revert "parameterize formParams"
This reverts commit 7a26ce5dd21ce147ed33728cd0091a29175367a4.
* also override single arg parse method to avoid throwing exception
* also override single arg parse method to avoid throwing exception
* update samples
* update samples
* fix jersey1 tests
* fix jersey2 test
* update resteasy dependencies
* fix java jersey2 oas3 tests
* use java8 in springboot-beanvalidation
Co-authored-by: Jon Freedman <jon.freedman@zoho.com>
2020-08-27 23:13:56 +08:00
Niels Pardon
d868fd6dc8
[Java][clients] remove java.lang prefix from Object ( #6806 )
2020-08-24 22:06:19 -04:00
Jon Freedman
9ba34b2805
[Java] parameterize formParams ( #5784 )
...
* parameterize formParams
fixes #5782
* sync generated code
* update to latest version of spring, replace MultiValueMap#put with #addAll, remove unused imports
* restore java.util.HashMap import
* update spring version in pom/gradle templates
* re-generate resttemplate samples
* fix test
* fix test
* parameterize an additional usage of LinkedMultiValueMap
* re-generate resttemplate samples
* re-generate webclient samples
* manually edit FILES to replace \ with /
2020-08-12 15:55:53 +08:00
Yuriy Belenko
6a08ec59c0
[core] Add type and format properties to model of inline response ( #6153 )
2020-08-03 18:37:37 -04:00
William Cheng
2ab35e0386
add JsonTypeName ( #6995 )
2020-07-21 14:21:10 +08:00
William Cheng
44d3f717f8
update java samples
2020-07-18 22:02:16 +08:00
Jorge Rodríguez Martín
068ad02bc8
[BUG] [JAVA] Fix multiple files upload ( #4803 ) ( #6808 )
...
* gh-4803: Fix bug java client multiple files upload
* gh-4803: Fix bug java client multiple files upload
* gh-4803: Fix bug java client multiple files upload
* gh-4803: Fix bug java client multiple files upload
* gh-4803: Fix bug java client multiple files upload
2020-07-03 00:23:17 +08:00