forked from loafle/openapi-generator-original
partial fix
This commit is contained in:
@@ -11,4 +11,3 @@
|
||||
|**color** | **String** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,4 +11,3 @@
|
||||
|**name** | **String** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@
|
||||
|**date** | **Instant** | A date | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -28,4 +28,3 @@ to test the default value of properties
|
||||
| UNCLASSIFIED | "unclassified" |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@
|
||||
|**_double** | **Double** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -25,4 +25,3 @@
|
||||
| SOLD | "sold" |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -21,4 +21,3 @@
|
||||
| SKIPPED | "SKIPPED" |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@
|
||||
* `UNCLASSIFIED` (value: `"unclassified"`)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,4 +11,3 @@
|
||||
|**name** | **String** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,4 +10,3 @@
|
||||
|**name** | **String** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,4 +13,3 @@
|
||||
|**name** | **String** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,4 +10,3 @@
|
||||
|**values** | **List<String>** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -143,5 +143,4 @@ public abstract class AbstractOpenApiSchema {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient;
|
||||
Bird.JSON_PROPERTY_COLOR
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class Bird {
|
||||
public static final String JSON_PROPERTY_SIZE = "size";
|
||||
@javax.annotation.Nullable
|
||||
private String size;
|
||||
@javax.annotation.Nullable private String size;
|
||||
|
||||
public static final String JSON_PROPERTY_COLOR = "color";
|
||||
@javax.annotation.Nullable
|
||||
private String color;
|
||||
@javax.annotation.Nullable private String color;
|
||||
|
||||
public Bird() {
|
||||
}
|
||||
@@ -58,8 +57,7 @@ public class Bird {
|
||||
* Get size
|
||||
* @return size
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SIZE)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getSize() {
|
||||
return size;
|
||||
@@ -82,8 +80,7 @@ public class Bird {
|
||||
* Get color
|
||||
* @return color
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getColor() {
|
||||
return color;
|
||||
@@ -96,7 +93,6 @@ public class Bird {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this Bird object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient;
|
||||
Category.JSON_PROPERTY_NAME
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class Category {
|
||||
public static final String JSON_PROPERTY_ID = "id";
|
||||
@javax.annotation.Nullable
|
||||
private Long id;
|
||||
@javax.annotation.Nullable private Long id;
|
||||
|
||||
public static final String JSON_PROPERTY_NAME = "name";
|
||||
@javax.annotation.Nullable
|
||||
private String name;
|
||||
@javax.annotation.Nullable private String name;
|
||||
|
||||
public Category() {
|
||||
}
|
||||
@@ -58,8 +57,7 @@ public class Category {
|
||||
* Get id
|
||||
* @return id
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -82,8 +80,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -96,7 +93,6 @@ public class Category {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this Category object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -42,18 +42,16 @@ import org.openapitools.client.ApiClient;
|
||||
DataQuery.JSON_PROPERTY_DATE
|
||||
})
|
||||
@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 JSON_PROPERTY_SUFFIX = "suffix";
|
||||
@javax.annotation.Nullable
|
||||
private String suffix;
|
||||
@javax.annotation.Nullable private String suffix;
|
||||
|
||||
public static final String JSON_PROPERTY_TEXT = "text";
|
||||
@javax.annotation.Nullable
|
||||
private String text;
|
||||
@javax.annotation.Nullable private String text;
|
||||
|
||||
public static final String JSON_PROPERTY_DATE = "date";
|
||||
@javax.annotation.Nullable
|
||||
private Instant date;
|
||||
@javax.annotation.Nullable private Instant date;
|
||||
|
||||
public DataQuery() {
|
||||
}
|
||||
@@ -67,8 +65,7 @@ public class DataQuery extends Query {
|
||||
* test suffix
|
||||
* @return suffix
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SUFFIX)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUFFIX)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getSuffix() {
|
||||
return suffix;
|
||||
@@ -91,8 +88,7 @@ public class DataQuery extends Query {
|
||||
* Some text containing white spaces
|
||||
* @return text
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_TEXT)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getText() {
|
||||
return text;
|
||||
@@ -115,8 +111,7 @@ public class DataQuery extends Query {
|
||||
* A date
|
||||
* @return date
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DATE)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Instant getDate() {
|
||||
return date;
|
||||
@@ -129,7 +124,6 @@ public class DataQuery extends Query {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public DataQuery id(@javax.annotation.Nullable Long id) {
|
||||
this.setId(id);
|
||||
|
||||
@@ -50,10 +50,10 @@ import org.openapitools.client.ApiClient;
|
||||
DefaultValue.JSON_PROPERTY_STRING_NULLABLE
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class DefaultValue {
|
||||
public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "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
|
||||
@@ -91,22 +91,17 @@ public class DefaultValue {
|
||||
throw new IllegalArgumentException("Unexpected value '" + value + "'");
|
||||
}
|
||||
}
|
||||
|
||||
public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "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 JSON_PROPERTY_ARRAY_STRING_DEFAULT = "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 JSON_PROPERTY_ARRAY_INTEGER_DEFAULT = "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 JSON_PROPERTY_ARRAY_STRING = "array_string";
|
||||
@javax.annotation.Nullable
|
||||
private List<String> arrayString = new ArrayList<>();
|
||||
@javax.annotation.Nullable private List<String> arrayString = new ArrayList<>();
|
||||
|
||||
public static final String JSON_PROPERTY_ARRAY_STRING_NULLABLE = "array_string_nullable";
|
||||
private JsonNullable<List<String>> arrayStringNullable = JsonNullable.<List<String>>undefined();
|
||||
@@ -137,8 +132,7 @@ public class DefaultValue {
|
||||
* Get arrayStringEnumRefDefault
|
||||
* @return arrayStringEnumRefDefault
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<StringEnumRef> getArrayStringEnumRefDefault() {
|
||||
return arrayStringEnumRefDefault;
|
||||
@@ -169,8 +163,7 @@ public class DefaultValue {
|
||||
* Get arrayStringEnumDefault
|
||||
* @return arrayStringEnumDefault
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<ArrayStringEnumDefaultEnum> getArrayStringEnumDefault() {
|
||||
return arrayStringEnumDefault;
|
||||
@@ -201,8 +194,7 @@ public class DefaultValue {
|
||||
* Get arrayStringDefault
|
||||
* @return arrayStringDefault
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<String> getArrayStringDefault() {
|
||||
return arrayStringDefault;
|
||||
@@ -233,8 +225,7 @@ public class DefaultValue {
|
||||
* Get arrayIntegerDefault
|
||||
* @return arrayIntegerDefault
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<Integer> getArrayIntegerDefault() {
|
||||
return arrayIntegerDefault;
|
||||
@@ -265,8 +256,7 @@ public class DefaultValue {
|
||||
* Get arrayString
|
||||
* @return arrayString
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_STRING)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<String> getArrayString() {
|
||||
return arrayString;
|
||||
@@ -301,15 +291,13 @@ public class DefaultValue {
|
||||
* Get arrayStringNullable
|
||||
* @return arrayStringNullable
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonIgnore
|
||||
@javax.annotation.Nullable @JsonIgnore
|
||||
public List<String> getArrayStringNullable() {
|
||||
return arrayStringNullable.orElse(null);
|
||||
}
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public JsonNullable<List<String>> getArrayStringNullable_JsonNullable() {
|
||||
return arrayStringNullable;
|
||||
}
|
||||
@@ -345,15 +333,13 @@ public class DefaultValue {
|
||||
* Get arrayStringExtensionNullable
|
||||
* @return arrayStringExtensionNullable
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonIgnore
|
||||
@javax.annotation.Nullable @JsonIgnore
|
||||
public List<String> getArrayStringExtensionNullable() {
|
||||
return arrayStringExtensionNullable.orElse(null);
|
||||
}
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public JsonNullable<List<String>> getArrayStringExtensionNullable_JsonNullable() {
|
||||
return arrayStringExtensionNullable;
|
||||
}
|
||||
@@ -377,15 +363,13 @@ public class DefaultValue {
|
||||
* Get stringNullable
|
||||
* @return stringNullable
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonIgnore
|
||||
@javax.annotation.Nullable @JsonIgnore
|
||||
public String getStringNullable() {
|
||||
return stringNullable.orElse(null);
|
||||
}
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STRING_NULLABLE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public JsonNullable<String> getStringNullable_JsonNullable() {
|
||||
return stringNullable;
|
||||
}
|
||||
@@ -399,7 +383,6 @@ public class DefaultValue {
|
||||
this.stringNullable = JsonNullable.<String>of(stringNullable);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this DefaultValue object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -39,18 +39,16 @@ import org.openapitools.client.ApiClient;
|
||||
NumberPropertiesOnly.JSON_PROPERTY_DOUBLE
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class NumberPropertiesOnly {
|
||||
public static final String JSON_PROPERTY_NUMBER = "number";
|
||||
@javax.annotation.Nullable
|
||||
private BigDecimal number;
|
||||
@javax.annotation.Nullable private BigDecimal number;
|
||||
|
||||
public static final String JSON_PROPERTY_FLOAT = "float";
|
||||
@javax.annotation.Nullable
|
||||
private Float _float;
|
||||
@javax.annotation.Nullable private Float _float;
|
||||
|
||||
public static final String JSON_PROPERTY_DOUBLE = "double";
|
||||
@javax.annotation.Nullable
|
||||
private Double _double;
|
||||
@javax.annotation.Nullable private Double _double;
|
||||
|
||||
public NumberPropertiesOnly() {
|
||||
}
|
||||
@@ -64,8 +62,7 @@ public class NumberPropertiesOnly {
|
||||
* Get number
|
||||
* @return number
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NUMBER)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public BigDecimal getNumber() {
|
||||
return number;
|
||||
@@ -88,8 +85,7 @@ public class NumberPropertiesOnly {
|
||||
* Get _float
|
||||
* @return _float
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_FLOAT)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Float getFloat() {
|
||||
return _float;
|
||||
@@ -114,8 +110,7 @@ public class NumberPropertiesOnly {
|
||||
* maximum: 50.2
|
||||
* @return _double
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DOUBLE)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Double getDouble() {
|
||||
return _double;
|
||||
@@ -128,7 +123,6 @@ public class NumberPropertiesOnly {
|
||||
this._double = _double;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this NumberPropertiesOnly object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -45,26 +45,22 @@ import org.openapitools.client.ApiClient;
|
||||
Pet.JSON_PROPERTY_STATUS
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class Pet {
|
||||
public static final String JSON_PROPERTY_ID = "id";
|
||||
@javax.annotation.Nullable
|
||||
private Long id;
|
||||
@javax.annotation.Nullable private Long id;
|
||||
|
||||
public static final String JSON_PROPERTY_NAME = "name";
|
||||
@javax.annotation.Nonnull
|
||||
private String name;
|
||||
@javax.annotation.Nonnull private String name;
|
||||
|
||||
public static final String JSON_PROPERTY_CATEGORY = "category";
|
||||
@javax.annotation.Nullable
|
||||
private Category category;
|
||||
@javax.annotation.Nullable private Category category;
|
||||
|
||||
public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls";
|
||||
@javax.annotation.Nonnull
|
||||
private List<String> photoUrls = new ArrayList<>();
|
||||
@javax.annotation.Nonnull private List<String> photoUrls = new ArrayList<>();
|
||||
|
||||
public static final String JSON_PROPERTY_TAGS = "tags";
|
||||
@javax.annotation.Nullable
|
||||
private List<Tag> tags = new ArrayList<>();
|
||||
@javax.annotation.Nullable private List<Tag> tags = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* pet status in the store
|
||||
@@ -102,10 +98,8 @@ public class Pet {
|
||||
throw new IllegalArgumentException("Unexpected value '" + value + "'");
|
||||
}
|
||||
}
|
||||
|
||||
public static final String JSON_PROPERTY_STATUS = "status";
|
||||
@javax.annotation.Nullable
|
||||
private StatusEnum status;
|
||||
@javax.annotation.Nullable private StatusEnum status;
|
||||
|
||||
public Pet() {
|
||||
}
|
||||
@@ -119,8 +113,7 @@ public class Pet {
|
||||
* Get id
|
||||
* @return id
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -143,8 +136,7 @@ public class Pet {
|
||||
* Get name
|
||||
* @return name
|
||||
*/
|
||||
@javax.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -167,8 +159,7 @@ public class Pet {
|
||||
* Get category
|
||||
* @return category
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_CATEGORY)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Category getCategory() {
|
||||
return category;
|
||||
@@ -199,8 +190,7 @@ public class Pet {
|
||||
* Get photoUrls
|
||||
* @return photoUrls
|
||||
*/
|
||||
@javax.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
|
||||
@javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public List<String> getPhotoUrls() {
|
||||
return photoUrls;
|
||||
@@ -231,8 +221,7 @@ public class Pet {
|
||||
* Get tags
|
||||
* @return tags
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_TAGS)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<Tag> getTags() {
|
||||
return tags;
|
||||
@@ -255,8 +244,7 @@ public class Pet {
|
||||
* pet status in the store
|
||||
* @return status
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
@@ -269,7 +257,6 @@ public class Pet {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this Pet object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -39,10 +39,10 @@ import org.openapitools.client.ApiClient;
|
||||
Query.JSON_PROPERTY_OUTCOMES
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class Query {
|
||||
public static final String JSON_PROPERTY_ID = "id";
|
||||
@javax.annotation.Nullable
|
||||
private Long id;
|
||||
@javax.annotation.Nullable private Long id;
|
||||
|
||||
/**
|
||||
* Gets or Sets outcomes
|
||||
@@ -80,10 +80,8 @@ public class Query {
|
||||
throw new IllegalArgumentException("Unexpected value '" + value + "'");
|
||||
}
|
||||
}
|
||||
|
||||
public static final String JSON_PROPERTY_OUTCOMES = "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() {
|
||||
}
|
||||
@@ -97,8 +95,7 @@ public class Query {
|
||||
* Query
|
||||
* @return id
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -129,8 +126,7 @@ public class Query {
|
||||
* Get outcomes
|
||||
* @return outcomes
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_OUTCOMES)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTCOMES)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<OutcomesEnum> getOutcomes() {
|
||||
return outcomes;
|
||||
@@ -143,7 +139,6 @@ public class Query {
|
||||
this.outcomes = outcomes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this Query object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient;
|
||||
Tag.JSON_PROPERTY_NAME
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class Tag {
|
||||
public static final String JSON_PROPERTY_ID = "id";
|
||||
@javax.annotation.Nullable
|
||||
private Long id;
|
||||
@javax.annotation.Nullable private Long id;
|
||||
|
||||
public static final String JSON_PROPERTY_NAME = "name";
|
||||
@javax.annotation.Nullable
|
||||
private String name;
|
||||
@javax.annotation.Nullable private String name;
|
||||
|
||||
public Tag() {
|
||||
}
|
||||
@@ -58,8 +57,7 @@ public class Tag {
|
||||
* Get id
|
||||
* @return id
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -82,8 +80,7 @@ public class Tag {
|
||||
* Get name
|
||||
* @return name
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -96,7 +93,6 @@ public class Tag {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this Tag object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient;
|
||||
TestFormObjectMultipartRequestMarker.JSON_PROPERTY_NAME
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class TestFormObjectMultipartRequestMarker {
|
||||
public static final String JSON_PROPERTY_NAME = "name";
|
||||
@javax.annotation.Nullable
|
||||
private String name;
|
||||
@javax.annotation.Nullable private String name;
|
||||
|
||||
public TestFormObjectMultipartRequestMarker() {
|
||||
}
|
||||
@@ -53,8 +53,7 @@ public class TestFormObjectMultipartRequestMarker {
|
||||
* Get name
|
||||
* @return name
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -67,7 +66,6 @@ public class TestFormObjectMultipartRequestMarker {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this test_form_object_multipart_request_marker object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -39,22 +39,19 @@ import org.openapitools.client.ApiClient;
|
||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.JSON_PROPERTY_NAME
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter {
|
||||
public static final String JSON_PROPERTY_SIZE = "size";
|
||||
@javax.annotation.Nullable
|
||||
private String size;
|
||||
@javax.annotation.Nullable private String size;
|
||||
|
||||
public static final String JSON_PROPERTY_COLOR = "color";
|
||||
@javax.annotation.Nullable
|
||||
private String color;
|
||||
@javax.annotation.Nullable private String color;
|
||||
|
||||
public static final String JSON_PROPERTY_ID = "id";
|
||||
@javax.annotation.Nullable
|
||||
private Long id;
|
||||
@javax.annotation.Nullable private Long id;
|
||||
|
||||
public static final String JSON_PROPERTY_NAME = "name";
|
||||
@javax.annotation.Nullable
|
||||
private String name;
|
||||
@javax.annotation.Nullable private String name;
|
||||
|
||||
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
}
|
||||
@@ -68,8 +65,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
* Get size
|
||||
* @return size
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SIZE)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getSize() {
|
||||
return size;
|
||||
@@ -92,8 +88,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
* Get color
|
||||
* @return color
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getColor() {
|
||||
return color;
|
||||
@@ -116,8 +111,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
* Get id
|
||||
* @return id
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -140,8 +134,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
* Get name
|
||||
* @return name
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -154,7 +147,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this test_query_style_deepObject_explode_true_object_allOf_query_object_parameter object is equal to o.
|
||||
*/
|
||||
|
||||
@@ -38,10 +38,10 @@ import org.openapitools.client.ApiClient;
|
||||
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.JSON_PROPERTY_VALUES
|
||||
})
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT")
|
||||
|
||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
||||
public static final String JSON_PROPERTY_VALUES = "values";
|
||||
@javax.annotation.Nullable
|
||||
private List<String> values = new ArrayList<>();
|
||||
@javax.annotation.Nullable private List<String> values = new ArrayList<>();
|
||||
|
||||
public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
}
|
||||
@@ -63,8 +63,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
||||
* Get values
|
||||
* @return values
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_VALUES)
|
||||
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_VALUES)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public List<String> getValues() {
|
||||
return values;
|
||||
@@ -77,7 +76,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
||||
this.values = values;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this test_query_style_form_explode_true_array_string_query_object_parameter object is equal to o.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user