William Cheng
1e614d4b96
update samples
2025-10-31 16:07:52 +08:00
Marcel Jacek
66b742038a
fix(java): default values from allOfs are not correctly definied ( #22200 )
...
* fix: extend check for default values of integer and number schema
* add testcases to openapi specs
* generate java clients with the updated fix
2025-10-31 15:58:20 +08:00
William Cheng
f9d2b8b579
Prepare v7.18.0 release ( #22250 )
...
* Revert "v7.17.0 release (#22248 )"
This reverts commit 0120486e6207b41cdd18b89eaf25f061ac87195a.
* prepare v7.18.0 release
* update samples
* update doc
2025-10-30 01:25:35 +08:00
William Cheng
9d810e0fbb
update jackson databind nullable to v0.2.8 ( #22230 )
2025-10-27 00:35:51 +08:00
William Cheng
6eff628139
update logback to newer versions ( #22204 )
2025-10-22 18:51:38 +08:00
jheyens
ce1e9e0866
Jersey2/3: Fixes a bug in OAuth token renewal, where the previous HTTP 401 code is reused even after the retry succeeds ( #22134 )
...
* Jersey2/3: Fix a bug where, when using OAuth, the HTTP 401 status code persisted even if the second request after renewing the Bearer access token succeeded
* Jersey2/3: Regenerate samples
2025-10-16 16:32:05 +08:00
William Cheng
08da0abfca
remove unused files in java samples ( #22105 )
2025-10-11 00:51:11 +08:00
Artem Shubovych
fb277f82d5
[java] [spring] Fix annotationLibrary option being ignored in spring generator ( #22046 )
...
* Fix annotationLibrary option being ignored in spring generator
* Generate sample code
* Sample generator weirdness
* Revert "Sample generator weirdness"
2025-10-11 00:15:04 +08:00
Timo Schwarz
b8d805980a
Spring 7 WebClient Compatibility ( #22030 )
...
* Update Spring Boot dependency for WebClient
* Adapt WebClient ApiClient to change in HttpHeaders with Spring 7
---------
Co-authored-by: Timo Schwarz <timo.schwarz@bredex.de>
2025-10-06 21:07:57 +08:00
William Cheng
885ea07b17
Prepare 7.17.0 ( #22040 )
...
* Revert "v7.16.0 release"
This reverts commit 31299af0fcaafe6c3ab848320e230a00ce8ea9e5.
* prepare 7.17.0-SNAPSHOT
* update doc, samples
2025-09-28 17:25:13 +08:00
Tilman Holube
75804e4e31
Bump Jackson to 2.19.2 and databind-nullable to 0.2.7 ( #22017 )
2025-09-24 13:49:19 +08:00
William Cheng
f1a273de16
Test Java clients with Petstore server in Github workflow ( #22003 )
...
* test java clients with petstore in github workflow
* update
* clean up
2025-09-21 00:00:52 +08:00
Mattias Sehlstedt
73c8728343
[Java] [Spring-client] Exclude discriminator from nullable annotation ( #21981 )
...
* Exclude the discriminator from getting a nullable-annotation
* Update samples
2025-09-19 14:50:58 +08:00
William Cheng
7dcef20355
update java samples
2025-09-16 10:05:15 +08:00
William Cheng
5efe16c66b
[java] Update rest-assured dependencies to newer versions ( #21961 )
...
* update rest-assured dep to newer versions
* update build
2025-09-13 16:32:31 +08:00
Ruben Hönle
278d7ae4c9
java-client: fix some javadoc comments ( #21932 )
...
* java-client: fix some javadoc comments
* update samples
2025-09-10 01:44:36 +08:00
William Cheng
6e443f1354
fix: honor required fields in jackson @JsonProperty annotations ( #21876 )
...
* fix: honor required fields in jackson @JsonProperty annotations
* add samples
* fix: trigger build
* fix: undo
* update to handle nullable as well
---------
Co-authored-by: Erik Lagerholm <erik.lagerholm@volvocars.com>
2025-09-03 16:41:59 +08:00
Jochen Schalanda
babb3e272b
[Java] Add missing Locale to String.format() invocations ( #21871 )
...
* [Java] Add missing Locale to String.format() invocations
* chore: ./bin/generate-samples.sh ./bin/configs/*.yaml
2025-09-03 14:52:49 +08:00
Jochen Schalanda
d1df75c61d
[Java] Remove unnecessary String.format from jersey2, jersey3, native ( #21870 )
2025-09-03 14:17:49 +08:00
fkellner
efd06f5719
Fix bug in ModelUtils.getParentName resulting in wrong inner Models for oneOf-composed schemas ( #21799 )
...
* Test Cases for more than two oneOf-Options (both passing, but important to narrow down observed bug)
* fix language-specific tests broken by adding a third fruit to oneOf test
* create reproducer unit test for java client codegen
* fix typo in test yaml
* fix ModelUtils.getParentName returning name of first element in composed schema instead of null when there are multiple elements and it is not clear which one should be parent
* rename test yaml and added tests for clarity
* update samples
* update samples again
2025-09-02 15:26:26 +08:00
GregDThomas
814f406472
Fix #20370 by adding an OAuth access token supplier ( #21800 )
2025-08-26 14:41:45 +08:00
William Cheng
20be2decde
Prepare v7.16.0 release ( #21794 )
...
* Revert "v7.15.0 release (#21792 )"
This reverts commit 2c816f89cbd6c4670aaf6e3387c88daadae6cbad.
* prepare 7.15.0 release
* update samples
2025-08-22 19:17:23 +08:00
Adam Juraszek
dbe0419034
[Java][HttpClient] Fix memory leak with virtual threads ( #21729 ) ( #21752 )
2025-08-22 14:41:12 +08:00
Mattias Sehlstedt
2513d82989
Exclude the discriminator field from getting a nullable_var_annotations ( #21155 )
...
* Exclude the discriminator field from getting a nullable_var_annotations
* Update samples
* Manually add annotations since the remote pipeline insists that they should be there
* Add description for why the discriminator does not have a nullability-annotation
* Update samples
2025-08-16 18:08:22 +08:00
William Cheng
fe5305f2cf
add tests for uuid in oneOf/anyOf (java okhttp-gson) ( #21763 )
2025-08-16 12:23:04 +08:00
Mattias Sehlstedt
4d9fd4df92
Support Json-serialized query parameters in Spring client RestClient and WebClient ( #21725 )
...
* Add so that a query parameter can be serialized as Json in the Spring clients RestClient and WebClient
* Update samples
* Add clientCodeGen test
2025-08-12 10:26:33 +08:00
William Cheng
89a108aca0
Default nested array to null in java generators ( #21713 )
...
* default nested array to null in java generators
* add test schema
2025-08-08 15:59:16 +08:00
phactum-mnestler
f659457f90
[spring] Adapt HttpHeaders access to remain compatible with Spring 7 ( #21691 )
...
* [spring] Adapt HttpHeaders access to remain compatible with Spring 7
* update pom.xml patch version
2025-08-06 15:46:37 +08:00
Rui Ventura
bf6e83ea63
feat(java): Generate servers for restclient library ( #21699 )
2025-08-06 15:36:38 +08:00
Iurii Ignatko
f5da0ea4a1
Remove [this-escape] warnings in generated ApiClient classes ( #21620 )
2025-07-28 16:43:14 +08:00
Ilya Nemtsev
ef22749345
[Java][native] Add ability to add header to specific calls ( #21495 )
...
* add bearer capability
* avoid using shared state
* revert needless change
* Revert authentication changes from unused root Java/api.mustache template
* applied change to correct lib type
* updated test files
* made security method more generic for flexibility
* regenerated samples
* further cleanup
* code style
* regenerated samples
* made header assignment more explicit, per each method
* fixed extra comma
* fixed commas, regenerated samples
* moved header population to utility method
* moved static class inside main class
* regenerated samples
* added comments, fixed indentation
* regenerated samples
---------
Co-authored-by: Ilya Nemtsev <ilyanemtsev@192.168.1.34>
2025-07-27 11:18:39 +08:00
William Cheng
0f305a5958
update reactor netty to newer version ( #21574 )
2025-07-17 13:09:03 +08:00
Mikko Maunu
d82ca75cc3
Type check of array element only when array is not empty. fix #21276 ( #21571 )
2025-07-17 01:30:31 +08:00
Mikko Maunu
faf6924f63
Regular comment instead of document comment before package declaration. fix #21496 ( #21572 )
2025-07-17 01:29:18 +08:00
William Cheng
d63459c051
update common langs dep to newer version ( #21552 )
2025-07-14 17:11:11 +08:00
William Dutton
6fdb632fb9
fix : #21345 Java Native Client, handle Byte[] and File response types correctly ( #21346 )
2025-07-04 00:34:08 +08:00
Jochen Schalanda
311233d804
[Java][MicroProfile] Support additionalProperties with Jackson ( #21451 )
...
Refs #20853
Refs #20947
2025-07-02 15:52:58 +08:00
Mattias Sehlstedt
050dcae3ab
Move the singleRequestParameter template into a separate file ( #21489 )
...
* Move the singleRequestParameter template into a separate file
* Update formatting of non-singleRequestParameter webclient and restclient samples
2025-07-02 15:18:52 +08:00
Jorren Hendriks
304b3cbcaa
[Java][Native] Fix POJOs with additionalProperties incorrectly extending HashMap ( #21367 )
...
* [Java][Native] Fix POJO with additionalProperties to not extend HashMap
* [Java][Native] Update samples to remove HashMap extension
2025-06-29 17:46:37 +08:00
William Cheng
c010c89915
update samples
2025-06-27 00:39:13 +08:00
Ron Reynolds
cfe476f32d
immutable Pair, better performant HttpBearerAuth, consistent code-style ( #20743 )
...
* make Pair immutable and in google-code-style
* apply google-code-style to JavaTimeFormatter (to make it consistent with most other auto-generated java)
* move upperCaseBearer to ctor (scheme is final and private; only needs to be fixed once); also replaced Optional with ternary (perf and cleaner code)
* apply google-code-style to Authentication to make it consistent with rest of auth code
* fresh samples
2025-06-26 17:10:36 +08:00
William Cheng
046be5dba1
Prepare 7.15.0 ( #21445 )
...
* Revert "v7.14.0 release (#21443 )"
This reverts commit 5eb083e5ce1dd99659fadc03d7c6e809d3077af6.
* prepare v7.15.0 snapshot
* update samples
* update readme
* update doc
2025-06-25 21:34:58 +08:00
Steven Blakowski
cef971cf9a
[Java][RestTemplate] Gradle Build include non-compatible Spring Dependency with jakarta disabled ( #21426 )
...
* [Java][resttemplate] fix spring-web dependency for gradle without jakarta enabled
* fix samples
2025-06-19 16:11:37 +08:00
William Cheng
623463a6ed
[Java] Fix content for enum in MultiPart ( #21428 )
...
* [Java] Fix content for enum in addPartToMultiPartBuilder ([#19973 ](https://github.com/OpenAPITools/openapi-generator/issues/19973 ))
* [Java] Fix content for enum with restclient (#19973 )
* [Java] Fix content for enum with restclient (#19973 )
* [Java] Fix content for enum with restclient (#19973 )
* update samples
---------
Co-authored-by: Michael Bornholdt Nielsen <michaelbornholdtnielsen@gmail.com>
Co-authored-by: Michael Bornholdt Nielsen <jarryDk@users.noreply.github.com>
2025-06-18 16:52:54 +08:00
William Cheng
055687935b
update spring web version in resttemplate ( #21417 )
2025-06-16 10:20:01 +08:00
oscarobr
8087f2b365
[Java][vertx] fix path param encoding ( #21403 )
...
* Issue:21401 Fix Java vertx path param encoding
* Generate samples
2025-06-12 19:29:18 +08:00
William Cheng
b57c23b121
update java restemplate dependencies to newer versions ( #21368 )
2025-06-04 02:28:52 +08:00
William Dutton
b929970db2
fix : #21329 Java Native, Provide Null Check before toString on param variables ( #21330 )
...
* fix : #21329 Java Native, Provide Null Check before toString on param variables
* #21329 - Samples Generated
2025-06-02 16:56:22 +08:00
Nicklas Wiegandt
5997acb592
feat (JAVA NATIVE): add support for useSingleRequestParameter to java native client ( #21331 )
2025-06-02 15:36:59 +08:00
William Cheng
bce88c93ba
update swagger pareer to 2.1.28 ( #21325 )
2025-06-02 15:33:27 +08:00