Add new option allArgConstructor for java client, spring generators (#18538)

* allArgConstructor for java

* Remove leftover from builder pattern branch

* Rename generateConstructorWithAllArgs and use x- in vendorExtensions

* Test issue #18340

* Add evidences for allVars issue (#18340)

* remove eol

* update doc

---------

Co-authored-by: jpfinne <jeanpaul@finne.be>
This commit is contained in:
William Cheng
2024-05-01 18:10:35 +08:00
committed by GitHub
parent 98d026118c
commit 2a1b4f90df
565 changed files with 1715 additions and 1869 deletions

View File

@@ -91,7 +91,6 @@ public class ByteArrayObject {
this.nullableArray = JsonNullable.<byte[]>of(nullableArray);
}
public ByteArrayObject normalArray(byte[] normalArray) {
this.normalArray = normalArray;
@@ -117,7 +116,6 @@ public class ByteArrayObject {
this.normalArray = normalArray;
}
public ByteArrayObject nullableString(String nullableString) {
this.nullableString = JsonNullable.<String>of(nullableString);
@@ -151,7 +149,6 @@ public class ByteArrayObject {
this.nullableString = JsonNullable.<String>of(nullableString);
}
public ByteArrayObject stringField(String stringField) {
this.stringField = stringField;
@@ -177,7 +174,6 @@ public class ByteArrayObject {
this.stringField = stringField;
}
public ByteArrayObject intField(BigDecimal intField) {
this.intField = intField;