partial fix

This commit is contained in:
William Cheng
2024-10-19 15:10:45 +08:00
parent 38dac13c26
commit 277b43bcea
9287 changed files with 38670 additions and 67381 deletions

View File

@@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema {
}
}

View File

@@ -49,16 +49,15 @@ import org.openapitools.client.JSON;
* Bird
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class Bird {
public static final String SERIALIZED_NAME_SIZE = "size";
@SerializedName(SERIALIZED_NAME_SIZE)
@javax.annotation.Nullable
private String size;
@javax.annotation.Nullable private String size;
public static final String SERIALIZED_NAME_COLOR = "color";
@SerializedName(SERIALIZED_NAME_COLOR)
@javax.annotation.Nullable
private String color;
@javax.annotation.Nullable private String color;
public Bird() {
}
@@ -72,8 +71,7 @@ public class Bird {
* Get size
* @return size
*/
@javax.annotation.Nullable
public String getSize() {
@javax.annotation.Nullable public String getSize() {
return size;
}
@@ -91,8 +89,7 @@ public class Bird {
* Get color
* @return color
*/
@javax.annotation.Nullable
public String getColor() {
@javax.annotation.Nullable public String getColor() {
return color;
}
@@ -101,7 +98,6 @@ public class Bird {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -49,16 +49,15 @@ import org.openapitools.client.JSON;
* Category
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class Category {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@javax.annotation.Nullable
private Long id;
@javax.annotation.Nullable private Long id;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@javax.annotation.Nullable
private String name;
@javax.annotation.Nullable private String name;
public Category() {
}
@@ -72,8 +71,7 @@ public class Category {
* Get id
* @return id
*/
@javax.annotation.Nullable
public Long getId() {
@javax.annotation.Nullable public Long getId() {
return id;
}
@@ -91,8 +89,7 @@ public class Category {
* Get name
* @return name
*/
@javax.annotation.Nullable
public String getName() {
@javax.annotation.Nullable public String getName() {
return name;
}
@@ -101,7 +98,6 @@ public class Category {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -53,21 +53,19 @@ import org.openapitools.client.JSON;
* DataQuery
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class DataQuery extends Query {
public static final String SERIALIZED_NAME_SUFFIX = "suffix";
@SerializedName(SERIALIZED_NAME_SUFFIX)
@javax.annotation.Nullable
private String suffix;
@javax.annotation.Nullable private String suffix;
public static final String SERIALIZED_NAME_TEXT = "text";
@SerializedName(SERIALIZED_NAME_TEXT)
@javax.annotation.Nullable
private String text;
@javax.annotation.Nullable private String text;
public static final String SERIALIZED_NAME_DATE = "date";
@SerializedName(SERIALIZED_NAME_DATE)
@javax.annotation.Nullable
private OffsetDateTime date;
@javax.annotation.Nullable private OffsetDateTime date;
public DataQuery() {
}
@@ -81,8 +79,7 @@ public class DataQuery extends Query {
* test suffix
* @return suffix
*/
@javax.annotation.Nullable
public String getSuffix() {
@javax.annotation.Nullable public String getSuffix() {
return suffix;
}
@@ -100,8 +97,7 @@ public class DataQuery extends Query {
* Some text containing white spaces
* @return text
*/
@javax.annotation.Nullable
public String getText() {
@javax.annotation.Nullable public String getText() {
return text;
}
@@ -119,8 +115,7 @@ public class DataQuery extends Query {
* A date
* @return date
*/
@javax.annotation.Nullable
public OffsetDateTime getDate() {
@javax.annotation.Nullable public OffsetDateTime getDate() {
return date;
}
@@ -129,7 +124,6 @@ public class DataQuery extends Query {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -53,11 +53,11 @@ import org.openapitools.client.JSON;
* to test the default value of properties
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class DefaultValue {
public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default";
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT)
@javax.annotation.Nullable
private List<StringEnumRef> arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE));
@javax.annotation.Nullable private List<StringEnumRef> arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE));
/**
* Gets or Sets arrayStringEnumDefault
@@ -112,41 +112,33 @@ public class DefaultValue {
ArrayStringEnumDefaultEnum.fromValue(value);
}
}
public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default";
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT)
@javax.annotation.Nullable
private List<ArrayStringEnumDefaultEnum> arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE));
@javax.annotation.Nullable private List<ArrayStringEnumDefaultEnum> arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE));
public static final String SERIALIZED_NAME_ARRAY_STRING_DEFAULT = "array_string_default";
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_DEFAULT)
@javax.annotation.Nullable
private List<String> arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped"));
@javax.annotation.Nullable private List<String> arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped"));
public static final String SERIALIZED_NAME_ARRAY_INTEGER_DEFAULT = "array_integer_default";
@SerializedName(SERIALIZED_NAME_ARRAY_INTEGER_DEFAULT)
@javax.annotation.Nullable
private List<Integer> arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3));
@javax.annotation.Nullable private List<Integer> arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3));
public static final String SERIALIZED_NAME_ARRAY_STRING = "array_string";
@SerializedName(SERIALIZED_NAME_ARRAY_STRING)
@javax.annotation.Nullable
private List<String> arrayString = new ArrayList<>();
@javax.annotation.Nullable private List<String> arrayString = new ArrayList<>();
public static final String SERIALIZED_NAME_ARRAY_STRING_NULLABLE = "array_string_nullable";
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_NULLABLE)
@javax.annotation.Nullable
private List<String> arrayStringNullable;
@javax.annotation.Nullable private List<String> arrayStringNullable;
public static final String SERIALIZED_NAME_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable";
@SerializedName(SERIALIZED_NAME_ARRAY_STRING_EXTENSION_NULLABLE)
@javax.annotation.Nullable
private List<String> arrayStringExtensionNullable;
@javax.annotation.Nullable private List<String> arrayStringExtensionNullable;
public static final String SERIALIZED_NAME_STRING_NULLABLE = "string_nullable";
@SerializedName(SERIALIZED_NAME_STRING_NULLABLE)
@javax.annotation.Nullable
private String stringNullable;
@javax.annotation.Nullable private String stringNullable;
public DefaultValue() {
}
@@ -168,8 +160,7 @@ public class DefaultValue {
* Get arrayStringEnumRefDefault
* @return arrayStringEnumRefDefault
*/
@javax.annotation.Nullable
public List<StringEnumRef> getArrayStringEnumRefDefault() {
@javax.annotation.Nullable public List<StringEnumRef> getArrayStringEnumRefDefault() {
return arrayStringEnumRefDefault;
}
@@ -195,8 +186,7 @@ public class DefaultValue {
* Get arrayStringEnumDefault
* @return arrayStringEnumDefault
*/
@javax.annotation.Nullable
public List<ArrayStringEnumDefaultEnum> getArrayStringEnumDefault() {
@javax.annotation.Nullable public List<ArrayStringEnumDefaultEnum> getArrayStringEnumDefault() {
return arrayStringEnumDefault;
}
@@ -222,8 +212,7 @@ public class DefaultValue {
* Get arrayStringDefault
* @return arrayStringDefault
*/
@javax.annotation.Nullable
public List<String> getArrayStringDefault() {
@javax.annotation.Nullable public List<String> getArrayStringDefault() {
return arrayStringDefault;
}
@@ -249,8 +238,7 @@ public class DefaultValue {
* Get arrayIntegerDefault
* @return arrayIntegerDefault
*/
@javax.annotation.Nullable
public List<Integer> getArrayIntegerDefault() {
@javax.annotation.Nullable public List<Integer> getArrayIntegerDefault() {
return arrayIntegerDefault;
}
@@ -276,8 +264,7 @@ public class DefaultValue {
* Get arrayString
* @return arrayString
*/
@javax.annotation.Nullable
public List<String> getArrayString() {
@javax.annotation.Nullable public List<String> getArrayString() {
return arrayString;
}
@@ -303,8 +290,7 @@ public class DefaultValue {
* Get arrayStringNullable
* @return arrayStringNullable
*/
@javax.annotation.Nullable
public List<String> getArrayStringNullable() {
@javax.annotation.Nullable public List<String> getArrayStringNullable() {
return arrayStringNullable;
}
@@ -330,8 +316,7 @@ public class DefaultValue {
* Get arrayStringExtensionNullable
* @return arrayStringExtensionNullable
*/
@javax.annotation.Nullable
public List<String> getArrayStringExtensionNullable() {
@javax.annotation.Nullable public List<String> getArrayStringExtensionNullable() {
return arrayStringExtensionNullable;
}
@@ -349,8 +334,7 @@ public class DefaultValue {
* Get stringNullable
* @return stringNullable
*/
@javax.annotation.Nullable
public String getStringNullable() {
@javax.annotation.Nullable public String getStringNullable() {
return stringNullable;
}
@@ -359,7 +343,6 @@ public class DefaultValue {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -50,21 +50,19 @@ import org.openapitools.client.JSON;
* NumberPropertiesOnly
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class NumberPropertiesOnly {
public static final String SERIALIZED_NAME_NUMBER = "number";
@SerializedName(SERIALIZED_NAME_NUMBER)
@javax.annotation.Nullable
private BigDecimal number;
@javax.annotation.Nullable private BigDecimal number;
public static final String SERIALIZED_NAME_FLOAT = "float";
@SerializedName(SERIALIZED_NAME_FLOAT)
@javax.annotation.Nullable
private Float _float;
@javax.annotation.Nullable private Float _float;
public static final String SERIALIZED_NAME_DOUBLE = "double";
@SerializedName(SERIALIZED_NAME_DOUBLE)
@javax.annotation.Nullable
private Double _double;
@javax.annotation.Nullable private Double _double;
public NumberPropertiesOnly() {
}
@@ -78,8 +76,7 @@ public class NumberPropertiesOnly {
* Get number
* @return number
*/
@javax.annotation.Nullable
public BigDecimal getNumber() {
@javax.annotation.Nullable public BigDecimal getNumber() {
return number;
}
@@ -97,8 +94,7 @@ public class NumberPropertiesOnly {
* Get _float
* @return _float
*/
@javax.annotation.Nullable
public Float getFloat() {
@javax.annotation.Nullable public Float getFloat() {
return _float;
}
@@ -118,8 +114,7 @@ public class NumberPropertiesOnly {
* maximum: 50.2
* @return _double
*/
@javax.annotation.Nullable
public Double getDouble() {
@javax.annotation.Nullable public Double getDouble() {
return _double;
}
@@ -128,7 +123,6 @@ public class NumberPropertiesOnly {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -53,31 +53,27 @@ import org.openapitools.client.JSON;
* Pet
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class Pet {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@javax.annotation.Nullable
private Long id;
@javax.annotation.Nullable private Long id;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@javax.annotation.Nonnull
private String name;
@javax.annotation.Nonnull private String name;
public static final String SERIALIZED_NAME_CATEGORY = "category";
@SerializedName(SERIALIZED_NAME_CATEGORY)
@javax.annotation.Nullable
private Category category;
@javax.annotation.Nullable private Category category;
public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls";
@SerializedName(SERIALIZED_NAME_PHOTO_URLS)
@javax.annotation.Nonnull
private List<String> photoUrls = new ArrayList<>();
@javax.annotation.Nonnull private List<String> photoUrls = new ArrayList<>();
public static final String SERIALIZED_NAME_TAGS = "tags";
@SerializedName(SERIALIZED_NAME_TAGS)
@javax.annotation.Nullable
private List<Tag> tags = new ArrayList<>();
@javax.annotation.Nullable private List<Tag> tags = new ArrayList<>();
/**
* pet status in the store
@@ -132,11 +128,9 @@ public class Pet {
StatusEnum.fromValue(value);
}
}
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
@javax.annotation.Nullable
private StatusEnum status;
@javax.annotation.Nullable private StatusEnum status;
public Pet() {
}
@@ -150,8 +144,7 @@ public class Pet {
* Get id
* @return id
*/
@javax.annotation.Nullable
public Long getId() {
@javax.annotation.Nullable public Long getId() {
return id;
}
@@ -169,8 +162,7 @@ public class Pet {
* Get name
* @return name
*/
@javax.annotation.Nonnull
public String getName() {
@javax.annotation.Nonnull public String getName() {
return name;
}
@@ -188,8 +180,7 @@ public class Pet {
* Get category
* @return category
*/
@javax.annotation.Nullable
public Category getCategory() {
@javax.annotation.Nullable public Category getCategory() {
return category;
}
@@ -215,8 +206,7 @@ public class Pet {
* Get photoUrls
* @return photoUrls
*/
@javax.annotation.Nonnull
public List<String> getPhotoUrls() {
@javax.annotation.Nonnull public List<String> getPhotoUrls() {
return photoUrls;
}
@@ -242,8 +232,7 @@ public class Pet {
* Get tags
* @return tags
*/
@javax.annotation.Nullable
public List<Tag> getTags() {
@javax.annotation.Nullable public List<Tag> getTags() {
return tags;
}
@@ -261,8 +250,7 @@ public class Pet {
* pet status in the store
* @return status
*/
@javax.annotation.Nullable
public StatusEnum getStatus() {
@javax.annotation.Nullable public StatusEnum getStatus() {
return status;
}
@@ -271,7 +259,6 @@ public class Pet {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -51,11 +51,11 @@ import org.openapitools.client.JSON;
* Query
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class Query {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@javax.annotation.Nullable
private Long id;
@javax.annotation.Nullable private Long id;
/**
* Gets or Sets outcomes
@@ -110,11 +110,9 @@ public class Query {
OutcomesEnum.fromValue(value);
}
}
public static final String SERIALIZED_NAME_OUTCOMES = "outcomes";
@SerializedName(SERIALIZED_NAME_OUTCOMES)
@javax.annotation.Nullable
private List<OutcomesEnum> outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE));
@javax.annotation.Nullable private List<OutcomesEnum> outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE));
public Query() {
}
@@ -128,8 +126,7 @@ public class Query {
* Query
* @return id
*/
@javax.annotation.Nullable
public Long getId() {
@javax.annotation.Nullable public Long getId() {
return id;
}
@@ -155,8 +152,7 @@ public class Query {
* Get outcomes
* @return outcomes
*/
@javax.annotation.Nullable
public List<OutcomesEnum> getOutcomes() {
@javax.annotation.Nullable public List<OutcomesEnum> getOutcomes() {
return outcomes;
}
@@ -165,7 +161,6 @@ public class Query {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -49,16 +49,15 @@ import org.openapitools.client.JSON;
* Tag
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class Tag {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@javax.annotation.Nullable
private Long id;
@javax.annotation.Nullable private Long id;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@javax.annotation.Nullable
private String name;
@javax.annotation.Nullable private String name;
public Tag() {
}
@@ -72,8 +71,7 @@ public class Tag {
* Get id
* @return id
*/
@javax.annotation.Nullable
public Long getId() {
@javax.annotation.Nullable public Long getId() {
return id;
}
@@ -91,8 +89,7 @@ public class Tag {
* Get name
* @return name
*/
@javax.annotation.Nullable
public String getName() {
@javax.annotation.Nullable public String getName() {
return name;
}
@@ -101,7 +98,6 @@ public class Tag {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -49,11 +49,11 @@ import org.openapitools.client.JSON;
* TestFormObjectMultipartRequestMarker
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class TestFormObjectMultipartRequestMarker {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@javax.annotation.Nullable
private String name;
@javax.annotation.Nullable private String name;
public TestFormObjectMultipartRequestMarker() {
}
@@ -67,8 +67,7 @@ public class TestFormObjectMultipartRequestMarker {
* Get name
* @return name
*/
@javax.annotation.Nullable
public String getName() {
@javax.annotation.Nullable public String getName() {
return name;
}
@@ -77,7 +76,6 @@ public class TestFormObjectMultipartRequestMarker {
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -49,26 +49,23 @@ import org.openapitools.client.JSON;
* TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter {
public static final String SERIALIZED_NAME_SIZE = "size";
@SerializedName(SERIALIZED_NAME_SIZE)
@javax.annotation.Nullable
private String size;
@javax.annotation.Nullable private String size;
public static final String SERIALIZED_NAME_COLOR = "color";
@SerializedName(SERIALIZED_NAME_COLOR)
@javax.annotation.Nullable
private String color;
@javax.annotation.Nullable private String color;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@javax.annotation.Nullable
private Long id;
@javax.annotation.Nullable private Long id;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@javax.annotation.Nullable
private String name;
@javax.annotation.Nullable private String name;
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
}
@@ -82,8 +79,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
* Get size
* @return size
*/
@javax.annotation.Nullable
public String getSize() {
@javax.annotation.Nullable public String getSize() {
return size;
}
@@ -101,8 +97,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
* Get color
* @return color
*/
@javax.annotation.Nullable
public String getColor() {
@javax.annotation.Nullable public String getColor() {
return color;
}
@@ -120,8 +115,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
* Get id
* @return id
*/
@javax.annotation.Nullable
public Long getId() {
@javax.annotation.Nullable public Long getId() {
return id;
}
@@ -139,8 +133,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
* Get name
* @return name
*/
@javax.annotation.Nullable
public String getName() {
@javax.annotation.Nullable public String getName() {
return name;
}
@@ -149,7 +142,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@@ -51,11 +51,11 @@ import org.openapitools.client.JSON;
* TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
public static final String SERIALIZED_NAME_VALUES = "values";
@SerializedName(SERIALIZED_NAME_VALUES)
@javax.annotation.Nullable
private List<String> values = new ArrayList<>();
@javax.annotation.Nullable private List<String> values = new ArrayList<>();
public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
}
@@ -77,8 +77,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
* Get values
* @return values
*/
@javax.annotation.Nullable
public List<String> getValues() {
@javax.annotation.Nullable public List<String> getValues() {
return values;
}
@@ -87,7 +86,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
}
@Override
public boolean equals(Object o) {
if (this == o) {