forked from loafle/openapi-generator-original
update java petstore with new uuid mapping
This commit is contained in:
parent
7998a30b92
commit
882c3ecba5
@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -274,7 +275,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -284,11 +285,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,7 +31,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -38,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -48,11 +49,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -274,7 +275,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -284,11 +285,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,7 +31,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -38,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -48,11 +49,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.OffsetDateTime;
|
import java.time.OffsetDateTime;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FormatTest
|
* FormatTest
|
||||||
@ -61,7 +62,7 @@ public class FormatTest {
|
|||||||
private OffsetDateTime dateTime = null;
|
private OffsetDateTime dateTime = null;
|
||||||
|
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -274,7 +275,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -284,11 +285,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ import java.time.OffsetDateTime;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MixedPropertiesAndAdditionalPropertiesClass
|
* MixedPropertiesAndAdditionalPropertiesClass
|
||||||
@ -30,7 +31,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private OffsetDateTime dateTime = null;
|
private OffsetDateTime dateTime = null;
|
||||||
@ -38,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -48,11 +49,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -274,7 +275,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -284,11 +285,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,7 +31,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -38,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -48,11 +49,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ import com.google.gson.annotations.SerializedName;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("password")
|
@SerializedName("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -273,7 +274,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -283,11 +284,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -29,7 +30,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("dateTime")
|
@SerializedName("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -37,7 +38,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@SerializedName("map")
|
@SerializedName("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -47,11 +48,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ import com.google.gson.annotations.SerializedName;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("password")
|
@SerializedName("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -273,7 +274,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -283,11 +284,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -29,7 +30,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("dateTime")
|
@SerializedName("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -37,7 +38,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@SerializedName("map")
|
@SerializedName("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -47,11 +48,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
import javax.validation.constraints.*;
|
import javax.validation.constraints.*;
|
||||||
@ -62,7 +63,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -141,6 +142,8 @@ public class FormatTest {
|
|||||||
* @return number
|
* @return number
|
||||||
**/
|
**/
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@DecimalMin("32.1")
|
||||||
|
@DecimalMax("543.2")
|
||||||
@ApiModelProperty(example = "null", required = true, value = "")
|
@ApiModelProperty(example = "null", required = true, value = "")
|
||||||
public BigDecimal getNumber() {
|
public BigDecimal getNumber() {
|
||||||
return number;
|
return number;
|
||||||
@ -161,6 +164,8 @@ public class FormatTest {
|
|||||||
* maximum: 987.6
|
* maximum: 987.6
|
||||||
* @return _float
|
* @return _float
|
||||||
**/
|
**/
|
||||||
|
@DecimalMin("54.3")
|
||||||
|
@DecimalMax("987.6")
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public Float getFloat() {
|
public Float getFloat() {
|
||||||
return _float;
|
return _float;
|
||||||
@ -181,6 +186,8 @@ public class FormatTest {
|
|||||||
* maximum: 123.4
|
* maximum: 123.4
|
||||||
* @return _double
|
* @return _double
|
||||||
**/
|
**/
|
||||||
|
@DecimalMin("67.8")
|
||||||
|
@DecimalMax("123.4")
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public Double getDouble() {
|
public Double getDouble() {
|
||||||
return _double;
|
return _double;
|
||||||
@ -283,7 +290,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -293,11 +300,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import javax.validation.constraints.*;
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
@ -31,7 +32,7 @@ import javax.validation.constraints.*;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -39,7 +40,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -49,11 +50,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ import com.google.gson.annotations.SerializedName;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("password")
|
@SerializedName("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -273,7 +274,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -283,11 +284,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -29,7 +30,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("dateTime")
|
@SerializedName("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -37,7 +38,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@SerializedName("map")
|
@SerializedName("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -47,11 +48,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|||||||
**binary** | **byte[]** | | [optional]
|
**binary** | **byte[]** | | [optional]
|
||||||
**date** | [**LocalDate**](LocalDate.md) | |
|
**date** | [**LocalDate**](LocalDate.md) | |
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
**dateTime** | [**DateTime**](DateTime.md) | | [optional]
|
||||||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ import com.google.gson.annotations.SerializedName;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ public class FormatTest {
|
|||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
|
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("password")
|
@SerializedName("password")
|
||||||
private String password = null;
|
private String password = null;
|
||||||
@ -273,7 +274,7 @@ public class FormatTest {
|
|||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest uuid(String uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -283,11 +284,11 @@ public class FormatTest {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import io.swagger.client.model.Animal;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -29,7 +30,7 @@ import org.joda.time.DateTime;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@SerializedName("uuid")
|
@SerializedName("uuid")
|
||||||
private String uuid = null;
|
private UUID uuid = null;
|
||||||
|
|
||||||
@SerializedName("dateTime")
|
@SerializedName("dateTime")
|
||||||
private DateTime dateTime = null;
|
private DateTime dateTime = null;
|
||||||
@ -37,7 +38,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
@SerializedName("map")
|
@SerializedName("map")
|
||||||
private Map<String, Animal> map = new HashMap<String, Animal>();
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(String uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -47,11 +48,11 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
* @return uuid
|
* @return uuid
|
||||||
**/
|
**/
|
||||||
@ApiModelProperty(example = "null", value = "")
|
@ApiModelProperty(example = "null", value = "")
|
||||||
public String getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUuid(String uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user