forked from loafle/openapi-generator-original
update sample tests, fix Java tests (#20300)
* replace removed forkMode * remove junit runner where it's not needed * update samples without skipping test files, but skip files named "FILES" * revert overwriting custom tests, add custom java tests to list * add one sample to CircleCI, fix various Java tests
This commit is contained in:
parent
4e5a828c12
commit
d87a70dd93
@ -121,6 +121,7 @@ else
|
||||
(cd samples/client/others/java/okhttp-gson-streaming && mvn integration-test)
|
||||
(cd samples/client/petstore/java/okhttp-gson && mvn integration-test)
|
||||
(cd samples/client/petstore/java/okhttp-gson-3.1 && mvn integration-test)
|
||||
(cd samples/client/petstore/java/okhttp-gson-dynamicOperations && mvn integration-test)
|
||||
(cd samples/client/petstore/java/resteasy && mvn integration-test)
|
||||
(cd samples/client/petstore/java-micronaut-client && mvn integration-test)
|
||||
(cd samples/client/petstore/java/apache-httpclient && mvn integration-test)
|
||||
|
@ -6,7 +6,7 @@
|
||||
sha256: b98a6043573332de4f049db50b36bce7b5fada8511769da97f6561066a0f8c5c
|
||||
- filename: "samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/linux-logo.png"
|
||||
sha256: 0a67c32728197e942b13bdda064b73793f12f5c795f1e5cf35a3adf69c973230
|
||||
# java okhttp gson test files
|
||||
# java test files
|
||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java"
|
||||
sha256: 325fdd5d7e2c97790c0fb44f712ab7b2ba022d7e1a5b0056f47b07f342682b6d
|
||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/JSONTest.java"
|
||||
@ -15,3 +15,37 @@
|
||||
sha256: 8b1b8f2a2ad00ccb090873a94a5f73e328b98317d2ec715f53bd7a1accb2a023
|
||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java"
|
||||
sha256: a1f8a70bf7b0c382a8def5bacf7b1fb189e687fabb40235aa799001e0597f545
|
||||
- filename: "samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/AuthApiTest.java"
|
||||
sha256: 26f2dd90f9075e51add1cd7e88869a1e9345d9dbacf01199c1bf8a49395a8648
|
||||
- filename: "samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java"
|
||||
sha256: b45d2ff04ad65e39a4d67a86a37d1a406e125df392f51ef0484d6c8da8b10454
|
||||
- filename: "samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java"
|
||||
sha256: 761d101afddb8920f640c91741b5e7af56ebd753c80d537e0aaa4e1021887666
|
||||
- filename: "samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/BodyApiTest.java"
|
||||
sha256: 04715cabbe9bd27ff98dd56e3db489ebc9ffbf98d9af104a6707b0a40ab4f8fe
|
||||
- filename: "samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java"
|
||||
sha256: 38193bbad7f3eef087bc1474352e484178b14a2b8c0e0ba0cd4e4960516a14f9
|
||||
- filename: "samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||
sha256: 24c6a39a9d7327d397dc038c368a19c84f14ed96a69fe28d53719b3eaf0a725c
|
||||
- filename: "samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||
sha256: 5e9f471d34310f94895751bb96cc79583376f043593c3a387c82077c70f8102f
|
||||
- filename: "samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MammalTest.java"
|
||||
sha256: 67a9e63e13ebddac21cb236aa015edce30f5d3bd8d6adcf50044cad00d48c45e
|
||||
- filename: "samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ZebraTest.java"
|
||||
sha256: 15eeb6d8a9a79d0f1930b861540d9c5780d6c49ea4fdb68269ac3e7ec481e142
|
||||
- filename: "samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||
sha256: d8f7fff724f81e666daf115cc25f8347e1fda4e861aa30df0dae3fa50c91404c
|
||||
- filename: "samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||
sha256: 0cc079be64fe261b46f89976be2cbfad4fe5173dbe0d4b45303570299b0b5ecc
|
||||
- filename: "samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java"
|
||||
sha256: 3c41eb12d126f90392d97e3250b53ea9dce1663fb714a19339445b9da734d634
|
||||
- filename: "samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||
sha256: 68ed9228c99ecf2ff3842074242d3be7565da3b702b7f46008a5e119ef15c167
|
||||
- filename: "samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/MySchemaNameCharactersTest.java"
|
||||
sha256: f0a82dd21d10f199bc403241fc9c7f4a8fa5e2d1646fd06f7941c2e528a1da45
|
||||
- filename: "samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||
sha256: 5e9f471d34310f94895751bb96cc79583376f043593c3a387c82077c70f8102f
|
||||
- filename: "samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MammalTest.java"
|
||||
sha256: 67a9e63e13ebddac21cb236aa015edce30f5d3bd8d6adcf50044cad00d48c45e
|
||||
- filename: "samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ZebraTest.java"
|
||||
sha256: 15eeb6d8a9a79d0f1930b861540d9c5780d6c49ea4fdb68269ac3e7ec481e142
|
||||
|
@ -73,7 +73,7 @@
|
||||
</systemPropertyVariables>
|
||||
<argLine>-Xms512m -Xmx1500m</argLine>
|
||||
<parallel>methods</parallel>
|
||||
<forkMode>pertest</forkMode>
|
||||
<reuseForks>false</reuseForks>
|
||||
<useUnlimitedThreads>true</useUnlimitedThreads>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
@ -337,12 +337,6 @@
|
||||
<version>${junit-version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-runner</artifactId>
|
||||
<version>${junit-platform-runner.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -367,6 +361,5 @@
|
||||
<hibernate-validator-version>5.4.3.Final</hibernate-validator-version>
|
||||
{{/performBeanValidation}}
|
||||
<junit-version>5.10.2</junit-version>
|
||||
<junit-platform-runner.version>1.10.0</junit-platform-runner.version>
|
||||
</properties>
|
||||
</project>
|
||||
|
@ -73,7 +73,7 @@
|
||||
</systemPropertyVariables>
|
||||
<argLine>-Xms512m -Xmx1500m</argLine>
|
||||
<parallel>methods</parallel>
|
||||
<forkMode>pertest</forkMode>
|
||||
<reuseForks>false</reuseForks>
|
||||
<useUnlimitedThreads>true</useUnlimitedThreads>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
@ -352,12 +352,6 @@
|
||||
<version>${junit-version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-runner</artifactId>
|
||||
<version>${junit-platform-runner.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -389,6 +383,5 @@
|
||||
<hibernate-validator-version>5.4.3.Final</hibernate-validator-version>
|
||||
{{/performBeanValidation}}
|
||||
<junit-version>5.10.2</junit-version>
|
||||
<junit-platform-runner.version>1.10.0</junit-platform-runner.version>
|
||||
</properties>
|
||||
</project>
|
||||
|
@ -34,4 +34,16 @@ func Test_openapi_AuthAPIService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AuthAPIService TestAuthHttpBearer", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AuthAPI.TestAuthHttpBearer(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
@ -34,6 +34,18 @@ func Test_openapi_FormAPIService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test FormAPIService TestFormObjectMultipart", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.FormAPI.TestFormObjectMultipart(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test FormAPIService TestFormOneof", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
@ -11,11 +11,10 @@ package openapi
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func Test_openapi_HeaderAPIService(t *testing.T) {
|
||||
@ -23,9 +22,9 @@ func Test_openapi_HeaderAPIService(t *testing.T) {
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test HeaderAPIService TestHeaderIntegerBooleanString", func(t *testing.T) {
|
||||
t.Run("Test HeaderAPIService TestHeaderIntegerBooleanStringEnums", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.HeaderAPI.TestHeaderIntegerBooleanStringEnums(context.Background()).Execute()
|
||||
|
||||
|
@ -11,11 +11,10 @@ package openapi
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func Test_openapi_PathAPIService(t *testing.T) {
|
||||
@ -23,14 +22,16 @@ func Test_openapi_PathAPIService(t *testing.T) {
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test PathAPIService TestsPathStringPathStringIntegerPathInteger", func(t *testing.T) {
|
||||
t.Run("Test PathAPIService TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
var pathString string
|
||||
var pathInteger int32
|
||||
var enumNonrefStringPath string
|
||||
var enumRefStringPath StringEnumRef
|
||||
|
||||
resp, httpRes, err := apiClient.PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(context.Background(), pathString, pathInteger, pathString, openapiclient.SUCCESS).Execute()
|
||||
resp, httpRes, err := apiClient.PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(context.Background(), pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
@ -82,6 +82,30 @@ func Test_openapi_QueryAPIService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QueryAPIService TestQueryStyleFormExplodeFalseArrayInteger", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QueryAPI.TestQueryStyleFormExplodeFalseArrayInteger(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QueryAPIService TestQueryStyleFormExplodeFalseArrayString", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QueryAPI.TestQueryStyleFormExplodeFalseArrayString(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QueryAPIService TestQueryStyleFormExplodeTrueArrayString", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
@ -14,10 +14,13 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import java.io.File;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -34,6 +37,95 @@ public class BodyApiTest {
|
||||
|
||||
private final BodyApi api = new BodyApi();
|
||||
|
||||
/**
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBinaryGifTest() throws ApiException {
|
||||
File response = api.testBinaryGif();
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
|
||||
File body = null;
|
||||
String response = api.testBodyApplicationOctetstreamBinary(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
|
||||
List<File> files = null;
|
||||
String response = api.testBodyMultipartFormdataArrayOfBinary(files);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataSingleBinaryTest() throws ApiException {
|
||||
File myFile = null;
|
||||
String response = api.testBodyMultipartFormdataSingleBinary(myFile);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyAllOfPetTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
Pet response = api.testEchoBodyAllOfPet(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test free form object
|
||||
*
|
||||
* Test free form object
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
|
||||
Object body = null;
|
||||
String response = api.testEchoBodyFreeFormObjectResponseString(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
@ -47,6 +139,51 @@ public class BodyApiTest {
|
||||
Pet pet = null;
|
||||
Pet response = api.testEchoBodyPet(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test empty response body
|
||||
*
|
||||
* Test empty response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPetResponseStringTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
String response = api.testEchoBodyPetResponseString(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test string enum response body
|
||||
*
|
||||
* Test string enum response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyStringEnumTest() throws ApiException {
|
||||
String body = null;
|
||||
StringEnumRef response = api.testEchoBodyStringEnum(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyTagResponseStringTest() throws ApiException {
|
||||
Tag tag = null;
|
||||
String response = api.testEchoBodyTagResponseString(tag);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
}
|
||||
|
@ -14,9 +14,10 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -48,6 +49,41 @@ public class FormApiTest {
|
||||
String stringForm = null;
|
||||
String response = api.testFormIntegerBooleanString(integerForm, booleanForm, stringForm);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormObjectMultipartTest() throws ApiException {
|
||||
TestFormObjectMultipartRequestMarker marker = null;
|
||||
String response = api.testFormObjectMultipart(marker);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormOneofTest() throws ApiException {
|
||||
String form1 = null;
|
||||
Integer form2 = null;
|
||||
String form3 = null;
|
||||
Boolean form4 = null;
|
||||
Long id = null;
|
||||
String name = null;
|
||||
String response = api.testFormOneof(form1, form2, form3, form4, id, name);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
}
|
||||
|
@ -15,9 +15,9 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
|
@ -15,9 +15,9 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
|
@ -14,11 +14,16 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.DataQuery;
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -35,6 +40,39 @@ public class QueryApiTest {
|
||||
|
||||
private final QueryApi api = new QueryApi();
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEnumRefStringTest() throws ApiException {
|
||||
String enumNonrefStringQuery = null;
|
||||
StringEnumRef enumRefStringQuery = null;
|
||||
String response = api.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryDatetimeDateStringTest() throws ApiException {
|
||||
OffsetDateTime datetimeQuery = null;
|
||||
LocalDate dateQuery = null;
|
||||
String stringQuery = null;
|
||||
String response = api.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@ -61,6 +99,66 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
|
||||
Pet queryObject = null;
|
||||
String response = api.testQueryStyleDeepObjectExplodeTrueObject(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
|
||||
String response = api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayIntegerTest() throws ApiException {
|
||||
List<Integer> queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayStringTest() throws ApiException {
|
||||
List<String> queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
|
||||
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueArrayString(queryObject);
|
||||
@ -80,6 +178,21 @@ public class QueryApiTest {
|
||||
Pet queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueObject(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
DataQuery queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
}
|
||||
|
@ -22,18 +22,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
public class BirdTest {
|
||||
class BirdTest {
|
||||
private final Bird model = new Bird();
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
@Test
|
||||
public void testBird() {
|
||||
void testBird() {
|
||||
// TODO: test Bird
|
||||
}
|
||||
|
||||
@ -41,7 +40,7 @@ public class BirdTest {
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@ -49,7 +48,7 @@ public class BirdTest {
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
|
@ -22,18 +22,17 @@ 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
|
||||
}
|
||||
|
||||
|
@ -20,48 +20,32 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Query;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
public class DataQueryTest {
|
||||
class DataQueryTest {
|
||||
private final DataQuery model = new DataQuery();
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
@Test
|
||||
public void testDataQuery() {
|
||||
void testDataQuery() {
|
||||
// TODO: test DataQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
public void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
public void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -69,8 +53,32 @@ public class DataQueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'suffix'
|
||||
*/
|
||||
@Test
|
||||
void suffixTest() {
|
||||
// TODO: test suffix
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,7 +19,9 @@ 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.StringEnumRef;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
@ -28,26 +30,33 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
public class DefaultValueTest {
|
||||
class DefaultValueTest {
|
||||
private final DefaultValue model = new DefaultValue();
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
@Test
|
||||
public void testDefaultValue() {
|
||||
void testDefaultValue() {
|
||||
// TODO: test DefaultValue
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumRefDefault'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringEnumRefDefaultTest() {
|
||||
// TODO: test arrayStringEnumRefDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringEnumDefaultTest() {
|
||||
void arrayStringEnumDefaultTest() {
|
||||
// TODO: test arrayStringEnumDefault
|
||||
}
|
||||
|
||||
@ -55,7 +64,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringDefaultTest() {
|
||||
void arrayStringDefaultTest() {
|
||||
// TODO: test arrayStringDefault
|
||||
}
|
||||
|
||||
@ -63,7 +72,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayIntegerDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayIntegerDefaultTest() {
|
||||
void arrayIntegerDefaultTest() {
|
||||
// TODO: test arrayIntegerDefault
|
||||
}
|
||||
|
||||
@ -71,7 +80,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayString'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringTest() {
|
||||
void arrayStringTest() {
|
||||
// TODO: test arrayString
|
||||
}
|
||||
|
||||
@ -79,15 +88,23 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringNullableTest() {
|
||||
void arrayStringNullableTest() {
|
||||
// TODO: test arrayStringNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringExtensionNullable'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringExtensionNullableTest() {
|
||||
// TODO: test arrayStringExtensionNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'stringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void stringNullableTest() {
|
||||
void stringNullableTest() {
|
||||
// TODO: test stringNullable
|
||||
}
|
||||
|
||||
|
@ -23,18 +23,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
public class NumberPropertiesOnlyTest {
|
||||
class NumberPropertiesOnlyTest {
|
||||
private final NumberPropertiesOnly model = new NumberPropertiesOnly();
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
@Test
|
||||
public void testNumberPropertiesOnly() {
|
||||
void testNumberPropertiesOnly() {
|
||||
// TODO: test NumberPropertiesOnly
|
||||
}
|
||||
|
||||
@ -42,7 +41,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property 'number'
|
||||
*/
|
||||
@Test
|
||||
public void numberTest() {
|
||||
void numberTest() {
|
||||
// TODO: test number
|
||||
}
|
||||
|
||||
@ -50,7 +49,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_float'
|
||||
*/
|
||||
@Test
|
||||
public void _floatTest() {
|
||||
void _floatTest() {
|
||||
// TODO: test _float
|
||||
}
|
||||
|
||||
@ -58,7 +57,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_double'
|
||||
*/
|
||||
@Test
|
||||
public void _doubleTest() {
|
||||
void _doubleTest() {
|
||||
// TODO: test _double
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,7 @@ 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.Category;
|
||||
import org.openapitools.client.model.Tag;
|
||||
@ -26,18 +27,17 @@ 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
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ public class PetTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ public class PetTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class PetTest {
|
||||
* Test the property 'category'
|
||||
*/
|
||||
@Test
|
||||
public void categoryTest() {
|
||||
void categoryTest() {
|
||||
// TODO: test category
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ public class PetTest {
|
||||
* Test the property 'photoUrls'
|
||||
*/
|
||||
@Test
|
||||
public void photoUrlsTest() {
|
||||
void photoUrlsTest() {
|
||||
// TODO: test photoUrls
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ public class PetTest {
|
||||
* Test the property 'tags'
|
||||
*/
|
||||
@Test
|
||||
public void tagsTest() {
|
||||
void tagsTest() {
|
||||
// TODO: test tags
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ public class PetTest {
|
||||
* Test the property 'status'
|
||||
*/
|
||||
@Test
|
||||
public void statusTest() {
|
||||
void statusTest() {
|
||||
// TODO: test status
|
||||
}
|
||||
|
||||
|
@ -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.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
public class QueryTest {
|
||||
class QueryTest {
|
||||
private final Query model = new Query();
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
@Test
|
||||
public void testQuery() {
|
||||
void testQuery() {
|
||||
// TODO: test Query
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class QueryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@ public class QueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
|
@ -17,16 +17,15 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
public class StringEnumRefTest {
|
||||
class StringEnumRefTest {
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
@Test
|
||||
public void testStringEnumRef() {
|
||||
void testStringEnumRef() {
|
||||
// TODO: test StringEnumRef
|
||||
}
|
||||
|
||||
|
@ -22,18 +22,17 @@ 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
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
public class TestFormObjectMultipartRequestMarkerTest {
|
||||
class TestFormObjectMultipartRequestMarkerTest {
|
||||
private final TestFormObjectMultipartRequestMarker model = new TestFormObjectMultipartRequestMarker();
|
||||
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
@Test
|
||||
public void testTestFormObjectMultipartRequestMarker() {
|
||||
void testTestFormObjectMultipartRequestMarker() {
|
||||
// TODO: test TestFormObjectMultipartRequestMarker
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ public class TestFormObjectMultipartRequestMarkerTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -22,18 +22,17 @@ import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
private final TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter model = new TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
}
|
||||
|
||||
@ -41,7 +40,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@ -49,7 +48,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
@ -57,7 +56,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -65,7 +64,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -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.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
private final TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter model = new TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
* Test the property 'values'
|
||||
*/
|
||||
@Test
|
||||
public void valuesTest() {
|
||||
void valuesTest() {
|
||||
// TODO: test values
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,10 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import java.io.File;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
@ -25,6 +28,89 @@ class BodyApiTest {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* Test binary (gif) response body
|
||||
*/
|
||||
@Test
|
||||
void testBinaryGifTest() {
|
||||
// File response = api.testBinaryGif();
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testBodyApplicationOctetstreamBinaryTest() {
|
||||
File body = null;
|
||||
// String response = api.testBodyApplicationOctetstreamBinary(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* Test array of binary in multipart mime
|
||||
*/
|
||||
@Test
|
||||
void testBodyMultipartFormdataArrayOfBinaryTest() {
|
||||
List<File> files = null;
|
||||
// String response = api.testBodyMultipartFormdataArrayOfBinary(files);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* Test single binary in multipart mime
|
||||
*/
|
||||
@Test
|
||||
void testBodyMultipartFormdataSingleBinaryTest() {
|
||||
File myFile = null;
|
||||
// String response = api.testBodyMultipartFormdataSingleBinary(myFile);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testEchoBodyAllOfPetTest() {
|
||||
Pet pet = null;
|
||||
// Pet response = api.testEchoBodyAllOfPet(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test free form object
|
||||
*
|
||||
* Test free form object
|
||||
*/
|
||||
@Test
|
||||
void testEchoBodyFreeFormObjectResponseStringTest() {
|
||||
Object body = null;
|
||||
// String response = api.testEchoBodyFreeFormObjectResponseString(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
@ -39,4 +125,46 @@ class BodyApiTest {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test empty response body
|
||||
*
|
||||
* Test empty response body
|
||||
*/
|
||||
@Test
|
||||
void testEchoBodyPetResponseStringTest() {
|
||||
Pet pet = null;
|
||||
// String response = api.testEchoBodyPetResponseString(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test string enum response body
|
||||
*
|
||||
* Test string enum response body
|
||||
*/
|
||||
@Test
|
||||
void testEchoBodyStringEnumTest() {
|
||||
String body = null;
|
||||
// StringEnumRef response = api.testEchoBodyStringEnum(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* Test empty json (request body)
|
||||
*/
|
||||
@Test
|
||||
void testEchoBodyTagResponseStringTest() {
|
||||
Tag tag = null;
|
||||
// String response = api.testEchoBodyTagResponseString(tag);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
@ -40,4 +41,37 @@ class FormApiTest {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for multipart schema
|
||||
*/
|
||||
@Test
|
||||
void testFormObjectMultipartTest() {
|
||||
TestFormObjectMultipartRequestMarker marker = null;
|
||||
// String response = api.testFormObjectMultipart(marker);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*/
|
||||
@Test
|
||||
void testFormOneofTest() {
|
||||
String form1 = null;
|
||||
Integer form2 = null;
|
||||
String form3 = null;
|
||||
Boolean form4 = null;
|
||||
Long id = null;
|
||||
String name = null;
|
||||
// String response = api.testFormOneof(form1, form2, form3, form4, id, name);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
@ -30,11 +31,13 @@ class HeaderApiTest {
|
||||
* Test header parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testHeaderIntegerBooleanStringTest() {
|
||||
void testHeaderIntegerBooleanStringEnumsTest() {
|
||||
Integer integerHeader = null;
|
||||
Boolean booleanHeader = null;
|
||||
String stringHeader = null;
|
||||
// String response = api.testHeaderIntegerBooleanString(integerHeader, booleanHeader, stringHeader);
|
||||
String enumNonrefStringHeader = null;
|
||||
StringEnumRef enumRefStringHeader = null;
|
||||
// String response = api.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
@ -30,10 +31,12 @@ class PathApiTest {
|
||||
* Test path parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testsPathStringPathStringIntegerPathIntegerTest() {
|
||||
void testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathTest() {
|
||||
String pathString = null;
|
||||
Integer pathInteger = null;
|
||||
// String response = api.testsPathStringPathStringIntegerPathInteger(pathString, pathInteger);
|
||||
String enumNonrefStringPath = null;
|
||||
StringEnumRef enumRefStringPath = null;
|
||||
// String response = api.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
@ -1,7 +1,12 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.model.DataQuery;
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
@ -26,6 +31,72 @@ class QueryApiTest {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testEnumRefStringTest() {
|
||||
String enumNonrefStringQuery = null;
|
||||
StringEnumRef enumRefStringQuery = null;
|
||||
// String response = api.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testEnumRefStringTestQueryMap() {
|
||||
QueryApi.TestEnumRefStringQueryParams queryParams = new QueryApi.TestEnumRefStringQueryParams()
|
||||
.enumNonrefStringQuery(null)
|
||||
.enumRefStringQuery(null);
|
||||
// String response = api.testEnumRefString(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testQueryDatetimeDateStringTest() {
|
||||
OffsetDateTime datetimeQuery = null;
|
||||
LocalDate dateQuery = null;
|
||||
String stringQuery = null;
|
||||
// String response = api.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testQueryDatetimeDateStringTestQueryMap() {
|
||||
QueryApi.TestQueryDatetimeDateStringQueryParams queryParams = new QueryApi.TestQueryDatetimeDateStringQueryParams()
|
||||
.datetimeQuery(null)
|
||||
.dateQuery(null)
|
||||
.stringQuery(null);
|
||||
// String response = api.testQueryDatetimeDateString(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@ -60,6 +131,126 @@ class QueryApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectTest() {
|
||||
Pet queryObject = null;
|
||||
// String response = api.testQueryStyleDeepObjectExplodeTrueObject(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectTestQueryMap() {
|
||||
QueryApi.TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryParams = new QueryApi.TestQueryStyleDeepObjectExplodeTrueObjectQueryParams()
|
||||
.queryObject(null);
|
||||
// String response = api.testQueryStyleDeepObjectExplodeTrueObject(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() {
|
||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
|
||||
// String response = api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectAllOfTestQueryMap() {
|
||||
QueryApi.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryParams = new QueryApi.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams()
|
||||
.queryObject(null);
|
||||
// String response = api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeFalseArrayIntegerTest() {
|
||||
List<Integer> queryObject = null;
|
||||
// String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeFalseArrayIntegerTestQueryMap() {
|
||||
QueryApi.TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryParams = new QueryApi.TestQueryStyleFormExplodeFalseArrayIntegerQueryParams()
|
||||
.queryObject(null);
|
||||
// String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeFalseArrayStringTest() {
|
||||
List<String> queryObject = null;
|
||||
// String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeFalseArrayStringTestQueryMap() {
|
||||
QueryApi.TestQueryStyleFormExplodeFalseArrayStringQueryParams queryParams = new QueryApi.TestQueryStyleFormExplodeFalseArrayStringQueryParams()
|
||||
.queryObject(null);
|
||||
// String response = api.testQueryStyleFormExplodeFalseArrayString(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@ -120,4 +311,34 @@ class QueryApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeTrueObjectAllOfTest() {
|
||||
DataQuery queryObject = null;
|
||||
// String response = api.testQueryStyleFormExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* This tests the overload of the method that uses a Map for query parameters instead of
|
||||
* listing them out individually.
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeTrueObjectAllOfTestQueryMap() {
|
||||
QueryApi.TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryParams = new QueryApi.TestQueryStyleFormExplodeTrueObjectAllOfQueryParams()
|
||||
.queryObject(null);
|
||||
// String response = api.testQueryStyleFormExplodeTrueObjectAllOf(queryParams);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -21,7 +21,6 @@ import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
|
@ -21,7 +21,6 @@ import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Category
|
||||
*/
|
||||
|
@ -21,11 +21,11 @@ import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Query;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
@ -40,22 +40,6 @@ class DataQueryTest {
|
||||
// TODO: test DataQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@ -72,4 +56,28 @@ class DataQueryTest {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'suffix'
|
||||
*/
|
||||
@Test
|
||||
void suffixTest() {
|
||||
// TODO: test suffix
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -20,11 +20,12 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
@ -39,6 +40,14 @@ class DefaultValueTest {
|
||||
// TODO: test DefaultValue
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumRefDefault'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringEnumRefDefaultTest() {
|
||||
// TODO: test arrayStringEnumRefDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumDefault'
|
||||
*/
|
||||
@ -79,6 +88,14 @@ class DefaultValueTest {
|
||||
// TODO: test arrayStringNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringExtensionNullable'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringExtensionNullableTest() {
|
||||
// TODO: test arrayStringExtensionNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'stringNullable'
|
||||
*/
|
||||
|
@ -22,7 +22,6 @@ import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
|
@ -20,12 +20,12 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Category;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Pet
|
||||
*/
|
||||
|
@ -20,10 +20,10 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
|
@ -16,7 +16,6 @@ package org.openapitools.client.model;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
|
@ -21,7 +21,6 @@ import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Tag
|
||||
*/
|
||||
|
@ -21,7 +21,6 @@ import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
|
@ -20,10 +20,10 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
|
@ -13,9 +13,15 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.ApiException;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -13,10 +13,19 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import java.io.File;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.Pet;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
@ -28,6 +37,107 @@ public class BodyApiTest {
|
||||
private final BodyApi api = new BodyApi();
|
||||
|
||||
|
||||
/**
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBinaryGifTest() throws ApiException {
|
||||
File response =
|
||||
api.testBinaryGif();
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
|
||||
File body = null;
|
||||
String response =
|
||||
api.testBodyApplicationOctetstreamBinary(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
|
||||
List<File> files = null;
|
||||
String response =
|
||||
api.testBodyMultipartFormdataArrayOfBinary(files);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataSingleBinaryTest() throws ApiException {
|
||||
File myFile = null;
|
||||
String response =
|
||||
api.testBodyMultipartFormdataSingleBinary(myFile);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyAllOfPetTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
Pet response =
|
||||
api.testEchoBodyAllOfPet(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test free form object
|
||||
*
|
||||
* Test free form object
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
|
||||
Object body = null;
|
||||
String response =
|
||||
api.testEchoBodyFreeFormObjectResponseString(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
@ -45,4 +155,55 @@ public class BodyApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test empty response body
|
||||
*
|
||||
* Test empty response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPetResponseStringTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
String response =
|
||||
api.testEchoBodyPetResponseString(pet);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test string enum response body
|
||||
*
|
||||
* Test string enum response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyStringEnumTest() throws ApiException {
|
||||
String body = null;
|
||||
StringEnumRef response =
|
||||
api.testEchoBodyStringEnum(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyTagResponseStringTest() throws ApiException {
|
||||
Tag tag = null;
|
||||
String response =
|
||||
api.testEchoBodyTagResponseString(tag);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,9 +13,16 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.ApiException;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
@ -46,4 +53,43 @@ public class FormApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormObjectMultipartTest() throws ApiException {
|
||||
TestFormObjectMultipartRequestMarker marker = null;
|
||||
String response =
|
||||
api.testFormObjectMultipart(marker);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormOneofTest() throws ApiException {
|
||||
String form1 = null;
|
||||
Integer form2 = null;
|
||||
String form3 = null;
|
||||
Boolean form4 = null;
|
||||
Long id = null;
|
||||
String name = null;
|
||||
String response =
|
||||
api.testFormOneof(form1, form2, form3, form4, id, name);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,10 +13,16 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -13,10 +13,16 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Echo Server API
|
||||
*
|
||||
* The version of the OpenAPI document: 0.1.0
|
||||
* Contact: team@openapitools.oprg
|
||||
* Contact: team@openapitools.org
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@ -13,10 +13,22 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.DataQuery;
|
||||
import java.time.LocalDate;
|
||||
import java.time.Instant;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.Pet;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
/**
|
||||
@ -28,6 +40,147 @@ public class QueryApiTest {
|
||||
private final QueryApi api = new QueryApi();
|
||||
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEnumRefStringTest() throws ApiException {
|
||||
String enumNonrefStringQuery = null;
|
||||
StringEnumRef enumRefStringQuery = null;
|
||||
String response =
|
||||
api.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryDatetimeDateStringTest() throws ApiException {
|
||||
Instant datetimeQuery = null;
|
||||
LocalDate dateQuery = null;
|
||||
String stringQuery = null;
|
||||
String response =
|
||||
api.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryIntegerBooleanStringTest() throws ApiException {
|
||||
Integer integerQuery = null;
|
||||
Boolean booleanQuery = null;
|
||||
String stringQuery = null;
|
||||
String response =
|
||||
api.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
|
||||
Pet queryObject = null;
|
||||
String response =
|
||||
api.testQueryStyleDeepObjectExplodeTrueObject(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
|
||||
String response =
|
||||
api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayIntegerTest() throws ApiException {
|
||||
List<Integer> queryObject = null;
|
||||
String response =
|
||||
api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayStringTest() throws ApiException {
|
||||
List<String> queryObject = null;
|
||||
String response =
|
||||
api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
|
||||
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject = null;
|
||||
String response =
|
||||
api.testQueryStyleFormExplodeTrueArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@ -45,4 +198,21 @@ public class QueryApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
DataQuery queryObject = null;
|
||||
String response =
|
||||
api.testQueryStyleFormExplodeTrueObjectAllOf(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,20 +13,27 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.Arrays;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
public class BirdTest {
|
||||
class BirdTest {
|
||||
private final Bird model = new Bird();
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
@Test
|
||||
public void testBird() {
|
||||
void testBird() {
|
||||
// TODO: test Bird
|
||||
}
|
||||
|
||||
@ -34,7 +41,7 @@ public class BirdTest {
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@ -42,7 +49,7 @@ public class BirdTest {
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Echo Server API
|
||||
*
|
||||
* The version of the OpenAPI document: 0.1.0
|
||||
* Contact: team@openapitools.oprg
|
||||
* Contact: team@openapitools.org
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@ -13,20 +13,27 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.Arrays;
|
||||
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
|
||||
}
|
||||
|
||||
@ -34,7 +41,7 @@ public class CategoryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -42,7 +49,7 @@ public class CategoryTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -13,44 +13,39 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Query;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
public class DataQueryTest {
|
||||
class DataQueryTest {
|
||||
private final DataQuery model = new DataQuery();
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
@Test
|
||||
public void testDataQuery() {
|
||||
void testDataQuery() {
|
||||
// TODO: test DataQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
public void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
public void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -58,8 +53,32 @@ public class DataQueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'suffix'
|
||||
*/
|
||||
@Test
|
||||
void suffixTest() {
|
||||
// TODO: test suffix
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,28 +13,50 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
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.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
public class DefaultValueTest {
|
||||
class DefaultValueTest {
|
||||
private final DefaultValue model = new DefaultValue();
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
@Test
|
||||
public void testDefaultValue() {
|
||||
void testDefaultValue() {
|
||||
// TODO: test DefaultValue
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumRefDefault'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringEnumRefDefaultTest() {
|
||||
// TODO: test arrayStringEnumRefDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringEnumDefaultTest() {
|
||||
void arrayStringEnumDefaultTest() {
|
||||
// TODO: test arrayStringEnumDefault
|
||||
}
|
||||
|
||||
@ -42,15 +64,23 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringDefaultTest() {
|
||||
void arrayStringDefaultTest() {
|
||||
// TODO: test arrayStringDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayIntegerDefault'
|
||||
*/
|
||||
@Test
|
||||
void arrayIntegerDefaultTest() {
|
||||
// TODO: test arrayIntegerDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayString'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringTest() {
|
||||
void arrayStringTest() {
|
||||
// TODO: test arrayString
|
||||
}
|
||||
|
||||
@ -58,15 +88,23 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringNullableTest() {
|
||||
void arrayStringNullableTest() {
|
||||
// TODO: test arrayStringNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringExtensionNullable'
|
||||
*/
|
||||
@Test
|
||||
void arrayStringExtensionNullableTest() {
|
||||
// TODO: test arrayStringExtensionNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'stringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void stringNullableTest() {
|
||||
void stringNullableTest() {
|
||||
// TODO: test stringNullable
|
||||
}
|
||||
|
||||
|
@ -13,20 +13,28 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.math.BigDecimal;
|
||||
import java.util.Arrays;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
public class NumberPropertiesOnlyTest {
|
||||
class NumberPropertiesOnlyTest {
|
||||
private final NumberPropertiesOnly model = new NumberPropertiesOnly();
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
@Test
|
||||
public void testNumberPropertiesOnly() {
|
||||
void testNumberPropertiesOnly() {
|
||||
// TODO: test NumberPropertiesOnly
|
||||
}
|
||||
|
||||
@ -34,7 +42,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property 'number'
|
||||
*/
|
||||
@Test
|
||||
public void numberTest() {
|
||||
void numberTest() {
|
||||
// TODO: test number
|
||||
}
|
||||
|
||||
@ -42,7 +50,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_float'
|
||||
*/
|
||||
@Test
|
||||
public void _floatTest() {
|
||||
void _floatTest() {
|
||||
// TODO: test _float
|
||||
}
|
||||
|
||||
@ -50,7 +58,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_double'
|
||||
*/
|
||||
@Test
|
||||
public void _doubleTest() {
|
||||
void _doubleTest() {
|
||||
// TODO: test _double
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Echo Server API
|
||||
*
|
||||
* The version of the OpenAPI document: 0.1.0
|
||||
* Contact: team@openapitools.oprg
|
||||
* Contact: team@openapitools.org
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@ -13,20 +13,31 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Category;
|
||||
import org.openapitools.client.model.Tag;
|
||||
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
|
||||
}
|
||||
|
||||
@ -34,7 +45,7 @@ public class PetTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -42,7 +53,7 @@ public class PetTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
@ -50,7 +61,7 @@ public class PetTest {
|
||||
* Test the property 'category'
|
||||
*/
|
||||
@Test
|
||||
public void categoryTest() {
|
||||
void categoryTest() {
|
||||
// TODO: test category
|
||||
}
|
||||
|
||||
@ -58,7 +69,7 @@ public class PetTest {
|
||||
* Test the property 'photoUrls'
|
||||
*/
|
||||
@Test
|
||||
public void photoUrlsTest() {
|
||||
void photoUrlsTest() {
|
||||
// TODO: test photoUrls
|
||||
}
|
||||
|
||||
@ -66,7 +77,7 @@ public class PetTest {
|
||||
* Test the property 'tags'
|
||||
*/
|
||||
@Test
|
||||
public void tagsTest() {
|
||||
void tagsTest() {
|
||||
// TODO: test tags
|
||||
}
|
||||
|
||||
@ -74,7 +85,7 @@ public class PetTest {
|
||||
* Test the property 'status'
|
||||
*/
|
||||
@Test
|
||||
public void statusTest() {
|
||||
void statusTest() {
|
||||
// TODO: test status
|
||||
}
|
||||
|
||||
|
@ -13,20 +13,29 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
public class QueryTest {
|
||||
class QueryTest {
|
||||
private final Query model = new Query();
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
@Test
|
||||
public void testQuery() {
|
||||
void testQuery() {
|
||||
// TODO: test Query
|
||||
}
|
||||
|
||||
@ -34,7 +43,7 @@ public class QueryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -42,7 +51,7 @@ public class QueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
|
@ -13,18 +13,19 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
public class StringEnumRefTest {
|
||||
class StringEnumRefTest {
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
@Test
|
||||
public void testStringEnumRef() {
|
||||
void testStringEnumRef() {
|
||||
// TODO: test StringEnumRef
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Echo Server API
|
||||
*
|
||||
* The version of the OpenAPI document: 0.1.0
|
||||
* Contact: team@openapitools.oprg
|
||||
* Contact: team@openapitools.org
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@ -13,20 +13,27 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.Arrays;
|
||||
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
|
||||
}
|
||||
|
||||
@ -34,7 +41,7 @@ public class TagTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -42,7 +49,7 @@ public class TagTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -13,19 +13,27 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.Arrays;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
public class TestFormObjectMultipartRequestMarkerTest {
|
||||
class TestFormObjectMultipartRequestMarkerTest {
|
||||
private final TestFormObjectMultipartRequestMarker model = new TestFormObjectMultipartRequestMarker();
|
||||
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
@Test
|
||||
public void testTestFormObjectMultipartRequestMarker() {
|
||||
void testTestFormObjectMultipartRequestMarker() {
|
||||
// TODO: test TestFormObjectMultipartRequestMarker
|
||||
}
|
||||
|
||||
@ -33,7 +41,7 @@ public class TestFormObjectMultipartRequestMarkerTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -13,44 +13,35 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.Arrays;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
private final TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter model = new TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@ -58,8 +49,24 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Echo Server API
|
||||
*
|
||||
* The version of the OpenAPI document: 0.1.0
|
||||
* Contact: team@openapitools.oprg
|
||||
* Contact: team@openapitools.org
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@ -13,20 +13,29 @@
|
||||
|
||||
package org.openapitools.client.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
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 java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
private final TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter model = new TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
}
|
||||
|
||||
@ -34,7 +43,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
* Test the property 'values'
|
||||
*/
|
||||
@Test
|
||||
public void valuesTest() {
|
||||
void valuesTest() {
|
||||
// TODO: test values
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,10 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import java.io.File;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@ -31,6 +34,89 @@ public class BodyApiTest {
|
||||
|
||||
private final BodyApi api = new BodyApi();
|
||||
|
||||
/**
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBinaryGifTest() throws ApiException {
|
||||
File response = api.testBinaryGif();
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
|
||||
File body = null;
|
||||
String response = api.testBodyApplicationOctetstreamBinary(body);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
|
||||
List<File> files = null;
|
||||
String response = api.testBodyMultipartFormdataArrayOfBinary(files);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataSingleBinaryTest() throws ApiException {
|
||||
File myFile = null;
|
||||
String response = api.testBodyMultipartFormdataSingleBinary(myFile);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyAllOfPetTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
Pet response = api.testEchoBodyAllOfPet(pet);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test free form object
|
||||
*
|
||||
* Test free form object
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
|
||||
Object body = null;
|
||||
String response = api.testEchoBodyFreeFormObjectResponseString(body);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
@ -45,4 +131,46 @@ public class BodyApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test empty response body
|
||||
*
|
||||
* Test empty response body
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPetResponseStringTest() throws ApiException {
|
||||
Pet pet = null;
|
||||
String response = api.testEchoBodyPetResponseString(pet);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test string enum response body
|
||||
*
|
||||
* Test string enum response body
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyStringEnumTest() throws ApiException {
|
||||
String body = null;
|
||||
StringEnumRef response = api.testEchoBodyStringEnum(body);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyTagResponseStringTest() throws ApiException {
|
||||
Tag tag = null;
|
||||
String response = api.testEchoBodyTagResponseString(tag);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@ -46,4 +47,37 @@ public class FormApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormObjectMultipartTest() throws ApiException {
|
||||
TestFormObjectMultipartRequestMarker marker = null;
|
||||
String response = api.testFormObjectMultipart(marker);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormOneofTest() throws ApiException {
|
||||
String form1 = null;
|
||||
Integer form2 = null;
|
||||
String form3 = null;
|
||||
Boolean form4 = null;
|
||||
Long id = null;
|
||||
String name = null;
|
||||
String response = api.testFormOneof(form1, form2, form3, form4, id, name);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -14,7 +14,11 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.DataQuery;
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
@ -33,6 +37,37 @@ public class QueryApiTest {
|
||||
|
||||
private final QueryApi api = new QueryApi();
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEnumRefStringTest() throws ApiException {
|
||||
String enumNonrefStringQuery = null;
|
||||
StringEnumRef enumRefStringQuery = null;
|
||||
String response = api.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryDatetimeDateStringTest() throws ApiException {
|
||||
OffsetDateTime datetimeQuery = null;
|
||||
LocalDate dateQuery = null;
|
||||
String stringQuery = null;
|
||||
String response = api.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@ -77,6 +112,34 @@ public class QueryApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayIntegerTest() throws ApiException {
|
||||
List<Integer> queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeFalseArrayStringTest() throws ApiException {
|
||||
List<String> queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
@ -105,4 +168,18 @@ public class QueryApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
DataQuery queryObject = null;
|
||||
String response = api.testQueryStyleFormExplodeTrueObjectAllOf(queryObject);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,10 +19,10 @@ import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
|
@ -19,10 +19,10 @@ import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Category
|
||||
*/
|
||||
|
@ -21,12 +21,12 @@ import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Query;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
@ -41,22 +41,6 @@ public class DataQueryTest {
|
||||
// TODO: test DataQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
public void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
public void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@ -73,4 +57,28 @@ public class DataQueryTest {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'suffix'
|
||||
*/
|
||||
@Test
|
||||
public void suffixTest() {
|
||||
// TODO: test suffix
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
public void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
public void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -20,12 +20,13 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
@ -40,6 +41,14 @@ public class DefaultValueTest {
|
||||
// TODO: test DefaultValue
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumRefDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringEnumRefDefaultTest() {
|
||||
// TODO: test arrayStringEnumRefDefault
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringEnumDefault'
|
||||
*/
|
||||
@ -80,6 +89,14 @@ public class DefaultValueTest {
|
||||
// TODO: test arrayStringNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'arrayStringExtensionNullable'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringExtensionNullableTest() {
|
||||
// TODO: test arrayStringExtensionNullable
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the property 'stringNullable'
|
||||
*/
|
||||
|
@ -20,10 +20,10 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Arrays;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
|
@ -20,13 +20,13 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.openapitools.client.model.Category;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Pet
|
||||
*/
|
||||
|
@ -20,11 +20,11 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
|
@ -17,7 +17,6 @@ import com.google.gson.annotations.SerializedName;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
|
@ -19,10 +19,10 @@ import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for Tag
|
||||
*/
|
||||
|
@ -19,10 +19,10 @@ import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
|
@ -20,11 +20,11 @@ import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@
|
||||
</systemPropertyVariables>
|
||||
<argLine>-Xms512m -Xmx1500m</argLine>
|
||||
<parallel>methods</parallel>
|
||||
<forkMode>pertest</forkMode>
|
||||
<reuseForks>false</reuseForks>
|
||||
<useUnlimitedThreads>true</useUnlimitedThreads>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
@ -271,12 +271,6 @@
|
||||
<version>${junit-version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-runner</artifactId>
|
||||
<version>${junit-platform-runner.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -287,6 +281,5 @@
|
||||
<jakarta-annotation-version>2.1.1</jakarta-annotation-version>
|
||||
<beanvalidation-version>3.0.2</beanvalidation-version>
|
||||
<junit-version>5.10.2</junit-version>
|
||||
<junit-platform-runner.version>1.10.0</junit-platform-runner.version>
|
||||
</properties>
|
||||
</project>
|
||||
|
@ -14,9 +14,9 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -28,7 +28,7 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for AuthApi
|
||||
*/
|
||||
public class AuthApiTest {
|
||||
class AuthApiTest {
|
||||
|
||||
private final AuthApi api = new AuthApi();
|
||||
|
||||
@ -41,7 +41,7 @@ public class AuthApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testAuthHttpBasicTest() throws ApiException {
|
||||
void testAuthHttpBasicTest() throws ApiException {
|
||||
//
|
||||
//String response = api.testAuthHttpBasic();
|
||||
|
||||
@ -56,7 +56,7 @@ public class AuthApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testAuthHttpBearerTest() throws ApiException {
|
||||
void testAuthHttpBearerTest() throws ApiException {
|
||||
//
|
||||
//String response = api.testAuthHttpBearer();
|
||||
|
||||
|
@ -14,9 +14,10 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -28,7 +29,7 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for FormApi
|
||||
*/
|
||||
public class FormApiTest {
|
||||
class FormApiTest {
|
||||
|
||||
private final FormApi api = new FormApi();
|
||||
|
||||
@ -41,7 +42,7 @@ public class FormApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormIntegerBooleanStringTest() throws ApiException {
|
||||
void testFormIntegerBooleanStringTest() throws ApiException {
|
||||
//
|
||||
//Integer integerForm = null;
|
||||
//
|
||||
@ -53,6 +54,23 @@ public class FormApiTest {
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testFormObjectMultipartTest() throws ApiException {
|
||||
//
|
||||
//TestFormObjectMultipartRequestMarker marker = null;
|
||||
//
|
||||
//String response = api.testFormObjectMultipart(marker);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
@ -62,7 +80,7 @@ public class FormApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormOneofTest() throws ApiException {
|
||||
void testFormOneofTest() throws ApiException {
|
||||
//
|
||||
//String form1 = null;
|
||||
//
|
||||
|
@ -15,9 +15,9 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -29,7 +29,7 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for HeaderApi
|
||||
*/
|
||||
public class HeaderApiTest {
|
||||
class HeaderApiTest {
|
||||
|
||||
private final HeaderApi api = new HeaderApi();
|
||||
|
||||
@ -42,7 +42,7 @@ public class HeaderApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testHeaderIntegerBooleanStringEnumsTest() throws ApiException {
|
||||
void testHeaderIntegerBooleanStringEnumsTest() throws ApiException {
|
||||
//
|
||||
//Integer integerHeader = null;
|
||||
//
|
||||
|
@ -15,9 +15,9 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -29,7 +29,7 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for PathApi
|
||||
*/
|
||||
public class PathApiTest {
|
||||
class PathApiTest {
|
||||
|
||||
private final PathApi api = new PathApi();
|
||||
|
||||
@ -42,7 +42,7 @@ public class PathApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathTest() throws ApiException {
|
||||
void testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathTest() throws ApiException {
|
||||
//
|
||||
//String pathString = null;
|
||||
//
|
||||
|
@ -21,9 +21,9 @@ import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -35,7 +35,7 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for QueryApi
|
||||
*/
|
||||
public class QueryApiTest {
|
||||
class QueryApiTest {
|
||||
|
||||
private final QueryApi api = new QueryApi();
|
||||
|
||||
@ -48,7 +48,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEnumRefStringTest() throws ApiException {
|
||||
void testEnumRefStringTest() throws ApiException {
|
||||
//
|
||||
//String enumNonrefStringQuery = null;
|
||||
//
|
||||
@ -67,7 +67,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryDatetimeDateStringTest() throws ApiException {
|
||||
void testQueryDatetimeDateStringTest() throws ApiException {
|
||||
//
|
||||
//OffsetDateTime datetimeQuery = null;
|
||||
//
|
||||
@ -88,7 +88,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryIntegerBooleanStringTest() throws ApiException {
|
||||
void testQueryIntegerBooleanStringTest() throws ApiException {
|
||||
//
|
||||
//Integer integerQuery = null;
|
||||
//
|
||||
@ -109,7 +109,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
|
||||
//
|
||||
//Pet queryObject = null;
|
||||
//
|
||||
@ -126,7 +126,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
//
|
||||
//TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
|
||||
//
|
||||
@ -143,7 +143,41 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
|
||||
void testQueryStyleFormExplodeFalseArrayIntegerTest() throws ApiException {
|
||||
//
|
||||
//List<Integer> queryObject = null;
|
||||
//
|
||||
//String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeFalseArrayStringTest() throws ApiException {
|
||||
//
|
||||
//List<String> queryObject = null;
|
||||
//
|
||||
//String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
|
||||
//
|
||||
//TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject = null;
|
||||
//
|
||||
@ -160,7 +194,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
|
||||
void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
|
||||
//
|
||||
//Pet queryObject = null;
|
||||
//
|
||||
@ -177,7 +211,7 @@ public class QueryApiTest {
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
|
||||
//
|
||||
//DataQuery queryObject = null;
|
||||
//
|
||||
|
@ -25,14 +25,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
public class BirdTest {
|
||||
class BirdTest {
|
||||
private final Bird model = new Bird();
|
||||
|
||||
/**
|
||||
* Model tests for Bird
|
||||
*/
|
||||
@Test
|
||||
public void testBird() {
|
||||
void testBird() {
|
||||
// TODO: test Bird
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ public class BirdTest {
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ public class BirdTest {
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ 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
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ public class CategoryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ public class CategoryTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -30,14 +30,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
public class DataQueryTest {
|
||||
class DataQueryTest {
|
||||
private final DataQuery model = new DataQuery();
|
||||
|
||||
/**
|
||||
* Model tests for DataQuery
|
||||
*/
|
||||
@Test
|
||||
public void testDataQuery() {
|
||||
void testDataQuery() {
|
||||
// TODO: test DataQuery
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ public class DataQueryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ public class DataQueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class DataQueryTest {
|
||||
* Test the property 'suffix'
|
||||
*/
|
||||
@Test
|
||||
public void suffixTest() {
|
||||
void suffixTest() {
|
||||
// TODO: test suffix
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ public class DataQueryTest {
|
||||
* Test the property 'text'
|
||||
*/
|
||||
@Test
|
||||
public void textTest() {
|
||||
void textTest() {
|
||||
// TODO: test text
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ public class DataQueryTest {
|
||||
* Test the property 'date'
|
||||
*/
|
||||
@Test
|
||||
public void dateTest() {
|
||||
void dateTest() {
|
||||
// TODO: test date
|
||||
}
|
||||
|
||||
|
@ -33,14 +33,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
public class DefaultValueTest {
|
||||
class DefaultValueTest {
|
||||
private final DefaultValue model = new DefaultValue();
|
||||
|
||||
/**
|
||||
* Model tests for DefaultValue
|
||||
*/
|
||||
@Test
|
||||
public void testDefaultValue() {
|
||||
void testDefaultValue() {
|
||||
// TODO: test DefaultValue
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringEnumRefDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringEnumRefDefaultTest() {
|
||||
void arrayStringEnumRefDefaultTest() {
|
||||
// TODO: test arrayStringEnumRefDefault
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringEnumDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringEnumDefaultTest() {
|
||||
void arrayStringEnumDefaultTest() {
|
||||
// TODO: test arrayStringEnumDefault
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringDefaultTest() {
|
||||
void arrayStringDefaultTest() {
|
||||
// TODO: test arrayStringDefault
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayIntegerDefault'
|
||||
*/
|
||||
@Test
|
||||
public void arrayIntegerDefaultTest() {
|
||||
void arrayIntegerDefaultTest() {
|
||||
// TODO: test arrayIntegerDefault
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayString'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringTest() {
|
||||
void arrayStringTest() {
|
||||
// TODO: test arrayString
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringNullableTest() {
|
||||
void arrayStringNullableTest() {
|
||||
// TODO: test arrayStringNullable
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'arrayStringExtensionNullable'
|
||||
*/
|
||||
@Test
|
||||
public void arrayStringExtensionNullableTest() {
|
||||
void arrayStringExtensionNullableTest() {
|
||||
// TODO: test arrayStringExtensionNullable
|
||||
}
|
||||
|
||||
@ -104,7 +104,7 @@ public class DefaultValueTest {
|
||||
* Test the property 'stringNullable'
|
||||
*/
|
||||
@Test
|
||||
public void stringNullableTest() {
|
||||
void stringNullableTest() {
|
||||
// TODO: test stringNullable
|
||||
}
|
||||
|
||||
|
@ -26,14 +26,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
public class NumberPropertiesOnlyTest {
|
||||
class NumberPropertiesOnlyTest {
|
||||
private final NumberPropertiesOnly model = new NumberPropertiesOnly();
|
||||
|
||||
/**
|
||||
* Model tests for NumberPropertiesOnly
|
||||
*/
|
||||
@Test
|
||||
public void testNumberPropertiesOnly() {
|
||||
void testNumberPropertiesOnly() {
|
||||
// TODO: test NumberPropertiesOnly
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property 'number'
|
||||
*/
|
||||
@Test
|
||||
public void numberTest() {
|
||||
void numberTest() {
|
||||
// TODO: test number
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_float'
|
||||
*/
|
||||
@Test
|
||||
public void _floatTest() {
|
||||
void _floatTest() {
|
||||
// TODO: test _float
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ public class NumberPropertiesOnlyTest {
|
||||
* Test the property '_double'
|
||||
*/
|
||||
@Test
|
||||
public void _doubleTest() {
|
||||
void _doubleTest() {
|
||||
// TODO: test _double
|
||||
}
|
||||
|
||||
|
@ -30,14 +30,14 @@ 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
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ public class PetTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ public class PetTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class PetTest {
|
||||
* Test the property 'category'
|
||||
*/
|
||||
@Test
|
||||
public void categoryTest() {
|
||||
void categoryTest() {
|
||||
// TODO: test category
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ public class PetTest {
|
||||
* Test the property 'photoUrls'
|
||||
*/
|
||||
@Test
|
||||
public void photoUrlsTest() {
|
||||
void photoUrlsTest() {
|
||||
// TODO: test photoUrls
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ public class PetTest {
|
||||
* Test the property 'tags'
|
||||
*/
|
||||
@Test
|
||||
public void tagsTest() {
|
||||
void tagsTest() {
|
||||
// TODO: test tags
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ public class PetTest {
|
||||
* Test the property 'status'
|
||||
*/
|
||||
@Test
|
||||
public void statusTest() {
|
||||
void statusTest() {
|
||||
// TODO: test status
|
||||
}
|
||||
|
||||
|
@ -28,14 +28,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
public class QueryTest {
|
||||
class QueryTest {
|
||||
private final Query model = new Query();
|
||||
|
||||
/**
|
||||
* Model tests for Query
|
||||
*/
|
||||
@Test
|
||||
public void testQuery() {
|
||||
void testQuery() {
|
||||
// TODO: test Query
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class QueryTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@ public class QueryTest {
|
||||
* Test the property 'outcomes'
|
||||
*/
|
||||
@Test
|
||||
public void outcomesTest() {
|
||||
void outcomesTest() {
|
||||
// TODO: test outcomes
|
||||
}
|
||||
|
||||
|
@ -20,12 +20,12 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
public class StringEnumRefTest {
|
||||
class StringEnumRefTest {
|
||||
/**
|
||||
* Model tests for StringEnumRef
|
||||
*/
|
||||
@Test
|
||||
public void testStringEnumRef() {
|
||||
void testStringEnumRef() {
|
||||
// TODO: test StringEnumRef
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ 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
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ public class TagTest {
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ public class TagTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
public class TestFormObjectMultipartRequestMarkerTest {
|
||||
class TestFormObjectMultipartRequestMarkerTest {
|
||||
private final TestFormObjectMultipartRequestMarker model = new TestFormObjectMultipartRequestMarker();
|
||||
|
||||
/**
|
||||
* Model tests for TestFormObjectMultipartRequestMarker
|
||||
*/
|
||||
@Test
|
||||
public void testTestFormObjectMultipartRequestMarker() {
|
||||
void testTestFormObjectMultipartRequestMarker() {
|
||||
// TODO: test TestFormObjectMultipartRequestMarker
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ public class TestFormObjectMultipartRequestMarkerTest {
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest {
|
||||
private final TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter model = new TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'size'
|
||||
*/
|
||||
@Test
|
||||
public void sizeTest() {
|
||||
void sizeTest() {
|
||||
// TODO: test size
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'color'
|
||||
*/
|
||||
@Test
|
||||
public void colorTest() {
|
||||
void colorTest() {
|
||||
// TODO: test color
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'id'
|
||||
*/
|
||||
@Test
|
||||
public void idTest() {
|
||||
void idTest() {
|
||||
// TODO: test id
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterT
|
||||
* Test the property 'name'
|
||||
*/
|
||||
@Test
|
||||
public void nameTest() {
|
||||
void nameTest() {
|
||||
// TODO: test name
|
||||
}
|
||||
|
||||
|
@ -28,14 +28,14 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
private final TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter model = new TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter();
|
||||
|
||||
/**
|
||||
* Model tests for TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
*/
|
||||
@Test
|
||||
public void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
|
||||
// TODO: test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest {
|
||||
* Test the property 'values'
|
||||
*/
|
||||
@Test
|
||||
public void valuesTest() {
|
||||
void valuesTest() {
|
||||
// TODO: test values
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
||||
</systemPropertyVariables>
|
||||
<argLine>-Xms512m -Xmx1500m</argLine>
|
||||
<parallel>methods</parallel>
|
||||
<forkMode>pertest</forkMode>
|
||||
<reuseForks>false</reuseForks>
|
||||
<useUnlimitedThreads>true</useUnlimitedThreads>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
@ -271,12 +271,6 @@
|
||||
<version>${junit-version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-runner</artifactId>
|
||||
<version>${junit-platform-runner.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -287,6 +281,5 @@
|
||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||
<beanvalidation-version>2.0.2</beanvalidation-version>
|
||||
<junit-version>5.10.2</junit-version>
|
||||
<junit-platform-runner.version>1.10.0</junit-platform-runner.version>
|
||||
</properties>
|
||||
</project>
|
||||
|
@ -13,8 +13,8 @@
|
||||
|
||||
package org.openapitools.client;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openapitools.client.api.BodyApi;
|
||||
import org.openapitools.client.api.QueryApi;
|
||||
import org.openapitools.client.model.Category;
|
||||
@ -22,13 +22,11 @@ import org.openapitools.client.model.Pet;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
|
||||
/**
|
||||
* API tests
|
||||
*/
|
||||
public class CustomTest {
|
||||
class CustomTest {
|
||||
|
||||
private final QueryApi api = new QueryApi();
|
||||
private final BodyApi bodyApi = new BodyApi();
|
||||
@ -40,22 +38,22 @@ public class CustomTest {
|
||||
*
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPet() {
|
||||
void testEchoBodyPet() {
|
||||
Pet pet = new Pet().id(12345L).name("Hello World").
|
||||
photoUrls(Arrays.asList(new String[]{"http://a.com", "http://b.com"})).category(new Category().id(987L).name("new category"));
|
||||
|
||||
Pet p = bodyApi.testEchoBodyPet(pet);
|
||||
assertNotNull(p);
|
||||
Assert.assertEquals("Hello World", p.getName());
|
||||
Assert.assertEquals(Long.valueOf(12345L), p.getId());
|
||||
Assertions.assertNotNull(p);
|
||||
Assertions.assertEquals("Hello World", p.getName());
|
||||
Assertions.assertEquals(Long.valueOf(12345L), p.getId());
|
||||
|
||||
// response is empty body
|
||||
Pet p2 = bodyApi.testEchoBodyPet(null);
|
||||
Assert.assertNull(p2);
|
||||
Assertions.assertNull(p2);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testQueryParamsExploded_whenQueryParamIsNull() {
|
||||
assertNotNull(api.testQueryStyleFormExplodeTrueObject(null));
|
||||
void testQueryParamsExploded_whenQueryParamIsNull() {
|
||||
Assertions.assertNotNull(api.testQueryStyleFormExplodeTrueObject(null));
|
||||
}
|
||||
}
|
||||
|
@ -13,9 +13,10 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.junit.Assert;
|
||||
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 org.springframework.web.client.RestClientException;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -27,7 +28,7 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for AuthApi
|
||||
*/
|
||||
public class AuthApiTest {
|
||||
class AuthApiTest {
|
||||
|
||||
private final AuthApi api = new AuthApi();
|
||||
|
||||
@ -37,11 +38,11 @@ public class AuthApiTest {
|
||||
*
|
||||
* To test HTTP basic authentication
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testAuthHttpBasicTest() {
|
||||
void testAuthHttpBasicTest() {
|
||||
|
||||
String response = api.testAuthHttpBasic();
|
||||
|
||||
@ -53,19 +54,19 @@ public class AuthApiTest {
|
||||
*
|
||||
* To test HTTP bearer authentication
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testAuthHttpBearerTest() {
|
||||
void testAuthHttpBearerTest() {
|
||||
String response;
|
||||
api.getApiClient().setBearerToken("fixed token");
|
||||
response = api.testAuthHttpBearer();
|
||||
Assert.assertTrue(response.contains("Authorization: Bearer fixed token"));
|
||||
Assertions.assertTrue(response.contains("Authorization: Bearer fixed token"));
|
||||
|
||||
api.getApiClient().setBearerToken(() -> "dynamic token");
|
||||
response = api.testAuthHttpBearer();
|
||||
Assert.assertTrue(response.contains("Authorization: Bearer dynamic token"));
|
||||
Assertions.assertTrue(response.contains("Authorization: Bearer dynamic token"));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -15,9 +15,11 @@ package org.openapitools.client.api;
|
||||
|
||||
import java.io.File;
|
||||
import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.Tag;
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.web.client.RestClientException;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -29,8 +31,8 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for BodyApi
|
||||
*/
|
||||
@Ignore
|
||||
public class BodyApiTest {
|
||||
@Disabled
|
||||
class BodyApiTest {
|
||||
|
||||
private final BodyApi api = new BodyApi();
|
||||
|
||||
@ -40,11 +42,11 @@ public class BodyApiTest {
|
||||
*
|
||||
* Test binary (gif) response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBinaryGifTest() {
|
||||
void testBinaryGifTest() {
|
||||
|
||||
File response = api.testBinaryGif();
|
||||
|
||||
@ -56,11 +58,11 @@ public class BodyApiTest {
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyApplicationOctetstreamBinaryTest() {
|
||||
void testBodyApplicationOctetstreamBinaryTest() {
|
||||
File body = null;
|
||||
|
||||
String response = api.testBodyApplicationOctetstreamBinary(body);
|
||||
@ -73,11 +75,11 @@ public class BodyApiTest {
|
||||
*
|
||||
* Test array of binary in multipart mime
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testBodyMultipartFormdataArrayOfBinaryTest() {
|
||||
void testBodyMultipartFormdataArrayOfBinaryTest() {
|
||||
List<File> files = null;
|
||||
|
||||
String response = api.testBodyMultipartFormdataArrayOfBinary(files);
|
||||
@ -85,16 +87,33 @@ public class BodyApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* Test single binary in multipart mime
|
||||
*
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testBodyMultipartFormdataSingleBinaryTest() {
|
||||
File myFile = null;
|
||||
|
||||
String response = api.testBodyMultipartFormdataSingleBinary(myFile);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyAllOfPetTest() {
|
||||
void testEchoBodyAllOfPetTest() {
|
||||
Pet pet = null;
|
||||
|
||||
Pet response = api.testEchoBodyAllOfPet(pet);
|
||||
@ -107,11 +126,11 @@ public class BodyApiTest {
|
||||
*
|
||||
* Test free form object
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyFreeFormObjectResponseStringTest() {
|
||||
void testEchoBodyFreeFormObjectResponseStringTest() {
|
||||
Object body = null;
|
||||
|
||||
String response = api.testEchoBodyFreeFormObjectResponseString(body);
|
||||
@ -124,11 +143,11 @@ public class BodyApiTest {
|
||||
*
|
||||
* Test body parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPetTest() {
|
||||
void testEchoBodyPetTest() {
|
||||
Pet pet = null;
|
||||
|
||||
Pet response = api.testEchoBodyPet(pet);
|
||||
@ -141,11 +160,11 @@ public class BodyApiTest {
|
||||
*
|
||||
* Test empty response body
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyPetResponseStringTest() {
|
||||
void testEchoBodyPetResponseStringTest() {
|
||||
Pet pet = null;
|
||||
|
||||
String response = api.testEchoBodyPetResponseString(pet);
|
||||
@ -153,16 +172,33 @@ public class BodyApiTest {
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test string enum response body
|
||||
*
|
||||
* Test string enum response body
|
||||
*
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testEchoBodyStringEnumTest() {
|
||||
String body = null;
|
||||
|
||||
StringEnumRef response = api.testEchoBodyStringEnum(body);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* Test empty json (request body)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEchoBodyTagResponseStringTest() {
|
||||
void testEchoBodyTagResponseStringTest() {
|
||||
Tag tag = null;
|
||||
|
||||
String response = api.testEchoBodyTagResponseString(tag);
|
||||
|
@ -13,8 +13,10 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.openapitools.client.model.TestFormObjectMultipartRequestMarker;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.web.client.RestClientException;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -26,8 +28,8 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for FormApi
|
||||
*/
|
||||
@Ignore
|
||||
public class FormApiTest {
|
||||
@Disabled
|
||||
class FormApiTest {
|
||||
|
||||
private final FormApi api = new FormApi();
|
||||
|
||||
@ -37,11 +39,11 @@ public class FormApiTest {
|
||||
*
|
||||
* Test form parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormIntegerBooleanStringTest() {
|
||||
void testFormIntegerBooleanStringTest() {
|
||||
Integer integerForm = null;
|
||||
Boolean booleanForm = null;
|
||||
String stringForm = null;
|
||||
@ -52,15 +54,32 @@ public class FormApiTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
* Test form parameter(s) for multipart schema
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testFormOneofTest() {
|
||||
void testFormObjectMultipartTest() {
|
||||
TestFormObjectMultipartRequestMarker marker = null;
|
||||
|
||||
String response = api.testFormObjectMultipart(marker);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* Test form parameter(s) for oneOf schema
|
||||
*
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testFormOneofTest() {
|
||||
String form1 = null;
|
||||
Integer form2 = null;
|
||||
String form3 = null;
|
||||
|
@ -14,8 +14,9 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.web.client.RestClientException;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -27,8 +28,8 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for HeaderApi
|
||||
*/
|
||||
@Ignore
|
||||
public class HeaderApiTest {
|
||||
@Disabled
|
||||
class HeaderApiTest {
|
||||
|
||||
private final HeaderApi api = new HeaderApi();
|
||||
|
||||
@ -38,11 +39,11 @@ public class HeaderApiTest {
|
||||
*
|
||||
* Test header parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testHeaderIntegerBooleanStringEnumsTest() {
|
||||
void testHeaderIntegerBooleanStringEnumsTest() {
|
||||
Integer integerHeader = null;
|
||||
Boolean booleanHeader = null;
|
||||
String stringHeader = null;
|
||||
|
@ -14,8 +14,9 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.web.client.RestClientException;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -27,8 +28,8 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for PathApi
|
||||
*/
|
||||
@Ignore
|
||||
public class PathApiTest {
|
||||
@Disabled
|
||||
class PathApiTest {
|
||||
|
||||
private final PathApi api = new PathApi();
|
||||
|
||||
@ -38,11 +39,11 @@ public class PathApiTest {
|
||||
*
|
||||
* Test path parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathTest() {
|
||||
void testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathTest() {
|
||||
String pathString = null;
|
||||
Integer pathInteger = null;
|
||||
String enumNonrefStringPath = null;
|
||||
|
@ -20,8 +20,9 @@ import org.openapitools.client.model.Pet;
|
||||
import org.openapitools.client.model.StringEnumRef;
|
||||
import org.openapitools.client.model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter;
|
||||
import org.openapitools.client.model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter;
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.web.client.RestClientException;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
@ -33,8 +34,8 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for QueryApi
|
||||
*/
|
||||
@Ignore
|
||||
public class QueryApiTest {
|
||||
@Disabled
|
||||
class QueryApiTest {
|
||||
|
||||
private final QueryApi api = new QueryApi();
|
||||
|
||||
@ -44,11 +45,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testEnumRefStringTest() {
|
||||
void testEnumRefStringTest() {
|
||||
String enumNonrefStringQuery = null;
|
||||
StringEnumRef enumRefStringQuery = null;
|
||||
|
||||
@ -62,11 +63,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryDatetimeDateStringTest() {
|
||||
void testQueryDatetimeDateStringTest() {
|
||||
OffsetDateTime datetimeQuery = null;
|
||||
LocalDate dateQuery = null;
|
||||
String stringQuery = null;
|
||||
@ -81,11 +82,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryIntegerBooleanStringTest() {
|
||||
void testQueryIntegerBooleanStringTest() {
|
||||
Integer integerQuery = null;
|
||||
Boolean booleanQuery = null;
|
||||
String stringQuery = null;
|
||||
@ -100,11 +101,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectTest() {
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectTest() {
|
||||
Pet queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleDeepObjectExplodeTrueObject(queryObject);
|
||||
@ -117,11 +118,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() {
|
||||
void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() {
|
||||
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
|
||||
@ -134,11 +135,45 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueArrayStringTest() {
|
||||
void testQueryStyleFormExplodeFalseArrayIntegerTest() {
|
||||
List<Integer> queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayInteger(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeFalseArrayStringTest() {
|
||||
List<String> queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
|
||||
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
/**
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
void testQueryStyleFormExplodeTrueArrayStringTest() {
|
||||
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleFormExplodeTrueArrayString(queryObject);
|
||||
@ -151,11 +186,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectTest() {
|
||||
void testQueryStyleFormExplodeTrueObjectTest() {
|
||||
Pet queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleFormExplodeTrueObject(queryObject);
|
||||
@ -168,11 +203,11 @@ public class QueryApiTest {
|
||||
*
|
||||
* Test query parameter(s)
|
||||
*
|
||||
* @throws ApiException
|
||||
* @throws RestClientException
|
||||
* if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void testQueryStyleFormExplodeTrueObjectAllOfTest() {
|
||||
void testQueryStyleFormExplodeTrueObjectAllOfTest() {
|
||||
DataQuery queryObject = null;
|
||||
|
||||
String response = api.testQueryStyleFormExplodeTrueObjectAllOf(queryObject);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user