RickyRister
4c08ff865d
[Java][Vertx] Add option to generate methods that return Futures ( #21083 )
...
* [Java][Vertx] Add option to generate methods that return Futures
* run scripts
* update sample config and github workflow
* generate samples
* rerun script
* add vertx-no-nullable to samples workflow
2025-04-18 21:53:08 +08:00
Knuf
9c5722b9f6
Added HttpClient5 flavour to Java OpenFeign client generator. ( #21007 )
...
* Added HttpClient5 flavour to Java OpenFeign client generator.
* Converted templates intendation to spaces.
* Added the new sample folder to GH wf so that the CI can test the change.
* Added the missing auto-generated docs/samples files.
* Converted indentation to spaces also in the modified Java class.
2025-04-09 17:40:16 +08:00
Nicklas Wiegandt
07d19baf89
feat ( #19407 JAVA SPRING WEBCLIENT): Add support for useSingleRequestParameter to Spring WebClient ( #19827 )
...
* chore (JAVA SPRING WEBCLIENT): Remove comments used for debugging
* feat (JAVA SPRING WEBCLIENT): Add support for useSingleRequestParameter to Spring WebClient
* feat (JAVA SPRING WEBCLIENT): Generate samples and docs
* fix (JAVA SPRING WEBCLIENT): Fix missing return error & Fix JDK17 action webclient useSingleRequestParameter test path
* fix (JAVA SPRING WEBCLIENT): Fix code indention
* fix (JAVA SPRING WEBCLIENT): Fix code indention again
* fix (JAVA SPRING WEBCLIENT): Update samples
* feat (JAVA SPRING WEBCLIENT): Regenerate after pull rebase
2024-12-15 15:28:38 +08:00
DielN
216ba30172
[JAVA] Add missing dependencies in templates ( #20075 )
...
* Add commons-lang3 dependency for useReflectionEqualsHashCode
* Fix feign-no-nullable config/sample
* Add commons-lang3 dependency to jersey2
* Add & update mutiny dependency for microprofile
* Regenerate samples
2024-11-14 14:08:26 +08:00
William Cheng
6bc8e0bffc
Fix duplicated operationId with new rule in normalizer ( #19872 )
...
* fix duplicated opeationId with new rule in normalizer
* update workflow
* update samples
* update samples
* update java samples
2024-11-11 18:12:46 +08:00
martin-mfg
b730e36937
[JAVA] fix several anyOf/oneOf problems ( #19817 )
...
* erasure duplicates
* sanitize beanValidation
* oneOf maps
* anyOf
* update samples
2024-10-10 14:50:18 +08:00
Philzen
6f9ad31df3
[JAVA-SPRING] Avoid broken code due to duplicate rendering of @Deprecated
annotation with generateBuilders=true
( #18917 )
...
* Implement regression test for #12804
* Fix duplicate rendering of @Deprecated annotation on Builder methods
* Regenerate samples
* Sort entries so it's easier to parse if an entry already exists
* Add sample that uses generateBuilders=true to test build matrix
Serves as an additional regression check for #12804
* Add --no-transfer-progress to mvn build command to increase log legibility
2024-06-16 12:02:53 +08:00
Horace Li
d0a8726580
[java][resttemplate] Fix missing javax validation imports with list validation ( #18332 )
...
* Fix java list validation
* Fix java list validation
* Fix java list validation
* Fix java list validation
2024-05-22 15:07:42 +08:00
martin-mfg
73bca68fea
add example for UserDefinedTemplates ( #18423 )
2024-04-22 10:46:15 +08:00
B4ckslash
807aa5d3ae
[Java][jersey2] Fix generated client code for oneOf models if datatype includes arrays ( #18042 )
...
* Add java-jersey2 sample with mixed oneOf
* [java][jersey2]Fix client generation if oneOf contains an array type
Changes:
* Change jersey2/oneof_model template to use composed schema data
* Change adding of imports in AbstractJavaCodegen to use composed schema data
* Add escapedDataType property to CodegenProperty so that the data type
may be part of identifiers (e.g. in getters)
* Update samples
* Add sample for multiple array in oneOf
* Fix generation of constructors with same erasures
* Update samples again
* Version bump
* Add new sample folders to CI
* Make primitive handling more explicit
* Replace escapedDataType property with Mustache lambda
* Update samples with new primitive handling and sanitization lambda
2024-03-30 21:08:41 +08:00
dependabot[bot]
eab34c9b3f
Bump actions/cache from 3 to 4 ( #17636 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 08:59:37 +08:00
dependabot[bot]
77127ecf65
Bump actions/setup-java from 3 to 4 ( #17252 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 13:50:10 +08:00
Vignesh
87b86c78dc
feat: Support useSingleRequestParameter feature for java microprofile client generation ( #17072 )
2023-11-21 11:56:11 +08:00
martin-mfg
b6db4f73f1
[JAVA] fix: oneOf generates incorrect model for primitive types ( #16834 )
...
* generate samples
* try fix
* add new sample for fixed case
* also improve native library
Other libraries don't need fixes.
* add oneOf_twoPrimitives.yaml
* generate samples
* resolve comment
2023-10-16 22:18:52 +08:00
William Cheng
a1d00e4785
[Java][okhttp-gson] fix AWS auth issue ( #16721 )
...
* fix samples
* fix awsauth in okhttp gson java client
* update github workflow
2023-10-04 18:28:50 +08:00
martin-mfg
1cff462d90
remove jersey 1 ( #16646 )
2023-09-26 09:10:11 +08:00
William Cheng
0f2a27d3c5
add tests for useAbstractionForFiles option (webclient, resttemplate) ( #16644 )
2023-09-22 12:51:50 +08:00
William Cheng
c614b9d9b1
[Java][resteasy] Add tests to upload files ( #16534 )
...
* add test to upload files (resteasy)
* remove resteasy tests from github workflow
2023-09-08 15:57:10 +08:00
dependabot[bot]
616e8df8d0
Bump actions/checkout from 3 to 4 ( #16505 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 09:50:08 +08:00
Théophane Charbonnier
057bc8e626
[Java][Client] Microprofile Jackson serialization ( #15940 )
2023-08-12 12:15:59 +08:00
Frederic Jones
59ba00e1f3
Add support for swagger2 in [java] client generators ( #15456 )
...
* Add support for swagger2 in java client generator
* Target 7.x.x
* Upstream changes
2023-06-06 15:41:12 +08:00
William Cheng
c514dc3c1b
add java native jakarta samples for test ( #14381 )
2023-01-05 21:55:53 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
a020170ff3
[java][client] Fix config, add more samples for testing ( #13912 )
...
* fix config, add more samples for testing
* update samples
2022-11-04 18:17:34 +08:00
William Cheng
3ae37e27a5
[java][okhttp-gson] fix validateJsonObject ( #13630 )
...
* fix required check in java okhttp client
* fix validateJsonObject in okhttp-gson, add test
* move java-micronaut-client to test circleci
2022-10-07 23:06:34 +08:00
William Cheng
74bb35d909
revise jdk11 java client tests ( #13626 )
2022-10-07 15:55:27 +08:00
William Cheng
2df68d9359
[Java][microprofile] update API test template to work with v3.0 ( #12177 )
...
* update microprofile api test to work with 3.0
* minor format change
* update samples
2022-04-20 15:18:45 +08:00
dependabot[bot]
5c1ad2a40b
Bump actions/setup-java from 2 to 3 ( #12087 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 09:32:16 +08:00
dependabot[bot]
8580e9fcf8
Bump actions/cache from 2.1.7 to 3 ( #11934 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 01:23:07 +08:00
dependabot[bot]
6ffe28d7f0
Bump actions/checkout from 2 to 3 ( #11764 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 16:31:39 +08:00
William Cheng
0a68d83f95
[Java] move some client tests to Github actions ( #11634 )
...
* more java client tests in github actino
* trigger build
* Revert "trigger build"
This reverts commit 023f8cc725b663490050899978b4d67f95495398.
* move java client tests to github action
2022-02-17 15:30:14 +08:00
William Cheng
896504de51
Test Java (native) client in JDK 11 ( #11599 )
...
* test java native client in jdk11
* test java natvie async
* remove java native from pom.xml
* revert changes
2022-02-13 19:23:57 +08:00