You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[REQ][Java] useRecords beyond Spring: shared logic and the java client #25494
#10490 asks for Java models as records. useRecords for Spring is on master for 7.27.0, with allOf open in #25492. I'd like to offer the same option in the java client: restclient, webclient and native first, okhttp-gson last, one library per PR.
flowchart LR
H["record decision in one helper"] --> S["spring: on master"]
H --> J["java client: library by library"]
Loading
The first PR only moves that decision out of SpringCodegen, and regenerating the samples must change no file; the other Java generators never reach it. Gson is untried, and if this doesn't fit, useRecords stays Spring-only. @martin-mfg@KannaKim@Zomzog, go or no-go before I start?
Activity
KannaKim commentedon Oct 31, 2026
This sounds like a good update to me. Do you have any thought on this @wing328
jpfinne commentedon Nov 1, 2026
A small improvement: Add java 17 support to JavaFileAssert. This can be done by upgrading javaparser-core to 3.28.2.
in JavaFileAssert: