mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 05:06:12 +00:00
Update generated build files for REST Assured (#5873)
* REST Assured 4.3.0 * Jackson 2.10.3 * Gson 2.8.6, GSON-Fire 1.8.4 * Okio 1.17.5 * Joda-Time 2.10.5 * ThreeTenBP 1.4.3 * Added missing dependencies for Bean Validation * Added missing dependencies for `@Generated` annotation * Refresh REST Assured sample project
This commit is contained in:
@@ -96,12 +96,12 @@ if(hasProperty('target') && target == 'android') {
|
||||
|
||||
ext {
|
||||
swagger_annotations_version = "1.5.21"
|
||||
rest_assured_version = "4.0.0"
|
||||
rest_assured_version = "4.3.0"
|
||||
junit_version = "4.13"
|
||||
gson_version = "2.8.5"
|
||||
gson_fire_version = "1.8.3"
|
||||
threetenbp_version = "1.4.0"
|
||||
okio_version = "1.13.0"
|
||||
gson_version = "2.8.6"
|
||||
gson_fire_version = "1.8.4"
|
||||
threetenbp_version = "1.4.3"
|
||||
okio_version = "1.17.5"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -112,5 +112,7 @@ dependencies {
|
||||
compile 'com.google.code.gson:gson:$gson_version'
|
||||
compile "org.threeten:threetenbp:$threetenbp_version"
|
||||
compile "com.squareup.okio:okio:$okio_version"
|
||||
compile "javax.validation:validation-api:2.0.1.Final"
|
||||
compile "org.hibernate:hibernate-validator:6.0.19.Final"
|
||||
testCompile "junit:junit:$junit_version"
|
||||
}
|
||||
|
||||
@@ -10,11 +10,13 @@ lazy val root = (project in file(".")).
|
||||
resolvers += Resolver.mavenLocal,
|
||||
libraryDependencies ++= Seq(
|
||||
"io.swagger" % "swagger-annotations" % "1.5.21",
|
||||
"io.rest-assured" % "scala-support" % "4.0.0",
|
||||
"com.google.code.gson" % "gson" % "2.8.5",
|
||||
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
|
||||
"org.threeten" % "threetenbp" % "1.4.0" % "compile",
|
||||
"com.squareup.okio" % "okio" % "1.13.0" % "compile",
|
||||
"io.rest-assured" % "scala-support" % "4.3.0",
|
||||
"com.google.code.gson" % "gson" % "2.8.6",
|
||||
"io.gsonfire" % "gson-fire" % "1.8.4" % "compile",
|
||||
"org.threeten" % "threetenbp" % "1.4.3" % "compile",
|
||||
"com.squareup.okio" % "okio" % "1.17.5" % "compile",
|
||||
"javax.validation" % "validation-api" % "2.0.1.Final" % "compile",
|
||||
"org.hibernate" % "hibernate-validator" "6.0.19.Final" % "compile",
|
||||
"junit" % "junit" % "4.13" % "test",
|
||||
"com.novocode" % "junit-interface" % "0.10" % "test"
|
||||
)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<version>3.0.0-M3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-maven</id>
|
||||
@@ -46,7 +46,7 @@
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>2.2.0</version>
|
||||
<version>3.0.5</version>
|
||||
</requireMavenVersion>
|
||||
</rules>
|
||||
</configuration>
|
||||
@@ -56,7 +56,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.12</version>
|
||||
<version>2.22.2</version>
|
||||
<configuration>
|
||||
<systemProperties>
|
||||
<property>
|
||||
@@ -64,9 +64,8 @@
|
||||
<value>conf/log4j.properties</value>
|
||||
</property>
|
||||
</systemProperties>
|
||||
<argLine>-Xms512m -Xmx1500m</argLine>
|
||||
<parallel>methods</parallel>
|
||||
<forkMode>pertest</forkMode>
|
||||
<reuseForks>false</reuseForks>
|
||||
<forkCount>1C</forkCount>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@@ -104,6 +103,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add_sources</id>
|
||||
@@ -134,7 +134,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
@@ -143,7 +143,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<doclint>none</doclint>
|
||||
</configuration>
|
||||
@@ -159,7 +159,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
@@ -180,7 +180,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.5</version>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
@@ -196,6 +196,7 @@
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
@@ -233,6 +234,19 @@
|
||||
<artifactId>okio</artifactId>
|
||||
<version>${okio-version}</version>
|
||||
</dependency>
|
||||
<!-- Bean Validation API support -->
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>2.0.1.Final</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Bean Validation Impl. used to perform BeanValidation -->
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<version>6.0.19.Final</version>
|
||||
</dependency>
|
||||
<!-- test dependencies -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
@@ -244,12 +258,11 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<swagger-annotations-version>1.5.21</swagger-annotations-version>
|
||||
<rest-assured.version>4.0.0</rest-assured.version>
|
||||
<gson-version>2.8.5</gson-version>
|
||||
<gson-fire-version>1.8.3</gson-fire-version>
|
||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||
<threetenbp-version>1.4.0</threetenbp-version>
|
||||
<okio-version>1.13.0</okio-version>
|
||||
<rest-assured.version>4.3.0</rest-assured.version>
|
||||
<gson-version>2.8.6</gson-version>
|
||||
<gson-fire-version>1.8.4</gson-fire-version>
|
||||
<threetenbp-version>1.4.3</threetenbp-version>
|
||||
<okio-version>1.17.5</okio-version>
|
||||
<junit-version>4.13</junit-version>
|
||||
</properties>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package org.openapitools.client;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import javax.validation.ConstraintViolation;
|
||||
import javax.validation.ValidationException;
|
||||
|
||||
public class BeanValidationException extends ValidationException {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -5294733947409491364L;
|
||||
Set<ConstraintViolation<Object>> violations;
|
||||
|
||||
public BeanValidationException(Set<ConstraintViolation<Object>> violations) {
|
||||
this.violations = violations;
|
||||
}
|
||||
|
||||
public Set<ConstraintViolation<Object>> getViolations() {
|
||||
return violations;
|
||||
}
|
||||
|
||||
public void setViolations(Set<ConstraintViolation<Object>> violations) {
|
||||
this.violations = violations;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesAnyType
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesArray
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesBoolean
|
||||
|
||||
@@ -27,6 +27,9 @@ import java.math.BigDecimal;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesClass
|
||||
@@ -128,6 +131,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, BigDecimal> getMapNumber() {
|
||||
@@ -221,6 +225,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapArrayInteger
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
@@ -252,6 +257,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapArrayAnytype
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
@@ -283,6 +289,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapMapString
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
@@ -314,6 +321,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapMapAnytype
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
@@ -337,6 +345,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return anytype1
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype1() {
|
||||
@@ -360,6 +369,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return anytype2
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype2() {
|
||||
@@ -383,6 +393,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return anytype3
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype3() {
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesInteger
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesNumber
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesObject
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesString
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Animal
|
||||
@@ -52,6 +55,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getClassName() {
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* ArrayOfArrayOfNumberOnly
|
||||
@@ -56,6 +59,7 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
* @return arrayArrayNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* ArrayOfNumberOnly
|
||||
@@ -56,6 +59,7 @@ public class ArrayOfNumberOnly {
|
||||
* @return arrayNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.ReadOnlyFirst;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* ArrayTest
|
||||
@@ -95,6 +98,7 @@ public class ArrayTest {
|
||||
* @return arrayArrayOfInteger
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
@@ -126,6 +130,7 @@ public class ArrayTest {
|
||||
* @return arrayArrayOfModel
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import org.openapitools.client.model.BigCatAllOf;
|
||||
import org.openapitools.client.model.Cat;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* BigCat
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* BigCatAllOf
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Capitalization
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import org.openapitools.client.model.Animal;
|
||||
import org.openapitools.client.model.CatAllOf;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Cat
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* CatAllOf
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Category
|
||||
@@ -71,6 +74,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Model for testing model with \"_class\" property
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Client
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import org.openapitools.client.model.Animal;
|
||||
import org.openapitools.client.model.DogAllOf;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Dog
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* DogAllOf
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* EnumArrays
|
||||
|
||||
@@ -16,6 +16,9 @@ package org.openapitools.client.model;
|
||||
import java.util.Objects;
|
||||
import java.util.Arrays;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import com.google.gson.TypeAdapter;
|
||||
|
||||
@@ -24,6 +24,9 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import org.openapitools.client.model.OuterEnum;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* EnumTest
|
||||
@@ -276,6 +279,7 @@ public class EnumTest {
|
||||
* Get enumStringRequired
|
||||
* @return enumStringRequired
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public EnumStringRequiredEnum getEnumStringRequired() {
|
||||
@@ -345,6 +349,7 @@ public class EnumTest {
|
||||
* @return outerEnum
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OuterEnum getOuterEnum() {
|
||||
|
||||
@@ -25,6 +25,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* FileSchemaTestClass
|
||||
@@ -51,6 +54,7 @@ public class FileSchemaTestClass {
|
||||
* @return file
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public java.io.File getFile() {
|
||||
@@ -82,6 +86,7 @@ public class FileSchemaTestClass {
|
||||
* @return files
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<java.io.File> getFiles() {
|
||||
|
||||
@@ -28,6 +28,9 @@ import java.math.BigDecimal;
|
||||
import java.util.UUID;
|
||||
import org.threeten.bp.LocalDate;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* FormatTest
|
||||
@@ -104,7 +107,7 @@ public class FormatTest {
|
||||
* @return integer
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@ApiModelProperty(value = "")
|
||||
@Min(10) @Max(100) @ApiModelProperty(value = "")
|
||||
|
||||
public Integer getInteger() {
|
||||
return integer;
|
||||
@@ -129,7 +132,7 @@ public class FormatTest {
|
||||
* @return int32
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@ApiModelProperty(value = "")
|
||||
@Min(20) @Max(200) @ApiModelProperty(value = "")
|
||||
|
||||
public Integer getInt32() {
|
||||
return int32;
|
||||
@@ -176,7 +179,9 @@ public class FormatTest {
|
||||
* maximum: 543.2
|
||||
* @return number
|
||||
**/
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
@Valid
|
||||
@DecimalMin("32.1") @DecimalMax("543.2") @ApiModelProperty(required = true, value = "")
|
||||
|
||||
public BigDecimal getNumber() {
|
||||
return number;
|
||||
@@ -201,7 +206,7 @@ public class FormatTest {
|
||||
* @return _float
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@ApiModelProperty(value = "")
|
||||
@DecimalMin("54.3") @DecimalMax("987.6") @ApiModelProperty(value = "")
|
||||
|
||||
public Float getFloat() {
|
||||
return _float;
|
||||
@@ -226,7 +231,7 @@ public class FormatTest {
|
||||
* @return _double
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@ApiModelProperty(value = "")
|
||||
@DecimalMin("67.8") @DecimalMax("123.4") @ApiModelProperty(value = "")
|
||||
|
||||
public Double getDouble() {
|
||||
return _double;
|
||||
@@ -249,7 +254,7 @@ public class FormatTest {
|
||||
* @return string
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@ApiModelProperty(value = "")
|
||||
@Pattern(regexp="/[a-z]/i") @ApiModelProperty(value = "")
|
||||
|
||||
public String getString() {
|
||||
return string;
|
||||
@@ -271,7 +276,8 @@ public class FormatTest {
|
||||
* Get _byte
|
||||
* @return _byte
|
||||
**/
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") @ApiModelProperty(required = true, value = "")
|
||||
|
||||
public byte[] getByte() {
|
||||
return _byte;
|
||||
@@ -294,6 +300,7 @@ public class FormatTest {
|
||||
* @return binary
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public File getBinary() {
|
||||
@@ -316,6 +323,8 @@ public class FormatTest {
|
||||
* Get date
|
||||
* @return date
|
||||
**/
|
||||
@NotNull
|
||||
@Valid
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public LocalDate getDate() {
|
||||
@@ -339,6 +348,7 @@ public class FormatTest {
|
||||
* @return dateTime
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OffsetDateTime getDateTime() {
|
||||
@@ -362,6 +372,7 @@ public class FormatTest {
|
||||
* @return uuid
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -384,7 +395,8 @@ public class FormatTest {
|
||||
* Get password
|
||||
* @return password
|
||||
**/
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
@Size(min=10,max=64) @ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
@@ -407,6 +419,7 @@ public class FormatTest {
|
||||
* @return bigDecimal
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public BigDecimal getBigDecimal() {
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* HasOnlyReadOnly
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* MapTest
|
||||
@@ -115,6 +118,7 @@ public class MapTest {
|
||||
* @return mapMapOfString
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
|
||||
@@ -29,6 +29,9 @@ import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.client.model.Animal;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* MixedPropertiesAndAdditionalPropertiesClass
|
||||
@@ -59,6 +62,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* @return uuid
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -82,6 +86,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* @return dateTime
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OffsetDateTime getDateTime() {
|
||||
@@ -113,6 +118,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* @return map
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Animal> getMap() {
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Model for testing model name starting with number
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* ModelApiResponse
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Model for testing reserved words
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Model for testing model name same as property name
|
||||
@@ -57,6 +60,7 @@ public class Name {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public Integer getName() {
|
||||
|
||||
@@ -24,6 +24,9 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* NumberOnly
|
||||
@@ -46,6 +49,7 @@ public class NumberOnly {
|
||||
* @return justNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public BigDecimal getJustNumber() {
|
||||
|
||||
@@ -24,6 +24,9 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Order
|
||||
@@ -184,6 +187,7 @@ public class Order {
|
||||
* @return shipDate
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OffsetDateTime getShipDate() {
|
||||
|
||||
@@ -24,6 +24,9 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* OuterComposite
|
||||
@@ -54,6 +57,7 @@ public class OuterComposite {
|
||||
* @return myNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public BigDecimal getMyNumber() {
|
||||
|
||||
@@ -16,6 +16,9 @@ package org.openapitools.client.model;
|
||||
import java.util.Objects;
|
||||
import java.util.Arrays;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import com.google.gson.TypeAdapter;
|
||||
|
||||
@@ -27,6 +27,9 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Category;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Pet
|
||||
@@ -141,6 +144,7 @@ public class Pet {
|
||||
* @return category
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Category getCategory() {
|
||||
@@ -163,6 +167,7 @@ public class Pet {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
|
||||
public String getName() {
|
||||
@@ -190,6 +195,7 @@ public class Pet {
|
||||
* Get photoUrls
|
||||
* @return photoUrls
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public List<String> getPhotoUrls() {
|
||||
@@ -221,6 +227,7 @@ public class Pet {
|
||||
* @return tags
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Tag> getTags() {
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* ReadOnlyFirst
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* SpecialModelName
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* Tag
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* TypeHolderDefault
|
||||
@@ -63,6 +66,7 @@ public class TypeHolderDefault {
|
||||
* Get stringItem
|
||||
* @return stringItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getStringItem() {
|
||||
@@ -85,6 +89,8 @@ public class TypeHolderDefault {
|
||||
* Get numberItem
|
||||
* @return numberItem
|
||||
**/
|
||||
@NotNull
|
||||
@Valid
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public BigDecimal getNumberItem() {
|
||||
@@ -107,6 +113,7 @@ public class TypeHolderDefault {
|
||||
* Get integerItem
|
||||
* @return integerItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public Integer getIntegerItem() {
|
||||
@@ -129,6 +136,7 @@ public class TypeHolderDefault {
|
||||
* Get boolItem
|
||||
* @return boolItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public Boolean isBoolItem() {
|
||||
@@ -156,6 +164,7 @@ public class TypeHolderDefault {
|
||||
* Get arrayItem
|
||||
* @return arrayItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public List<Integer> getArrayItem() {
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* TypeHolderExample
|
||||
@@ -67,6 +70,7 @@ public class TypeHolderExample {
|
||||
* Get stringItem
|
||||
* @return stringItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(example = "what", required = true, value = "")
|
||||
|
||||
public String getStringItem() {
|
||||
@@ -89,6 +93,8 @@ public class TypeHolderExample {
|
||||
* Get numberItem
|
||||
* @return numberItem
|
||||
**/
|
||||
@NotNull
|
||||
@Valid
|
||||
@ApiModelProperty(example = "1.234", required = true, value = "")
|
||||
|
||||
public BigDecimal getNumberItem() {
|
||||
@@ -111,6 +117,7 @@ public class TypeHolderExample {
|
||||
* Get floatItem
|
||||
* @return floatItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(example = "1.234", required = true, value = "")
|
||||
|
||||
public Float getFloatItem() {
|
||||
@@ -133,6 +140,7 @@ public class TypeHolderExample {
|
||||
* Get integerItem
|
||||
* @return integerItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(example = "-2", required = true, value = "")
|
||||
|
||||
public Integer getIntegerItem() {
|
||||
@@ -155,6 +163,7 @@ public class TypeHolderExample {
|
||||
* Get boolItem
|
||||
* @return boolItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(example = "true", required = true, value = "")
|
||||
|
||||
public Boolean isBoolItem() {
|
||||
@@ -182,6 +191,7 @@ public class TypeHolderExample {
|
||||
* Get arrayItem
|
||||
* @return arrayItem
|
||||
**/
|
||||
@NotNull
|
||||
@ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "")
|
||||
|
||||
public List<Integer> getArrayItem() {
|
||||
|
||||
@@ -23,6 +23,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* User
|
||||
|
||||
@@ -26,6 +26,9 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
import javax.validation.Valid;
|
||||
import org.hibernate.validator.constraints.*;
|
||||
|
||||
/**
|
||||
* XmlItem
|
||||
@@ -183,6 +186,7 @@ public class XmlItem {
|
||||
* @return attributeNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
|
||||
public BigDecimal getAttributeNumber() {
|
||||
@@ -306,6 +310,7 @@ public class XmlItem {
|
||||
* @return nameNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
|
||||
public BigDecimal getNameNumber() {
|
||||
@@ -460,6 +465,7 @@ public class XmlItem {
|
||||
* @return prefixNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
|
||||
public BigDecimal getPrefixNumber() {
|
||||
@@ -614,6 +620,7 @@ public class XmlItem {
|
||||
* @return namespaceNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
|
||||
public BigDecimal getNamespaceNumber() {
|
||||
@@ -768,6 +775,7 @@ public class XmlItem {
|
||||
* @return prefixNsNumber
|
||||
**/
|
||||
@javax.annotation.Nullable
|
||||
@Valid
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
|
||||
public BigDecimal getPrefixNsNumber() {
|
||||
|
||||
Reference in New Issue
Block a user