[Java][webclient] update junit to 5.x (#18741)

* webclient: update junit to 5.x

* update samples

* update samples

* update samples

* update samples

* update samples

* clean up

* update samples

* update pom plugin version

* update tests
This commit is contained in:
William Cheng 2024-05-23 16:27:06 +08:00 committed by GitHub
parent 63d1564637
commit 00c1ceffcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
190 changed files with 2074 additions and 1808 deletions

View File

@ -4,8 +4,9 @@ package {{package}};
{{#imports}}import {{import}};
{{/imports}}
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -21,7 +22,7 @@ import jakarta.validation.Valid;
/**
* API tests for {{classname}}
*/
@Ignore
@Disabled
public class {{classname}}Test {
private final {{classname}} api = new {{classname}}();
@ -34,10 +35,11 @@ public class {{classname}}Test {
*/
@Test
public void {{operationId}}Test() {
// uncomment below to test the function
{{#allParams}}
{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}} = null;
//{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}} = null;
{{/allParams}}
{{#returnType}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{.}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{.}}}{{/isResponseFile}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{^vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}.collect(Collectors.toSet()){{/uniqueItems}}{{^uniqueItems}}.collectList(){{/uniqueItems}}.block(){{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}.block(){{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}};
//{{#returnType}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{.}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{.}}}{{/isResponseFile}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{^vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}.collect(Collectors.toSet()){{/uniqueItems}}{{^uniqueItems}}.collectList(){{/uniqueItems}}.block(){{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}.block(){{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}};
// TODO: test validations
}

View File

@ -150,7 +150,7 @@ ext {
{{#joda}}
jodatime_version = "2.9.9"
{{/joda}}
junit_version = "4.13.2"
junit_version = "5.10.2"
}
dependencies {
@ -176,5 +176,5 @@ dependencies {
{{/joda}}
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
}

View File

@ -43,7 +43,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.13.0</version>
<configuration>
{{#useJakartaEe}}
<source>17</source>
@ -58,7 +58,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
@ -153,8 +153,8 @@
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
@ -184,7 +184,7 @@
<reactor-version>3.4.34</reactor-version>
<reactor-netty-version>1.0.39</reactor-netty-version>
{{/useJakartaEe}}
<junit-version>4.13.2</junit-version>
<junit-version>5.10.2</junit-version>
{{#joda}}
<jodatime-version>2.9.9</jodatime-version>
{{/joda}}

View File

@ -119,7 +119,7 @@ ext {
jackson_version = "2.13.4"
jackson_databind_version = "2.13.4.2"
jackson_databind_nullable_version = "0.2.6"
junit_version = "4.13.2"
junit_version = "5.10.2"
}
dependencies {
@ -134,5 +134,5 @@ dependencies {
implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
}

View File

@ -36,7 +36,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
@ -112,8 +112,8 @@
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
@ -127,6 +127,6 @@
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<reactor-version>3.4.34</reactor-version>
<reactor-netty-version>1.0.39</reactor-netty-version>
<junit-version>4.13.2</junit-version>
<junit-version>5.10.2</junit-version>
</properties>
</project>

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import java.io.File;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for ResourceApi
*/
@Ignore
@Disabled
public class ResourceApiTest {
private final ResourceApi api = new ResourceApi();
@ -39,7 +40,8 @@ public class ResourceApiTest {
*/
@Test
public void resourceInResponseTest() {
org.springframework.core.io.Resource response = api.resourceInResponse().block();
// uncomment below to test the function
//org.springframework.core.io.Resource response = api.resourceInResponse().block();
// TODO: test validations
}

View File

@ -119,7 +119,7 @@ ext {
jackson_version = "2.13.4"
jackson_databind_version = "2.13.4.2"
jackson_databind_nullable_version = "0.2.6"
junit_version = "4.13.2"
junit_version = "5.10.2"
}
dependencies {
@ -134,5 +134,5 @@ dependencies {
implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
}

View File

@ -36,7 +36,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.13.0</version>
<configuration>
<source>17</source>
<target>17</target>
@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
@ -112,8 +112,8 @@
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
@ -127,6 +127,6 @@
<jakarta-annotation-version>2.1.1</jakarta-annotation-version>
<reactor-version>3.5.12</reactor-version>
<reactor-netty-version>1.1.13</reactor-netty-version>
<junit-version>4.13.2</junit-version>
<junit-version>5.10.2</junit-version>
</properties>
</project>

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Client;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for AnotherFakeApi
*/
@Ignore
@Disabled
public class AnotherFakeApiTest {
private final AnotherFakeApi api = new AnotherFakeApi();
@ -39,8 +40,9 @@ public class AnotherFakeApiTest {
*/
@Test
public void call123testSpecialTagsTest() {
Client client = null;
Client response = api.call123testSpecialTags(client).block();
// uncomment below to test the function
//Client client = null;
//Client response = api.call123testSpecialTags(client).block();
// TODO: test validations
}

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.FooGetDefaultResponse;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for DefaultApi
*/
@Ignore
@Disabled
public class DefaultApiTest {
private final DefaultApi api = new DefaultApi();
@ -39,7 +40,8 @@ public class DefaultApiTest {
*/
@Test
public void fooGetTest() {
FooGetDefaultResponse response = api.fooGet().block();
// uncomment below to test the function
//FooGetDefaultResponse response = api.fooGet().block();
// TODO: test validations
}

View File

@ -14,8 +14,10 @@
package org.openapitools.client.api;
import java.math.BigDecimal;
import org.openapitools.client.model.ChildWithNullable;
import org.openapitools.client.model.Client;
import org.openapitools.client.model.EnumClass;
import org.openapitools.client.model.FakeBigDecimalMap200Response;
import java.io.File;
import org.openapitools.client.model.FileSchemaTestClass;
import org.openapitools.client.model.HealthCheckResult;
@ -24,9 +26,11 @@ import java.time.OffsetDateTime;
import org.openapitools.client.model.OuterComposite;
import org.openapitools.client.model.OuterObjectWithEnumProperty;
import org.openapitools.client.model.Pet;
import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest;
import org.openapitools.client.model.User;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -37,12 +41,25 @@ import java.util.stream.Collectors;
/**
* API tests for FakeApi
*/
@Ignore
@Disabled
public class FakeApiTest {
private final FakeApi api = new FakeApi();
/**
*
*
* for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
*/
@Test
public void fakeBigDecimalMapTest() {
// uncomment below to test the function
//FakeBigDecimalMap200Response response = api.fakeBigDecimalMap().block();
// TODO: test validations
}
/**
* Health check endpoint
*
@ -50,7 +67,8 @@ public class FakeApiTest {
*/
@Test
public void fakeHealthGetTest() {
HealthCheckResult response = api.fakeHealthGet().block();
// uncomment below to test the function
//HealthCheckResult response = api.fakeHealthGet().block();
// TODO: test validations
}
@ -62,10 +80,11 @@ public class FakeApiTest {
*/
@Test
public void fakeHttpSignatureTestTest() {
Pet pet = null;
String query1 = null;
String header1 = null;
api.fakeHttpSignatureTest(pet, query1, header1).block();
// uncomment below to test the function
//Pet pet = null;
//String query1 = null;
//String header1 = null;
//api.fakeHttpSignatureTest(pet, query1, header1).block();
// TODO: test validations
}
@ -77,8 +96,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterBooleanSerializeTest() {
Boolean body = null;
Boolean response = api.fakeOuterBooleanSerialize(body).block();
// uncomment below to test the function
//Boolean body = null;
//Boolean response = api.fakeOuterBooleanSerialize(body).block();
// TODO: test validations
}
@ -90,8 +110,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterCompositeSerializeTest() {
OuterComposite outerComposite = null;
OuterComposite response = api.fakeOuterCompositeSerialize(outerComposite).block();
// uncomment below to test the function
//OuterComposite outerComposite = null;
//OuterComposite response = api.fakeOuterCompositeSerialize(outerComposite).block();
// TODO: test validations
}
@ -103,8 +124,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterNumberSerializeTest() {
BigDecimal body = null;
BigDecimal response = api.fakeOuterNumberSerialize(body).block();
// uncomment below to test the function
//BigDecimal body = null;
//BigDecimal response = api.fakeOuterNumberSerialize(body).block();
// TODO: test validations
}
@ -116,8 +138,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterStringSerializeTest() {
String body = null;
String response = api.fakeOuterStringSerialize(body).block();
// uncomment below to test the function
//String body = null;
//String response = api.fakeOuterStringSerialize(body).block();
// TODO: test validations
}
@ -129,8 +152,23 @@ public class FakeApiTest {
*/
@Test
public void fakePropertyEnumIntegerSerializeTest() {
OuterObjectWithEnumProperty outerObjectWithEnumProperty = null;
OuterObjectWithEnumProperty response = api.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty).block();
// uncomment below to test the function
//OuterObjectWithEnumProperty outerObjectWithEnumProperty = null;
//OuterObjectWithEnumProperty response = api.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty).block();
// TODO: test validations
}
/**
* test referenced additionalProperties
*
*
*/
@Test
public void testAdditionalPropertiesReferenceTest() {
// uncomment below to test the function
//Map<String, Object> requestBody = null;
//api.testAdditionalPropertiesReference(requestBody).block();
// TODO: test validations
}
@ -142,8 +180,9 @@ public class FakeApiTest {
*/
@Test
public void testBodyWithBinaryTest() {
File body = null;
api.testBodyWithBinary(body).block();
// uncomment below to test the function
//File body = null;
//api.testBodyWithBinary(body).block();
// TODO: test validations
}
@ -155,8 +194,9 @@ public class FakeApiTest {
*/
@Test
public void testBodyWithFileSchemaTest() {
FileSchemaTestClass fileSchemaTestClass = null;
api.testBodyWithFileSchema(fileSchemaTestClass).block();
// uncomment below to test the function
//FileSchemaTestClass fileSchemaTestClass = null;
//api.testBodyWithFileSchema(fileSchemaTestClass).block();
// TODO: test validations
}
@ -168,9 +208,10 @@ public class FakeApiTest {
*/
@Test
public void testBodyWithQueryParamsTest() {
String query = null;
User user = null;
api.testBodyWithQueryParams(query, user).block();
// uncomment below to test the function
//String query = null;
//User user = null;
//api.testBodyWithQueryParams(query, user).block();
// TODO: test validations
}
@ -182,8 +223,9 @@ public class FakeApiTest {
*/
@Test
public void testClientModelTest() {
Client client = null;
Client response = api.testClientModel(client).block();
// uncomment below to test the function
//Client client = null;
//Client response = api.testClientModel(client).block();
// TODO: test validations
}
@ -195,21 +237,22 @@ public class FakeApiTest {
*/
@Test
public void testEndpointParametersTest() {
BigDecimal number = null;
Double _double = null;
String patternWithoutDelimiter = null;
byte[] _byte = null;
Integer integer = null;
Integer int32 = null;
Long int64 = null;
Float _float = null;
String string = null;
File binary = null;
LocalDate date = null;
OffsetDateTime dateTime = null;
String password = null;
String paramCallback = null;
api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).block();
// uncomment below to test the function
//BigDecimal number = null;
//Double _double = null;
//String patternWithoutDelimiter = null;
//byte[] _byte = null;
//Integer integer = null;
//Integer int32 = null;
//Long int64 = null;
//Float _float = null;
//String string = null;
//File binary = null;
//LocalDate date = null;
//OffsetDateTime dateTime = null;
//String password = null;
//String paramCallback = null;
//api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).block();
// TODO: test validations
}
@ -221,16 +264,17 @@ public class FakeApiTest {
*/
@Test
public void testEnumParametersTest() {
List<String> enumHeaderStringArray = null;
String enumHeaderString = null;
List<String> enumQueryStringArray = null;
String enumQueryString = null;
Integer enumQueryInteger = null;
Double enumQueryDouble = null;
List<EnumClass> enumQueryModelArray = null;
List<String> enumFormStringArray = null;
String enumFormString = null;
api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString).block();
// uncomment below to test the function
//List<String> enumHeaderStringArray = null;
//String enumHeaderString = null;
//List<String> enumQueryStringArray = null;
//String enumQueryString = null;
//Integer enumQueryInteger = null;
//Double enumQueryDouble = null;
//List<EnumClass> enumQueryModelArray = null;
//List<String> enumFormStringArray = null;
//String enumFormString = null;
//api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString).block();
// TODO: test validations
}
@ -242,13 +286,14 @@ public class FakeApiTest {
*/
@Test
public void testGroupParametersTest() {
Integer requiredStringGroup = null;
Boolean requiredBooleanGroup = null;
Long requiredInt64Group = null;
Integer stringGroup = null;
Boolean booleanGroup = null;
Long int64Group = null;
api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).block();
// uncomment below to test the function
//Integer requiredStringGroup = null;
//Boolean requiredBooleanGroup = null;
//Long requiredInt64Group = null;
//Integer stringGroup = null;
//Boolean booleanGroup = null;
//Long int64Group = null;
//api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).block();
// TODO: test validations
}
@ -260,8 +305,23 @@ public class FakeApiTest {
*/
@Test
public void testInlineAdditionalPropertiesTest() {
Map<String, String> requestBody = null;
api.testInlineAdditionalProperties(requestBody).block();
// uncomment below to test the function
//Map<String, String> requestBody = null;
//api.testInlineAdditionalProperties(requestBody).block();
// TODO: test validations
}
/**
* test inline free-form additionalProperties
*
*
*/
@Test
public void testInlineFreeformAdditionalPropertiesTest() {
// uncomment below to test the function
//TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null;
//api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest).block();
// TODO: test validations
}
@ -273,9 +333,24 @@ public class FakeApiTest {
*/
@Test
public void testJsonFormDataTest() {
String param = null;
String param2 = null;
api.testJsonFormData(param, param2).block();
// uncomment below to test the function
//String param = null;
//String param2 = null;
//api.testJsonFormData(param, param2).block();
// TODO: test validations
}
/**
* test nullable parent property
*
*
*/
@Test
public void testNullableTest() {
// uncomment below to test the function
//ChildWithNullable childWithNullable = null;
//api.testNullable(childWithNullable).block();
// TODO: test validations
}
@ -287,14 +362,29 @@ public class FakeApiTest {
*/
@Test
public void testQueryParameterCollectionFormatTest() {
List<String> pipe = null;
List<String> ioutil = null;
List<String> http = null;
List<String> url = null;
List<String> context = null;
String allowEmpty = null;
Map<String, String> language = null;
api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language).block();
// uncomment below to test the function
//List<String> pipe = null;
//List<String> ioutil = null;
//List<String> http = null;
//List<String> url = null;
//List<String> context = null;
//String allowEmpty = null;
//Map<String, String> language = null;
//api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language).block();
// TODO: test validations
}
/**
* test referenced string map
*
*
*/
@Test
public void testStringMapReferenceTest() {
// uncomment below to test the function
//Map<String, String> requestBody = null;
//api.testStringMapReference(requestBody).block();
// TODO: test validations
}

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Client;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for FakeClassnameTags123Api
*/
@Ignore
@Disabled
public class FakeClassnameTags123ApiTest {
private final FakeClassnameTags123Api api = new FakeClassnameTags123Api();
@ -39,8 +40,9 @@ public class FakeClassnameTags123ApiTest {
*/
@Test
public void testClassnameTest() {
Client client = null;
Client response = api.testClassname(client).block();
// uncomment below to test the function
//Client client = null;
//Client response = api.testClassname(client).block();
// TODO: test validations
}

View File

@ -17,8 +17,9 @@ import java.io.File;
import org.openapitools.client.model.ModelApiResponse;
import org.openapitools.client.model.Pet;
import java.util.Set;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -29,7 +30,7 @@ import java.util.stream.Collectors;
/**
* API tests for PetApi
*/
@Ignore
@Disabled
public class PetApiTest {
private final PetApi api = new PetApi();
@ -42,8 +43,9 @@ public class PetApiTest {
*/
@Test
public void addPetTest() {
Pet pet = null;
api.addPet(pet).block();
// uncomment below to test the function
//Pet pet = null;
//api.addPet(pet).block();
// TODO: test validations
}
@ -55,9 +57,10 @@ public class PetApiTest {
*/
@Test
public void deletePetTest() {
Long petId = null;
String apiKey = null;
api.deletePet(petId, apiKey).block();
// uncomment below to test the function
//Long petId = null;
//String apiKey = null;
//api.deletePet(petId, apiKey).block();
// TODO: test validations
}
@ -69,8 +72,9 @@ public class PetApiTest {
*/
@Test
public void findPetsByStatusTest() {
List<String> status = null;
List<Pet> response = api.findPetsByStatus(status);
// uncomment below to test the function
//List<String> status = null;
//List<Pet> response = api.findPetsByStatus(status);
// TODO: test validations
}
@ -82,8 +86,9 @@ public class PetApiTest {
*/
@Test
public void findPetsByTagsTest() {
Set<String> tags = null;
Set<Pet> response = api.findPetsByTags(tags);
// uncomment below to test the function
//Set<String> tags = null;
//Set<Pet> response = api.findPetsByTags(tags);
// TODO: test validations
}
@ -95,8 +100,9 @@ public class PetApiTest {
*/
@Test
public void getPetByIdTest() {
Long petId = null;
Pet response = api.getPetById(petId);
// uncomment below to test the function
//Long petId = null;
//Pet response = api.getPetById(petId);
// TODO: test validations
}
@ -108,8 +114,9 @@ public class PetApiTest {
*/
@Test
public void updatePetTest() {
Pet pet = null;
api.updatePet(pet);
// uncomment below to test the function
//Pet pet = null;
//api.updatePet(pet);
// TODO: test validations
}
@ -121,10 +128,11 @@ public class PetApiTest {
*/
@Test
public void updatePetWithFormTest() {
Long petId = null;
String name = null;
String status = null;
api.updatePetWithForm(petId, name, status).block();
// uncomment below to test the function
//Long petId = null;
//String name = null;
//String status = null;
//api.updatePetWithForm(petId, name, status).block();
// TODO: test validations
}
@ -136,10 +144,11 @@ public class PetApiTest {
*/
@Test
public void uploadFileTest() {
Long petId = null;
String additionalMetadata = null;
File _file = null;
ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file).block();
// uncomment below to test the function
//Long petId = null;
//String additionalMetadata = null;
//File _file = null;
//ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file).block();
// TODO: test validations
}
@ -151,10 +160,11 @@ public class PetApiTest {
*/
@Test
public void uploadFileWithRequiredFileTest() {
Long petId = null;
File requiredFile = null;
String additionalMetadata = null;
ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata).block();
// uncomment below to test the function
//Long petId = null;
//File requiredFile = null;
//String additionalMetadata = null;
//ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata).block();
// TODO: test validations
}

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Order;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for StoreApi
*/
@Ignore
@Disabled
public class StoreApiTest {
private final StoreApi api = new StoreApi();
@ -39,8 +40,9 @@ public class StoreApiTest {
*/
@Test
public void deleteOrderTest() {
String orderId = null;
api.deleteOrder(orderId).block();
// uncomment below to test the function
//String orderId = null;
//api.deleteOrder(orderId).block();
// TODO: test validations
}
@ -52,7 +54,8 @@ public class StoreApiTest {
*/
@Test
public void getInventoryTest() {
Map<String, Integer> response = api.getInventory().block();
// uncomment below to test the function
//Map<String, Integer> response = api.getInventory().block();
// TODO: test validations
}
@ -64,8 +67,9 @@ public class StoreApiTest {
*/
@Test
public void getOrderByIdTest() {
Long orderId = null;
Order response = api.getOrderById(orderId).block();
// uncomment below to test the function
//Long orderId = null;
//Order response = api.getOrderById(orderId).block();
// TODO: test validations
}
@ -77,8 +81,9 @@ public class StoreApiTest {
*/
@Test
public void placeOrderTest() {
Order order = null;
Order response = api.placeOrder(order).block();
// uncomment below to test the function
//Order order = null;
//Order response = api.placeOrder(order).block();
// TODO: test validations
}

View File

@ -15,8 +15,9 @@ package org.openapitools.client.api;
import java.time.OffsetDateTime;
import org.openapitools.client.model.User;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -27,7 +28,7 @@ import java.util.stream.Collectors;
/**
* API tests for UserApi
*/
@Ignore
@Disabled
public class UserApiTest {
private final UserApi api = new UserApi();
@ -40,8 +41,9 @@ public class UserApiTest {
*/
@Test
public void createUserTest() {
User user = null;
api.createUser(user).block();
// uncomment below to test the function
//User user = null;
//api.createUser(user).block();
// TODO: test validations
}
@ -53,8 +55,9 @@ public class UserApiTest {
*/
@Test
public void createUsersWithArrayInputTest() {
List<User> user = null;
api.createUsersWithArrayInput(user).block();
// uncomment below to test the function
//List<User> user = null;
//api.createUsersWithArrayInput(user).block();
// TODO: test validations
}
@ -66,8 +69,9 @@ public class UserApiTest {
*/
@Test
public void createUsersWithListInputTest() {
List<User> user = null;
api.createUsersWithListInput(user).block();
// uncomment below to test the function
//List<User> user = null;
//api.createUsersWithListInput(user).block();
// TODO: test validations
}
@ -79,8 +83,9 @@ public class UserApiTest {
*/
@Test
public void deleteUserTest() {
String username = null;
api.deleteUser(username).block();
// uncomment below to test the function
//String username = null;
//api.deleteUser(username).block();
// TODO: test validations
}
@ -92,8 +97,9 @@ public class UserApiTest {
*/
@Test
public void getUserByNameTest() {
String username = null;
User response = api.getUserByName(username).block();
// uncomment below to test the function
//String username = null;
//User response = api.getUserByName(username).block();
// TODO: test validations
}
@ -105,9 +111,10 @@ public class UserApiTest {
*/
@Test
public void loginUserTest() {
String username = null;
String password = null;
String response = api.loginUser(username, password).block();
// uncomment below to test the function
//String username = null;
//String password = null;
//String response = api.loginUser(username, password).block();
// TODO: test validations
}
@ -119,7 +126,8 @@ public class UserApiTest {
*/
@Test
public void logoutUserTest() {
api.logoutUser().block();
// uncomment below to test the function
//api.logoutUser().block();
// TODO: test validations
}
@ -131,9 +139,10 @@ public class UserApiTest {
*/
@Test
public void updateUserTest() {
String username = null;
User user = null;
api.updateUser(username, user).block();
// uncomment below to test the function
//String username = null;
//User user = null;
//api.updateUser(username, user).block();
// TODO: test validations
}

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesClass
*/
public class AdditionalPropertiesClassTest {
class AdditionalPropertiesClassTest {
private final AdditionalPropertiesClass model = new AdditionalPropertiesClass();
/**
* Model tests for AdditionalPropertiesClass
*/
@Test
public void testAdditionalPropertiesClass() {
void testAdditionalPropertiesClass() {
// TODO: test AdditionalPropertiesClass
}
@ -43,7 +42,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapProperty'
*/
@Test
public void mapPropertyTest() {
void mapPropertyTest() {
// TODO: test mapProperty
}
@ -51,7 +50,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapOfMapProperty'
*/
@Test
public void mapOfMapPropertyTest() {
void mapOfMapPropertyTest() {
// TODO: test mapOfMapProperty
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.SingleRefType;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for AllOfWithSingleRef
*/
public class AllOfWithSingleRefTest {
class AllOfWithSingleRefTest {
private final AllOfWithSingleRef model = new AllOfWithSingleRef();
/**
* Model tests for AllOfWithSingleRef
*/
@Test
public void testAllOfWithSingleRef() {
void testAllOfWithSingleRef() {
// TODO: test AllOfWithSingleRef
}
@ -42,7 +41,7 @@ public class AllOfWithSingleRefTest {
* Test the property 'username'
*/
@Test
public void usernameTest() {
void usernameTest() {
// TODO: test username
}
@ -50,7 +49,7 @@ public class AllOfWithSingleRefTest {
* Test the property 'singleRefType'
*/
@Test
public void singleRefTypeTest() {
void singleRefTypeTest() {
// TODO: test singleRefType
}

View File

@ -21,24 +21,21 @@ import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Cat;
import org.openapitools.client.model.Dog;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Animal
*/
public class AnimalTest {
class AnimalTest {
private final Animal model = new Animal();
/**
* Model tests for Animal
*/
@Test
public void testAnimal() {
void testAnimal() {
// TODO: test Animal
}
@ -46,7 +43,7 @@ public class AnimalTest {
* Test the property 'className'
*/
@Test
public void classNameTest() {
void classNameTest() {
// TODO: test className
}
@ -54,7 +51,7 @@ public class AnimalTest {
* Test the property 'color'
*/
@Test
public void colorTest() {
void colorTest() {
// TODO: test color
}

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayOfArrayOfNumberOnly
*/
public class ArrayOfArrayOfNumberOnlyTest {
class ArrayOfArrayOfNumberOnlyTest {
private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly();
/**
* Model tests for ArrayOfArrayOfNumberOnly
*/
@Test
public void testArrayOfArrayOfNumberOnly() {
void testArrayOfArrayOfNumberOnly() {
// TODO: test ArrayOfArrayOfNumberOnly
}
@ -44,7 +44,7 @@ public class ArrayOfArrayOfNumberOnlyTest {
* Test the property 'arrayArrayNumber'
*/
@Test
public void arrayArrayNumberTest() {
void arrayArrayNumberTest() {
// TODO: test arrayArrayNumber
}

View File

@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayOfNumberOnly
*/
public class ArrayOfNumberOnlyTest {
class ArrayOfNumberOnlyTest {
private final ArrayOfNumberOnly model = new ArrayOfNumberOnly();
/**
* Model tests for ArrayOfNumberOnly
*/
@Test
public void testArrayOfNumberOnly() {
void testArrayOfNumberOnly() {
// TODO: test ArrayOfNumberOnly
}
@ -44,7 +44,7 @@ public class ArrayOfNumberOnlyTest {
* Test the property 'arrayNumber'
*/
@Test
public void arrayNumberTest() {
void arrayNumberTest() {
// TODO: test arrayNumber
}

View File

@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ReadOnlyFirst;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayTest
*/
public class ArrayTestTest {
class ArrayTestTest {
private final ArrayTest model = new ArrayTest();
/**
* Model tests for ArrayTest
*/
@Test
public void testArrayTest() {
void testArrayTest() {
// TODO: test ArrayTest
}
@ -44,7 +44,7 @@ public class ArrayTestTest {
* Test the property 'arrayOfString'
*/
@Test
public void arrayOfStringTest() {
void arrayOfStringTest() {
// TODO: test arrayOfString
}
@ -52,7 +52,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfInteger'
*/
@Test
public void arrayArrayOfIntegerTest() {
void arrayArrayOfIntegerTest() {
// TODO: test arrayArrayOfInteger
}
@ -60,7 +60,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfModel'
*/
@Test
public void arrayArrayOfModelTest() {
void arrayArrayOfModelTest() {
// TODO: test arrayArrayOfModel
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Capitalization
*/
public class CapitalizationTest {
class CapitalizationTest {
private final Capitalization model = new Capitalization();
/**
* Model tests for Capitalization
*/
@Test
public void testCapitalization() {
void testCapitalization() {
// TODO: test Capitalization
}
@ -41,7 +40,7 @@ public class CapitalizationTest {
* Test the property 'smallCamel'
*/
@Test
public void smallCamelTest() {
void smallCamelTest() {
// TODO: test smallCamel
}
@ -49,7 +48,7 @@ public class CapitalizationTest {
* Test the property 'capitalCamel'
*/
@Test
public void capitalCamelTest() {
void capitalCamelTest() {
// TODO: test capitalCamel
}
@ -57,7 +56,7 @@ public class CapitalizationTest {
* Test the property 'smallSnake'
*/
@Test
public void smallSnakeTest() {
void smallSnakeTest() {
// TODO: test smallSnake
}
@ -65,7 +64,7 @@ public class CapitalizationTest {
* Test the property 'capitalSnake'
*/
@Test
public void capitalSnakeTest() {
void capitalSnakeTest() {
// TODO: test capitalSnake
}
@ -73,7 +72,7 @@ public class CapitalizationTest {
* Test the property 'scAETHFlowPoints'
*/
@Test
public void scAETHFlowPointsTest() {
void scAETHFlowPointsTest() {
// TODO: test scAETHFlowPoints
}
@ -81,7 +80,7 @@ public class CapitalizationTest {
* Test the property 'ATT_NAME'
*/
@Test
public void ATT_NAMETest() {
void ATT_NAMETest() {
// TODO: test ATT_NAME
}

View File

@ -22,22 +22,21 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Animal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Cat
*/
public class CatTest {
class CatTest {
private final Cat model = new Cat();
/**
* Model tests for Cat
*/
@Test
public void testCat() {
void testCat() {
// TODO: test Cat
}
@ -45,7 +44,7 @@ public class CatTest {
* Test the property 'className'
*/
@Test
public void classNameTest() {
void classNameTest() {
// TODO: test className
}
@ -53,7 +52,7 @@ public class CatTest {
* Test the property 'color'
*/
@Test
public void colorTest() {
void colorTest() {
// TODO: test color
}
@ -61,7 +60,7 @@ public class CatTest {
* Test the property 'declawed'
*/
@Test
public void declawedTest() {
void declawedTest() {
// TODO: test declawed
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Category
*/
public class CategoryTest {
class CategoryTest {
private final Category model = new Category();
/**
* Model tests for Category
*/
@Test
public void testCategory() {
void testCategory() {
// TODO: test Category
}
@ -41,7 +40,7 @@ public class CategoryTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -49,7 +48,7 @@ public class CategoryTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}

View File

@ -23,21 +23,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.ParentWithNullable;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ChildWithNullable
*/
public class ChildWithNullableTest {
class ChildWithNullableTest {
private final ChildWithNullable model = new ChildWithNullable();
/**
* Model tests for ChildWithNullable
*/
@Test
public void testChildWithNullable() {
void testChildWithNullable() {
// TODO: test ChildWithNullable
}
@ -45,7 +45,7 @@ public class ChildWithNullableTest {
* Test the property 'type'
*/
@Test
public void typeTest() {
void typeTest() {
// TODO: test type
}
@ -53,7 +53,7 @@ public class ChildWithNullableTest {
* Test the property 'nullableProperty'
*/
@Test
public void nullablePropertyTest() {
void nullablePropertyTest() {
// TODO: test nullableProperty
}
@ -61,7 +61,7 @@ public class ChildWithNullableTest {
* Test the property 'otherProperty'
*/
@Test
public void otherPropertyTest() {
void otherPropertyTest() {
// TODO: test otherProperty
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ClassModel
*/
public class ClassModelTest {
class ClassModelTest {
private final ClassModel model = new ClassModel();
/**
* Model tests for ClassModel
*/
@Test
public void testClassModel() {
void testClassModel() {
// TODO: test ClassModel
}
@ -41,7 +40,7 @@ public class ClassModelTest {
* Test the property 'propertyClass'
*/
@Test
public void propertyClassTest() {
void propertyClassTest() {
// TODO: test propertyClass
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Client
*/
public class ClientTest {
class ClientTest {
private final Client model = new Client();
/**
* Model tests for Client
*/
@Test
public void testClient() {
void testClient() {
// TODO: test Client
}
@ -41,7 +40,7 @@ public class ClientTest {
* Test the property 'client'
*/
@Test
public void clientTest() {
void clientTest() {
// TODO: test client
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for DeprecatedObject
*/
public class DeprecatedObjectTest {
class DeprecatedObjectTest {
private final DeprecatedObject model = new DeprecatedObject();
/**
* Model tests for DeprecatedObject
*/
@Test
public void testDeprecatedObject() {
void testDeprecatedObject() {
// TODO: test DeprecatedObject
}
@ -41,7 +40,7 @@ public class DeprecatedObjectTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}

View File

@ -22,22 +22,21 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Animal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Dog
*/
public class DogTest {
class DogTest {
private final Dog model = new Dog();
/**
* Model tests for Dog
*/
@Test
public void testDog() {
void testDog() {
// TODO: test Dog
}
@ -45,7 +44,7 @@ public class DogTest {
* Test the property 'className'
*/
@Test
public void classNameTest() {
void classNameTest() {
// TODO: test className
}
@ -53,7 +52,7 @@ public class DogTest {
* Test the property 'color'
*/
@Test
public void colorTest() {
void colorTest() {
// TODO: test color
}
@ -61,7 +60,7 @@ public class DogTest {
* Test the property 'breed'
*/
@Test
public void breedTest() {
void breedTest() {
// TODO: test breed
}

View File

@ -19,23 +19,23 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for EnumArrays
*/
public class EnumArraysTest {
class EnumArraysTest {
private final EnumArrays model = new EnumArrays();
/**
* Model tests for EnumArrays
*/
@Test
public void testEnumArrays() {
void testEnumArrays() {
// TODO: test EnumArrays
}
@ -43,7 +43,7 @@ public class EnumArraysTest {
* Test the property 'justSymbol'
*/
@Test
public void justSymbolTest() {
void justSymbolTest() {
// TODO: test justSymbol
}
@ -51,7 +51,7 @@ public class EnumArraysTest {
* Test the property 'arrayEnum'
*/
@Test
public void arrayEnumTest() {
void arrayEnumTest() {
// TODO: test arrayEnum
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for EnumClass
*/
public class EnumClassTest {
class EnumClassTest {
/**
* Model tests for EnumClass
*/
@Test
public void testEnumClass() {
void testEnumClass() {
// TODO: test EnumClass
}

View File

@ -26,22 +26,21 @@ import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for EnumTest
*/
public class EnumTestTest {
class EnumTestTest {
private final EnumTest model = new EnumTest();
/**
* Model tests for EnumTest
*/
@Test
public void testEnumTest() {
void testEnumTest() {
// TODO: test EnumTest
}
@ -49,7 +48,7 @@ public class EnumTestTest {
* Test the property 'enumString'
*/
@Test
public void enumStringTest() {
void enumStringTest() {
// TODO: test enumString
}
@ -57,7 +56,7 @@ public class EnumTestTest {
* Test the property 'enumStringRequired'
*/
@Test
public void enumStringRequiredTest() {
void enumStringRequiredTest() {
// TODO: test enumStringRequired
}
@ -65,7 +64,7 @@ public class EnumTestTest {
* Test the property 'enumInteger'
*/
@Test
public void enumIntegerTest() {
void enumIntegerTest() {
// TODO: test enumInteger
}
@ -73,7 +72,7 @@ public class EnumTestTest {
* Test the property 'enumNumber'
*/
@Test
public void enumNumberTest() {
void enumNumberTest() {
// TODO: test enumNumber
}
@ -81,7 +80,7 @@ public class EnumTestTest {
* Test the property 'outerEnum'
*/
@Test
public void outerEnumTest() {
void outerEnumTest() {
// TODO: test outerEnum
}
@ -89,7 +88,7 @@ public class EnumTestTest {
* Test the property 'outerEnumInteger'
*/
@Test
public void outerEnumIntegerTest() {
void outerEnumIntegerTest() {
// TODO: test outerEnumInteger
}
@ -97,7 +96,7 @@ public class EnumTestTest {
* Test the property 'outerEnumDefaultValue'
*/
@Test
public void outerEnumDefaultValueTest() {
void outerEnumDefaultValueTest() {
// TODO: test outerEnumDefaultValue
}
@ -105,7 +104,7 @@ public class EnumTestTest {
* Test the property 'outerEnumIntegerDefaultValue'
*/
@Test
public void outerEnumIntegerDefaultValueTest() {
void outerEnumIntegerDefaultValueTest() {
// TODO: test outerEnumIntegerDefaultValue
}

View File

@ -21,21 +21,21 @@ import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FakeBigDecimalMap200Response
*/
public class FakeBigDecimalMap200ResponseTest {
class FakeBigDecimalMap200ResponseTest {
private final FakeBigDecimalMap200Response model = new FakeBigDecimalMap200Response();
/**
* Model tests for FakeBigDecimalMap200Response
*/
@Test
public void testFakeBigDecimalMap200Response() {
void testFakeBigDecimalMap200Response() {
// TODO: test FakeBigDecimalMap200Response
}
@ -43,7 +43,7 @@ public class FakeBigDecimalMap200ResponseTest {
* Test the property 'someId'
*/
@Test
public void someIdTest() {
void someIdTest() {
// TODO: test someId
}
@ -51,7 +51,7 @@ public class FakeBigDecimalMap200ResponseTest {
* Test the property 'someMap'
*/
@Test
public void someMapTest() {
void someMapTest() {
// TODO: test someMap
}

View File

@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ModelFile;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FileSchemaTestClass
*/
public class FileSchemaTestClassTest {
class FileSchemaTestClassTest {
private final FileSchemaTestClass model = new FileSchemaTestClass();
/**
* Model tests for FileSchemaTestClass
*/
@Test
public void testFileSchemaTestClass() {
void testFileSchemaTestClass() {
// TODO: test FileSchemaTestClass
}
@ -44,7 +44,7 @@ public class FileSchemaTestClassTest {
* Test the property '_file'
*/
@Test
public void _fileTest() {
void _fileTest() {
// TODO: test _file
}
@ -52,7 +52,7 @@ public class FileSchemaTestClassTest {
* Test the property 'files'
*/
@Test
public void filesTest() {
void filesTest() {
// TODO: test files
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.Foo;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FooGetDefaultResponse
*/
public class FooGetDefaultResponseTest {
class FooGetDefaultResponseTest {
private final FooGetDefaultResponse model = new FooGetDefaultResponse();
/**
* Model tests for FooGetDefaultResponse
*/
@Test
public void testFooGetDefaultResponse() {
void testFooGetDefaultResponse() {
// TODO: test FooGetDefaultResponse
}
@ -42,7 +41,7 @@ public class FooGetDefaultResponseTest {
* Test the property 'string'
*/
@Test
public void stringTest() {
void stringTest() {
// TODO: test string
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Foo
*/
public class FooTest {
class FooTest {
private final Foo model = new Foo();
/**
* Model tests for Foo
*/
@Test
public void testFoo() {
void testFoo() {
// TODO: test Foo
}
@ -41,7 +40,7 @@ public class FooTest {
* Test the property 'bar'
*/
@Test
public void barTest() {
void barTest() {
// TODO: test bar
}

View File

@ -23,22 +23,21 @@ import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.UUID;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FormatTest
*/
public class FormatTestTest {
class FormatTestTest {
private final FormatTest model = new FormatTest();
/**
* Model tests for FormatTest
*/
@Test
public void testFormatTest() {
void testFormatTest() {
// TODO: test FormatTest
}
@ -46,7 +45,7 @@ public class FormatTestTest {
* Test the property 'integer'
*/
@Test
public void integerTest() {
void integerTest() {
// TODO: test integer
}
@ -54,7 +53,7 @@ public class FormatTestTest {
* Test the property 'int32'
*/
@Test
public void int32Test() {
void int32Test() {
// TODO: test int32
}
@ -62,7 +61,7 @@ public class FormatTestTest {
* Test the property 'int64'
*/
@Test
public void int64Test() {
void int64Test() {
// TODO: test int64
}
@ -70,7 +69,7 @@ public class FormatTestTest {
* Test the property 'number'
*/
@Test
public void numberTest() {
void numberTest() {
// TODO: test number
}
@ -78,7 +77,7 @@ public class FormatTestTest {
* Test the property '_float'
*/
@Test
public void _floatTest() {
void _floatTest() {
// TODO: test _float
}
@ -86,7 +85,7 @@ public class FormatTestTest {
* Test the property '_double'
*/
@Test
public void _doubleTest() {
void _doubleTest() {
// TODO: test _double
}
@ -94,7 +93,7 @@ public class FormatTestTest {
* Test the property 'decimal'
*/
@Test
public void decimalTest() {
void decimalTest() {
// TODO: test decimal
}
@ -102,7 +101,7 @@ public class FormatTestTest {
* Test the property 'string'
*/
@Test
public void stringTest() {
void stringTest() {
// TODO: test string
}
@ -110,7 +109,7 @@ public class FormatTestTest {
* Test the property '_byte'
*/
@Test
public void _byteTest() {
void _byteTest() {
// TODO: test _byte
}
@ -118,7 +117,7 @@ public class FormatTestTest {
* Test the property 'binary'
*/
@Test
public void binaryTest() {
void binaryTest() {
// TODO: test binary
}
@ -126,7 +125,7 @@ public class FormatTestTest {
* Test the property 'date'
*/
@Test
public void dateTest() {
void dateTest() {
// TODO: test date
}
@ -134,7 +133,7 @@ public class FormatTestTest {
* Test the property 'dateTime'
*/
@Test
public void dateTimeTest() {
void dateTimeTest() {
// TODO: test dateTime
}
@ -142,7 +141,7 @@ public class FormatTestTest {
* Test the property 'uuid'
*/
@Test
public void uuidTest() {
void uuidTest() {
// TODO: test uuid
}
@ -150,7 +149,7 @@ public class FormatTestTest {
* Test the property 'password'
*/
@Test
public void passwordTest() {
void passwordTest() {
// TODO: test password
}
@ -158,7 +157,7 @@ public class FormatTestTest {
* Test the property 'patternWithDigits'
*/
@Test
public void patternWithDigitsTest() {
void patternWithDigitsTest() {
// TODO: test patternWithDigits
}
@ -166,7 +165,7 @@ public class FormatTestTest {
* Test the property 'patternWithDigitsAndDelimiter'
*/
@Test
public void patternWithDigitsAndDelimiterTest() {
void patternWithDigitsAndDelimiterTest() {
// TODO: test patternWithDigitsAndDelimiter
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for HasOnlyReadOnly
*/
public class HasOnlyReadOnlyTest {
class HasOnlyReadOnlyTest {
private final HasOnlyReadOnly model = new HasOnlyReadOnly();
/**
* Model tests for HasOnlyReadOnly
*/
@Test
public void testHasOnlyReadOnly() {
void testHasOnlyReadOnly() {
// TODO: test HasOnlyReadOnly
}
@ -41,7 +40,7 @@ public class HasOnlyReadOnlyTest {
* Test the property 'bar'
*/
@Test
public void barTest() {
void barTest() {
// TODO: test bar
}
@ -49,7 +48,7 @@ public class HasOnlyReadOnlyTest {
* Test the property 'foo'
*/
@Test
public void fooTest() {
void fooTest() {
// TODO: test foo
}

View File

@ -22,22 +22,21 @@ import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for HealthCheckResult
*/
public class HealthCheckResultTest {
class HealthCheckResultTest {
private final HealthCheckResult model = new HealthCheckResult();
/**
* Model tests for HealthCheckResult
*/
@Test
public void testHealthCheckResult() {
void testHealthCheckResult() {
// TODO: test HealthCheckResult
}
@ -45,7 +44,7 @@ public class HealthCheckResultTest {
* Test the property 'nullableMessage'
*/
@Test
public void nullableMessageTest() {
void nullableMessageTest() {
// TODO: test nullableMessage
}

View File

@ -20,22 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for MapTest
*/
public class MapTestTest {
class MapTestTest {
private final MapTest model = new MapTest();
/**
* Model tests for MapTest
*/
@Test
public void testMapTest() {
void testMapTest() {
// TODO: test MapTest
}
@ -43,7 +42,7 @@ public class MapTestTest {
* Test the property 'mapMapOfString'
*/
@Test
public void mapMapOfStringTest() {
void mapMapOfStringTest() {
// TODO: test mapMapOfString
}
@ -51,7 +50,7 @@ public class MapTestTest {
* Test the property 'mapOfEnumString'
*/
@Test
public void mapOfEnumStringTest() {
void mapOfEnumStringTest() {
// TODO: test mapOfEnumString
}
@ -59,7 +58,7 @@ public class MapTestTest {
* Test the property 'directMap'
*/
@Test
public void directMapTest() {
void directMapTest() {
// TODO: test directMap
}
@ -67,7 +66,7 @@ public class MapTestTest {
* Test the property 'indirectMap'
*/
@Test
public void indirectMapTest() {
void indirectMapTest() {
// TODO: test indirectMap
}

View File

@ -23,22 +23,21 @@ import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import org.openapitools.client.model.Animal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for MixedPropertiesAndAdditionalPropertiesClass
*/
public class MixedPropertiesAndAdditionalPropertiesClassTest {
class MixedPropertiesAndAdditionalPropertiesClassTest {
private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass();
/**
* Model tests for MixedPropertiesAndAdditionalPropertiesClass
*/
@Test
public void testMixedPropertiesAndAdditionalPropertiesClass() {
void testMixedPropertiesAndAdditionalPropertiesClass() {
// TODO: test MixedPropertiesAndAdditionalPropertiesClass
}
@ -46,7 +45,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassTest {
* Test the property 'uuid'
*/
@Test
public void uuidTest() {
void uuidTest() {
// TODO: test uuid
}
@ -54,7 +53,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassTest {
* Test the property 'dateTime'
*/
@Test
public void dateTimeTest() {
void dateTimeTest() {
// TODO: test dateTime
}
@ -62,7 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassTest {
* Test the property 'map'
*/
@Test
public void mapTest() {
void mapTest() {
// TODO: test map
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Model200Response
*/
public class Model200ResponseTest {
class Model200ResponseTest {
private final Model200Response model = new Model200Response();
/**
* Model tests for Model200Response
*/
@Test
public void testModel200Response() {
void testModel200Response() {
// TODO: test Model200Response
}
@ -41,7 +40,7 @@ public class Model200ResponseTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}
@ -49,7 +48,7 @@ public class Model200ResponseTest {
* Test the property 'propertyClass'
*/
@Test
public void propertyClassTest() {
void propertyClassTest() {
// TODO: test propertyClass
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ModelApiResponse
*/
public class ModelApiResponseTest {
class ModelApiResponseTest {
private final ModelApiResponse model = new ModelApiResponse();
/**
* Model tests for ModelApiResponse
*/
@Test
public void testModelApiResponse() {
void testModelApiResponse() {
// TODO: test ModelApiResponse
}
@ -41,7 +40,7 @@ public class ModelApiResponseTest {
* Test the property 'code'
*/
@Test
public void codeTest() {
void codeTest() {
// TODO: test code
}
@ -49,7 +48,7 @@ public class ModelApiResponseTest {
* Test the property 'type'
*/
@Test
public void typeTest() {
void typeTest() {
// TODO: test type
}
@ -57,7 +56,7 @@ public class ModelApiResponseTest {
* Test the property 'message'
*/
@Test
public void messageTest() {
void messageTest() {
// TODO: test message
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ModelFile
*/
public class ModelFileTest {
class ModelFileTest {
private final ModelFile model = new ModelFile();
/**
* Model tests for ModelFile
*/
@Test
public void testModelFile() {
void testModelFile() {
// TODO: test ModelFile
}
@ -41,7 +40,7 @@ public class ModelFileTest {
* Test the property 'sourceURI'
*/
@Test
public void sourceURITest() {
void sourceURITest() {
// TODO: test sourceURI
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ModelList
*/
public class ModelListTest {
class ModelListTest {
private final ModelList model = new ModelList();
/**
* Model tests for ModelList
*/
@Test
public void testModelList() {
void testModelList() {
// TODO: test ModelList
}
@ -41,7 +40,7 @@ public class ModelListTest {
* Test the property '_123list'
*/
@Test
public void _123listTest() {
void _123listTest() {
// TODO: test _123list
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ModelReturn
*/
public class ModelReturnTest {
class ModelReturnTest {
private final ModelReturn model = new ModelReturn();
/**
* Model tests for ModelReturn
*/
@Test
public void testModelReturn() {
void testModelReturn() {
// TODO: test ModelReturn
}
@ -41,7 +40,7 @@ public class ModelReturnTest {
* Test the property '_return'
*/
@Test
public void _returnTest() {
void _returnTest() {
// TODO: test _return
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Name
*/
public class NameTest {
class NameTest {
private final Name model = new Name();
/**
* Model tests for Name
*/
@Test
public void testName() {
void testName() {
// TODO: test Name
}
@ -41,7 +40,7 @@ public class NameTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}
@ -49,7 +48,7 @@ public class NameTest {
* Test the property 'snakeCase'
*/
@Test
public void snakeCaseTest() {
void snakeCaseTest() {
// TODO: test snakeCase
}
@ -57,7 +56,7 @@ public class NameTest {
* Test the property 'property'
*/
@Test
public void propertyTest() {
void propertyTest() {
// TODO: test property
}
@ -65,7 +64,7 @@ public class NameTest {
* Test the property '_123number'
*/
@Test
public void _123numberTest() {
void _123numberTest() {
// TODO: test _123number
}

View File

@ -22,6 +22,7 @@ import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -29,22 +30,21 @@ import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for NullableClass
*/
public class NullableClassTest {
class NullableClassTest {
private final NullableClass model = new NullableClass();
/**
* Model tests for NullableClass
*/
@Test
public void testNullableClass() {
void testNullableClass() {
// TODO: test NullableClass
}
@ -52,7 +52,7 @@ public class NullableClassTest {
* Test the property 'integerProp'
*/
@Test
public void integerPropTest() {
void integerPropTest() {
// TODO: test integerProp
}
@ -60,7 +60,7 @@ public class NullableClassTest {
* Test the property 'numberProp'
*/
@Test
public void numberPropTest() {
void numberPropTest() {
// TODO: test numberProp
}
@ -68,7 +68,7 @@ public class NullableClassTest {
* Test the property 'booleanProp'
*/
@Test
public void booleanPropTest() {
void booleanPropTest() {
// TODO: test booleanProp
}
@ -76,7 +76,7 @@ public class NullableClassTest {
* Test the property 'stringProp'
*/
@Test
public void stringPropTest() {
void stringPropTest() {
// TODO: test stringProp
}
@ -84,7 +84,7 @@ public class NullableClassTest {
* Test the property 'dateProp'
*/
@Test
public void datePropTest() {
void datePropTest() {
// TODO: test dateProp
}
@ -92,7 +92,7 @@ public class NullableClassTest {
* Test the property 'datetimeProp'
*/
@Test
public void datetimePropTest() {
void datetimePropTest() {
// TODO: test datetimeProp
}
@ -100,7 +100,7 @@ public class NullableClassTest {
* Test the property 'arrayNullableProp'
*/
@Test
public void arrayNullablePropTest() {
void arrayNullablePropTest() {
// TODO: test arrayNullableProp
}
@ -108,7 +108,7 @@ public class NullableClassTest {
* Test the property 'arrayAndItemsNullableProp'
*/
@Test
public void arrayAndItemsNullablePropTest() {
void arrayAndItemsNullablePropTest() {
// TODO: test arrayAndItemsNullableProp
}
@ -116,7 +116,7 @@ public class NullableClassTest {
* Test the property 'arrayItemsNullable'
*/
@Test
public void arrayItemsNullableTest() {
void arrayItemsNullableTest() {
// TODO: test arrayItemsNullable
}
@ -124,7 +124,7 @@ public class NullableClassTest {
* Test the property 'objectNullableProp'
*/
@Test
public void objectNullablePropTest() {
void objectNullablePropTest() {
// TODO: test objectNullableProp
}
@ -132,7 +132,7 @@ public class NullableClassTest {
* Test the property 'objectAndItemsNullableProp'
*/
@Test
public void objectAndItemsNullablePropTest() {
void objectAndItemsNullablePropTest() {
// TODO: test objectAndItemsNullableProp
}
@ -140,7 +140,7 @@ public class NullableClassTest {
* Test the property 'objectItemsNullable'
*/
@Test
public void objectItemsNullableTest() {
void objectItemsNullableTest() {
// TODO: test objectItemsNullable
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for NumberOnly
*/
public class NumberOnlyTest {
class NumberOnlyTest {
private final NumberOnly model = new NumberOnly();
/**
* Model tests for NumberOnly
*/
@Test
public void testNumberOnly() {
void testNumberOnly() {
// TODO: test NumberOnly
}
@ -42,7 +41,7 @@ public class NumberOnlyTest {
* Test the property 'justNumber'
*/
@Test
public void justNumberTest() {
void justNumberTest() {
// TODO: test justNumber
}

View File

@ -20,24 +20,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.DeprecatedObject;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ObjectWithDeprecatedFields
*/
public class ObjectWithDeprecatedFieldsTest {
class ObjectWithDeprecatedFieldsTest {
private final ObjectWithDeprecatedFields model = new ObjectWithDeprecatedFields();
/**
* Model tests for ObjectWithDeprecatedFields
*/
@Test
public void testObjectWithDeprecatedFields() {
void testObjectWithDeprecatedFields() {
// TODO: test ObjectWithDeprecatedFields
}
@ -45,7 +45,7 @@ public class ObjectWithDeprecatedFieldsTest {
* Test the property 'uuid'
*/
@Test
public void uuidTest() {
void uuidTest() {
// TODO: test uuid
}
@ -53,7 +53,7 @@ public class ObjectWithDeprecatedFieldsTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -61,7 +61,7 @@ public class ObjectWithDeprecatedFieldsTest {
* Test the property 'deprecatedRef'
*/
@Test
public void deprecatedRefTest() {
void deprecatedRefTest() {
// TODO: test deprecatedRef
}
@ -69,7 +69,7 @@ public class ObjectWithDeprecatedFieldsTest {
* Test the property 'bars'
*/
@Test
public void barsTest() {
void barsTest() {
// TODO: test bars
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.time.OffsetDateTime;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Order
*/
public class OrderTest {
class OrderTest {
private final Order model = new Order();
/**
* Model tests for Order
*/
@Test
public void testOrder() {
void testOrder() {
// TODO: test Order
}
@ -42,7 +41,7 @@ public class OrderTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -50,7 +49,7 @@ public class OrderTest {
* Test the property 'petId'
*/
@Test
public void petIdTest() {
void petIdTest() {
// TODO: test petId
}
@ -58,7 +57,7 @@ public class OrderTest {
* Test the property 'quantity'
*/
@Test
public void quantityTest() {
void quantityTest() {
// TODO: test quantity
}
@ -66,7 +65,7 @@ public class OrderTest {
* Test the property 'shipDate'
*/
@Test
public void shipDateTest() {
void shipDateTest() {
// TODO: test shipDate
}
@ -74,7 +73,7 @@ public class OrderTest {
* Test the property 'status'
*/
@Test
public void statusTest() {
void statusTest() {
// TODO: test status
}
@ -82,7 +81,7 @@ public class OrderTest {
* Test the property 'complete'
*/
@Test
public void completeTest() {
void completeTest() {
// TODO: test complete
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for OuterComposite
*/
public class OuterCompositeTest {
class OuterCompositeTest {
private final OuterComposite model = new OuterComposite();
/**
* Model tests for OuterComposite
*/
@Test
public void testOuterComposite() {
void testOuterComposite() {
// TODO: test OuterComposite
}
@ -42,7 +41,7 @@ public class OuterCompositeTest {
* Test the property 'myNumber'
*/
@Test
public void myNumberTest() {
void myNumberTest() {
// TODO: test myNumber
}
@ -50,7 +49,7 @@ public class OuterCompositeTest {
* Test the property 'myString'
*/
@Test
public void myStringTest() {
void myStringTest() {
// TODO: test myString
}
@ -58,7 +57,7 @@ public class OuterCompositeTest {
* Test the property 'myBoolean'
*/
@Test
public void myBooleanTest() {
void myBooleanTest() {
// TODO: test myBoolean
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for OuterEnumDefaultValue
*/
public class OuterEnumDefaultValueTest {
class OuterEnumDefaultValueTest {
/**
* Model tests for OuterEnumDefaultValue
*/
@Test
public void testOuterEnumDefaultValue() {
void testOuterEnumDefaultValue() {
// TODO: test OuterEnumDefaultValue
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for OuterEnumIntegerDefaultValue
*/
public class OuterEnumIntegerDefaultValueTest {
class OuterEnumIntegerDefaultValueTest {
/**
* Model tests for OuterEnumIntegerDefaultValue
*/
@Test
public void testOuterEnumIntegerDefaultValue() {
void testOuterEnumIntegerDefaultValue() {
// TODO: test OuterEnumIntegerDefaultValue
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for OuterEnumInteger
*/
public class OuterEnumIntegerTest {
class OuterEnumIntegerTest {
/**
* Model tests for OuterEnumInteger
*/
@Test
public void testOuterEnumInteger() {
void testOuterEnumInteger() {
// TODO: test OuterEnumInteger
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for OuterEnum
*/
public class OuterEnumTest {
class OuterEnumTest {
/**
* Model tests for OuterEnum
*/
@Test
public void testOuterEnum() {
void testOuterEnum() {
// TODO: test OuterEnum
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.openapitools.client.model.OuterEnumInteger;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for OuterObjectWithEnumProperty
*/
public class OuterObjectWithEnumPropertyTest {
class OuterObjectWithEnumPropertyTest {
private final OuterObjectWithEnumProperty model = new OuterObjectWithEnumProperty();
/**
* Model tests for OuterObjectWithEnumProperty
*/
@Test
public void testOuterObjectWithEnumProperty() {
void testOuterObjectWithEnumProperty() {
// TODO: test OuterObjectWithEnumProperty
}
@ -42,7 +41,7 @@ public class OuterObjectWithEnumPropertyTest {
* Test the property 'value'
*/
@Test
public void valueTest() {
void valueTest() {
// TODO: test value
}

View File

@ -25,21 +25,21 @@ import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ParentWithNullable
*/
public class ParentWithNullableTest {
class ParentWithNullableTest {
private final ParentWithNullable model = new ParentWithNullable();
/**
* Model tests for ParentWithNullable
*/
@Test
public void testParentWithNullable() {
void testParentWithNullable() {
// TODO: test ParentWithNullable
}
@ -47,7 +47,7 @@ public class ParentWithNullableTest {
* Test the property 'type'
*/
@Test
public void typeTest() {
void typeTest() {
// TODO: test type
}
@ -55,7 +55,7 @@ public class ParentWithNullableTest {
* Test the property 'nullableProperty'
*/
@Test
public void nullablePropertyTest() {
void nullablePropertyTest() {
// TODO: test nullableProperty
}

View File

@ -20,27 +20,27 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import org.openapitools.client.model.Category;
import org.openapitools.client.model.Tag;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Pet
*/
public class PetTest {
class PetTest {
private final Pet model = new Pet();
/**
* Model tests for Pet
*/
@Test
public void testPet() {
void testPet() {
// TODO: test Pet
}
@ -48,7 +48,7 @@ public class PetTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -56,7 +56,7 @@ public class PetTest {
* Test the property 'category'
*/
@Test
public void categoryTest() {
void categoryTest() {
// TODO: test category
}
@ -64,7 +64,7 @@ public class PetTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}
@ -72,7 +72,7 @@ public class PetTest {
* Test the property 'photoUrls'
*/
@Test
public void photoUrlsTest() {
void photoUrlsTest() {
// TODO: test photoUrls
}
@ -80,7 +80,7 @@ public class PetTest {
* Test the property 'tags'
*/
@Test
public void tagsTest() {
void tagsTest() {
// TODO: test tags
}
@ -88,7 +88,7 @@ public class PetTest {
* Test the property 'status'
*/
@Test
public void statusTest() {
void statusTest() {
// TODO: test status
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ReadOnlyFirst
*/
public class ReadOnlyFirstTest {
class ReadOnlyFirstTest {
private final ReadOnlyFirst model = new ReadOnlyFirst();
/**
* Model tests for ReadOnlyFirst
*/
@Test
public void testReadOnlyFirst() {
void testReadOnlyFirst() {
// TODO: test ReadOnlyFirst
}
@ -41,7 +40,7 @@ public class ReadOnlyFirstTest {
* Test the property 'bar'
*/
@Test
public void barTest() {
void barTest() {
// TODO: test bar
}
@ -49,7 +48,7 @@ public class ReadOnlyFirstTest {
* Test the property 'baz'
*/
@Test
public void bazTest() {
void bazTest() {
// TODO: test baz
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for SingleRefType
*/
public class SingleRefTypeTest {
class SingleRefTypeTest {
/**
* Model tests for SingleRefType
*/
@Test
public void testSingleRefType() {
void testSingleRefType() {
// TODO: test SingleRefType
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for SpecialModelName
*/
public class SpecialModelNameTest {
class SpecialModelNameTest {
private final SpecialModelName model = new SpecialModelName();
/**
* Model tests for SpecialModelName
*/
@Test
public void testSpecialModelName() {
void testSpecialModelName() {
// TODO: test SpecialModelName
}
@ -41,7 +40,7 @@ public class SpecialModelNameTest {
* Test the property '$specialPropertyName'
*/
@Test
public void $specialPropertyNameTest() {
void $specialPropertyNameTest() {
// TODO: test $specialPropertyName
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Tag
*/
public class TagTest {
class TagTest {
private final Tag model = new Tag();
/**
* Model tests for Tag
*/
@Test
public void testTag() {
void testTag() {
// TODO: test Tag
}
@ -41,7 +40,7 @@ public class TagTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -49,7 +48,7 @@ public class TagTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}

View File

@ -20,21 +20,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for TestInlineFreeformAdditionalPropertiesRequest
*/
public class TestInlineFreeformAdditionalPropertiesRequestTest {
class TestInlineFreeformAdditionalPropertiesRequestTest {
private final TestInlineFreeformAdditionalPropertiesRequest model = new TestInlineFreeformAdditionalPropertiesRequest();
/**
* Model tests for TestInlineFreeformAdditionalPropertiesRequest
*/
@Test
public void testTestInlineFreeformAdditionalPropertiesRequest() {
void testTestInlineFreeformAdditionalPropertiesRequest() {
// TODO: test TestInlineFreeformAdditionalPropertiesRequest
}
@ -42,7 +42,7 @@ public class TestInlineFreeformAdditionalPropertiesRequestTest {
* Test the property 'someProperty'
*/
@Test
public void somePropertyTest() {
void somePropertyTest() {
// TODO: test someProperty
}

View File

@ -18,22 +18,21 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for User
*/
public class UserTest {
class UserTest {
private final User model = new User();
/**
* Model tests for User
*/
@Test
public void testUser() {
void testUser() {
// TODO: test User
}
@ -41,7 +40,7 @@ public class UserTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -49,7 +48,7 @@ public class UserTest {
* Test the property 'username'
*/
@Test
public void usernameTest() {
void usernameTest() {
// TODO: test username
}
@ -57,7 +56,7 @@ public class UserTest {
* Test the property 'firstName'
*/
@Test
public void firstNameTest() {
void firstNameTest() {
// TODO: test firstName
}
@ -65,7 +64,7 @@ public class UserTest {
* Test the property 'lastName'
*/
@Test
public void lastNameTest() {
void lastNameTest() {
// TODO: test lastName
}
@ -73,7 +72,7 @@ public class UserTest {
* Test the property 'email'
*/
@Test
public void emailTest() {
void emailTest() {
// TODO: test email
}
@ -81,7 +80,7 @@ public class UserTest {
* Test the property 'password'
*/
@Test
public void passwordTest() {
void passwordTest() {
// TODO: test password
}
@ -89,7 +88,7 @@ public class UserTest {
* Test the property 'phone'
*/
@Test
public void phoneTest() {
void phoneTest() {
// TODO: test phone
}
@ -97,7 +96,7 @@ public class UserTest {
* Test the property 'userStatus'
*/
@Test
public void userStatusTest() {
void userStatusTest() {
// TODO: test userStatus
}

View File

@ -119,7 +119,7 @@ ext {
jackson_version = "2.13.4"
jackson_databind_version = "2.13.4.2"
jackson_databind_nullable_version = "0.2.6"
junit_version = "4.13.2"
junit_version = "5.10.2"
}
dependencies {
@ -134,5 +134,5 @@ dependencies {
implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
}

View File

@ -36,7 +36,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
@ -112,8 +112,8 @@
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
@ -127,6 +127,6 @@
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<reactor-version>3.4.34</reactor-version>
<reactor-netty-version>1.0.39</reactor-netty-version>
<junit-version>4.13.2</junit-version>
<junit-version>5.10.2</junit-version>
</properties>
</project>

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.ByteArrayObject;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for DefaultApi
*/
@Ignore
@Disabled
public class DefaultApiTest {
private final DefaultApi api = new DefaultApi();
@ -39,7 +40,8 @@ public class DefaultApiTest {
*/
@Test
public void nullableArrayTestGetTest() {
List<ByteArrayObject> response = api.nullableArrayTestGet().collectList().block();
// uncomment below to test the function
//List<ByteArrayObject> response = api.nullableArrayTestGet().collectList().block();
// TODO: test validations
}

View File

@ -23,22 +23,21 @@ import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ByteArrayObject
*/
public class ByteArrayObjectTest {
class ByteArrayObjectTest {
private final ByteArrayObject model = new ByteArrayObject();
/**
* Model tests for ByteArrayObject
*/
@Test
public void testByteArrayObject() {
void testByteArrayObject() {
// TODO: test ByteArrayObject
}
@ -46,7 +45,7 @@ public class ByteArrayObjectTest {
* Test the property 'nullableArray'
*/
@Test
public void nullableArrayTest() {
void nullableArrayTest() {
// TODO: test nullableArray
}
@ -54,7 +53,7 @@ public class ByteArrayObjectTest {
* Test the property 'normalArray'
*/
@Test
public void normalArrayTest() {
void normalArrayTest() {
// TODO: test normalArray
}
@ -62,7 +61,7 @@ public class ByteArrayObjectTest {
* Test the property 'nullableString'
*/
@Test
public void nullableStringTest() {
void nullableStringTest() {
// TODO: test nullableString
}
@ -70,7 +69,7 @@ public class ByteArrayObjectTest {
* Test the property 'stringField'
*/
@Test
public void stringFieldTest() {
void stringFieldTest() {
// TODO: test stringField
}
@ -78,7 +77,7 @@ public class ByteArrayObjectTest {
* Test the property 'intField'
*/
@Test
public void intFieldTest() {
void intFieldTest() {
// TODO: test intField
}

View File

@ -21,4 +21,3 @@
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
#

View File

@ -120,7 +120,7 @@ ext {
jackson_version = "2.13.4"
jackson_databind_version = "2.13.4.2"
jackson_databind_nullable_version = "0.2.6"
junit_version = "4.13.2"
junit_version = "5.10.2"
}
dependencies {
@ -136,5 +136,5 @@ dependencies {
implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
}

View File

@ -36,7 +36,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
@ -117,8 +117,8 @@
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
@ -133,6 +133,6 @@
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<reactor-version>3.4.34</reactor-version>
<reactor-netty-version>1.0.39</reactor-netty-version>
<junit-version>4.13.2</junit-version>
<junit-version>5.10.2</junit-version>
</properties>
</project>

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Client;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for AnotherFakeApi
*/
@Ignore
@Disabled
public class AnotherFakeApiTest {
private final AnotherFakeApi api = new AnotherFakeApi();
@ -39,8 +40,9 @@ public class AnotherFakeApiTest {
*/
@Test
public void call123testSpecialTagsTest() {
Client client = null;
Client response = api.call123testSpecialTags(client).block();
// uncomment below to test the function
//Client client = null;
//Client response = api.call123testSpecialTags(client).block();
// TODO: test validations
}

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.FooGetDefaultResponse;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for DefaultApi
*/
@Ignore
@Disabled
public class DefaultApiTest {
private final DefaultApi api = new DefaultApi();
@ -39,7 +40,8 @@ public class DefaultApiTest {
*/
@Test
public void fooGetTest() {
FooGetDefaultResponse response = api.fooGet().block();
// uncomment below to test the function
//FooGetDefaultResponse response = api.fooGet().block();
// TODO: test validations
}

View File

@ -14,8 +14,10 @@
package org.openapitools.client.api;
import java.math.BigDecimal;
import org.openapitools.client.model.ChildWithNullable;
import org.openapitools.client.model.Client;
import org.openapitools.client.model.EnumClass;
import org.openapitools.client.model.FakeBigDecimalMap200Response;
import java.io.File;
import org.openapitools.client.model.FileSchemaTestClass;
import org.openapitools.client.model.HealthCheckResult;
@ -24,9 +26,11 @@ import java.time.OffsetDateTime;
import org.openapitools.client.model.OuterComposite;
import org.openapitools.client.model.OuterObjectWithEnumProperty;
import org.openapitools.client.model.Pet;
import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest;
import org.openapitools.client.model.User;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -37,12 +41,25 @@ import java.util.stream.Collectors;
/**
* API tests for FakeApi
*/
@Ignore
@Disabled
public class FakeApiTest {
private final FakeApi api = new FakeApi();
/**
*
*
* for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
*/
@Test
public void fakeBigDecimalMapTest() {
// uncomment below to test the function
//FakeBigDecimalMap200Response response = api.fakeBigDecimalMap().block();
// TODO: test validations
}
/**
* Health check endpoint
*
@ -50,7 +67,8 @@ public class FakeApiTest {
*/
@Test
public void fakeHealthGetTest() {
HealthCheckResult response = api.fakeHealthGet().block();
// uncomment below to test the function
//HealthCheckResult response = api.fakeHealthGet().block();
// TODO: test validations
}
@ -62,10 +80,11 @@ public class FakeApiTest {
*/
@Test
public void fakeHttpSignatureTestTest() {
Pet pet = null;
String query1 = null;
String header1 = null;
api.fakeHttpSignatureTest(pet, query1, header1).block();
// uncomment below to test the function
//Pet pet = null;
//String query1 = null;
//String header1 = null;
//api.fakeHttpSignatureTest(pet, query1, header1).block();
// TODO: test validations
}
@ -77,8 +96,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterBooleanSerializeTest() {
Boolean body = null;
Boolean response = api.fakeOuterBooleanSerialize(body).block();
// uncomment below to test the function
//Boolean body = null;
//Boolean response = api.fakeOuterBooleanSerialize(body).block();
// TODO: test validations
}
@ -90,8 +110,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterCompositeSerializeTest() {
OuterComposite outerComposite = null;
OuterComposite response = api.fakeOuterCompositeSerialize(outerComposite).block();
// uncomment below to test the function
//OuterComposite outerComposite = null;
//OuterComposite response = api.fakeOuterCompositeSerialize(outerComposite).block();
// TODO: test validations
}
@ -103,8 +124,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterNumberSerializeTest() {
BigDecimal body = null;
BigDecimal response = api.fakeOuterNumberSerialize(body).block();
// uncomment below to test the function
//BigDecimal body = null;
//BigDecimal response = api.fakeOuterNumberSerialize(body).block();
// TODO: test validations
}
@ -116,8 +138,9 @@ public class FakeApiTest {
*/
@Test
public void fakeOuterStringSerializeTest() {
String body = null;
String response = api.fakeOuterStringSerialize(body).block();
// uncomment below to test the function
//String body = null;
//String response = api.fakeOuterStringSerialize(body).block();
// TODO: test validations
}
@ -129,8 +152,23 @@ public class FakeApiTest {
*/
@Test
public void fakePropertyEnumIntegerSerializeTest() {
OuterObjectWithEnumProperty outerObjectWithEnumProperty = null;
OuterObjectWithEnumProperty response = api.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty).block();
// uncomment below to test the function
//OuterObjectWithEnumProperty outerObjectWithEnumProperty = null;
//OuterObjectWithEnumProperty response = api.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty).block();
// TODO: test validations
}
/**
* test referenced additionalProperties
*
*
*/
@Test
public void testAdditionalPropertiesReferenceTest() {
// uncomment below to test the function
//Map<String, Object> requestBody = null;
//api.testAdditionalPropertiesReference(requestBody).block();
// TODO: test validations
}
@ -142,8 +180,9 @@ public class FakeApiTest {
*/
@Test
public void testBodyWithBinaryTest() {
File body = null;
api.testBodyWithBinary(body).block();
// uncomment below to test the function
//File body = null;
//api.testBodyWithBinary(body).block();
// TODO: test validations
}
@ -155,8 +194,9 @@ public class FakeApiTest {
*/
@Test
public void testBodyWithFileSchemaTest() {
FileSchemaTestClass fileSchemaTestClass = null;
api.testBodyWithFileSchema(fileSchemaTestClass).block();
// uncomment below to test the function
//FileSchemaTestClass fileSchemaTestClass = null;
//api.testBodyWithFileSchema(fileSchemaTestClass).block();
// TODO: test validations
}
@ -168,9 +208,10 @@ public class FakeApiTest {
*/
@Test
public void testBodyWithQueryParamsTest() {
String query = null;
User user = null;
api.testBodyWithQueryParams(query, user).block();
// uncomment below to test the function
//String query = null;
//User user = null;
//api.testBodyWithQueryParams(query, user).block();
// TODO: test validations
}
@ -182,8 +223,9 @@ public class FakeApiTest {
*/
@Test
public void testClientModelTest() {
Client client = null;
Client response = api.testClientModel(client).block();
// uncomment below to test the function
//Client client = null;
//Client response = api.testClientModel(client).block();
// TODO: test validations
}
@ -195,21 +237,22 @@ public class FakeApiTest {
*/
@Test
public void testEndpointParametersTest() {
BigDecimal number = null;
Double _double = null;
String patternWithoutDelimiter = null;
byte[] _byte = null;
Integer integer = null;
Integer int32 = null;
Long int64 = null;
Float _float = null;
String string = null;
File binary = null;
LocalDate date = null;
OffsetDateTime dateTime = null;
String password = null;
String paramCallback = null;
api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).block();
// uncomment below to test the function
//BigDecimal number = null;
//Double _double = null;
//String patternWithoutDelimiter = null;
//byte[] _byte = null;
//Integer integer = null;
//Integer int32 = null;
//Long int64 = null;
//Float _float = null;
//String string = null;
//File binary = null;
//LocalDate date = null;
//OffsetDateTime dateTime = null;
//String password = null;
//String paramCallback = null;
//api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).block();
// TODO: test validations
}
@ -221,16 +264,17 @@ public class FakeApiTest {
*/
@Test
public void testEnumParametersTest() {
List<String> enumHeaderStringArray = null;
String enumHeaderString = null;
List<String> enumQueryStringArray = null;
String enumQueryString = null;
Integer enumQueryInteger = null;
Double enumQueryDouble = null;
List<EnumClass> enumQueryModelArray = null;
List<String> enumFormStringArray = null;
String enumFormString = null;
api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString).block();
// uncomment below to test the function
//List<String> enumHeaderStringArray = null;
//String enumHeaderString = null;
//List<String> enumQueryStringArray = null;
//String enumQueryString = null;
//Integer enumQueryInteger = null;
//Double enumQueryDouble = null;
//List<EnumClass> enumQueryModelArray = null;
//List<String> enumFormStringArray = null;
//String enumFormString = null;
//api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString).block();
// TODO: test validations
}
@ -242,13 +286,14 @@ public class FakeApiTest {
*/
@Test
public void testGroupParametersTest() {
Integer requiredStringGroup = null;
Boolean requiredBooleanGroup = null;
Long requiredInt64Group = null;
Integer stringGroup = null;
Boolean booleanGroup = null;
Long int64Group = null;
api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).block();
// uncomment below to test the function
//Integer requiredStringGroup = null;
//Boolean requiredBooleanGroup = null;
//Long requiredInt64Group = null;
//Integer stringGroup = null;
//Boolean booleanGroup = null;
//Long int64Group = null;
//api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).block();
// TODO: test validations
}
@ -260,8 +305,23 @@ public class FakeApiTest {
*/
@Test
public void testInlineAdditionalPropertiesTest() {
Map<String, String> requestBody = null;
api.testInlineAdditionalProperties(requestBody).block();
// uncomment below to test the function
//Map<String, String> requestBody = null;
//api.testInlineAdditionalProperties(requestBody).block();
// TODO: test validations
}
/**
* test inline free-form additionalProperties
*
*
*/
@Test
public void testInlineFreeformAdditionalPropertiesTest() {
// uncomment below to test the function
//TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null;
//api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest).block();
// TODO: test validations
}
@ -273,9 +333,24 @@ public class FakeApiTest {
*/
@Test
public void testJsonFormDataTest() {
String param = null;
String param2 = null;
api.testJsonFormData(param, param2).block();
// uncomment below to test the function
//String param = null;
//String param2 = null;
//api.testJsonFormData(param, param2).block();
// TODO: test validations
}
/**
* test nullable parent property
*
*
*/
@Test
public void testNullableTest() {
// uncomment below to test the function
//ChildWithNullable childWithNullable = null;
//api.testNullable(childWithNullable).block();
// TODO: test validations
}
@ -287,14 +362,29 @@ public class FakeApiTest {
*/
@Test
public void testQueryParameterCollectionFormatTest() {
List<String> pipe = null;
List<String> ioutil = null;
List<String> http = null;
List<String> url = null;
List<String> context = null;
String allowEmpty = null;
Map<String, String> language = null;
api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language).block();
// uncomment below to test the function
//List<String> pipe = null;
//List<String> ioutil = null;
//List<String> http = null;
//List<String> url = null;
//List<String> context = null;
//String allowEmpty = null;
//Map<String, String> language = null;
//api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language).block();
// TODO: test validations
}
/**
* test referenced string map
*
*
*/
@Test
public void testStringMapReferenceTest() {
// uncomment below to test the function
//Map<String, String> requestBody = null;
//api.testStringMapReference(requestBody).block();
// TODO: test validations
}

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Client;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for FakeClassnameTags123Api
*/
@Ignore
@Disabled
public class FakeClassnameTags123ApiTest {
private final FakeClassnameTags123Api api = new FakeClassnameTags123Api();
@ -39,8 +40,9 @@ public class FakeClassnameTags123ApiTest {
*/
@Test
public void testClassnameTest() {
Client client = null;
Client response = api.testClassname(client).block();
// uncomment below to test the function
//Client client = null;
//Client response = api.testClassname(client).block();
// TODO: test validations
}

View File

@ -17,8 +17,9 @@ import java.io.File;
import org.openapitools.client.model.ModelApiResponse;
import org.openapitools.client.model.Pet;
import java.util.Set;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -29,7 +30,7 @@ import java.util.stream.Collectors;
/**
* API tests for PetApi
*/
@Ignore
@Disabled
public class PetApiTest {
private final PetApi api = new PetApi();
@ -42,8 +43,9 @@ public class PetApiTest {
*/
@Test
public void addPetTest() {
Pet pet = null;
api.addPet(pet).block();
// uncomment below to test the function
//Pet pet = null;
//api.addPet(pet).block();
// TODO: test validations
}
@ -55,9 +57,10 @@ public class PetApiTest {
*/
@Test
public void deletePetTest() {
Long petId = null;
String apiKey = null;
api.deletePet(petId, apiKey).block();
// uncomment below to test the function
//Long petId = null;
//String apiKey = null;
//api.deletePet(petId, apiKey).block();
// TODO: test validations
}
@ -69,8 +72,9 @@ public class PetApiTest {
*/
@Test
public void findPetsByStatusTest() {
List<String> status = null;
List<Pet> response = api.findPetsByStatus(status);
// uncomment below to test the function
//List<String> status = null;
//List<Pet> response = api.findPetsByStatus(status);
// TODO: test validations
}
@ -82,8 +86,9 @@ public class PetApiTest {
*/
@Test
public void findPetsByTagsTest() {
Set<String> tags = null;
Set<Pet> response = api.findPetsByTags(tags);
// uncomment below to test the function
//Set<String> tags = null;
//Set<Pet> response = api.findPetsByTags(tags);
// TODO: test validations
}
@ -95,8 +100,9 @@ public class PetApiTest {
*/
@Test
public void getPetByIdTest() {
Long petId = null;
Pet response = api.getPetById(petId);
// uncomment below to test the function
//Long petId = null;
//Pet response = api.getPetById(petId);
// TODO: test validations
}
@ -108,8 +114,9 @@ public class PetApiTest {
*/
@Test
public void updatePetTest() {
Pet pet = null;
api.updatePet(pet);
// uncomment below to test the function
//Pet pet = null;
//api.updatePet(pet);
// TODO: test validations
}
@ -121,10 +128,11 @@ public class PetApiTest {
*/
@Test
public void updatePetWithFormTest() {
Long petId = null;
String name = null;
String status = null;
api.updatePetWithForm(petId, name, status).block();
// uncomment below to test the function
//Long petId = null;
//String name = null;
//String status = null;
//api.updatePetWithForm(petId, name, status).block();
// TODO: test validations
}
@ -136,10 +144,11 @@ public class PetApiTest {
*/
@Test
public void uploadFileTest() {
Long petId = null;
String additionalMetadata = null;
File _file = null;
ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file).block();
// uncomment below to test the function
//Long petId = null;
//String additionalMetadata = null;
//File _file = null;
//ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file).block();
// TODO: test validations
}
@ -151,10 +160,11 @@ public class PetApiTest {
*/
@Test
public void uploadFileWithRequiredFileTest() {
Long petId = null;
File requiredFile = null;
String additionalMetadata = null;
ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata).block();
// uncomment below to test the function
//Long petId = null;
//File requiredFile = null;
//String additionalMetadata = null;
//ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata).block();
// TODO: test validations
}

View File

@ -14,8 +14,9 @@
package org.openapitools.client.api;
import org.openapitools.client.model.Order;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -26,7 +27,7 @@ import java.util.stream.Collectors;
/**
* API tests for StoreApi
*/
@Ignore
@Disabled
public class StoreApiTest {
private final StoreApi api = new StoreApi();
@ -39,8 +40,9 @@ public class StoreApiTest {
*/
@Test
public void deleteOrderTest() {
String orderId = null;
api.deleteOrder(orderId).block();
// uncomment below to test the function
//String orderId = null;
//api.deleteOrder(orderId).block();
// TODO: test validations
}
@ -52,7 +54,8 @@ public class StoreApiTest {
*/
@Test
public void getInventoryTest() {
Map<String, Integer> response = api.getInventory().block();
// uncomment below to test the function
//Map<String, Integer> response = api.getInventory().block();
// TODO: test validations
}
@ -64,8 +67,9 @@ public class StoreApiTest {
*/
@Test
public void getOrderByIdTest() {
Long orderId = null;
Order response = api.getOrderById(orderId).block();
// uncomment below to test the function
//Long orderId = null;
//Order response = api.getOrderById(orderId).block();
// TODO: test validations
}
@ -77,8 +81,9 @@ public class StoreApiTest {
*/
@Test
public void placeOrderTest() {
Order order = null;
Order response = api.placeOrder(order).block();
// uncomment below to test the function
//Order order = null;
//Order response = api.placeOrder(order).block();
// TODO: test validations
}

View File

@ -15,8 +15,9 @@ package org.openapitools.client.api;
import java.time.OffsetDateTime;
import org.openapitools.client.model.User;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.HashMap;
@ -27,7 +28,7 @@ import java.util.stream.Collectors;
/**
* API tests for UserApi
*/
@Ignore
@Disabled
public class UserApiTest {
private final UserApi api = new UserApi();
@ -40,8 +41,9 @@ public class UserApiTest {
*/
@Test
public void createUserTest() {
User user = null;
api.createUser(user).block();
// uncomment below to test the function
//User user = null;
//api.createUser(user).block();
// TODO: test validations
}
@ -53,8 +55,9 @@ public class UserApiTest {
*/
@Test
public void createUsersWithArrayInputTest() {
List<User> user = null;
api.createUsersWithArrayInput(user).block();
// uncomment below to test the function
//List<User> user = null;
//api.createUsersWithArrayInput(user).block();
// TODO: test validations
}
@ -66,8 +69,9 @@ public class UserApiTest {
*/
@Test
public void createUsersWithListInputTest() {
List<User> user = null;
api.createUsersWithListInput(user).block();
// uncomment below to test the function
//List<User> user = null;
//api.createUsersWithListInput(user).block();
// TODO: test validations
}
@ -79,8 +83,9 @@ public class UserApiTest {
*/
@Test
public void deleteUserTest() {
String username = null;
api.deleteUser(username).block();
// uncomment below to test the function
//String username = null;
//api.deleteUser(username).block();
// TODO: test validations
}
@ -92,8 +97,9 @@ public class UserApiTest {
*/
@Test
public void getUserByNameTest() {
String username = null;
User response = api.getUserByName(username).block();
// uncomment below to test the function
//String username = null;
//User response = api.getUserByName(username).block();
// TODO: test validations
}
@ -105,9 +111,10 @@ public class UserApiTest {
*/
@Test
public void loginUserTest() {
String username = null;
String password = null;
String response = api.loginUser(username, password).block();
// uncomment below to test the function
//String username = null;
//String password = null;
//String response = api.loginUser(username, password).block();
// TODO: test validations
}
@ -119,7 +126,8 @@ public class UserApiTest {
*/
@Test
public void logoutUserTest() {
api.logoutUser().block();
// uncomment below to test the function
//api.logoutUser().block();
// TODO: test validations
}
@ -131,9 +139,10 @@ public class UserApiTest {
*/
@Test
public void updateUserTest() {
String username = null;
User user = null;
api.updateUser(username, user).block();
// uncomment below to test the function
//String username = null;
//User user = null;
//api.updateUser(username, user).block();
// TODO: test validations
}

View File

@ -18,24 +18,24 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for AdditionalPropertiesClass
*/
public class AdditionalPropertiesClassTest {
class AdditionalPropertiesClassTest {
private final AdditionalPropertiesClass model = new AdditionalPropertiesClass();
/**
* Model tests for AdditionalPropertiesClass
*/
@Test
public void testAdditionalPropertiesClass() {
void testAdditionalPropertiesClass() {
// TODO: test AdditionalPropertiesClass
}
@ -43,7 +43,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapProperty'
*/
@Test
public void mapPropertyTest() {
void mapPropertyTest() {
// TODO: test mapProperty
}
@ -51,7 +51,7 @@ public class AdditionalPropertiesClassTest {
* Test the property 'mapOfMapProperty'
*/
@Test
public void mapOfMapPropertyTest() {
void mapOfMapPropertyTest() {
// TODO: test mapOfMapProperty
}

View File

@ -18,23 +18,23 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.openapitools.client.model.SingleRefType;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for AllOfWithSingleRef
*/
public class AllOfWithSingleRefTest {
class AllOfWithSingleRefTest {
private final AllOfWithSingleRef model = new AllOfWithSingleRef();
/**
* Model tests for AllOfWithSingleRef
*/
@Test
public void testAllOfWithSingleRef() {
void testAllOfWithSingleRef() {
// TODO: test AllOfWithSingleRef
}
@ -42,7 +42,7 @@ public class AllOfWithSingleRefTest {
* Test the property 'username'
*/
@Test
public void usernameTest() {
void usernameTest() {
// TODO: test username
}
@ -50,7 +50,7 @@ public class AllOfWithSingleRefTest {
* Test the property 'singleRefType'
*/
@Test
public void singleRefTypeTest() {
void singleRefTypeTest() {
// TODO: test singleRefType
}

View File

@ -21,22 +21,22 @@ import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import io.swagger.v3.oas.annotations.media.Schema;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Animal
*/
public class AnimalTest {
class AnimalTest {
private final Animal model = new Animal();
/**
* Model tests for Animal
*/
@Test
public void testAnimal() {
void testAnimal() {
// TODO: test Animal
}
@ -44,7 +44,7 @@ public class AnimalTest {
* Test the property 'className'
*/
@Test
public void classNameTest() {
void classNameTest() {
// TODO: test className
}
@ -52,7 +52,7 @@ public class AnimalTest {
* Test the property 'color'
*/
@Test
public void colorTest() {
void colorTest() {
// TODO: test color
}

View File

@ -18,25 +18,26 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayOfArrayOfNumberOnly
*/
public class ArrayOfArrayOfNumberOnlyTest {
class ArrayOfArrayOfNumberOnlyTest {
private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly();
/**
* Model tests for ArrayOfArrayOfNumberOnly
*/
@Test
public void testArrayOfArrayOfNumberOnly() {
void testArrayOfArrayOfNumberOnly() {
// TODO: test ArrayOfArrayOfNumberOnly
}
@ -44,7 +45,7 @@ public class ArrayOfArrayOfNumberOnlyTest {
* Test the property 'arrayArrayNumber'
*/
@Test
public void arrayArrayNumberTest() {
void arrayArrayNumberTest() {
// TODO: test arrayArrayNumber
}

View File

@ -18,25 +18,26 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayOfNumberOnly
*/
public class ArrayOfNumberOnlyTest {
class ArrayOfNumberOnlyTest {
private final ArrayOfNumberOnly model = new ArrayOfNumberOnly();
/**
* Model tests for ArrayOfNumberOnly
*/
@Test
public void testArrayOfNumberOnly() {
void testArrayOfNumberOnly() {
// TODO: test ArrayOfNumberOnly
}
@ -44,7 +45,7 @@ public class ArrayOfNumberOnlyTest {
* Test the property 'arrayNumber'
*/
@Test
public void arrayNumberTest() {
void arrayNumberTest() {
// TODO: test arrayNumber
}

View File

@ -18,25 +18,26 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ReadOnlyFirst;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ArrayTest
*/
public class ArrayTestTest {
class ArrayTestTest {
private final ArrayTest model = new ArrayTest();
/**
* Model tests for ArrayTest
*/
@Test
public void testArrayTest() {
void testArrayTest() {
// TODO: test ArrayTest
}
@ -44,7 +45,7 @@ public class ArrayTestTest {
* Test the property 'arrayOfString'
*/
@Test
public void arrayOfStringTest() {
void arrayOfStringTest() {
// TODO: test arrayOfString
}
@ -52,7 +53,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfInteger'
*/
@Test
public void arrayArrayOfIntegerTest() {
void arrayArrayOfIntegerTest() {
// TODO: test arrayArrayOfInteger
}
@ -60,7 +61,7 @@ public class ArrayTestTest {
* Test the property 'arrayArrayOfModel'
*/
@Test
public void arrayArrayOfModelTest() {
void arrayArrayOfModelTest() {
// TODO: test arrayArrayOfModel
}

View File

@ -18,22 +18,22 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import io.swagger.v3.oas.annotations.media.Schema;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Capitalization
*/
public class CapitalizationTest {
class CapitalizationTest {
private final Capitalization model = new Capitalization();
/**
* Model tests for Capitalization
*/
@Test
public void testCapitalization() {
void testCapitalization() {
// TODO: test Capitalization
}
@ -41,7 +41,7 @@ public class CapitalizationTest {
* Test the property 'smallCamel'
*/
@Test
public void smallCamelTest() {
void smallCamelTest() {
// TODO: test smallCamel
}
@ -49,7 +49,7 @@ public class CapitalizationTest {
* Test the property 'capitalCamel'
*/
@Test
public void capitalCamelTest() {
void capitalCamelTest() {
// TODO: test capitalCamel
}
@ -57,7 +57,7 @@ public class CapitalizationTest {
* Test the property 'smallSnake'
*/
@Test
public void smallSnakeTest() {
void smallSnakeTest() {
// TODO: test smallSnake
}
@ -65,7 +65,7 @@ public class CapitalizationTest {
* Test the property 'capitalSnake'
*/
@Test
public void capitalSnakeTest() {
void capitalSnakeTest() {
// TODO: test capitalSnake
}
@ -73,7 +73,7 @@ public class CapitalizationTest {
* Test the property 'scAETHFlowPoints'
*/
@Test
public void scAETHFlowPointsTest() {
void scAETHFlowPointsTest() {
// TODO: test scAETHFlowPoints
}
@ -81,7 +81,7 @@ public class CapitalizationTest {
* Test the property 'ATT_NAME'
*/
@Test
public void ATT_NAMETest() {
void ATT_NAMETest() {
// TODO: test ATT_NAME
}

View File

@ -21,23 +21,23 @@ import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.openapitools.client.model.Animal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Cat
*/
public class CatTest {
class CatTest {
private final Cat model = new Cat();
/**
* Model tests for Cat
*/
@Test
public void testCat() {
void testCat() {
// TODO: test Cat
}
@ -45,7 +45,7 @@ public class CatTest {
* Test the property 'className'
*/
@Test
public void classNameTest() {
void classNameTest() {
// TODO: test className
}
@ -53,7 +53,7 @@ public class CatTest {
* Test the property 'color'
*/
@Test
public void colorTest() {
void colorTest() {
// TODO: test color
}
@ -61,7 +61,7 @@ public class CatTest {
* Test the property 'declawed'
*/
@Test
public void declawedTest() {
void declawedTest() {
// TODO: test declawed
}

View File

@ -18,22 +18,22 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import io.swagger.v3.oas.annotations.media.Schema;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Category
*/
public class CategoryTest {
class CategoryTest {
private final Category model = new Category();
/**
* Model tests for Category
*/
@Test
public void testCategory() {
void testCategory() {
// TODO: test Category
}
@ -41,7 +41,7 @@ public class CategoryTest {
* Test the property 'id'
*/
@Test
public void idTest() {
void idTest() {
// TODO: test id
}
@ -49,7 +49,7 @@ public class CategoryTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}

View File

@ -24,21 +24,21 @@ import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.openapitools.client.model.ParentWithNullable;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ChildWithNullable
*/
public class ChildWithNullableTest {
class ChildWithNullableTest {
private final ChildWithNullable model = new ChildWithNullable();
/**
* Model tests for ChildWithNullable
*/
@Test
public void testChildWithNullable() {
void testChildWithNullable() {
// TODO: test ChildWithNullable
}
@ -46,7 +46,7 @@ public class ChildWithNullableTest {
* Test the property 'type'
*/
@Test
public void typeTest() {
void typeTest() {
// TODO: test type
}
@ -54,7 +54,7 @@ public class ChildWithNullableTest {
* Test the property 'nullableProperty'
*/
@Test
public void nullablePropertyTest() {
void nullablePropertyTest() {
// TODO: test nullableProperty
}
@ -62,7 +62,7 @@ public class ChildWithNullableTest {
* Test the property 'otherProperty'
*/
@Test
public void otherPropertyTest() {
void otherPropertyTest() {
// TODO: test otherProperty
}

View File

@ -19,22 +19,21 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for ClassModel
*/
public class ClassModelTest {
class ClassModelTest {
private final ClassModel model = new ClassModel();
/**
* Model tests for ClassModel
*/
@Test
public void testClassModel() {
void testClassModel() {
// TODO: test ClassModel
}
@ -42,7 +41,7 @@ public class ClassModelTest {
* Test the property 'propertyClass'
*/
@Test
public void propertyClassTest() {
void propertyClassTest() {
// TODO: test propertyClass
}

View File

@ -18,22 +18,22 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import io.swagger.v3.oas.annotations.media.Schema;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Client
*/
public class ClientTest {
class ClientTest {
private final Client model = new Client();
/**
* Model tests for Client
*/
@Test
public void testClient() {
void testClient() {
// TODO: test Client
}
@ -41,7 +41,7 @@ public class ClientTest {
* Test the property 'client'
*/
@Test
public void clientTest() {
void clientTest() {
// TODO: test client
}

View File

@ -18,22 +18,22 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import io.swagger.v3.oas.annotations.media.Schema;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for DeprecatedObject
*/
public class DeprecatedObjectTest {
class DeprecatedObjectTest {
private final DeprecatedObject model = new DeprecatedObject();
/**
* Model tests for DeprecatedObject
*/
@Test
public void testDeprecatedObject() {
void testDeprecatedObject() {
// TODO: test DeprecatedObject
}
@ -41,7 +41,7 @@ public class DeprecatedObjectTest {
* Test the property 'name'
*/
@Test
public void nameTest() {
void nameTest() {
// TODO: test name
}

View File

@ -21,23 +21,23 @@ import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.openapitools.client.model.Animal;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for Dog
*/
public class DogTest {
class DogTest {
private final Dog model = new Dog();
/**
* Model tests for Dog
*/
@Test
public void testDog() {
void testDog() {
// TODO: test Dog
}
@ -45,7 +45,7 @@ public class DogTest {
* Test the property 'className'
*/
@Test
public void classNameTest() {
void classNameTest() {
// TODO: test className
}
@ -53,7 +53,7 @@ public class DogTest {
* Test the property 'color'
*/
@Test
public void colorTest() {
void colorTest() {
// TODO: test color
}
@ -61,7 +61,7 @@ public class DogTest {
* Test the property 'breed'
*/
@Test
public void breedTest() {
void breedTest() {
// TODO: test breed
}

View File

@ -18,24 +18,25 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for EnumArrays
*/
public class EnumArraysTest {
class EnumArraysTest {
private final EnumArrays model = new EnumArrays();
/**
* Model tests for EnumArrays
*/
@Test
public void testEnumArrays() {
void testEnumArrays() {
// TODO: test EnumArrays
}
@ -43,7 +44,7 @@ public class EnumArraysTest {
* Test the property 'justSymbol'
*/
@Test
public void justSymbolTest() {
void justSymbolTest() {
// TODO: test justSymbol
}
@ -51,7 +52,7 @@ public class EnumArraysTest {
* Test the property 'arrayEnum'
*/
@Test
public void arrayEnumTest() {
void arrayEnumTest() {
// TODO: test arrayEnum
}

View File

@ -13,20 +13,19 @@
package org.openapitools.client.model;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for EnumClass
*/
public class EnumClassTest {
class EnumClassTest {
/**
* Model tests for EnumClass
*/
@Test
public void testEnumClass() {
void testEnumClass() {
// TODO: test EnumClass
}

View File

@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.openapitools.client.model.OuterEnum;
import org.openapitools.client.model.OuterEnumDefaultValue;
import org.openapitools.client.model.OuterEnumInteger;
@ -26,22 +27,21 @@ import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for EnumTest
*/
public class EnumTestTest {
class EnumTestTest {
private final EnumTest model = new EnumTest();
/**
* Model tests for EnumTest
*/
@Test
public void testEnumTest() {
void testEnumTest() {
// TODO: test EnumTest
}
@ -49,7 +49,7 @@ public class EnumTestTest {
* Test the property 'enumString'
*/
@Test
public void enumStringTest() {
void enumStringTest() {
// TODO: test enumString
}
@ -57,7 +57,7 @@ public class EnumTestTest {
* Test the property 'enumStringRequired'
*/
@Test
public void enumStringRequiredTest() {
void enumStringRequiredTest() {
// TODO: test enumStringRequired
}
@ -65,7 +65,7 @@ public class EnumTestTest {
* Test the property 'enumInteger'
*/
@Test
public void enumIntegerTest() {
void enumIntegerTest() {
// TODO: test enumInteger
}
@ -73,7 +73,7 @@ public class EnumTestTest {
* Test the property 'enumNumber'
*/
@Test
public void enumNumberTest() {
void enumNumberTest() {
// TODO: test enumNumber
}
@ -81,7 +81,7 @@ public class EnumTestTest {
* Test the property 'outerEnum'
*/
@Test
public void outerEnumTest() {
void outerEnumTest() {
// TODO: test outerEnum
}
@ -89,7 +89,7 @@ public class EnumTestTest {
* Test the property 'outerEnumInteger'
*/
@Test
public void outerEnumIntegerTest() {
void outerEnumIntegerTest() {
// TODO: test outerEnumInteger
}
@ -97,7 +97,7 @@ public class EnumTestTest {
* Test the property 'outerEnumDefaultValue'
*/
@Test
public void outerEnumDefaultValueTest() {
void outerEnumDefaultValueTest() {
// TODO: test outerEnumDefaultValue
}
@ -105,7 +105,7 @@ public class EnumTestTest {
* Test the property 'outerEnumIntegerDefaultValue'
*/
@Test
public void outerEnumIntegerDefaultValueTest() {
void outerEnumIntegerDefaultValueTest() {
// TODO: test outerEnumIntegerDefaultValue
}

View File

@ -22,21 +22,21 @@ import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FakeBigDecimalMap200Response
*/
public class FakeBigDecimalMap200ResponseTest {
class FakeBigDecimalMap200ResponseTest {
private final FakeBigDecimalMap200Response model = new FakeBigDecimalMap200Response();
/**
* Model tests for FakeBigDecimalMap200Response
*/
@Test
public void testFakeBigDecimalMap200Response() {
void testFakeBigDecimalMap200Response() {
// TODO: test FakeBigDecimalMap200Response
}
@ -44,7 +44,7 @@ public class FakeBigDecimalMap200ResponseTest {
* Test the property 'someId'
*/
@Test
public void someIdTest() {
void someIdTest() {
// TODO: test someId
}
@ -52,7 +52,7 @@ public class FakeBigDecimalMap200ResponseTest {
* Test the property 'someMap'
*/
@Test
public void someMapTest() {
void someMapTest() {
// TODO: test someMap
}

View File

@ -18,25 +18,26 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ModelFile;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FileSchemaTestClass
*/
public class FileSchemaTestClassTest {
class FileSchemaTestClassTest {
private final FileSchemaTestClass model = new FileSchemaTestClass();
/**
* Model tests for FileSchemaTestClass
*/
@Test
public void testFileSchemaTestClass() {
void testFileSchemaTestClass() {
// TODO: test FileSchemaTestClass
}
@ -44,7 +45,7 @@ public class FileSchemaTestClassTest {
* Test the property '_file'
*/
@Test
public void _fileTest() {
void _fileTest() {
// TODO: test _file
}
@ -52,7 +53,7 @@ public class FileSchemaTestClassTest {
* Test the property 'files'
*/
@Test
public void filesTest() {
void filesTest() {
// TODO: test files
}

View File

@ -18,23 +18,23 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import org.openapitools.client.model.Foo;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Model tests for FooGetDefaultResponse
*/
public class FooGetDefaultResponseTest {
class FooGetDefaultResponseTest {
private final FooGetDefaultResponse model = new FooGetDefaultResponse();
/**
* Model tests for FooGetDefaultResponse
*/
@Test
public void testFooGetDefaultResponse() {
void testFooGetDefaultResponse() {
// TODO: test FooGetDefaultResponse
}
@ -42,7 +42,7 @@ public class FooGetDefaultResponseTest {
* Test the property 'string'
*/
@Test
public void stringTest() {
void stringTest() {
// TODO: test string
}

Some files were not shown because too many files have changed in this diff Show More