mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-04 07:50:56 +00:00
update java inflector samples
This commit is contained in:
parent
20931b1daa
commit
6ae61e2dfd
@ -1 +1 @@
|
|||||||
3.1.1-SNAPSHOT
|
5.0.0-SNAPSHOT
|
@ -1,24 +1,35 @@
|
|||||||
controllerPackage: org.openapitools.controllers
|
controllerPackage: org.openapitools.controllers
|
||||||
modelPackage: org.openapitools.model
|
modelPackage: org.openapitools.model
|
||||||
swaggerUrl: ./src/main/swagger/swagger.yaml
|
swaggerUrl: ./src/main/openapi/openapi.yaml
|
||||||
modelMappings:
|
modelMappings:
|
||||||
# to enable explicit mappings, use this syntax:
|
# to enable explicit mappings, use this syntax:
|
||||||
DefinitionFromSwaggerSpecification: fully.qualified.path.to.Model
|
DefinitionFromSwaggerSpecification: fully.qualified.path.to.Model
|
||||||
AdditionalPropertiesClass : org.openapitools.model.AdditionalPropertiesClass
|
AdditionalPropertiesAnyType : org.openapitools.model.AdditionalPropertiesAnyType
|
||||||
|
AdditionalPropertiesArray : org.openapitools.model.AdditionalPropertiesArray
|
||||||
|
AdditionalPropertiesBoolean : org.openapitools.model.AdditionalPropertiesBoolean
|
||||||
|
AdditionalPropertiesClass : org.openapitools.model.AdditionalPropertiesClass
|
||||||
|
AdditionalPropertiesInteger : org.openapitools.model.AdditionalPropertiesInteger
|
||||||
|
AdditionalPropertiesNumber : org.openapitools.model.AdditionalPropertiesNumber
|
||||||
|
AdditionalPropertiesObject : org.openapitools.model.AdditionalPropertiesObject
|
||||||
|
AdditionalPropertiesString : org.openapitools.model.AdditionalPropertiesString
|
||||||
Animal : org.openapitools.model.Animal
|
Animal : org.openapitools.model.Animal
|
||||||
AnimalFarm : org.openapitools.model.AnimalFarm
|
|
||||||
ArrayOfArrayOfNumberOnly : org.openapitools.model.ArrayOfArrayOfNumberOnly
|
ArrayOfArrayOfNumberOnly : org.openapitools.model.ArrayOfArrayOfNumberOnly
|
||||||
ArrayOfNumberOnly : org.openapitools.model.ArrayOfNumberOnly
|
ArrayOfNumberOnly : org.openapitools.model.ArrayOfNumberOnly
|
||||||
ArrayTest : org.openapitools.model.ArrayTest
|
ArrayTest : org.openapitools.model.ArrayTest
|
||||||
|
BigCat : org.openapitools.model.BigCat
|
||||||
|
BigCatAllOf : org.openapitools.model.BigCatAllOf
|
||||||
Capitalization : org.openapitools.model.Capitalization
|
Capitalization : org.openapitools.model.Capitalization
|
||||||
Cat : org.openapitools.model.Cat
|
Cat : org.openapitools.model.Cat
|
||||||
|
CatAllOf : org.openapitools.model.CatAllOf
|
||||||
Category : org.openapitools.model.Category
|
Category : org.openapitools.model.Category
|
||||||
ClassModel : org.openapitools.model.ClassModel
|
ClassModel : org.openapitools.model.ClassModel
|
||||||
Client : org.openapitools.model.Client
|
Client : org.openapitools.model.Client
|
||||||
Dog : org.openapitools.model.Dog
|
Dog : org.openapitools.model.Dog
|
||||||
|
DogAllOf : org.openapitools.model.DogAllOf
|
||||||
EnumArrays : org.openapitools.model.EnumArrays
|
EnumArrays : org.openapitools.model.EnumArrays
|
||||||
EnumClass : org.openapitools.model.EnumClass
|
EnumClass : org.openapitools.model.EnumClass
|
||||||
EnumTest : org.openapitools.model.EnumTest
|
EnumTest : org.openapitools.model.EnumTest
|
||||||
|
FileSchemaTestClass : org.openapitools.model.FileSchemaTestClass
|
||||||
FormatTest : org.openapitools.model.FormatTest
|
FormatTest : org.openapitools.model.FormatTest
|
||||||
HasOnlyReadOnly : org.openapitools.model.HasOnlyReadOnly
|
HasOnlyReadOnly : org.openapitools.model.HasOnlyReadOnly
|
||||||
MapTest : org.openapitools.model.MapTest
|
MapTest : org.openapitools.model.MapTest
|
||||||
@ -29,18 +40,18 @@ ModelReturn : org.openapitools.model.ModelReturn
|
|||||||
Name : org.openapitools.model.Name
|
Name : org.openapitools.model.Name
|
||||||
NumberOnly : org.openapitools.model.NumberOnly
|
NumberOnly : org.openapitools.model.NumberOnly
|
||||||
Order : org.openapitools.model.Order
|
Order : org.openapitools.model.Order
|
||||||
OuterBoolean : org.openapitools.model.OuterBoolean
|
|
||||||
OuterComposite : org.openapitools.model.OuterComposite
|
OuterComposite : org.openapitools.model.OuterComposite
|
||||||
OuterEnum : org.openapitools.model.OuterEnum
|
OuterEnum : org.openapitools.model.OuterEnum
|
||||||
OuterNumber : org.openapitools.model.OuterNumber
|
|
||||||
OuterString : org.openapitools.model.OuterString
|
|
||||||
Pet : org.openapitools.model.Pet
|
Pet : org.openapitools.model.Pet
|
||||||
ReadOnlyFirst : org.openapitools.model.ReadOnlyFirst
|
ReadOnlyFirst : org.openapitools.model.ReadOnlyFirst
|
||||||
SpecialModelName : org.openapitools.model.SpecialModelName
|
SpecialModelName : org.openapitools.model.SpecialModelName
|
||||||
Tag : org.openapitools.model.Tag
|
Tag : org.openapitools.model.Tag
|
||||||
|
TypeHolderDefault : org.openapitools.model.TypeHolderDefault
|
||||||
|
TypeHolderExample : org.openapitools.model.TypeHolderExample
|
||||||
User : org.openapitools.model.User
|
User : org.openapitools.model.User
|
||||||
|
XmlItem : org.openapitools.model.XmlItem
|
||||||
|
|
||||||
entityProcessors:
|
entityProcessors:
|
||||||
- json
|
- json
|
||||||
- xml
|
- xml
|
||||||
- yaml
|
- yaml
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesAnyType name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesAnyType additionalPropertiesAnyType = (AdditionalPropertiesAnyType) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesAnyType.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesAnyType {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesArray extends HashMap<String, List> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesArray name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesArray additionalPropertiesArray = (AdditionalPropertiesArray) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesArray.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesArray {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesBoolean name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesBoolean additionalPropertiesBoolean = (AdditionalPropertiesBoolean) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesBoolean.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesBoolean {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
|||||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
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.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -15,44 +16,224 @@ import java.util.Map;
|
|||||||
|
|
||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_string")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapString = null;
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_number")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, BigDecimal> mapNumber = null;
|
||||||
|
|
||||||
|
@JsonProperty("map_integer")
|
||||||
|
private Map<String, Integer> mapInteger = null;
|
||||||
|
|
||||||
|
@JsonProperty("map_boolean")
|
||||||
|
private Map<String, Boolean> mapBoolean = null;
|
||||||
|
|
||||||
|
@JsonProperty("map_array_integer")
|
||||||
|
private Map<String, List<Integer>> mapArrayInteger = null;
|
||||||
|
|
||||||
|
@JsonProperty("map_array_anytype")
|
||||||
|
private Map<String, List<Object>> mapArrayAnytype = null;
|
||||||
|
|
||||||
|
@JsonProperty("map_map_string")
|
||||||
|
private Map<String, Map<String, String>> mapMapString = null;
|
||||||
|
|
||||||
|
@JsonProperty("map_map_anytype")
|
||||||
|
private Map<String, Map<String, Object>> mapMapAnytype = null;
|
||||||
|
|
||||||
|
@JsonProperty("anytype_1")
|
||||||
|
private Object anytype1;
|
||||||
|
|
||||||
|
@JsonProperty("anytype_2")
|
||||||
|
private Object anytype2;
|
||||||
|
|
||||||
|
@JsonProperty("anytype_3")
|
||||||
|
private Object anytype3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapString(Map<String, String> mapString) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapString = mapString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "")
|
@ApiModelProperty(value = "")
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_string")
|
||||||
public Map<String, String> getMapProperty() {
|
public Map<String, String> getMapString() {
|
||||||
return mapProperty;
|
return mapString;
|
||||||
}
|
}
|
||||||
public void setMapProperty(Map<String, String> mapProperty) {
|
public void setMapString(Map<String, String> mapString) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapString = mapString;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
public AdditionalPropertiesClass mapOfMapProperty(Map<String, Map<String, String>> mapOfMapProperty) {
|
public AdditionalPropertiesClass mapNumber(Map<String, BigDecimal> mapNumber) {
|
||||||
this.mapOfMapProperty = mapOfMapProperty;
|
this.mapNumber = mapNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "")
|
@ApiModelProperty(value = "")
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_number")
|
||||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
public Map<String, BigDecimal> getMapNumber() {
|
||||||
return mapOfMapProperty;
|
return mapNumber;
|
||||||
}
|
}
|
||||||
public void setMapOfMapProperty(Map<String, Map<String, String>> mapOfMapProperty) {
|
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
|
||||||
this.mapOfMapProperty = mapOfMapProperty;
|
this.mapNumber = mapNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass mapInteger(Map<String, Integer> mapInteger) {
|
||||||
|
this.mapInteger = mapInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("map_integer")
|
||||||
|
public Map<String, Integer> getMapInteger() {
|
||||||
|
return mapInteger;
|
||||||
|
}
|
||||||
|
public void setMapInteger(Map<String, Integer> mapInteger) {
|
||||||
|
this.mapInteger = mapInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass mapBoolean(Map<String, Boolean> mapBoolean) {
|
||||||
|
this.mapBoolean = mapBoolean;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("map_boolean")
|
||||||
|
public Map<String, Boolean> getMapBoolean() {
|
||||||
|
return mapBoolean;
|
||||||
|
}
|
||||||
|
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
|
||||||
|
this.mapBoolean = mapBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass mapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
||||||
|
this.mapArrayInteger = mapArrayInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("map_array_integer")
|
||||||
|
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||||
|
return mapArrayInteger;
|
||||||
|
}
|
||||||
|
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
||||||
|
this.mapArrayInteger = mapArrayInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass mapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
||||||
|
this.mapArrayAnytype = mapArrayAnytype;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("map_array_anytype")
|
||||||
|
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||||
|
return mapArrayAnytype;
|
||||||
|
}
|
||||||
|
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
||||||
|
this.mapArrayAnytype = mapArrayAnytype;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass mapMapString(Map<String, Map<String, String>> mapMapString) {
|
||||||
|
this.mapMapString = mapMapString;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("map_map_string")
|
||||||
|
public Map<String, Map<String, String>> getMapMapString() {
|
||||||
|
return mapMapString;
|
||||||
|
}
|
||||||
|
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
|
||||||
|
this.mapMapString = mapMapString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass mapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
||||||
|
this.mapMapAnytype = mapMapAnytype;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("map_map_anytype")
|
||||||
|
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||||
|
return mapMapAnytype;
|
||||||
|
}
|
||||||
|
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
||||||
|
this.mapMapAnytype = mapMapAnytype;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass anytype1(Object anytype1) {
|
||||||
|
this.anytype1 = anytype1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("anytype_1")
|
||||||
|
public Object getAnytype1() {
|
||||||
|
return anytype1;
|
||||||
|
}
|
||||||
|
public void setAnytype1(Object anytype1) {
|
||||||
|
this.anytype1 = anytype1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass anytype2(Object anytype2) {
|
||||||
|
this.anytype2 = anytype2;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("anytype_2")
|
||||||
|
public Object getAnytype2() {
|
||||||
|
return anytype2;
|
||||||
|
}
|
||||||
|
public void setAnytype2(Object anytype2) {
|
||||||
|
this.anytype2 = anytype2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesClass anytype3(Object anytype3) {
|
||||||
|
this.anytype3 = anytype3;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("anytype_3")
|
||||||
|
public Object getAnytype3() {
|
||||||
|
return anytype3;
|
||||||
|
}
|
||||||
|
public void setAnytype3(Object anytype3) {
|
||||||
|
this.anytype3 = anytype3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -65,13 +246,22 @@ public class AdditionalPropertiesClass {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
AdditionalPropertiesClass additionalPropertiesClass = (AdditionalPropertiesClass) o;
|
AdditionalPropertiesClass additionalPropertiesClass = (AdditionalPropertiesClass) o;
|
||||||
return Objects.equals(mapProperty, additionalPropertiesClass.mapProperty) &&
|
return Objects.equals(mapString, additionalPropertiesClass.mapString) &&
|
||||||
Objects.equals(mapOfMapProperty, additionalPropertiesClass.mapOfMapProperty);
|
Objects.equals(mapNumber, additionalPropertiesClass.mapNumber) &&
|
||||||
|
Objects.equals(mapInteger, additionalPropertiesClass.mapInteger) &&
|
||||||
|
Objects.equals(mapBoolean, additionalPropertiesClass.mapBoolean) &&
|
||||||
|
Objects.equals(mapArrayInteger, additionalPropertiesClass.mapArrayInteger) &&
|
||||||
|
Objects.equals(mapArrayAnytype, additionalPropertiesClass.mapArrayAnytype) &&
|
||||||
|
Objects.equals(mapMapString, additionalPropertiesClass.mapMapString) &&
|
||||||
|
Objects.equals(mapMapAnytype, additionalPropertiesClass.mapMapAnytype) &&
|
||||||
|
Objects.equals(anytype1, additionalPropertiesClass.anytype1) &&
|
||||||
|
Objects.equals(anytype2, additionalPropertiesClass.anytype2) &&
|
||||||
|
Objects.equals(anytype3, additionalPropertiesClass.anytype3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(mapProperty, mapOfMapProperty);
|
return Objects.hash(mapString, mapNumber, mapInteger, mapBoolean, mapArrayInteger, mapArrayAnytype, mapMapString, mapMapAnytype, anytype1, anytype2, anytype3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -79,8 +269,17 @@ public class AdditionalPropertiesClass {
|
|||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append("class AdditionalPropertiesClass {\n");
|
sb.append("class AdditionalPropertiesClass {\n");
|
||||||
|
|
||||||
sb.append(" mapProperty: ").append(toIndentedString(mapProperty)).append("\n");
|
sb.append(" mapString: ").append(toIndentedString(mapString)).append("\n");
|
||||||
sb.append(" mapOfMapProperty: ").append(toIndentedString(mapOfMapProperty)).append("\n");
|
sb.append(" mapNumber: ").append(toIndentedString(mapNumber)).append("\n");
|
||||||
|
sb.append(" mapInteger: ").append(toIndentedString(mapInteger)).append("\n");
|
||||||
|
sb.append(" mapBoolean: ").append(toIndentedString(mapBoolean)).append("\n");
|
||||||
|
sb.append(" mapArrayInteger: ").append(toIndentedString(mapArrayInteger)).append("\n");
|
||||||
|
sb.append(" mapArrayAnytype: ").append(toIndentedString(mapArrayAnytype)).append("\n");
|
||||||
|
sb.append(" mapMapString: ").append(toIndentedString(mapMapString)).append("\n");
|
||||||
|
sb.append(" mapMapAnytype: ").append(toIndentedString(mapMapAnytype)).append("\n");
|
||||||
|
sb.append(" anytype1: ").append(toIndentedString(anytype1)).append("\n");
|
||||||
|
sb.append(" anytype2: ").append(toIndentedString(anytype2)).append("\n");
|
||||||
|
sb.append(" anytype3: ").append(toIndentedString(anytype3)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesInteger name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesInteger additionalPropertiesInteger = (AdditionalPropertiesInteger) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesInteger.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesInteger {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesNumber name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesNumber additionalPropertiesNumber = (AdditionalPropertiesNumber) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesNumber.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesNumber {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesObject extends HashMap<String, Map> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesObject name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesObject additionalPropertiesObject = (AdditionalPropertiesObject) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesObject.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesObject {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class AdditionalPropertiesString extends HashMap<String, String> {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public AdditionalPropertiesString name(String name) {
|
||||||
|
this.name = name;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name")
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AdditionalPropertiesString additionalPropertiesString = (AdditionalPropertiesString) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesString.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class AdditionalPropertiesString {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -15,7 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Animal {
|
public class Animal {
|
||||||
@JsonProperty("className")
|
@JsonProperty("className")
|
||||||
private String className = null;
|
private String className;
|
||||||
|
|
||||||
@JsonProperty("color")
|
@JsonProperty("color")
|
||||||
private String color = "red";
|
private String color = "red";
|
||||||
|
@ -0,0 +1,112 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonValue;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import org.openapitools.model.BigCatAllOf;
|
||||||
|
import org.openapitools.model.Cat;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class BigCat extends Cat {
|
||||||
|
/**
|
||||||
|
* Gets or Sets kind
|
||||||
|
*/
|
||||||
|
public enum KindEnum {
|
||||||
|
LIONS("lions"),
|
||||||
|
|
||||||
|
TIGERS("tigers"),
|
||||||
|
|
||||||
|
LEOPARDS("leopards"),
|
||||||
|
|
||||||
|
JAGUARS("jaguars");
|
||||||
|
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
KindEnum(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@JsonValue
|
||||||
|
public String toString() {
|
||||||
|
return String.valueOf(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonCreator
|
||||||
|
public static KindEnum fromValue(String text) {
|
||||||
|
for (KindEnum b : KindEnum.values()) {
|
||||||
|
if (String.valueOf(b.value).equals(text)) {
|
||||||
|
return b;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonProperty("kind")
|
||||||
|
private KindEnum kind;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public BigCat kind(KindEnum kind) {
|
||||||
|
this.kind = kind;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("kind")
|
||||||
|
public KindEnum getKind() {
|
||||||
|
return kind;
|
||||||
|
}
|
||||||
|
public void setKind(KindEnum kind) {
|
||||||
|
this.kind = kind;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
BigCat bigCat = (BigCat) o;
|
||||||
|
return Objects.equals(kind, bigCat.kind);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(kind);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class BigCat {\n");
|
||||||
|
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
|
||||||
|
sb.append(" kind: ").append(toIndentedString(kind)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,110 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonValue;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class BigCatAllOf {
|
||||||
|
/**
|
||||||
|
* Gets or Sets kind
|
||||||
|
*/
|
||||||
|
public enum KindEnum {
|
||||||
|
LIONS("lions"),
|
||||||
|
|
||||||
|
TIGERS("tigers"),
|
||||||
|
|
||||||
|
LEOPARDS("leopards"),
|
||||||
|
|
||||||
|
JAGUARS("jaguars");
|
||||||
|
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
KindEnum(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@JsonValue
|
||||||
|
public String toString() {
|
||||||
|
return String.valueOf(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonCreator
|
||||||
|
public static KindEnum fromValue(String text) {
|
||||||
|
for (KindEnum b : KindEnum.values()) {
|
||||||
|
if (String.valueOf(b.value).equals(text)) {
|
||||||
|
return b;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonProperty("kind")
|
||||||
|
private KindEnum kind;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public BigCatAllOf kind(KindEnum kind) {
|
||||||
|
this.kind = kind;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("kind")
|
||||||
|
public KindEnum getKind() {
|
||||||
|
return kind;
|
||||||
|
}
|
||||||
|
public void setKind(KindEnum kind) {
|
||||||
|
this.kind = kind;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
BigCatAllOf bigCatAllOf = (BigCatAllOf) o;
|
||||||
|
return Objects.equals(kind, bigCatAllOf.kind);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(kind);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class BigCatAllOf {\n");
|
||||||
|
|
||||||
|
sb.append(" kind: ").append(toIndentedString(kind)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13,22 +13,22 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Capitalization {
|
public class Capitalization {
|
||||||
@JsonProperty("smallCamel")
|
@JsonProperty("smallCamel")
|
||||||
private String smallCamel = null;
|
private String smallCamel;
|
||||||
|
|
||||||
@JsonProperty("CapitalCamel")
|
@JsonProperty("CapitalCamel")
|
||||||
private String capitalCamel = null;
|
private String capitalCamel;
|
||||||
|
|
||||||
@JsonProperty("small_Snake")
|
@JsonProperty("small_Snake")
|
||||||
private String smallSnake = null;
|
private String smallSnake;
|
||||||
|
|
||||||
@JsonProperty("Capital_Snake")
|
@JsonProperty("Capital_Snake")
|
||||||
private String capitalSnake = null;
|
private String capitalSnake;
|
||||||
|
|
||||||
@JsonProperty("SCA_ETH_Flow_Points")
|
@JsonProperty("SCA_ETH_Flow_Points")
|
||||||
private String scAETHFlowPoints = null;
|
private String scAETHFlowPoints;
|
||||||
|
|
||||||
@JsonProperty("ATT_NAME")
|
@JsonProperty("ATT_NAME")
|
||||||
private String ATT_NAME = null;
|
private String ATT_NAME;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -6,6 +6,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 org.openapitools.model.Animal;
|
import org.openapitools.model.Animal;
|
||||||
|
import org.openapitools.model.CatAllOf;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -14,7 +15,7 @@ import org.openapitools.model.Animal;
|
|||||||
|
|
||||||
public class Cat extends Animal {
|
public class Cat extends Animal {
|
||||||
@JsonProperty("declawed")
|
@JsonProperty("declawed")
|
||||||
private Boolean declawed = null;
|
private Boolean declawed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -0,0 +1,74 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class CatAllOf {
|
||||||
|
@JsonProperty("declawed")
|
||||||
|
private Boolean declawed;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public CatAllOf declawed(Boolean declawed) {
|
||||||
|
this.declawed = declawed;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("declawed")
|
||||||
|
public Boolean getDeclawed() {
|
||||||
|
return declawed;
|
||||||
|
}
|
||||||
|
public void setDeclawed(Boolean declawed) {
|
||||||
|
this.declawed = declawed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
CatAllOf catAllOf = (CatAllOf) o;
|
||||||
|
return Objects.equals(declawed, catAllOf.declawed);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(declawed);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class CatAllOf {\n");
|
||||||
|
|
||||||
|
sb.append(" declawed: ").append(toIndentedString(declawed)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13,10 +13,10 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Category {
|
public class Category {
|
||||||
@JsonProperty("id")
|
@JsonProperty("id")
|
||||||
private Long id = null;
|
private Long id;
|
||||||
|
|
||||||
@JsonProperty("name")
|
@JsonProperty("name")
|
||||||
private String name = null;
|
private String name = "default-name";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ -43,7 +43,7 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "")
|
@ApiModelProperty(required = true, value = "")
|
||||||
@JsonProperty("name")
|
@JsonProperty("name")
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
|
@ -16,7 +16,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class ClassModel {
|
public class ClassModel {
|
||||||
@JsonProperty("_class")
|
@JsonProperty("_class")
|
||||||
private String propertyClass = null;
|
private String propertyClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -13,7 +13,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Client {
|
public class Client {
|
||||||
@JsonProperty("client")
|
@JsonProperty("client")
|
||||||
private String client = null;
|
private String client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -6,6 +6,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 org.openapitools.model.Animal;
|
import org.openapitools.model.Animal;
|
||||||
|
import org.openapitools.model.DogAllOf;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -14,7 +15,7 @@ import org.openapitools.model.Animal;
|
|||||||
|
|
||||||
public class Dog extends Animal {
|
public class Dog extends Animal {
|
||||||
@JsonProperty("breed")
|
@JsonProperty("breed")
|
||||||
private String breed = null;
|
private String breed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -0,0 +1,74 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class DogAllOf {
|
||||||
|
@JsonProperty("breed")
|
||||||
|
private String breed;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public DogAllOf breed(String breed) {
|
||||||
|
this.breed = breed;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("breed")
|
||||||
|
public String getBreed() {
|
||||||
|
return breed;
|
||||||
|
}
|
||||||
|
public void setBreed(String breed) {
|
||||||
|
this.breed = breed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
DogAllOf dogAllOf = (DogAllOf) o;
|
||||||
|
return Objects.equals(breed, dogAllOf.breed);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(breed);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class DogAllOf {\n");
|
||||||
|
|
||||||
|
sb.append(" breed: ").append(toIndentedString(breed)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -42,12 +42,12 @@ public class EnumArrays {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("just_symbol")
|
@JsonProperty("just_symbol")
|
||||||
private JustSymbolEnum justSymbol = null;
|
private JustSymbolEnum justSymbol;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets arrayEnum
|
* Gets or Sets arrayEnum
|
||||||
@ -76,7 +76,7 @@ public class EnumArrays {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ public enum EnumClass {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,12 +43,12 @@ public class EnumTest {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("enum_string")
|
@JsonProperty("enum_string")
|
||||||
private EnumStringEnum enumString = null;
|
private EnumStringEnum enumString;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets enumStringRequired
|
* Gets or Sets enumStringRequired
|
||||||
@ -79,12 +79,12 @@ public class EnumTest {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("enum_string_required")
|
@JsonProperty("enum_string_required")
|
||||||
private EnumStringRequiredEnum enumStringRequired = null;
|
private EnumStringRequiredEnum enumStringRequired;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets enumInteger
|
* Gets or Sets enumInteger
|
||||||
@ -113,12 +113,12 @@ public class EnumTest {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("enum_integer")
|
@JsonProperty("enum_integer")
|
||||||
private EnumIntegerEnum enumInteger = null;
|
private EnumIntegerEnum enumInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets enumNumber
|
* Gets or Sets enumNumber
|
||||||
@ -147,15 +147,15 @@ public class EnumTest {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("enum_number")
|
@JsonProperty("enum_number")
|
||||||
private EnumNumberEnum enumNumber = null;
|
private EnumNumberEnum enumNumber;
|
||||||
|
|
||||||
@JsonProperty("outerEnum")
|
@JsonProperty("outerEnum")
|
||||||
private OuterEnum outerEnum = null;
|
private OuterEnum outerEnum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -15,7 +15,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class FileSchemaTestClass {
|
public class FileSchemaTestClass {
|
||||||
@JsonProperty("file")
|
@JsonProperty("file")
|
||||||
private java.io.File file = null;
|
private java.io.File file;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = null;
|
||||||
|
@ -17,43 +17,46 @@ import java.util.UUID;
|
|||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@JsonProperty("integer")
|
@JsonProperty("integer")
|
||||||
private Integer integer = null;
|
private Integer integer;
|
||||||
|
|
||||||
@JsonProperty("int32")
|
@JsonProperty("int32")
|
||||||
private Integer int32 = null;
|
private Integer int32;
|
||||||
|
|
||||||
@JsonProperty("int64")
|
@JsonProperty("int64")
|
||||||
private Long int64 = null;
|
private Long int64;
|
||||||
|
|
||||||
@JsonProperty("number")
|
@JsonProperty("number")
|
||||||
private BigDecimal number = null;
|
private BigDecimal number;
|
||||||
|
|
||||||
@JsonProperty("float")
|
@JsonProperty("float")
|
||||||
private Float _float = null;
|
private Float _float;
|
||||||
|
|
||||||
@JsonProperty("double")
|
@JsonProperty("double")
|
||||||
private Double _double = null;
|
private Double _double;
|
||||||
|
|
||||||
@JsonProperty("string")
|
@JsonProperty("string")
|
||||||
private String string = null;
|
private String string;
|
||||||
|
|
||||||
@JsonProperty("byte")
|
@JsonProperty("byte")
|
||||||
private byte[] _byte = null;
|
private byte[] _byte;
|
||||||
|
|
||||||
@JsonProperty("binary")
|
@JsonProperty("binary")
|
||||||
private File binary = null;
|
private File binary;
|
||||||
|
|
||||||
@JsonProperty("date")
|
@JsonProperty("date")
|
||||||
private Date date = null;
|
private Date date;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private Date dateTime = null;
|
private Date dateTime;
|
||||||
|
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private UUID uuid = null;
|
private UUID uuid;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password;
|
||||||
|
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* minimum: 10
|
* minimum: 10
|
||||||
@ -260,7 +263,7 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "")
|
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
public UUID getUuid() {
|
public UUID getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
@ -286,6 +289,23 @@ public class FormatTest {
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
@ -308,12 +328,13 @@ public class FormatTest {
|
|||||||
Objects.equals(date, formatTest.date) &&
|
Objects.equals(date, formatTest.date) &&
|
||||||
Objects.equals(dateTime, formatTest.dateTime) &&
|
Objects.equals(dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(uuid, formatTest.uuid) &&
|
Objects.equals(uuid, formatTest.uuid) &&
|
||||||
Objects.equals(password, formatTest.password);
|
Objects.equals(password, formatTest.password) &&
|
||||||
|
Objects.equals(bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -334,6 +355,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class HasOnlyReadOnly {
|
public class HasOnlyReadOnly {
|
||||||
@JsonProperty("bar")
|
@JsonProperty("bar")
|
||||||
private String bar = null;
|
private String bar;
|
||||||
|
|
||||||
@JsonProperty("foo")
|
@JsonProperty("foo")
|
||||||
private String foo = null;
|
private String foo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
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 org.openapitools.model.StringBooleanMap;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -47,7 +46,7 @@ public class MapTest {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,7 +57,7 @@ public class MapTest {
|
|||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = null;
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private StringBooleanMap indirectMap = null;
|
private Map<String, Boolean> indirectMap = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
@ -113,7 +112,7 @@ public class MapTest {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
public MapTest indirectMap(StringBooleanMap indirectMap) {
|
public MapTest indirectMap(Map<String, Boolean> indirectMap) {
|
||||||
this.indirectMap = indirectMap;
|
this.indirectMap = indirectMap;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -121,10 +120,10 @@ public class MapTest {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "")
|
@ApiModelProperty(value = "")
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
public StringBooleanMap getIndirectMap() {
|
public Map<String, Boolean> getIndirectMap() {
|
||||||
return indirectMap;
|
return indirectMap;
|
||||||
}
|
}
|
||||||
public void setIndirectMap(StringBooleanMap indirectMap) {
|
public void setIndirectMap(Map<String, Boolean> indirectMap) {
|
||||||
this.indirectMap = indirectMap;
|
this.indirectMap = indirectMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@ import org.openapitools.model.Animal;
|
|||||||
|
|
||||||
public class MixedPropertiesAndAdditionalPropertiesClass {
|
public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||||
@JsonProperty("uuid")
|
@JsonProperty("uuid")
|
||||||
private UUID uuid = null;
|
private UUID uuid;
|
||||||
|
|
||||||
@JsonProperty("dateTime")
|
@JsonProperty("dateTime")
|
||||||
private Date dateTime = null;
|
private Date dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = null;
|
||||||
|
@ -16,10 +16,10 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Model200Response {
|
public class Model200Response {
|
||||||
@JsonProperty("name")
|
@JsonProperty("name")
|
||||||
private Integer name = null;
|
private Integer name;
|
||||||
|
|
||||||
@JsonProperty("class")
|
@JsonProperty("class")
|
||||||
private String propertyClass = null;
|
private String propertyClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -13,13 +13,13 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class ModelApiResponse {
|
public class ModelApiResponse {
|
||||||
@JsonProperty("code")
|
@JsonProperty("code")
|
||||||
private Integer code = null;
|
private Integer code;
|
||||||
|
|
||||||
@JsonProperty("type")
|
@JsonProperty("type")
|
||||||
private String type = null;
|
private String type;
|
||||||
|
|
||||||
@JsonProperty("message")
|
@JsonProperty("message")
|
||||||
private String message = null;
|
private String message;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -16,7 +16,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class ModelReturn {
|
public class ModelReturn {
|
||||||
@JsonProperty("return")
|
@JsonProperty("return")
|
||||||
private Integer _return = null;
|
private Integer _return;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -16,16 +16,16 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Name {
|
public class Name {
|
||||||
@JsonProperty("name")
|
@JsonProperty("name")
|
||||||
private Integer name = null;
|
private Integer name;
|
||||||
|
|
||||||
@JsonProperty("snake_case")
|
@JsonProperty("snake_case")
|
||||||
private Integer snakeCase = null;
|
private Integer snakeCase;
|
||||||
|
|
||||||
@JsonProperty("property")
|
@JsonProperty("property")
|
||||||
private String property = null;
|
private String property;
|
||||||
|
|
||||||
@JsonProperty("123Number")
|
@JsonProperty("123Number")
|
||||||
private Integer _123number = null;
|
private Integer _123number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -14,7 +14,7 @@ import java.math.BigDecimal;
|
|||||||
|
|
||||||
public class NumberOnly {
|
public class NumberOnly {
|
||||||
@JsonProperty("JustNumber")
|
@JsonProperty("JustNumber")
|
||||||
private BigDecimal justNumber = null;
|
private BigDecimal justNumber;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -15,16 +15,16 @@ import java.util.Date;
|
|||||||
|
|
||||||
public class Order {
|
public class Order {
|
||||||
@JsonProperty("id")
|
@JsonProperty("id")
|
||||||
private Long id = null;
|
private Long id;
|
||||||
|
|
||||||
@JsonProperty("petId")
|
@JsonProperty("petId")
|
||||||
private Long petId = null;
|
private Long petId;
|
||||||
|
|
||||||
@JsonProperty("quantity")
|
@JsonProperty("quantity")
|
||||||
private Integer quantity = null;
|
private Integer quantity;
|
||||||
|
|
||||||
@JsonProperty("shipDate")
|
@JsonProperty("shipDate")
|
||||||
private Date shipDate = null;
|
private Date shipDate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
@ -55,12 +55,12 @@ public class Order {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("status")
|
@JsonProperty("status")
|
||||||
private StatusEnum status = null;
|
private StatusEnum status;
|
||||||
|
|
||||||
@JsonProperty("complete")
|
@JsonProperty("complete")
|
||||||
private Boolean complete = false;
|
private Boolean complete = false;
|
||||||
|
@ -14,13 +14,13 @@ import java.math.BigDecimal;
|
|||||||
|
|
||||||
public class OuterComposite {
|
public class OuterComposite {
|
||||||
@JsonProperty("my_number")
|
@JsonProperty("my_number")
|
||||||
private BigDecimal myNumber = null;
|
private BigDecimal myNumber;
|
||||||
|
|
||||||
@JsonProperty("my_string")
|
@JsonProperty("my_string")
|
||||||
private String myString = null;
|
private String myString;
|
||||||
|
|
||||||
@JsonProperty("my_boolean")
|
@JsonProperty("my_boolean")
|
||||||
private Boolean myBoolean = null;
|
private Boolean myBoolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -37,7 +37,7 @@ public enum OuterEnum {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,13 +18,13 @@ import org.openapitools.model.Tag;
|
|||||||
|
|
||||||
public class Pet {
|
public class Pet {
|
||||||
@JsonProperty("id")
|
@JsonProperty("id")
|
||||||
private Long id = null;
|
private Long id;
|
||||||
|
|
||||||
@JsonProperty("category")
|
@JsonProperty("category")
|
||||||
private Category category = null;
|
private Category category;
|
||||||
|
|
||||||
@JsonProperty("name")
|
@JsonProperty("name")
|
||||||
private String name = null;
|
private String name;
|
||||||
|
|
||||||
@JsonProperty("photoUrls")
|
@JsonProperty("photoUrls")
|
||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
@ -61,12 +61,12 @@ public class Pet {
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
throw new IllegalArgumentException("Unexpected value '" + text + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("status")
|
@JsonProperty("status")
|
||||||
private StatusEnum status = null;
|
private StatusEnum status;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -13,10 +13,10 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class ReadOnlyFirst {
|
public class ReadOnlyFirst {
|
||||||
@JsonProperty("bar")
|
@JsonProperty("bar")
|
||||||
private String bar = null;
|
private String bar;
|
||||||
|
|
||||||
@JsonProperty("baz")
|
@JsonProperty("baz")
|
||||||
private String baz = null;
|
private String baz;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -13,7 +13,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class SpecialModelName {
|
public class SpecialModelName {
|
||||||
@JsonProperty("$special[property.name]")
|
@JsonProperty("$special[property.name]")
|
||||||
private Long $specialPropertyName = null;
|
private Long $specialPropertyName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -13,10 +13,10 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class Tag {
|
public class Tag {
|
||||||
@JsonProperty("id")
|
@JsonProperty("id")
|
||||||
private Long id = null;
|
private Long id;
|
||||||
|
|
||||||
@JsonProperty("name")
|
@JsonProperty("name")
|
||||||
private String name = null;
|
private String name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -0,0 +1,165 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class TypeHolderDefault {
|
||||||
|
@JsonProperty("string_item")
|
||||||
|
private String stringItem = "what";
|
||||||
|
|
||||||
|
@JsonProperty("number_item")
|
||||||
|
private BigDecimal numberItem;
|
||||||
|
|
||||||
|
@JsonProperty("integer_item")
|
||||||
|
private Integer integerItem;
|
||||||
|
|
||||||
|
@JsonProperty("bool_item")
|
||||||
|
private Boolean boolItem = true;
|
||||||
|
|
||||||
|
@JsonProperty("array_item")
|
||||||
|
private List<Integer> arrayItem = new ArrayList<Integer>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderDefault stringItem(String stringItem) {
|
||||||
|
this.stringItem = stringItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(required = true, value = "")
|
||||||
|
@JsonProperty("string_item")
|
||||||
|
public String getStringItem() {
|
||||||
|
return stringItem;
|
||||||
|
}
|
||||||
|
public void setStringItem(String stringItem) {
|
||||||
|
this.stringItem = stringItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderDefault numberItem(BigDecimal numberItem) {
|
||||||
|
this.numberItem = numberItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(required = true, value = "")
|
||||||
|
@JsonProperty("number_item")
|
||||||
|
public BigDecimal getNumberItem() {
|
||||||
|
return numberItem;
|
||||||
|
}
|
||||||
|
public void setNumberItem(BigDecimal numberItem) {
|
||||||
|
this.numberItem = numberItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderDefault integerItem(Integer integerItem) {
|
||||||
|
this.integerItem = integerItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(required = true, value = "")
|
||||||
|
@JsonProperty("integer_item")
|
||||||
|
public Integer getIntegerItem() {
|
||||||
|
return integerItem;
|
||||||
|
}
|
||||||
|
public void setIntegerItem(Integer integerItem) {
|
||||||
|
this.integerItem = integerItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderDefault boolItem(Boolean boolItem) {
|
||||||
|
this.boolItem = boolItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(required = true, value = "")
|
||||||
|
@JsonProperty("bool_item")
|
||||||
|
public Boolean getBoolItem() {
|
||||||
|
return boolItem;
|
||||||
|
}
|
||||||
|
public void setBoolItem(Boolean boolItem) {
|
||||||
|
this.boolItem = boolItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderDefault arrayItem(List<Integer> arrayItem) {
|
||||||
|
this.arrayItem = arrayItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(required = true, value = "")
|
||||||
|
@JsonProperty("array_item")
|
||||||
|
public List<Integer> getArrayItem() {
|
||||||
|
return arrayItem;
|
||||||
|
}
|
||||||
|
public void setArrayItem(List<Integer> arrayItem) {
|
||||||
|
this.arrayItem = arrayItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
TypeHolderDefault typeHolderDefault = (TypeHolderDefault) o;
|
||||||
|
return Objects.equals(stringItem, typeHolderDefault.stringItem) &&
|
||||||
|
Objects.equals(numberItem, typeHolderDefault.numberItem) &&
|
||||||
|
Objects.equals(integerItem, typeHolderDefault.integerItem) &&
|
||||||
|
Objects.equals(boolItem, typeHolderDefault.boolItem) &&
|
||||||
|
Objects.equals(arrayItem, typeHolderDefault.arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(stringItem, numberItem, integerItem, boolItem, arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class TypeHolderDefault {\n");
|
||||||
|
|
||||||
|
sb.append(" stringItem: ").append(toIndentedString(stringItem)).append("\n");
|
||||||
|
sb.append(" numberItem: ").append(toIndentedString(numberItem)).append("\n");
|
||||||
|
sb.append(" integerItem: ").append(toIndentedString(integerItem)).append("\n");
|
||||||
|
sb.append(" boolItem: ").append(toIndentedString(boolItem)).append("\n");
|
||||||
|
sb.append(" arrayItem: ").append(toIndentedString(arrayItem)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,187 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class TypeHolderExample {
|
||||||
|
@JsonProperty("string_item")
|
||||||
|
private String stringItem;
|
||||||
|
|
||||||
|
@JsonProperty("number_item")
|
||||||
|
private BigDecimal numberItem;
|
||||||
|
|
||||||
|
@JsonProperty("float_item")
|
||||||
|
private Float floatItem;
|
||||||
|
|
||||||
|
@JsonProperty("integer_item")
|
||||||
|
private Integer integerItem;
|
||||||
|
|
||||||
|
@JsonProperty("bool_item")
|
||||||
|
private Boolean boolItem;
|
||||||
|
|
||||||
|
@JsonProperty("array_item")
|
||||||
|
private List<Integer> arrayItem = new ArrayList<Integer>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderExample stringItem(String stringItem) {
|
||||||
|
this.stringItem = stringItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "what", required = true, value = "")
|
||||||
|
@JsonProperty("string_item")
|
||||||
|
public String getStringItem() {
|
||||||
|
return stringItem;
|
||||||
|
}
|
||||||
|
public void setStringItem(String stringItem) {
|
||||||
|
this.stringItem = stringItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderExample numberItem(BigDecimal numberItem) {
|
||||||
|
this.numberItem = numberItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", required = true, value = "")
|
||||||
|
@JsonProperty("number_item")
|
||||||
|
public BigDecimal getNumberItem() {
|
||||||
|
return numberItem;
|
||||||
|
}
|
||||||
|
public void setNumberItem(BigDecimal numberItem) {
|
||||||
|
this.numberItem = numberItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderExample floatItem(Float floatItem) {
|
||||||
|
this.floatItem = floatItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", required = true, value = "")
|
||||||
|
@JsonProperty("float_item")
|
||||||
|
public Float getFloatItem() {
|
||||||
|
return floatItem;
|
||||||
|
}
|
||||||
|
public void setFloatItem(Float floatItem) {
|
||||||
|
this.floatItem = floatItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderExample integerItem(Integer integerItem) {
|
||||||
|
this.integerItem = integerItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "-2", required = true, value = "")
|
||||||
|
@JsonProperty("integer_item")
|
||||||
|
public Integer getIntegerItem() {
|
||||||
|
return integerItem;
|
||||||
|
}
|
||||||
|
public void setIntegerItem(Integer integerItem) {
|
||||||
|
this.integerItem = integerItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderExample boolItem(Boolean boolItem) {
|
||||||
|
this.boolItem = boolItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "true", required = true, value = "")
|
||||||
|
@JsonProperty("bool_item")
|
||||||
|
public Boolean getBoolItem() {
|
||||||
|
return boolItem;
|
||||||
|
}
|
||||||
|
public void setBoolItem(Boolean boolItem) {
|
||||||
|
this.boolItem = boolItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public TypeHolderExample arrayItem(List<Integer> arrayItem) {
|
||||||
|
this.arrayItem = arrayItem;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "")
|
||||||
|
@JsonProperty("array_item")
|
||||||
|
public List<Integer> getArrayItem() {
|
||||||
|
return arrayItem;
|
||||||
|
}
|
||||||
|
public void setArrayItem(List<Integer> arrayItem) {
|
||||||
|
this.arrayItem = arrayItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
TypeHolderExample typeHolderExample = (TypeHolderExample) o;
|
||||||
|
return Objects.equals(stringItem, typeHolderExample.stringItem) &&
|
||||||
|
Objects.equals(numberItem, typeHolderExample.numberItem) &&
|
||||||
|
Objects.equals(floatItem, typeHolderExample.floatItem) &&
|
||||||
|
Objects.equals(integerItem, typeHolderExample.integerItem) &&
|
||||||
|
Objects.equals(boolItem, typeHolderExample.boolItem) &&
|
||||||
|
Objects.equals(arrayItem, typeHolderExample.arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(stringItem, numberItem, floatItem, integerItem, boolItem, arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class TypeHolderExample {\n");
|
||||||
|
|
||||||
|
sb.append(" stringItem: ").append(toIndentedString(stringItem)).append("\n");
|
||||||
|
sb.append(" numberItem: ").append(toIndentedString(numberItem)).append("\n");
|
||||||
|
sb.append(" floatItem: ").append(toIndentedString(floatItem)).append("\n");
|
||||||
|
sb.append(" integerItem: ").append(toIndentedString(integerItem)).append("\n");
|
||||||
|
sb.append(" boolItem: ").append(toIndentedString(boolItem)).append("\n");
|
||||||
|
sb.append(" arrayItem: ").append(toIndentedString(arrayItem)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13,28 +13,28 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
public class User {
|
public class User {
|
||||||
@JsonProperty("id")
|
@JsonProperty("id")
|
||||||
private Long id = null;
|
private Long id;
|
||||||
|
|
||||||
@JsonProperty("username")
|
@JsonProperty("username")
|
||||||
private String username = null;
|
private String username;
|
||||||
|
|
||||||
@JsonProperty("firstName")
|
@JsonProperty("firstName")
|
||||||
private String firstName = null;
|
private String firstName;
|
||||||
|
|
||||||
@JsonProperty("lastName")
|
@JsonProperty("lastName")
|
||||||
private String lastName = null;
|
private String lastName;
|
||||||
|
|
||||||
@JsonProperty("email")
|
@JsonProperty("email")
|
||||||
private String email = null;
|
private String email;
|
||||||
|
|
||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password = null;
|
private String password;
|
||||||
|
|
||||||
@JsonProperty("phone")
|
@JsonProperty("phone")
|
||||||
private String phone = null;
|
private String phone;
|
||||||
|
|
||||||
@JsonProperty("userStatus")
|
@JsonProperty("userStatus")
|
||||||
private Integer userStatus = null;
|
private Integer userStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**/
|
**/
|
||||||
|
@ -0,0 +1,693 @@
|
|||||||
|
package org.openapitools.model;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class XmlItem {
|
||||||
|
@JsonProperty("attribute_string")
|
||||||
|
private String attributeString;
|
||||||
|
|
||||||
|
@JsonProperty("attribute_number")
|
||||||
|
private BigDecimal attributeNumber;
|
||||||
|
|
||||||
|
@JsonProperty("attribute_integer")
|
||||||
|
private Integer attributeInteger;
|
||||||
|
|
||||||
|
@JsonProperty("attribute_boolean")
|
||||||
|
private Boolean attributeBoolean;
|
||||||
|
|
||||||
|
@JsonProperty("wrapped_array")
|
||||||
|
private List<Integer> wrappedArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("name_string")
|
||||||
|
private String nameString;
|
||||||
|
|
||||||
|
@JsonProperty("name_number")
|
||||||
|
private BigDecimal nameNumber;
|
||||||
|
|
||||||
|
@JsonProperty("name_integer")
|
||||||
|
private Integer nameInteger;
|
||||||
|
|
||||||
|
@JsonProperty("name_boolean")
|
||||||
|
private Boolean nameBoolean;
|
||||||
|
|
||||||
|
@JsonProperty("name_array")
|
||||||
|
private List<Integer> nameArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("name_wrapped_array")
|
||||||
|
private List<Integer> nameWrappedArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_string")
|
||||||
|
private String prefixString;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_number")
|
||||||
|
private BigDecimal prefixNumber;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_integer")
|
||||||
|
private Integer prefixInteger;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_boolean")
|
||||||
|
private Boolean prefixBoolean;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_array")
|
||||||
|
private List<Integer> prefixArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_wrapped_array")
|
||||||
|
private List<Integer> prefixWrappedArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("namespace_string")
|
||||||
|
private String namespaceString;
|
||||||
|
|
||||||
|
@JsonProperty("namespace_number")
|
||||||
|
private BigDecimal namespaceNumber;
|
||||||
|
|
||||||
|
@JsonProperty("namespace_integer")
|
||||||
|
private Integer namespaceInteger;
|
||||||
|
|
||||||
|
@JsonProperty("namespace_boolean")
|
||||||
|
private Boolean namespaceBoolean;
|
||||||
|
|
||||||
|
@JsonProperty("namespace_array")
|
||||||
|
private List<Integer> namespaceArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("namespace_wrapped_array")
|
||||||
|
private List<Integer> namespaceWrappedArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_ns_string")
|
||||||
|
private String prefixNsString;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_ns_number")
|
||||||
|
private BigDecimal prefixNsNumber;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_ns_integer")
|
||||||
|
private Integer prefixNsInteger;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_ns_boolean")
|
||||||
|
private Boolean prefixNsBoolean;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_ns_array")
|
||||||
|
private List<Integer> prefixNsArray = null;
|
||||||
|
|
||||||
|
@JsonProperty("prefix_ns_wrapped_array")
|
||||||
|
private List<Integer> prefixNsWrappedArray = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem attributeString(String attributeString) {
|
||||||
|
this.attributeString = attributeString;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "string", value = "")
|
||||||
|
@JsonProperty("attribute_string")
|
||||||
|
public String getAttributeString() {
|
||||||
|
return attributeString;
|
||||||
|
}
|
||||||
|
public void setAttributeString(String attributeString) {
|
||||||
|
this.attributeString = attributeString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem attributeNumber(BigDecimal attributeNumber) {
|
||||||
|
this.attributeNumber = attributeNumber;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", value = "")
|
||||||
|
@JsonProperty("attribute_number")
|
||||||
|
public BigDecimal getAttributeNumber() {
|
||||||
|
return attributeNumber;
|
||||||
|
}
|
||||||
|
public void setAttributeNumber(BigDecimal attributeNumber) {
|
||||||
|
this.attributeNumber = attributeNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem attributeInteger(Integer attributeInteger) {
|
||||||
|
this.attributeInteger = attributeInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "-2", value = "")
|
||||||
|
@JsonProperty("attribute_integer")
|
||||||
|
public Integer getAttributeInteger() {
|
||||||
|
return attributeInteger;
|
||||||
|
}
|
||||||
|
public void setAttributeInteger(Integer attributeInteger) {
|
||||||
|
this.attributeInteger = attributeInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem attributeBoolean(Boolean attributeBoolean) {
|
||||||
|
this.attributeBoolean = attributeBoolean;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "true", value = "")
|
||||||
|
@JsonProperty("attribute_boolean")
|
||||||
|
public Boolean getAttributeBoolean() {
|
||||||
|
return attributeBoolean;
|
||||||
|
}
|
||||||
|
public void setAttributeBoolean(Boolean attributeBoolean) {
|
||||||
|
this.attributeBoolean = attributeBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem wrappedArray(List<Integer> wrappedArray) {
|
||||||
|
this.wrappedArray = wrappedArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("wrapped_array")
|
||||||
|
public List<Integer> getWrappedArray() {
|
||||||
|
return wrappedArray;
|
||||||
|
}
|
||||||
|
public void setWrappedArray(List<Integer> wrappedArray) {
|
||||||
|
this.wrappedArray = wrappedArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem nameString(String nameString) {
|
||||||
|
this.nameString = nameString;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "string", value = "")
|
||||||
|
@JsonProperty("name_string")
|
||||||
|
public String getNameString() {
|
||||||
|
return nameString;
|
||||||
|
}
|
||||||
|
public void setNameString(String nameString) {
|
||||||
|
this.nameString = nameString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem nameNumber(BigDecimal nameNumber) {
|
||||||
|
this.nameNumber = nameNumber;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", value = "")
|
||||||
|
@JsonProperty("name_number")
|
||||||
|
public BigDecimal getNameNumber() {
|
||||||
|
return nameNumber;
|
||||||
|
}
|
||||||
|
public void setNameNumber(BigDecimal nameNumber) {
|
||||||
|
this.nameNumber = nameNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem nameInteger(Integer nameInteger) {
|
||||||
|
this.nameInteger = nameInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "-2", value = "")
|
||||||
|
@JsonProperty("name_integer")
|
||||||
|
public Integer getNameInteger() {
|
||||||
|
return nameInteger;
|
||||||
|
}
|
||||||
|
public void setNameInteger(Integer nameInteger) {
|
||||||
|
this.nameInteger = nameInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem nameBoolean(Boolean nameBoolean) {
|
||||||
|
this.nameBoolean = nameBoolean;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "true", value = "")
|
||||||
|
@JsonProperty("name_boolean")
|
||||||
|
public Boolean getNameBoolean() {
|
||||||
|
return nameBoolean;
|
||||||
|
}
|
||||||
|
public void setNameBoolean(Boolean nameBoolean) {
|
||||||
|
this.nameBoolean = nameBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem nameArray(List<Integer> nameArray) {
|
||||||
|
this.nameArray = nameArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name_array")
|
||||||
|
public List<Integer> getNameArray() {
|
||||||
|
return nameArray;
|
||||||
|
}
|
||||||
|
public void setNameArray(List<Integer> nameArray) {
|
||||||
|
this.nameArray = nameArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem nameWrappedArray(List<Integer> nameWrappedArray) {
|
||||||
|
this.nameWrappedArray = nameWrappedArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("name_wrapped_array")
|
||||||
|
public List<Integer> getNameWrappedArray() {
|
||||||
|
return nameWrappedArray;
|
||||||
|
}
|
||||||
|
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
|
||||||
|
this.nameWrappedArray = nameWrappedArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixString(String prefixString) {
|
||||||
|
this.prefixString = prefixString;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "string", value = "")
|
||||||
|
@JsonProperty("prefix_string")
|
||||||
|
public String getPrefixString() {
|
||||||
|
return prefixString;
|
||||||
|
}
|
||||||
|
public void setPrefixString(String prefixString) {
|
||||||
|
this.prefixString = prefixString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNumber(BigDecimal prefixNumber) {
|
||||||
|
this.prefixNumber = prefixNumber;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", value = "")
|
||||||
|
@JsonProperty("prefix_number")
|
||||||
|
public BigDecimal getPrefixNumber() {
|
||||||
|
return prefixNumber;
|
||||||
|
}
|
||||||
|
public void setPrefixNumber(BigDecimal prefixNumber) {
|
||||||
|
this.prefixNumber = prefixNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixInteger(Integer prefixInteger) {
|
||||||
|
this.prefixInteger = prefixInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "-2", value = "")
|
||||||
|
@JsonProperty("prefix_integer")
|
||||||
|
public Integer getPrefixInteger() {
|
||||||
|
return prefixInteger;
|
||||||
|
}
|
||||||
|
public void setPrefixInteger(Integer prefixInteger) {
|
||||||
|
this.prefixInteger = prefixInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixBoolean(Boolean prefixBoolean) {
|
||||||
|
this.prefixBoolean = prefixBoolean;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "true", value = "")
|
||||||
|
@JsonProperty("prefix_boolean")
|
||||||
|
public Boolean getPrefixBoolean() {
|
||||||
|
return prefixBoolean;
|
||||||
|
}
|
||||||
|
public void setPrefixBoolean(Boolean prefixBoolean) {
|
||||||
|
this.prefixBoolean = prefixBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixArray(List<Integer> prefixArray) {
|
||||||
|
this.prefixArray = prefixArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("prefix_array")
|
||||||
|
public List<Integer> getPrefixArray() {
|
||||||
|
return prefixArray;
|
||||||
|
}
|
||||||
|
public void setPrefixArray(List<Integer> prefixArray) {
|
||||||
|
this.prefixArray = prefixArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixWrappedArray(List<Integer> prefixWrappedArray) {
|
||||||
|
this.prefixWrappedArray = prefixWrappedArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("prefix_wrapped_array")
|
||||||
|
public List<Integer> getPrefixWrappedArray() {
|
||||||
|
return prefixWrappedArray;
|
||||||
|
}
|
||||||
|
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
|
||||||
|
this.prefixWrappedArray = prefixWrappedArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem namespaceString(String namespaceString) {
|
||||||
|
this.namespaceString = namespaceString;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "string", value = "")
|
||||||
|
@JsonProperty("namespace_string")
|
||||||
|
public String getNamespaceString() {
|
||||||
|
return namespaceString;
|
||||||
|
}
|
||||||
|
public void setNamespaceString(String namespaceString) {
|
||||||
|
this.namespaceString = namespaceString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem namespaceNumber(BigDecimal namespaceNumber) {
|
||||||
|
this.namespaceNumber = namespaceNumber;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", value = "")
|
||||||
|
@JsonProperty("namespace_number")
|
||||||
|
public BigDecimal getNamespaceNumber() {
|
||||||
|
return namespaceNumber;
|
||||||
|
}
|
||||||
|
public void setNamespaceNumber(BigDecimal namespaceNumber) {
|
||||||
|
this.namespaceNumber = namespaceNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem namespaceInteger(Integer namespaceInteger) {
|
||||||
|
this.namespaceInteger = namespaceInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "-2", value = "")
|
||||||
|
@JsonProperty("namespace_integer")
|
||||||
|
public Integer getNamespaceInteger() {
|
||||||
|
return namespaceInteger;
|
||||||
|
}
|
||||||
|
public void setNamespaceInteger(Integer namespaceInteger) {
|
||||||
|
this.namespaceInteger = namespaceInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem namespaceBoolean(Boolean namespaceBoolean) {
|
||||||
|
this.namespaceBoolean = namespaceBoolean;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "true", value = "")
|
||||||
|
@JsonProperty("namespace_boolean")
|
||||||
|
public Boolean getNamespaceBoolean() {
|
||||||
|
return namespaceBoolean;
|
||||||
|
}
|
||||||
|
public void setNamespaceBoolean(Boolean namespaceBoolean) {
|
||||||
|
this.namespaceBoolean = namespaceBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem namespaceArray(List<Integer> namespaceArray) {
|
||||||
|
this.namespaceArray = namespaceArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("namespace_array")
|
||||||
|
public List<Integer> getNamespaceArray() {
|
||||||
|
return namespaceArray;
|
||||||
|
}
|
||||||
|
public void setNamespaceArray(List<Integer> namespaceArray) {
|
||||||
|
this.namespaceArray = namespaceArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem namespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
||||||
|
this.namespaceWrappedArray = namespaceWrappedArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("namespace_wrapped_array")
|
||||||
|
public List<Integer> getNamespaceWrappedArray() {
|
||||||
|
return namespaceWrappedArray;
|
||||||
|
}
|
||||||
|
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
||||||
|
this.namespaceWrappedArray = namespaceWrappedArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNsString(String prefixNsString) {
|
||||||
|
this.prefixNsString = prefixNsString;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "string", value = "")
|
||||||
|
@JsonProperty("prefix_ns_string")
|
||||||
|
public String getPrefixNsString() {
|
||||||
|
return prefixNsString;
|
||||||
|
}
|
||||||
|
public void setPrefixNsString(String prefixNsString) {
|
||||||
|
this.prefixNsString = prefixNsString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) {
|
||||||
|
this.prefixNsNumber = prefixNsNumber;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "1.234", value = "")
|
||||||
|
@JsonProperty("prefix_ns_number")
|
||||||
|
public BigDecimal getPrefixNsNumber() {
|
||||||
|
return prefixNsNumber;
|
||||||
|
}
|
||||||
|
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
|
||||||
|
this.prefixNsNumber = prefixNsNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNsInteger(Integer prefixNsInteger) {
|
||||||
|
this.prefixNsInteger = prefixNsInteger;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "-2", value = "")
|
||||||
|
@JsonProperty("prefix_ns_integer")
|
||||||
|
public Integer getPrefixNsInteger() {
|
||||||
|
return prefixNsInteger;
|
||||||
|
}
|
||||||
|
public void setPrefixNsInteger(Integer prefixNsInteger) {
|
||||||
|
this.prefixNsInteger = prefixNsInteger;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) {
|
||||||
|
this.prefixNsBoolean = prefixNsBoolean;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "true", value = "")
|
||||||
|
@JsonProperty("prefix_ns_boolean")
|
||||||
|
public Boolean getPrefixNsBoolean() {
|
||||||
|
return prefixNsBoolean;
|
||||||
|
}
|
||||||
|
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
|
||||||
|
this.prefixNsBoolean = prefixNsBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNsArray(List<Integer> prefixNsArray) {
|
||||||
|
this.prefixNsArray = prefixNsArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("prefix_ns_array")
|
||||||
|
public List<Integer> getPrefixNsArray() {
|
||||||
|
return prefixNsArray;
|
||||||
|
}
|
||||||
|
public void setPrefixNsArray(List<Integer> prefixNsArray) {
|
||||||
|
this.prefixNsArray = prefixNsArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public XmlItem prefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
||||||
|
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("prefix_ns_wrapped_array")
|
||||||
|
public List<Integer> getPrefixNsWrappedArray() {
|
||||||
|
return prefixNsWrappedArray;
|
||||||
|
}
|
||||||
|
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
||||||
|
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(java.lang.Object o) {
|
||||||
|
if (this == o) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
XmlItem xmlItem = (XmlItem) o;
|
||||||
|
return Objects.equals(attributeString, xmlItem.attributeString) &&
|
||||||
|
Objects.equals(attributeNumber, xmlItem.attributeNumber) &&
|
||||||
|
Objects.equals(attributeInteger, xmlItem.attributeInteger) &&
|
||||||
|
Objects.equals(attributeBoolean, xmlItem.attributeBoolean) &&
|
||||||
|
Objects.equals(wrappedArray, xmlItem.wrappedArray) &&
|
||||||
|
Objects.equals(nameString, xmlItem.nameString) &&
|
||||||
|
Objects.equals(nameNumber, xmlItem.nameNumber) &&
|
||||||
|
Objects.equals(nameInteger, xmlItem.nameInteger) &&
|
||||||
|
Objects.equals(nameBoolean, xmlItem.nameBoolean) &&
|
||||||
|
Objects.equals(nameArray, xmlItem.nameArray) &&
|
||||||
|
Objects.equals(nameWrappedArray, xmlItem.nameWrappedArray) &&
|
||||||
|
Objects.equals(prefixString, xmlItem.prefixString) &&
|
||||||
|
Objects.equals(prefixNumber, xmlItem.prefixNumber) &&
|
||||||
|
Objects.equals(prefixInteger, xmlItem.prefixInteger) &&
|
||||||
|
Objects.equals(prefixBoolean, xmlItem.prefixBoolean) &&
|
||||||
|
Objects.equals(prefixArray, xmlItem.prefixArray) &&
|
||||||
|
Objects.equals(prefixWrappedArray, xmlItem.prefixWrappedArray) &&
|
||||||
|
Objects.equals(namespaceString, xmlItem.namespaceString) &&
|
||||||
|
Objects.equals(namespaceNumber, xmlItem.namespaceNumber) &&
|
||||||
|
Objects.equals(namespaceInteger, xmlItem.namespaceInteger) &&
|
||||||
|
Objects.equals(namespaceBoolean, xmlItem.namespaceBoolean) &&
|
||||||
|
Objects.equals(namespaceArray, xmlItem.namespaceArray) &&
|
||||||
|
Objects.equals(namespaceWrappedArray, xmlItem.namespaceWrappedArray) &&
|
||||||
|
Objects.equals(prefixNsString, xmlItem.prefixNsString) &&
|
||||||
|
Objects.equals(prefixNsNumber, xmlItem.prefixNsNumber) &&
|
||||||
|
Objects.equals(prefixNsInteger, xmlItem.prefixNsInteger) &&
|
||||||
|
Objects.equals(prefixNsBoolean, xmlItem.prefixNsBoolean) &&
|
||||||
|
Objects.equals(prefixNsArray, xmlItem.prefixNsArray) &&
|
||||||
|
Objects.equals(prefixNsWrappedArray, xmlItem.prefixNsWrappedArray);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(attributeString, attributeNumber, attributeInteger, attributeBoolean, wrappedArray, nameString, nameNumber, nameInteger, nameBoolean, nameArray, nameWrappedArray, prefixString, prefixNumber, prefixInteger, prefixBoolean, prefixArray, prefixWrappedArray, namespaceString, namespaceNumber, namespaceInteger, namespaceBoolean, namespaceArray, namespaceWrappedArray, prefixNsString, prefixNsNumber, prefixNsInteger, prefixNsBoolean, prefixNsArray, prefixNsWrappedArray);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("class XmlItem {\n");
|
||||||
|
|
||||||
|
sb.append(" attributeString: ").append(toIndentedString(attributeString)).append("\n");
|
||||||
|
sb.append(" attributeNumber: ").append(toIndentedString(attributeNumber)).append("\n");
|
||||||
|
sb.append(" attributeInteger: ").append(toIndentedString(attributeInteger)).append("\n");
|
||||||
|
sb.append(" attributeBoolean: ").append(toIndentedString(attributeBoolean)).append("\n");
|
||||||
|
sb.append(" wrappedArray: ").append(toIndentedString(wrappedArray)).append("\n");
|
||||||
|
sb.append(" nameString: ").append(toIndentedString(nameString)).append("\n");
|
||||||
|
sb.append(" nameNumber: ").append(toIndentedString(nameNumber)).append("\n");
|
||||||
|
sb.append(" nameInteger: ").append(toIndentedString(nameInteger)).append("\n");
|
||||||
|
sb.append(" nameBoolean: ").append(toIndentedString(nameBoolean)).append("\n");
|
||||||
|
sb.append(" nameArray: ").append(toIndentedString(nameArray)).append("\n");
|
||||||
|
sb.append(" nameWrappedArray: ").append(toIndentedString(nameWrappedArray)).append("\n");
|
||||||
|
sb.append(" prefixString: ").append(toIndentedString(prefixString)).append("\n");
|
||||||
|
sb.append(" prefixNumber: ").append(toIndentedString(prefixNumber)).append("\n");
|
||||||
|
sb.append(" prefixInteger: ").append(toIndentedString(prefixInteger)).append("\n");
|
||||||
|
sb.append(" prefixBoolean: ").append(toIndentedString(prefixBoolean)).append("\n");
|
||||||
|
sb.append(" prefixArray: ").append(toIndentedString(prefixArray)).append("\n");
|
||||||
|
sb.append(" prefixWrappedArray: ").append(toIndentedString(prefixWrappedArray)).append("\n");
|
||||||
|
sb.append(" namespaceString: ").append(toIndentedString(namespaceString)).append("\n");
|
||||||
|
sb.append(" namespaceNumber: ").append(toIndentedString(namespaceNumber)).append("\n");
|
||||||
|
sb.append(" namespaceInteger: ").append(toIndentedString(namespaceInteger)).append("\n");
|
||||||
|
sb.append(" namespaceBoolean: ").append(toIndentedString(namespaceBoolean)).append("\n");
|
||||||
|
sb.append(" namespaceArray: ").append(toIndentedString(namespaceArray)).append("\n");
|
||||||
|
sb.append(" namespaceWrappedArray: ").append(toIndentedString(namespaceWrappedArray)).append("\n");
|
||||||
|
sb.append(" prefixNsString: ").append(toIndentedString(prefixNsString)).append("\n");
|
||||||
|
sb.append(" prefixNsNumber: ").append(toIndentedString(prefixNsNumber)).append("\n");
|
||||||
|
sb.append(" prefixNsInteger: ").append(toIndentedString(prefixNsInteger)).append("\n");
|
||||||
|
sb.append(" prefixNsBoolean: ").append(toIndentedString(prefixNsBoolean)).append("\n");
|
||||||
|
sb.append(" prefixNsArray: ").append(toIndentedString(prefixNsArray)).append("\n");
|
||||||
|
sb.append(" prefixNsWrappedArray: ").append(toIndentedString(prefixNsWrappedArray)).append("\n");
|
||||||
|
sb.append("}");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
|
* (except the first line).
|
||||||
|
*/
|
||||||
|
private String toIndentedString(java.lang.Object o) {
|
||||||
|
if (o == null) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
|
return o.toString().replace("\n", "\n ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -21,7 +21,7 @@ public class AnotherFakeController {
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext testSpecialTags(RequestContext request , Client client) {
|
public ResponseContext call123testSpecialTags(RequestContext request , Client body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
@ -21,7 +21,7 @@ public class FakeClassnameTestController {
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext testClassname(RequestContext request , Client client) {
|
public ResponseContext testClassname(RequestContext request , Client body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
@ -19,6 +19,7 @@ import java.util.Map;
|
|||||||
import org.openapitools.model.ModelApiResponse;
|
import org.openapitools.model.ModelApiResponse;
|
||||||
import org.openapitools.model.OuterComposite;
|
import org.openapitools.model.OuterComposite;
|
||||||
import org.openapitools.model.User;
|
import org.openapitools.model.User;
|
||||||
|
import org.openapitools.model.XmlItem;
|
||||||
|
|
||||||
|
|
||||||
public class FakeController {
|
public class FakeController {
|
||||||
@ -28,6 +29,12 @@ public class FakeController {
|
|||||||
* Code allows you to implement logic incrementally, they are disabled.
|
* Code allows you to implement logic incrementally, they are disabled.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
/*
|
||||||
|
public ResponseContext createXmlItem(RequestContext request , XmlItem xmlItem) {
|
||||||
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext fakeOuterBooleanSerialize(RequestContext request , Boolean body) {
|
public ResponseContext fakeOuterBooleanSerialize(RequestContext request , Boolean body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
@ -35,7 +42,7 @@ public class FakeController {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext fakeOuterCompositeSerialize(RequestContext request , OuterComposite outerComposite) {
|
public ResponseContext fakeOuterCompositeSerialize(RequestContext request , OuterComposite body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
@ -53,19 +60,19 @@ public class FakeController {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext testBodyWithFileSchema(RequestContext request , FileSchemaTestClass fileSchemaTestClass) {
|
public ResponseContext testBodyWithFileSchema(RequestContext request , FileSchemaTestClass body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext testBodyWithQueryParams(RequestContext request , String query, User user) {
|
public ResponseContext testBodyWithQueryParams(RequestContext request , String query, User body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext testClientModel(RequestContext request , Client client) {
|
public ResponseContext testClientModel(RequestContext request , Client body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
@ -83,7 +90,13 @@ public class FakeController {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext testInlineAdditionalProperties(RequestContext request , Map<String, String> requestBody) {
|
public ResponseContext testGroupParameters(RequestContext request , Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) {
|
||||||
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
public ResponseContext testInlineAdditionalProperties(RequestContext request , Map<String, String> param) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
@ -94,6 +107,12 @@ public class FakeController {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
public ResponseContext testQueryParameterCollectionFormat(RequestContext request , List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) {
|
||||||
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext uploadFileWithRequiredFile(RequestContext request , Long petId, FormDataContentDisposition fileDetail, String additionalMetadata) {
|
public ResponseContext uploadFileWithRequiredFile(RequestContext request , Long petId, FormDataContentDisposition fileDetail, String additionalMetadata) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
|
@ -23,7 +23,7 @@ public class PetController {
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext addPet(RequestContext request , Pet pet) {
|
public ResponseContext addPet(RequestContext request , Pet body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
@ -53,7 +53,7 @@ public class PetController {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext updatePet(RequestContext request , Pet pet) {
|
public ResponseContext updatePet(RequestContext request , Pet body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
@ -40,7 +40,7 @@ public class StoreController {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext placeOrder(RequestContext request , Order order) {
|
public ResponseContext placeOrder(RequestContext request , Order body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
@ -22,19 +22,19 @@ public class UserController {
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext createUser(RequestContext request , User user) {
|
public ResponseContext createUser(RequestContext request , User body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext createUsersWithArrayInput(RequestContext request , List<User> user) {
|
public ResponseContext createUsersWithArrayInput(RequestContext request , List<User> body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext createUsersWithListInput(RequestContext request , List<User> user) {
|
public ResponseContext createUsersWithListInput(RequestContext request , List<User> body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
@ -64,7 +64,7 @@ public class UserController {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public ResponseContext updateUser(RequestContext request , String username, User user) {
|
public ResponseContext updateUser(RequestContext request , String username, User body) {
|
||||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user