diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh
index 9d54203ba031..cc7e015f4c34 100755
--- a/CI/circle_parallel.sh
+++ b/CI/circle_parallel.sh
@@ -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)
diff --git a/bin/utils/test_file_list.yaml b/bin/utils/test_file_list.yaml
index bdb057850e46..5c63f356e280 100644
--- a/bin/utils/test_file_list.yaml
+++ b/bin/utils/test_file_list.yaml
@@ -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
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/restclient/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/restclient/pom.mustache
index 5ed5aaeef2a3..f926d47b4b31 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/restclient/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/restclient/pom.mustache
@@ -73,7 +73,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -337,12 +337,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -367,6 +361,5 @@
5.4.3.Final
{{/performBeanValidation}}
5.10.2
- 1.10.0
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/pom.mustache
index 1c933ad1e1c1..90de86cbad26 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/pom.mustache
@@ -73,7 +73,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -352,12 +352,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -389,6 +383,5 @@
5.4.3.Final
{{/performBeanValidation}}
5.10.2
- 1.10.0
diff --git a/samples/client/echo_api/go/test/api_auth_test.go b/samples/client/echo_api/go/test/api_auth_test.go
index 7fa48739eb1f..e8fb1b22c051 100644
--- a/samples/client/echo_api/go/test/api_auth_test.go
+++ b/samples/client/echo_api/go/test/api_auth_test.go
@@ -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)
+
+ })
+
}
diff --git a/samples/client/echo_api/go/test/api_form_test.go b/samples/client/echo_api/go/test/api_form_test.go
index fbb3916d44dc..c570661727fc 100644
--- a/samples/client/echo_api/go/test/api_form_test.go
+++ b/samples/client/echo_api/go/test/api_form_test.go
@@ -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
diff --git a/samples/client/echo_api/go/test/api_header_test.go b/samples/client/echo_api/go/test/api_header_test.go
index 37ad22567fd8..6013c51c8fb1 100644
--- a/samples/client/echo_api/go/test/api_header_test.go
+++ b/samples/client/echo_api/go/test/api_header_test.go
@@ -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()
diff --git a/samples/client/echo_api/go/test/api_path_test.go b/samples/client/echo_api/go/test/api_path_test.go
index 5364670a18ca..2217059235b5 100644
--- a/samples/client/echo_api/go/test/api_path_test.go
+++ b/samples/client/echo_api/go/test/api_path_test.go
@@ -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)
diff --git a/samples/client/echo_api/go/test/api_query_test.go b/samples/client/echo_api/go/test/api_query_test.go
index b22f42057be9..161ca1c791a9 100644
--- a/samples/client/echo_api/go/test/api_query_test.go
+++ b/samples/client/echo_api/go/test/api_query_test.go
@@ -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
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/BodyApiTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/BodyApiTest.java
index ef13f819e634..24ebc6776e58 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/BodyApiTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/BodyApiTest.java
@@ -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 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 void testEchoBodyPetTest() throws ApiException {
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
}
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/FormApiTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/FormApiTest.java
index a308e36d2c3e..46e31ab289d5 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/FormApiTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/FormApiTest.java
@@ -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 void testFormIntegerBooleanStringTest() throws ApiException {
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
}
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/HeaderApiTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/HeaderApiTest.java
index 3f0ec9214bf3..7163eba08e52 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/HeaderApiTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/HeaderApiTest.java
@@ -15,9 +15,9 @@
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;
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/PathApiTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/PathApiTest.java
index 3759bdee97a6..ccf40d623aef 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/PathApiTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/PathApiTest.java
@@ -15,9 +15,9 @@
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;
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/QueryApiTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/QueryApiTest.java
index 069bf4bd3267..dbc1022fb02c 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/QueryApiTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/QueryApiTest.java
@@ -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 void testQueryIntegerBooleanStringTest() 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 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 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 void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
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
}
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/BirdTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/BirdTest.java
index 31323a96d3d3..ec1f99fb9c78 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/BirdTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/BirdTest.java
@@ -22,18 +22,17 @@
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 void testBird() {
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -49,7 +48,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java
index e32182d690f6..f0d26f9ea167 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -22,18 +22,17 @@
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 void testCategory() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -49,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DataQueryTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DataQueryTest.java
index 7916c47947c7..6d835f331aed 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DataQueryTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DataQueryTest.java
@@ -20,57 +20,65 @@
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 the property 'id'
*/
@Test
- public void textTest() {
- // TODO: test text
+ void idTest() {
+ // TODO: test id
}
/**
- * Test the property 'date'
+ * Test the property 'outcomes'
*/
@Test
- public void dateTest() {
- // TODO: test date
+ void outcomesTest() {
+ // TODO: test outcomes
}
/**
- * Test the property 'id'
+ * Test the property 'suffix'
*/
@Test
- public void idTest() {
- // TODO: test id
+ void suffixTest() {
+ // TODO: test suffix
}
/**
- * Test the property 'outcomes'
+ * Test the property 'text'
*/
@Test
- public void outcomesTest() {
- // TODO: test outcomes
+ void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'date'
+ */
+ @Test
+ void dateTest() {
+ // TODO: test date
}
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DefaultValueTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DefaultValueTest.java
index 4de417ac0324..c5c50cd558e7 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DefaultValueTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/DefaultValueTest.java
@@ -19,7 +19,9 @@
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.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 void arrayStringEnumDefaultTest() {
* Test the property 'arrayStringDefault'
*/
@Test
- public void arrayStringDefaultTest() {
+ void arrayStringDefaultTest() {
// TODO: test arrayStringDefault
}
@@ -63,7 +72,7 @@ public void arrayStringDefaultTest() {
* Test the property 'arrayIntegerDefault'
*/
@Test
- public void arrayIntegerDefaultTest() {
+ void arrayIntegerDefaultTest() {
// TODO: test arrayIntegerDefault
}
@@ -71,7 +80,7 @@ public void arrayIntegerDefaultTest() {
* Test the property 'arrayString'
*/
@Test
- public void arrayStringTest() {
+ void arrayStringTest() {
// TODO: test arrayString
}
@@ -79,15 +88,23 @@ public void arrayStringTest() {
* 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
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
index ccc2e77abc45..66d88b69519f 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
@@ -23,18 +23,17 @@
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 void testNumberPropertiesOnly() {
* Test the property 'number'
*/
@Test
- public void numberTest() {
+ void numberTest() {
// TODO: test number
}
@@ -50,7 +49,7 @@ public void numberTest() {
* Test the property '_float'
*/
@Test
- public void _floatTest() {
+ void _floatTest() {
// TODO: test _float
}
@@ -58,7 +57,7 @@ public void _floatTest() {
* Test the property '_double'
*/
@Test
- public void _doubleTest() {
+ void _doubleTest() {
// TODO: test _double
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java
index 1d5a7048a560..f6536444b01d 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java
@@ -19,6 +19,7 @@
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.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 void testPet() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -53,7 +53,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -61,7 +61,7 @@ public void nameTest() {
* Test the property 'category'
*/
@Test
- public void categoryTest() {
+ void categoryTest() {
// TODO: test category
}
@@ -69,7 +69,7 @@ public void categoryTest() {
* Test the property 'photoUrls'
*/
@Test
- public void photoUrlsTest() {
+ void photoUrlsTest() {
// TODO: test photoUrls
}
@@ -77,7 +77,7 @@ public void photoUrlsTest() {
* Test the property 'tags'
*/
@Test
- public void tagsTest() {
+ void tagsTest() {
// TODO: test tags
}
@@ -85,7 +85,7 @@ public void tagsTest() {
* Test the property 'status'
*/
@Test
- public void statusTest() {
+ void statusTest() {
// TODO: test status
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/QueryTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/QueryTest.java
index 48e1fbe6af98..fa0bd0293bd7 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/QueryTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/QueryTest.java
@@ -19,23 +19,23 @@
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 void testQuery() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -51,7 +51,7 @@ public void idTest() {
* Test the property 'outcomes'
*/
@Test
- public void outcomesTest() {
+ void outcomesTest() {
// TODO: test outcomes
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/StringEnumRefTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
index 767df43f315f..24bac66784be 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
@@ -17,16 +17,15 @@
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
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java
index 5af2a8f54cc1..e444ad14095a 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java
@@ -22,18 +22,17 @@
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 void testTag() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -49,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
index d5d0fc51cc1d..178d1b8013dd 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
@@ -25,14 +25,14 @@
/**
* 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 void testTestFormObjectMultipartRequestMarker() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
index b90b1e4cd200..de68c2a50472 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
@@ -22,18 +22,17 @@
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 void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParamet
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -49,7 +48,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
@@ -57,7 +56,7 @@ public void colorTest() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -65,7 +64,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
index 910af6a663d2..e85ace643499 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
@@ -19,23 +19,23 @@
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 void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
* Test the property 'values'
*/
@Test
- public void valuesTest() {
+ void valuesTest() {
// TODO: test values
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java
index 24c71b360761..2b2512904c5b 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java
@@ -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 @@ public void setup() {
}
+ /**
+ * 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 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 @@ void testEchoBodyPetTest() {
}
+ /**
+ * 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
+ }
+
+
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/FormApiTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/FormApiTest.java
index 03644c14dc9e..f860fe149e4b 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/FormApiTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/FormApiTest.java
@@ -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 @@ void testFormIntegerBooleanStringTest() {
}
+ /**
+ * 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
+ }
+
+
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/HeaderApiTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/HeaderApiTest.java
index dbe0a9e5cff9..62cfec0f8aa0 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/HeaderApiTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/HeaderApiTest.java
@@ -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 @@ public void setup() {
* 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
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/PathApiTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/PathApiTest.java
index 8f39b053aa4f..a81e0a4a59bb 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/PathApiTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/PathApiTest.java
@@ -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 @@ public void setup() {
* 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
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java
index b55588a0406e..7610b69d6642 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java
@@ -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 @@ public void setup() {
}
+ /**
+ * 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 @@ void testQueryIntegerBooleanStringTestQueryMap() {
// 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 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 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 @@ void testQueryStyleFormExplodeTrueObjectTestQueryMap() {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/BirdTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/BirdTest.java
index c487cab67998..fc4b18e54501 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/BirdTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/BirdTest.java
@@ -21,7 +21,6 @@
import java.io.IOException;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Bird
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/CategoryTest.java
index ab5409ab270e..af973b44de27 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -21,7 +21,6 @@
import java.io.IOException;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Category
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java
index e51788417913..908ebd92eff8 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java
@@ -21,11 +21,11 @@
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
*/
@@ -41,35 +41,43 @@ void testDataQuery() {
}
/**
- * Test the property 'text'
+ * Test the property 'id'
*/
@Test
- void textTest() {
- // TODO: test text
+ void idTest() {
+ // TODO: test id
}
/**
- * Test the property 'date'
+ * Test the property 'outcomes'
*/
@Test
- void dateTest() {
- // TODO: test date
+ void outcomesTest() {
+ // TODO: test outcomes
}
/**
- * Test the property 'id'
+ * Test the property 'suffix'
*/
@Test
- void idTest() {
- // TODO: test id
+ void suffixTest() {
+ // TODO: test suffix
}
/**
- * Test the property 'outcomes'
+ * Test the property 'text'
*/
@Test
- void outcomesTest() {
- // TODO: test outcomes
+ void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'date'
+ */
+ @Test
+ void dateTest() {
+ // TODO: test date
}
}
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java
index b5f523bde621..4e246508b993 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java
@@ -20,11 +20,12 @@
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 @@ void testDefaultValue() {
// TODO: test DefaultValue
}
+ /**
+ * Test the property 'arrayStringEnumRefDefault'
+ */
+ @Test
+ void arrayStringEnumRefDefaultTest() {
+ // TODO: test arrayStringEnumRefDefault
+ }
+
/**
* Test the property 'arrayStringEnumDefault'
*/
@@ -79,6 +88,14 @@ void arrayStringNullableTest() {
// TODO: test arrayStringNullable
}
+ /**
+ * Test the property 'arrayStringExtensionNullable'
+ */
+ @Test
+ void arrayStringExtensionNullableTest() {
+ // TODO: test arrayStringExtensionNullable
+ }
+
/**
* Test the property 'stringNullable'
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
index 715209c0e76a..13bca0b6676a 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
@@ -22,7 +22,6 @@
import java.math.BigDecimal;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for NumberPropertiesOnly
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/PetTest.java
index 886e8dee6c08..2f3de100e7cb 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/PetTest.java
@@ -20,12 +20,12 @@
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
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/QueryTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/QueryTest.java
index 5b896d41d1cf..693e5cd8bdc9 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/QueryTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/QueryTest.java
@@ -20,10 +20,10 @@
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
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
index b55324cae42f..1e6f59c52149 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
@@ -16,7 +16,6 @@
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for StringEnumRef
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TagTest.java
index 033deaceb706..ecada93fd6ce 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TagTest.java
@@ -21,7 +21,6 @@
import java.io.IOException;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Tag
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
index 87a94769eb3d..bb30825fd828 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
@@ -21,7 +21,6 @@
import java.io.IOException;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
*/
diff --git a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
index 3633d8e2cef4..0144ea19396a 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
@@ -20,10 +20,10 @@
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
*/
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/AuthApiTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/AuthApiTest.java
index 0efd63dfdd64..f8672ad4967c 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/AuthApiTest.java
@@ -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;
/**
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/BodyApiTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/BodyApiTest.java
index 04bcdb16a4a0..28bd1ad1c1cf 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/BodyApiTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/BodyApiTest.java
@@ -13,10 +13,19 @@
package org.openapitools.client.api;
-import org.junit.jupiter.api.Disabled;
-import org.junit.jupiter.api.Test;
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 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 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 void testEchoBodyPetTest() throws ApiException {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/FormApiTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/FormApiTest.java
index c9fd883d79a9..663bededed85 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/FormApiTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/FormApiTest.java
@@ -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 void testFormIntegerBooleanStringTest() throws ApiException {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/HeaderApiTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/HeaderApiTest.java
index 844eb5b33206..b2d34c773505 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/HeaderApiTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/HeaderApiTest.java
@@ -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;
/**
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/PathApiTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/PathApiTest.java
index b0b834a71d29..e71cf1b61fa8 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/PathApiTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/PathApiTest.java
@@ -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;
/**
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/QueryApiTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/QueryApiTest.java
index 13332bb48e83..05abf1dd19fa 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/QueryApiTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/api/QueryApiTest.java
@@ -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.junit.jupiter.api.Disabled;
-import org.junit.jupiter.api.Test;
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 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 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 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 void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/BirdTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/BirdTest.java
index 87bd92ba5635..a53d60129787 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/BirdTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/BirdTest.java
@@ -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 void testBird() {
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -42,7 +49,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java
index f97a4c0d43f0..8a3e7308f87a 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -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 void testCategory() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -42,7 +49,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DataQueryTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DataQueryTest.java
index 29ffada7a6e9..7ef9ac1c94cc 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DataQueryTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DataQueryTest.java
@@ -13,53 +13,72 @@
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 the property 'id'
*/
@Test
- public void textTest() {
- // TODO: test text
+ void idTest() {
+ // TODO: test id
}
/**
- * Test the property 'date'
+ * Test the property 'outcomes'
*/
@Test
- public void dateTest() {
- // TODO: test date
+ void outcomesTest() {
+ // TODO: test outcomes
}
/**
- * Test the property 'id'
+ * Test the property 'suffix'
*/
@Test
- public void idTest() {
- // TODO: test id
+ void suffixTest() {
+ // TODO: test suffix
}
/**
- * Test the property 'outcomes'
+ * Test the property 'text'
*/
@Test
- public void outcomesTest() {
- // TODO: test outcomes
+ void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'date'
+ */
+ @Test
+ void dateTest() {
+ // TODO: test date
}
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DefaultValueTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DefaultValueTest.java
index 79dd6be90b7c..c5c50cd558e7 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DefaultValueTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/DefaultValueTest.java
@@ -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 void arrayStringEnumDefaultTest() {
* 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 void arrayStringTest() {
* 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
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
index 69479f24a76a..d18ffe99803a 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
@@ -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 void testNumberPropertiesOnly() {
* Test the property 'number'
*/
@Test
- public void numberTest() {
+ void numberTest() {
// TODO: test number
}
@@ -42,7 +50,7 @@ public void numberTest() {
* Test the property '_float'
*/
@Test
- public void _floatTest() {
+ void _floatTest() {
// TODO: test _float
}
@@ -50,7 +58,7 @@ public void _floatTest() {
* Test the property '_double'
*/
@Test
- public void _doubleTest() {
+ void _doubleTest() {
// TODO: test _double
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/PetTest.java
index d537ddc510ab..f6536444b01d 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/PetTest.java
@@ -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 void testPet() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -42,7 +53,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -50,7 +61,7 @@ public void nameTest() {
* Test the property 'category'
*/
@Test
- public void categoryTest() {
+ void categoryTest() {
// TODO: test category
}
@@ -58,7 +69,7 @@ public void categoryTest() {
* Test the property 'photoUrls'
*/
@Test
- public void photoUrlsTest() {
+ void photoUrlsTest() {
// TODO: test photoUrls
}
@@ -66,7 +77,7 @@ public void photoUrlsTest() {
* Test the property 'tags'
*/
@Test
- public void tagsTest() {
+ void tagsTest() {
// TODO: test tags
}
@@ -74,7 +85,7 @@ public void tagsTest() {
* Test the property 'status'
*/
@Test
- public void statusTest() {
+ void statusTest() {
// TODO: test status
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/QueryTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/QueryTest.java
index ff1ddefbf5d2..fa0bd0293bd7 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/QueryTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/QueryTest.java
@@ -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 void testQuery() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -42,7 +51,7 @@ public void idTest() {
* Test the property 'outcomes'
*/
@Test
- public void outcomesTest() {
+ void outcomesTest() {
// TODO: test outcomes
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/StringEnumRefTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
index 933cc1438507..24bac66784be 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
@@ -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
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TagTest.java
index 050e9a3a1673..722084177432 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TagTest.java
@@ -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 void testTag() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -42,7 +49,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
index e1bb4f420c47..ae45724e552a 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
@@ -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 void testTestFormObjectMultipartRequestMarker() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
index 8214380df37a..c5acf6a06686 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
@@ -13,53 +13,60 @@
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 the property 'size'
*/
@Test
- public void idTest() {
- // TODO: test id
+ void sizeTest() {
+ // TODO: test size
}
/**
- * Test the property 'name'
+ * Test the property 'color'
*/
@Test
- public void nameTest() {
- // TODO: test name
+ void colorTest() {
+ // TODO: test color
}
/**
- * Test the property 'size'
+ * Test the property 'id'
*/
@Test
- public void sizeTest() {
- // TODO: test size
+ void idTest() {
+ // TODO: test id
}
/**
- * Test the property 'color'
+ * Test the property 'name'
*/
@Test
- public void colorTest() {
- // TODO: test color
+ void nameTest() {
+ // TODO: test name
}
}
diff --git a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
index 555aaba7e527..e85ace643499 100644
--- a/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/native/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
@@ -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 void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
* Test the property 'values'
*/
@Test
- public void valuesTest() {
+ void valuesTest() {
// TODO: test values
}
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java
index b7b78dcdf9ff..bb6329045fe7 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/BodyApiTest.java
@@ -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 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 void testEchoBodyPetTest() throws ApiException {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/FormApiTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/FormApiTest.java
index d14158de93fd..d8c00e452186 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/FormApiTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/FormApiTest.java
@@ -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 void testFormIntegerBooleanStringTest() throws ApiException {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java
index 358a449596e1..482244627e97 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/QueryApiTest.java
@@ -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 void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiExcep
// 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 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 queryObject = null;
+ String response = api.testQueryStyleFormExplodeFalseArrayString(queryObject);
+ // TODO: test validations
+ }
+
/**
* Test query parameter(s)
*
@@ -105,4 +168,18 @@ public void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
// 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
+ }
+
}
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/BirdTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/BirdTest.java
index 75f1b4085332..f5f536325d30 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/BirdTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/BirdTest.java
@@ -19,10 +19,10 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java
index ea33600fbca7..741c90804f61 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -19,10 +19,10 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java
index 6b8ac2656327..40ab0c3498c2 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DataQueryTest.java
@@ -21,12 +21,12 @@
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
*/
@@ -42,35 +42,43 @@ public void testDataQuery() {
}
/**
- * Test the property 'text'
+ * Test the property 'id'
*/
@Test
- public void textTest() {
- // TODO: test text
+ public void idTest() {
+ // TODO: test id
}
/**
- * Test the property 'date'
+ * Test the property 'outcomes'
*/
@Test
- public void dateTest() {
- // TODO: test date
+ public void outcomesTest() {
+ // TODO: test outcomes
}
/**
- * Test the property 'id'
+ * Test the property 'suffix'
*/
@Test
- public void idTest() {
- // TODO: test id
+ public void suffixTest() {
+ // TODO: test suffix
}
/**
- * Test the property 'outcomes'
+ * Test the property 'text'
*/
@Test
- public void outcomesTest() {
- // TODO: test outcomes
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'date'
+ */
+ @Test
+ public void dateTest() {
+ // TODO: test date
}
}
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java
index 9ef0b55db296..7c6ee09e00c1 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/DefaultValueTest.java
@@ -20,12 +20,13 @@
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 void testDefaultValue() {
// TODO: test DefaultValue
}
+ /**
+ * Test the property 'arrayStringEnumRefDefault'
+ */
+ @Test
+ public void arrayStringEnumRefDefaultTest() {
+ // TODO: test arrayStringEnumRefDefault
+ }
+
/**
* Test the property 'arrayStringEnumDefault'
*/
@@ -80,6 +89,14 @@ public void arrayStringNullableTest() {
// TODO: test arrayStringNullable
}
+ /**
+ * Test the property 'arrayStringExtensionNullable'
+ */
+ @Test
+ public void arrayStringExtensionNullableTest() {
+ // TODO: test arrayStringExtensionNullable
+ }
+
/**
* Test the property 'stringNullable'
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
index a796ce5ce94c..1f23ab2012fb 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
@@ -20,10 +20,10 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java
index a7f27fad14b5..56d51705502e 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java
@@ -20,13 +20,13 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/QueryTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/QueryTest.java
index e7ca10f2484b..bb5f94192c34 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/QueryTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/QueryTest.java
@@ -20,11 +20,11 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
index 800e47ace28c..179fe3981c20 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
@@ -17,7 +17,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for StringEnumRef
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java
index 1374bba3fb60..1539b3756fc8 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java
@@ -19,10 +19,10 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
index 378b082dc969..c30d6bf4f634 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
@@ -19,10 +19,10 @@
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
*/
diff --git a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
index f01a91aec64e..d99f4d76fa28 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
@@ -20,11 +20,11 @@
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
*/
diff --git a/samples/client/echo_api/java/restclient/pom.xml b/samples/client/echo_api/java/restclient/pom.xml
index b61ae8db3f4a..b075100afbb7 100644
--- a/samples/client/echo_api/java/restclient/pom.xml
+++ b/samples/client/echo_api/java/restclient/pom.xml
@@ -66,7 +66,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -271,12 +271,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -287,6 +281,5 @@
2.1.1
3.0.2
5.10.2
- 1.10.0
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/AuthApiTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/AuthApiTest.java
index 6a7b7a4736ce..129cfc219bc8 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/AuthApiTest.java
@@ -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 @@
/**
* 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 void testAuthHttpBasicTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testAuthHttpBearerTest() throws ApiException {
+ void testAuthHttpBearerTest() throws ApiException {
//
//String response = api.testAuthHttpBearer();
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/FormApiTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/FormApiTest.java
index 564f7c35a4e5..19c75e019a67 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/FormApiTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/FormApiTest.java
@@ -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 @@
/**
* 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 void testFormIntegerBooleanStringTest() throws ApiException {
// 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 void testFormIntegerBooleanStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testFormOneofTest() throws ApiException {
+ void testFormOneofTest() throws ApiException {
//
//String form1 = null;
//
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/HeaderApiTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/HeaderApiTest.java
index 1f2b0cbf479f..b2f0fe7aecb3 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/HeaderApiTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/HeaderApiTest.java
@@ -15,9 +15,9 @@
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 @@
/**
* 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;
//
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/PathApiTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/PathApiTest.java
index f2f6763b1215..3b87c976787e 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/PathApiTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/PathApiTest.java
@@ -15,9 +15,9 @@
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 @@
/**
* 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;
//
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/QueryApiTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/QueryApiTest.java
index c6df34a18c8b..ea3cee0f0273 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/QueryApiTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/QueryApiTest.java
@@ -21,9 +21,9 @@
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 @@
/**
* 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 void testEnumRefStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testQueryDatetimeDateStringTest() throws ApiException {
+ void testQueryDatetimeDateStringTest() throws ApiException {
//
//OffsetDateTime datetimeQuery = null;
//
@@ -88,7 +88,7 @@ public void testQueryDatetimeDateStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testQueryIntegerBooleanStringTest() throws ApiException {
+ void testQueryIntegerBooleanStringTest() throws ApiException {
//
//Integer integerQuery = null;
//
@@ -109,7 +109,7 @@ public void testQueryIntegerBooleanStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
+ void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException {
//
//Pet queryObject = null;
//
@@ -126,7 +126,7 @@ public void testQueryStyleDeepObjectExplodeTrueObjectTest() throws ApiException
* if the Api call fails
*/
@Test
- public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
+ void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiException {
//
//TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = null;
//
@@ -143,7 +143,41 @@ public void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() throws ApiExcep
* if the Api call fails
*/
@Test
- public void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
+ void testQueryStyleFormExplodeFalseArrayIntegerTest() throws ApiException {
+ //
+ //List 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 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 void testQueryStyleFormExplodeTrueArrayStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
+ void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
//
//Pet queryObject = null;
//
@@ -177,7 +211,7 @@ public void testQueryStyleFormExplodeTrueObjectTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
+ void testQueryStyleFormExplodeTrueObjectAllOfTest() throws ApiException {
//
//DataQuery queryObject = null;
//
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/BirdTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/BirdTest.java
index 487f1889a98a..ec1f99fb9c78 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/BirdTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/BirdTest.java
@@ -25,14 +25,14 @@
/**
* 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 void testBird() {
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -48,7 +48,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java
index 1a53a0d90983..f0d26f9ea167 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -25,14 +25,14 @@
/**
* 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 void testCategory() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DataQueryTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DataQueryTest.java
index 78b52f08ac76..6d835f331aed 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DataQueryTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DataQueryTest.java
@@ -30,14 +30,14 @@
/**
* 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 void testDataQuery() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -53,7 +53,7 @@ public void idTest() {
* Test the property 'outcomes'
*/
@Test
- public void outcomesTest() {
+ void outcomesTest() {
// TODO: test outcomes
}
@@ -61,7 +61,7 @@ public void outcomesTest() {
* Test the property 'suffix'
*/
@Test
- public void suffixTest() {
+ void suffixTest() {
// TODO: test suffix
}
@@ -69,7 +69,7 @@ public void suffixTest() {
* Test the property 'text'
*/
@Test
- public void textTest() {
+ void textTest() {
// TODO: test text
}
@@ -77,7 +77,7 @@ public void textTest() {
* Test the property 'date'
*/
@Test
- public void dateTest() {
+ void dateTest() {
// TODO: test date
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DefaultValueTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DefaultValueTest.java
index bfbfeaf1dadf..c5c50cd558e7 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DefaultValueTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/DefaultValueTest.java
@@ -33,14 +33,14 @@
/**
* 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 void testDefaultValue() {
* Test the property 'arrayStringEnumRefDefault'
*/
@Test
- public void arrayStringEnumRefDefaultTest() {
+ void arrayStringEnumRefDefaultTest() {
// TODO: test arrayStringEnumRefDefault
}
@@ -56,7 +56,7 @@ public void arrayStringEnumRefDefaultTest() {
* Test the property 'arrayStringEnumDefault'
*/
@Test
- public void arrayStringEnumDefaultTest() {
+ void arrayStringEnumDefaultTest() {
// TODO: test arrayStringEnumDefault
}
@@ -64,7 +64,7 @@ public void arrayStringEnumDefaultTest() {
* Test the property 'arrayStringDefault'
*/
@Test
- public void arrayStringDefaultTest() {
+ void arrayStringDefaultTest() {
// TODO: test arrayStringDefault
}
@@ -72,7 +72,7 @@ public void arrayStringDefaultTest() {
* Test the property 'arrayIntegerDefault'
*/
@Test
- public void arrayIntegerDefaultTest() {
+ void arrayIntegerDefaultTest() {
// TODO: test arrayIntegerDefault
}
@@ -80,7 +80,7 @@ public void arrayIntegerDefaultTest() {
* Test the property 'arrayString'
*/
@Test
- public void arrayStringTest() {
+ void arrayStringTest() {
// TODO: test arrayString
}
@@ -88,7 +88,7 @@ public void arrayStringTest() {
* Test the property 'arrayStringNullable'
*/
@Test
- public void arrayStringNullableTest() {
+ void arrayStringNullableTest() {
// TODO: test arrayStringNullable
}
@@ -96,7 +96,7 @@ public void arrayStringNullableTest() {
* Test the property 'arrayStringExtensionNullable'
*/
@Test
- public void arrayStringExtensionNullableTest() {
+ void arrayStringExtensionNullableTest() {
// TODO: test arrayStringExtensionNullable
}
@@ -104,7 +104,7 @@ public void arrayStringExtensionNullableTest() {
* Test the property 'stringNullable'
*/
@Test
- public void stringNullableTest() {
+ void stringNullableTest() {
// TODO: test stringNullable
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
index 6cad1033030f..66d88b69519f 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
@@ -26,14 +26,14 @@
/**
* 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 void testNumberPropertiesOnly() {
* Test the property 'number'
*/
@Test
- public void numberTest() {
+ void numberTest() {
// TODO: test number
}
@@ -49,7 +49,7 @@ public void numberTest() {
* Test the property '_float'
*/
@Test
- public void _floatTest() {
+ void _floatTest() {
// TODO: test _float
}
@@ -57,7 +57,7 @@ public void _floatTest() {
* Test the property '_double'
*/
@Test
- public void _doubleTest() {
+ void _doubleTest() {
// TODO: test _double
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java
index e56a9b18d6e9..f6536444b01d 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java
@@ -30,14 +30,14 @@
/**
* 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 void testPet() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -53,7 +53,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -61,7 +61,7 @@ public void nameTest() {
* Test the property 'category'
*/
@Test
- public void categoryTest() {
+ void categoryTest() {
// TODO: test category
}
@@ -69,7 +69,7 @@ public void categoryTest() {
* Test the property 'photoUrls'
*/
@Test
- public void photoUrlsTest() {
+ void photoUrlsTest() {
// TODO: test photoUrls
}
@@ -77,7 +77,7 @@ public void photoUrlsTest() {
* Test the property 'tags'
*/
@Test
- public void tagsTest() {
+ void tagsTest() {
// TODO: test tags
}
@@ -85,7 +85,7 @@ public void tagsTest() {
* Test the property 'status'
*/
@Test
- public void statusTest() {
+ void statusTest() {
// TODO: test status
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/QueryTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/QueryTest.java
index f9affa7e6754..fa0bd0293bd7 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/QueryTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/QueryTest.java
@@ -28,14 +28,14 @@
/**
* 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 void testQuery() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -51,7 +51,7 @@ public void idTest() {
* Test the property 'outcomes'
*/
@Test
- public void outcomesTest() {
+ void outcomesTest() {
// TODO: test outcomes
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/StringEnumRefTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
index 9c9ddedd8adf..24bac66784be 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
@@ -20,12 +20,12 @@
/**
* Model tests for StringEnumRef
*/
-public class StringEnumRefTest {
+class StringEnumRefTest {
/**
* Model tests for StringEnumRef
*/
@Test
- public void testStringEnumRef() {
+ void testStringEnumRef() {
// TODO: test StringEnumRef
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java
index d74de216cfab..e444ad14095a 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java
@@ -25,14 +25,14 @@
/**
* 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 void testTag() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
index d5d0fc51cc1d..178d1b8013dd 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
@@ -25,14 +25,14 @@
/**
* 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 void testTestFormObjectMultipartRequestMarker() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
index d316ca8550ef..de68c2a50472 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
@@ -25,14 +25,14 @@
/**
* 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 void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParamet
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -48,7 +48,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
@@ -56,7 +56,7 @@ public void colorTest() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -64,7 +64,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
index 21cff973e258..e85ace643499 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
@@ -28,14 +28,14 @@
/**
* 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 void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
* Test the property 'values'
*/
@Test
- public void valuesTest() {
+ void valuesTest() {
// TODO: test values
}
diff --git a/samples/client/echo_api/java/resttemplate/pom.xml b/samples/client/echo_api/java/resttemplate/pom.xml
index f60f70b15e09..bbec31c345f3 100644
--- a/samples/client/echo_api/java/resttemplate/pom.xml
+++ b/samples/client/echo_api/java/resttemplate/pom.xml
@@ -66,7 +66,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -271,12 +271,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -287,6 +281,5 @@
1.3.5
2.0.2
5.10.2
- 1.10.0
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/CustomTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/CustomTest.java
index fc98c24a1286..e23b3707c502 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/CustomTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/CustomTest.java
@@ -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 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));
}
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java
index 385354f4b634..ae4127e0b696 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java
@@ -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 @@
/**
* 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 void testAuthHttpBasicTest() {
*
* 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"));
}
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/BodyApiTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/BodyApiTest.java
index 1a1842f6c553..3aa657fb15d9 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/BodyApiTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/BodyApiTest.java
@@ -15,9 +15,11 @@
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 @@
/**
* 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 void testBinaryGifTest() {
*
* 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 void testBodyApplicationOctetstreamBinaryTest() {
*
* Test array of binary in multipart mime
*
- * @throws ApiException
+ * @throws RestClientException
* if the Api call fails
*/
@Test
- public void testBodyMultipartFormdataArrayOfBinaryTest() {
+ void testBodyMultipartFormdataArrayOfBinaryTest() {
List files = null;
String response = api.testBodyMultipartFormdataArrayOfBinary(files);
@@ -85,16 +87,33 @@ public void testBodyMultipartFormdataArrayOfBinaryTest() {
// 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 void testEchoBodyAllOfPetTest() {
*
* 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 void testEchoBodyFreeFormObjectResponseStringTest() {
*
* 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 void testEchoBodyPetTest() {
*
* 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 void testEchoBodyPetResponseStringTest() {
// 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);
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/FormApiTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/FormApiTest.java
index 123f60544dcd..11d9bd6662ea 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/FormApiTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/FormApiTest.java
@@ -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 @@
/**
* 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;
@@ -51,16 +53,33 @@ public void testFormIntegerBooleanStringTest() {
// TODO: test validations
}
+ /**
+ * Test form parameter(s) for multipart schema
+ *
+ * Test form parameter(s) for multipart schema
+ *
+ * @throws RestClientException
+ * if the Api call fails
+ */
+ @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
*
- * @throws ApiException
+ * @throws RestClientException
* if the Api call fails
*/
@Test
- public void testFormOneofTest() {
+ void testFormOneofTest() {
String form1 = null;
Integer form2 = null;
String form3 = null;
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/HeaderApiTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/HeaderApiTest.java
index 14f3c32bc5bd..8567d97c75d5 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/HeaderApiTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/HeaderApiTest.java
@@ -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 @@
/**
* 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;
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/PathApiTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/PathApiTest.java
index 0b7e986b9815..88bcdc826e1f 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/PathApiTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/PathApiTest.java
@@ -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 @@
/**
* 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;
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/QueryApiTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/QueryApiTest.java
index 8f007ca9d156..719dba57879d 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/QueryApiTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/QueryApiTest.java
@@ -20,8 +20,9 @@
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 @@
/**
* 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 void testEnumRefStringTest() {
*
* 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 void testQueryDatetimeDateStringTest() {
*
* 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 void testQueryIntegerBooleanStringTest() {
*
* 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 void testQueryStyleDeepObjectExplodeTrueObjectTest() {
*
* 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 void testQueryStyleDeepObjectExplodeTrueObjectAllOfTest() {
*
* Test query parameter(s)
*
- * @throws ApiException
+ * @throws RestClientException
* if the Api call fails
*/
@Test
- public void testQueryStyleFormExplodeTrueArrayStringTest() {
+ void testQueryStyleFormExplodeFalseArrayIntegerTest() {
+ List 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 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 void testQueryStyleFormExplodeTrueArrayStringTest() {
*
* 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 void testQueryStyleFormExplodeTrueObjectTest() {
*
* 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);
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/BirdTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/BirdTest.java
index 3e82e9d75535..ec1f99fb9c78 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/BirdTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/BirdTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testBird() {
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -48,7 +48,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/CategoryTest.java
index 5b6a08fd6773..f0d26f9ea167 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/CategoryTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/CategoryTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Category
*/
-public class CategoryTest {
+class CategoryTest {
private final Category model = new Category();
/**
* Model tests for Category
*/
@Test
- public void testCategory() {
+ void testCategory() {
// TODO: test Category
}
@@ -40,7 +40,7 @@ public void testCategory() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DataQueryTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DataQueryTest.java
index d08082e114ed..6d835f331aed 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DataQueryTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DataQueryTest.java
@@ -23,21 +23,21 @@
import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.Query;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testDataQuery() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -53,7 +53,7 @@ public void idTest() {
* Test the property 'outcomes'
*/
@Test
- public void outcomesTest() {
+ void outcomesTest() {
// TODO: test outcomes
}
@@ -61,7 +61,7 @@ public void outcomesTest() {
* Test the property 'suffix'
*/
@Test
- public void suffixTest() {
+ void suffixTest() {
// TODO: test suffix
}
@@ -69,7 +69,7 @@ public void suffixTest() {
* Test the property 'text'
*/
@Test
- public void textTest() {
+ void textTest() {
// TODO: test text
}
@@ -77,7 +77,7 @@ public void textTest() {
* Test the property 'date'
*/
@Test
- public void dateTest() {
+ void dateTest() {
// TODO: test date
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DefaultValueTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DefaultValueTest.java
index 843a43b28d72..c5c50cd558e7 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DefaultValueTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/DefaultValueTest.java
@@ -26,21 +26,21 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testDefaultValue() {
* Test the property 'arrayStringEnumRefDefault'
*/
@Test
- public void arrayStringEnumRefDefaultTest() {
+ void arrayStringEnumRefDefaultTest() {
// TODO: test arrayStringEnumRefDefault
}
@@ -56,7 +56,7 @@ public void arrayStringEnumRefDefaultTest() {
* Test the property 'arrayStringEnumDefault'
*/
@Test
- public void arrayStringEnumDefaultTest() {
+ void arrayStringEnumDefaultTest() {
// TODO: test arrayStringEnumDefault
}
@@ -64,7 +64,7 @@ public void arrayStringEnumDefaultTest() {
* Test the property 'arrayStringDefault'
*/
@Test
- public void arrayStringDefaultTest() {
+ void arrayStringDefaultTest() {
// TODO: test arrayStringDefault
}
@@ -72,7 +72,7 @@ public void arrayStringDefaultTest() {
* Test the property 'arrayIntegerDefault'
*/
@Test
- public void arrayIntegerDefaultTest() {
+ void arrayIntegerDefaultTest() {
// TODO: test arrayIntegerDefault
}
@@ -80,7 +80,7 @@ public void arrayIntegerDefaultTest() {
* Test the property 'arrayString'
*/
@Test
- public void arrayStringTest() {
+ void arrayStringTest() {
// TODO: test arrayString
}
@@ -88,7 +88,7 @@ public void arrayStringTest() {
* Test the property 'arrayStringNullable'
*/
@Test
- public void arrayStringNullableTest() {
+ void arrayStringNullableTest() {
// TODO: test arrayStringNullable
}
@@ -96,7 +96,7 @@ public void arrayStringNullableTest() {
* Test the property 'arrayStringExtensionNullable'
*/
@Test
- public void arrayStringExtensionNullableTest() {
+ void arrayStringExtensionNullableTest() {
// TODO: test arrayStringExtensionNullable
}
@@ -104,7 +104,7 @@ public void arrayStringExtensionNullableTest() {
* Test the property 'stringNullable'
*/
@Test
- public void stringNullableTest() {
+ void stringNullableTest() {
// TODO: test stringNullable
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
index 80e515fd707e..66d88b69519f 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/NumberPropertiesOnlyTest.java
@@ -19,21 +19,21 @@
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testNumberPropertiesOnly() {
* Test the property 'number'
*/
@Test
- public void numberTest() {
+ void numberTest() {
// TODO: test number
}
@@ -49,7 +49,7 @@ public void numberTest() {
* Test the property '_float'
*/
@Test
- public void _floatTest() {
+ void _floatTest() {
// TODO: test _float
}
@@ -57,7 +57,7 @@ public void _floatTest() {
* Test the property '_double'
*/
@Test
- public void _doubleTest() {
+ void _doubleTest() {
// TODO: test _double
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/PetTest.java
index 30e1991c7e32..f6536444b01d 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/PetTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/PetTest.java
@@ -23,21 +23,21 @@
import java.util.List;
import org.openapitools.client.model.Category;
import org.openapitools.client.model.Tag;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Pet
*/
-public class PetTest {
+class PetTest {
private final Pet model = new Pet();
/**
* Model tests for Pet
*/
@Test
- public void testPet() {
+ void testPet() {
// TODO: test Pet
}
@@ -45,7 +45,7 @@ public void testPet() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -53,7 +53,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
@@ -61,7 +61,7 @@ public void nameTest() {
* Test the property 'category'
*/
@Test
- public void categoryTest() {
+ void categoryTest() {
// TODO: test category
}
@@ -69,7 +69,7 @@ public void categoryTest() {
* Test the property 'photoUrls'
*/
@Test
- public void photoUrlsTest() {
+ void photoUrlsTest() {
// TODO: test photoUrls
}
@@ -77,7 +77,7 @@ public void photoUrlsTest() {
* Test the property 'tags'
*/
@Test
- public void tagsTest() {
+ void tagsTest() {
// TODO: test tags
}
@@ -85,7 +85,7 @@ public void tagsTest() {
* Test the property 'status'
*/
@Test
- public void statusTest() {
+ void statusTest() {
// TODO: test status
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/QueryTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/QueryTest.java
index 3ae0ecb7b70d..fa0bd0293bd7 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/QueryTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/QueryTest.java
@@ -21,21 +21,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testQuery() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -51,7 +51,7 @@ public void idTest() {
* Test the property 'outcomes'
*/
@Test
- public void outcomesTest() {
+ void outcomesTest() {
// TODO: test outcomes
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/StringEnumRefTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
index 81bf17732bda..24bac66784be 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/StringEnumRefTest.java
@@ -13,19 +13,19 @@
package org.openapitools.client.model;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for StringEnumRef
*/
-public class StringEnumRefTest {
+class StringEnumRefTest {
/**
* Model tests for StringEnumRef
*/
@Test
- public void testStringEnumRef() {
+ void testStringEnumRef() {
// TODO: test StringEnumRef
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TagTest.java
index 073b7aca33c1..e444ad14095a 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TagTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for Tag
*/
-public class TagTest {
+class TagTest {
private final Tag model = new Tag();
/**
* Model tests for Tag
*/
@Test
- public void testTag() {
+ void testTag() {
// TODO: test Tag
}
@@ -40,7 +40,7 @@ public void testTag() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -48,7 +48,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
index cdb7c02c0fd8..178d1b8013dd 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarkerTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testTestFormObjectMultipartRequestMarker() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
index 8ab39f47d766..de68c2a50472 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.java
@@ -18,21 +18,21 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParamet
* Test the property 'size'
*/
@Test
- public void sizeTest() {
+ void sizeTest() {
// TODO: test size
}
@@ -48,7 +48,7 @@ public void sizeTest() {
* Test the property 'color'
*/
@Test
- public void colorTest() {
+ void colorTest() {
// TODO: test color
}
@@ -56,7 +56,7 @@ public void colorTest() {
* Test the property 'id'
*/
@Test
- public void idTest() {
+ void idTest() {
// TODO: test id
}
@@ -64,7 +64,7 @@ public void idTest() {
* Test the property 'name'
*/
@Test
- public void nameTest() {
+ void nameTest() {
// TODO: test name
}
diff --git a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
index f3e020346fa0..e85ace643499 100644
--- a/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
+++ b/samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.java
@@ -21,21 +21,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
/**
* Model tests for 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 void testTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() {
* Test the property 'values'
*/
@Test
- public void valuesTest() {
+ void valuesTest() {
// TODO: test values
}
diff --git a/samples/client/echo_api/ruby-faraday/spec/api/auth_api_spec.rb b/samples/client/echo_api/ruby-faraday/spec/api/auth_api_spec.rb
index 565fe5d2a239..8c403d76391a 100644
--- a/samples/client/echo_api/ruby-faraday/spec/api/auth_api_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/api/auth_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/api/body_api_spec.rb b/samples/client/echo_api/ruby-faraday/spec/api/body_api_spec.rb
index 363e9f8b8b64..8c4c34df3491 100644
--- a/samples/client/echo_api/ruby-faraday/spec/api/body_api_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/api/body_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -67,6 +67,18 @@
end
end
+ # unit tests for test_body_multipart_formdata_single_binary
+ # Test single binary in multipart mime
+ # Test single binary in multipart mime
+ # @param [Hash] opts the optional parameters
+ # @option opts [File] :my_file
+ # @return [String]
+ describe 'test_body_multipart_formdata_single_binary test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_echo_body_all_of_pet
# Test body parameter(s)
# Test body parameter(s)
@@ -115,6 +127,18 @@
end
end
+ # unit tests for test_echo_body_string_enum
+ # Test string enum response body
+ # Test string enum response body
+ # @param [Hash] opts the optional parameters
+ # @option opts [String] :body String enum
+ # @return [StringEnumRef]
+ describe 'test_echo_body_string_enum test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_echo_body_tag_response_string
# Test empty json (request body)
# Test empty json (request body)
diff --git a/samples/client/echo_api/ruby-faraday/spec/api/form_api_spec.rb b/samples/client/echo_api/ruby-faraday/spec/api/form_api_spec.rb
index c404fc538470..1f4e5e8ed838 100644
--- a/samples/client/echo_api/ruby-faraday/spec/api/form_api_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/api/form_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -46,6 +46,18 @@
end
end
+ # unit tests for test_form_object_multipart
+ # Test form parameter(s) for multipart schema
+ # Test form parameter(s) for multipart schema
+ # @param marker
+ # @param [Hash] opts the optional parameters
+ # @return [String]
+ describe 'test_form_object_multipart test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_form_oneof
# Test form parameter(s) for oneOf schema
# Test form parameter(s) for oneOf schema
diff --git a/samples/client/echo_api/ruby-faraday/spec/api/header_api_spec.rb b/samples/client/echo_api/ruby-faraday/spec/api/header_api_spec.rb
index e7772849df69..c5e59c5b77d8 100644
--- a/samples/client/echo_api/ruby-faraday/spec/api/header_api_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/api/header_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/api/path_api_spec.rb b/samples/client/echo_api/ruby-faraday/spec/api/path_api_spec.rb
index 6ac30f152f7b..06ba6c5f51ef 100644
--- a/samples/client/echo_api/ruby-faraday/spec/api/path_api_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/api/path_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/api/query_api_spec.rb b/samples/client/echo_api/ruby-faraday/spec/api/query_api_spec.rb
index f9043d4f8b7b..aad0b53c0c26 100644
--- a/samples/client/echo_api/ruby-faraday/spec/api/query_api_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/api/query_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -97,6 +97,30 @@
end
end
+ # unit tests for test_query_style_form_explode_false_array_integer
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Array] :query_object
+ # @return [String]
+ describe 'test_query_style_form_explode_false_array_integer test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
+ # unit tests for test_query_style_form_explode_false_array_string
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Array] :query_object
+ # @return [String]
+ describe 'test_query_style_form_explode_false_array_string test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_query_style_form_explode_true_array_string
# Test query parameter(s)
# Test query parameter(s)
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/bird_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/bird_spec.rb
index 764ab5329e01..fd1f90c1503a 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/bird_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/bird_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/category_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/category_spec.rb
index 6bf16df513c7..978cea9fb8a5 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/category_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/category_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/data_query_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/data_query_spec.rb
index 616516cd6f18..57816b0414ab 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/data_query_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/data_query_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/default_value_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/default_value_spec.rb
index 1601e3bf0be2..43eba63bb2da 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/default_value_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/default_value_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/number_properties_only_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/number_properties_only_spec.rb
index c528b0ff2628..037ea1198a82 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/number_properties_only_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/number_properties_only_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/pet_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/pet_spec.rb
index 75d8b5f6079d..3d8ebe57a654 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/pet_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/pet_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/query_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/query_spec.rb
index 893943f3a776..df37a14bc77d 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/query_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/query_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/string_enum_ref_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/string_enum_ref_spec.rb
index 6bd5883ca5a6..f48d0924ce5b 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/string_enum_ref_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/string_enum_ref_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/tag_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/tag_spec.rb
index 9ee4d2c31c78..c145bef0fdb5 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/tag_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/tag_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/test_form_object_multipart_request_marker_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/test_form_object_multipart_request_marker_spec.rb
index 9cfa1af80f84..af1d0cf1fdd3 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/test_form_object_multipart_request_marker_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/test_form_object_multipart_request_marker_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-Generator version: 7.5.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
index 4fd29f1fc78e..71adac89ca1a 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb b/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
index 092ead39ae9c..e4167aa7a3c4 100644
--- a/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
+++ b/samples/client/echo_api/ruby-faraday/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/api/auth_api_spec.rb b/samples/client/echo_api/ruby-httpx/spec/api/auth_api_spec.rb
index 0cc2f1182bad..8c403d76391a 100644
--- a/samples/client/echo_api/ruby-httpx/spec/api/auth_api_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/api/auth_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -43,4 +43,15 @@
end
end
+ # unit tests for test_auth_http_bearer
+ # To test HTTP bearer authentication
+ # To test HTTP bearer authentication
+ # @param [Hash] opts the optional parameters
+ # @return [String]
+ describe 'test_auth_http_bearer test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
end
diff --git a/samples/client/echo_api/ruby-httpx/spec/api/body_api_spec.rb b/samples/client/echo_api/ruby-httpx/spec/api/body_api_spec.rb
index cd346b568d5e..8c4c34df3491 100644
--- a/samples/client/echo_api/ruby-httpx/spec/api/body_api_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/api/body_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -67,6 +67,30 @@
end
end
+ # unit tests for test_body_multipart_formdata_single_binary
+ # Test single binary in multipart mime
+ # Test single binary in multipart mime
+ # @param [Hash] opts the optional parameters
+ # @option opts [File] :my_file
+ # @return [String]
+ describe 'test_body_multipart_formdata_single_binary test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
+ # unit tests for test_echo_body_all_of_pet
+ # Test body parameter(s)
+ # Test body parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Pet] :pet Pet object that needs to be added to the store
+ # @return [Pet]
+ describe 'test_echo_body_all_of_pet test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_echo_body_free_form_object_response_string
# Test free form object
# Test free form object
@@ -103,6 +127,18 @@
end
end
+ # unit tests for test_echo_body_string_enum
+ # Test string enum response body
+ # Test string enum response body
+ # @param [Hash] opts the optional parameters
+ # @option opts [String] :body String enum
+ # @return [StringEnumRef]
+ describe 'test_echo_body_string_enum test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_echo_body_tag_response_string
# Test empty json (request body)
# Test empty json (request body)
diff --git a/samples/client/echo_api/ruby-httpx/spec/api/form_api_spec.rb b/samples/client/echo_api/ruby-httpx/spec/api/form_api_spec.rb
index 6d7be3056a47..1f4e5e8ed838 100644
--- a/samples/client/echo_api/ruby-httpx/spec/api/form_api_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/api/form_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -46,6 +46,18 @@
end
end
+ # unit tests for test_form_object_multipart
+ # Test form parameter(s) for multipart schema
+ # Test form parameter(s) for multipart schema
+ # @param marker
+ # @param [Hash] opts the optional parameters
+ # @return [String]
+ describe 'test_form_object_multipart test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_form_oneof
# Test form parameter(s) for oneOf schema
# Test form parameter(s) for oneOf schema
diff --git a/samples/client/echo_api/ruby-httpx/spec/api/header_api_spec.rb b/samples/client/echo_api/ruby-httpx/spec/api/header_api_spec.rb
index 47a146beb657..c5e59c5b77d8 100644
--- a/samples/client/echo_api/ruby-httpx/spec/api/header_api_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/api/header_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -32,15 +32,17 @@
end
end
- # unit tests for test_header_integer_boolean_string
+ # unit tests for test_header_integer_boolean_string_enums
# Test header parameter(s)
# Test header parameter(s)
# @param [Hash] opts the optional parameters
# @option opts [Integer] :integer_header
# @option opts [Boolean] :boolean_header
# @option opts [String] :string_header
+ # @option opts [String] :enum_nonref_string_header
+ # @option opts [StringEnumRef] :enum_ref_string_header
# @return [String]
- describe 'test_header_integer_boolean_string test' do
+ describe 'test_header_integer_boolean_string_enums test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
diff --git a/samples/client/echo_api/ruby-httpx/spec/api/path_api_spec.rb b/samples/client/echo_api/ruby-httpx/spec/api/path_api_spec.rb
index 5885056b53e0..06ba6c5f51ef 100644
--- a/samples/client/echo_api/ruby-httpx/spec/api/path_api_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/api/path_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -32,14 +32,16 @@
end
end
- # unit tests for tests_path_string_path_string_integer_path_integer
+ # unit tests for tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
# Test path parameter(s)
# Test path parameter(s)
# @param path_string
# @param path_integer
+ # @param enum_nonref_string_path
+ # @param enum_ref_string_path
# @param [Hash] opts the optional parameters
# @return [String]
- describe 'tests_path_string_path_string_integer_path_integer test' do
+ describe 'tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path test' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
diff --git a/samples/client/echo_api/ruby-httpx/spec/api/query_api_spec.rb b/samples/client/echo_api/ruby-httpx/spec/api/query_api_spec.rb
index 8c3e9dbfdb9d..aad0b53c0c26 100644
--- a/samples/client/echo_api/ruby-httpx/spec/api/query_api_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/api/query_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -36,6 +36,7 @@
# Test query parameter(s)
# Test query parameter(s)
# @param [Hash] opts the optional parameters
+ # @option opts [String] :enum_nonref_string_query
# @option opts [StringEnumRef] :enum_ref_string_query
# @return [String]
describe 'test_enum_ref_string test' do
@@ -96,6 +97,30 @@
end
end
+ # unit tests for test_query_style_form_explode_false_array_integer
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Array] :query_object
+ # @return [String]
+ describe 'test_query_style_form_explode_false_array_integer test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
+ # unit tests for test_query_style_form_explode_false_array_string
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Array] :query_object
+ # @return [String]
+ describe 'test_query_style_form_explode_false_array_string test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_query_style_form_explode_true_array_string
# Test query parameter(s)
# Test query parameter(s)
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/bird_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/bird_spec.rb
index a7f2f46d85f1..fd1f90c1503a 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/bird_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/bird_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/category_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/category_spec.rb
index e52db312db6d..978cea9fb8a5 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/category_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/category_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/data_query_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/data_query_spec.rb
index 91decf8c8d5b..57816b0414ab 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/data_query_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/data_query_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/default_value_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/default_value_spec.rb
index 79a3e1fdffa2..43eba63bb2da 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/default_value_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/default_value_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/number_properties_only_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/number_properties_only_spec.rb
index 44de02223da5..037ea1198a82 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/number_properties_only_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/number_properties_only_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/pet_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/pet_spec.rb
index 92371a301145..3d8ebe57a654 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/pet_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/pet_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/query_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/query_spec.rb
index 4d4317c71bcf..df37a14bc77d 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/query_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/query_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/string_enum_ref_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/string_enum_ref_spec.rb
index 3f51c331cbe2..f48d0924ce5b 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/string_enum_ref_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/string_enum_ref_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/tag_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/tag_spec.rb
index e9ce719d4d40..c145bef0fdb5 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/tag_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/tag_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/test_form_object_multipart_request_marker_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/test_form_object_multipart_request_marker_spec.rb
index 9cfa1af80f84..af1d0cf1fdd3 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/test_form_object_multipart_request_marker_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/test_form_object_multipart_request_marker_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-Generator version: 7.5.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
index ac82b993db20..71adac89ca1a 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb b/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
index 073ceac81306..e4167aa7a3c4 100644
--- a/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
+++ b/samples/client/echo_api/ruby-httpx/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.1.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/api/auth_api_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/api/auth_api_spec.rb
index 565fe5d2a239..8c403d76391a 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/api/auth_api_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/api/auth_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/api/body_api_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/api/body_api_spec.rb
index 363e9f8b8b64..8c4c34df3491 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/api/body_api_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/api/body_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -67,6 +67,18 @@
end
end
+ # unit tests for test_body_multipart_formdata_single_binary
+ # Test single binary in multipart mime
+ # Test single binary in multipart mime
+ # @param [Hash] opts the optional parameters
+ # @option opts [File] :my_file
+ # @return [String]
+ describe 'test_body_multipart_formdata_single_binary test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_echo_body_all_of_pet
# Test body parameter(s)
# Test body parameter(s)
@@ -115,6 +127,18 @@
end
end
+ # unit tests for test_echo_body_string_enum
+ # Test string enum response body
+ # Test string enum response body
+ # @param [Hash] opts the optional parameters
+ # @option opts [String] :body String enum
+ # @return [StringEnumRef]
+ describe 'test_echo_body_string_enum test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_echo_body_tag_response_string
# Test empty json (request body)
# Test empty json (request body)
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/api/form_api_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/api/form_api_spec.rb
index c404fc538470..1f4e5e8ed838 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/api/form_api_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/api/form_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -46,6 +46,18 @@
end
end
+ # unit tests for test_form_object_multipart
+ # Test form parameter(s) for multipart schema
+ # Test form parameter(s) for multipart schema
+ # @param marker
+ # @param [Hash] opts the optional parameters
+ # @return [String]
+ describe 'test_form_object_multipart test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_form_oneof
# Test form parameter(s) for oneOf schema
# Test form parameter(s) for oneOf schema
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/api/header_api_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/api/header_api_spec.rb
index e7772849df69..c5e59c5b77d8 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/api/header_api_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/api/header_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/api/path_api_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/api/path_api_spec.rb
index 6ac30f152f7b..06ba6c5f51ef 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/api/path_api_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/api/path_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/api/query_api_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/api/query_api_spec.rb
index f9043d4f8b7b..aad0b53c0c26 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/api/query_api_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/api/query_api_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
@@ -97,6 +97,30 @@
end
end
+ # unit tests for test_query_style_form_explode_false_array_integer
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Array] :query_object
+ # @return [String]
+ describe 'test_query_style_form_explode_false_array_integer test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
+ # unit tests for test_query_style_form_explode_false_array_string
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param [Hash] opts the optional parameters
+ # @option opts [Array] :query_object
+ # @return [String]
+ describe 'test_query_style_form_explode_false_array_string test' do
+ it 'should work' do
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
+ end
+ end
+
# unit tests for test_query_style_form_explode_true_array_string
# Test query parameter(s)
# Test query parameter(s)
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/bird_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/bird_spec.rb
index 764ab5329e01..fd1f90c1503a 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/bird_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/bird_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/category_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/category_spec.rb
index 6bf16df513c7..978cea9fb8a5 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/category_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/category_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/data_query_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/data_query_spec.rb
index 616516cd6f18..57816b0414ab 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/data_query_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/data_query_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/default_value_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/default_value_spec.rb
index 1601e3bf0be2..43eba63bb2da 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/default_value_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/default_value_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/number_properties_only_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/number_properties_only_spec.rb
index c528b0ff2628..037ea1198a82 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/number_properties_only_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/number_properties_only_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/pet_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/pet_spec.rb
index 75d8b5f6079d..3d8ebe57a654 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/pet_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/pet_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/query_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/query_spec.rb
index 893943f3a776..df37a14bc77d 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/query_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/query_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/string_enum_ref_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/string_enum_ref_spec.rb
index 6bd5883ca5a6..f48d0924ce5b 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/string_enum_ref_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/string_enum_ref_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/tag_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/tag_spec.rb
index 9ee4d2c31c78..c145bef0fdb5 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/tag_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/tag_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/test_form_object_multipart_request_marker_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/test_form_object_multipart_request_marker_spec.rb
index 9cfa1af80f84..af1d0cf1fdd3 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/test_form_object_multipart_request_marker_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/test_form_object_multipart_request_marker_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-Generator version: 7.5.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
index 4fd29f1fc78e..71adac89ca1a 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb b/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
index 092ead39ae9c..e4167aa7a3c4 100644
--- a/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
+++ b/samples/client/echo_api/ruby-typhoeus/spec/models/test_query_style_form_explode_true_array_string_query_object_parameter_spec.rb
@@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 7.2.0-SNAPSHOT
+Generator version: 7.11.0-SNAPSHOT
=end
diff --git a/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/api/PingApiTest.java b/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/api/PingApiTest.java
index 0a39fbae22fb..7a1a957481fb 100644
--- a/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/api/PingApiTest.java
+++ b/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/api/PingApiTest.java
@@ -32,20 +32,29 @@ public class PingApiTest {
private final PingApi api = new PingApi();
-
/**
- *
- *
- *
- *
- * @throws ApiException
- * if the Api call fails
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getPingTest() throws ApiException {
+ Long petId = null;
+ String name = null;
+ String status = null;
+ InputStream response = api.getPing(petId)
+ .name(name)
+ .status(status)
+ .execute();
+ // TODO: test validations
+ }
+
+ /**
+ * @throws ApiException if the Api call fails
*/
@Test
public void postPingTest() throws ApiException {
SomeObj someObj = null;
- InputStream response = api.postPing(someObj);
+ InputStream response = api.postPing(someObj);
// TODO: test validations
}
-
+
}
diff --git a/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/model/SomeObjTest.java b/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/model/SomeObjTest.java
index 82da30bc403a..87d9d0ac2dc6 100644
--- a/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/model/SomeObjTest.java
+++ b/samples/client/others/java/okhttp-gson-streaming/src/test/java/org/openapitools/client/model/SomeObjTest.java
@@ -19,10 +19,10 @@
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 SomeObj
*/
diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml b/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
index ae545b66d114..9d271da9bb3c 100644
--- a/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
+++ b/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
@@ -66,7 +66,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -271,12 +271,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -287,6 +281,5 @@
2.1.1
3.0.2
5.10.2
- 1.10.0
diff --git a/samples/client/others/java/resttemplate-list-schema-validation/pom.xml b/samples/client/others/java/resttemplate-list-schema-validation/pom.xml
index 2801e8f6b4be..b4271e2651b2 100644
--- a/samples/client/others/java/resttemplate-list-schema-validation/pom.xml
+++ b/samples/client/others/java/resttemplate-list-schema-validation/pom.xml
@@ -66,7 +66,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -278,12 +278,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -294,6 +288,5 @@
1.3.5
2.0.2
5.10.2
- 1.10.0
diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml b/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml
index a7c1f9713a20..90bf1ab856c3 100644
--- a/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml
+++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml
@@ -66,7 +66,7 @@
-Xms512m -Xmx1500m
methods
- pertest
+ false
true
@@ -271,12 +271,6 @@
${junit-version}
test
-
- org.junit.platform
- junit-platform-runner
- ${junit-platform-runner.version}
- test
-
UTF-8
@@ -287,6 +281,5 @@
1.3.5
2.0.2
5.10.2
- 1.10.0
diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/test/java/org/openapitools/client/api/ResourceApiTest.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/test/java/org/openapitools/client/api/ResourceApiTest.java
index 2465072fbfb2..0eb89d8d784b 100644
--- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/test/java/org/openapitools/client/api/ResourceApiTest.java
+++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/test/java/org/openapitools/client/api/ResourceApiTest.java
@@ -14,8 +14,9 @@
package org.openapitools.client.api;
import java.io.File;
-import org.junit.Test;
-import org.junit.Ignore;
+import org.junit.jupiter.api.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 @@
/**
* API tests for ResourceApi
*/
-@Ignore
-public class ResourceApiTest {
+@Disabled
+class ResourceApiTest {
private final ResourceApi api = new ResourceApi();
@@ -38,11 +39,11 @@ public class ResourceApiTest {
*
* Response file abstraction
*
- * @throws ApiException
+ * @throws RestClientException
* if the Api call fails
*/
@Test
- public void resourceInResponseTest() {
+ void resourceInResponseTest() {
org.springframework.core.io.Resource response = api.resourceInResponse();
diff --git a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt
index 3ae3d3e40aae..3d6abd9cec53 100644
--- a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt
+++ b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/src/test/kotlin/org/openapitools/client/apis/DefaultApiTest.kt
@@ -20,7 +20,7 @@ import io.kotlintest.specs.ShouldSpec
import org.openapitools.client.apis.DefaultApi
-class DefaultApi : ShouldSpec() {
+class DefaultApiTest : ShouldSpec() {
init {
// uncomment below to create an instance of DefaultApi
//val apiInstance = DefaultApi()
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_category.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_category.R
index c7838edeb623..df2725e9cef7 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_category.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_category.R
@@ -3,19 +3,18 @@
context("Test Category")
-model.instance <- Category$new()
+model_instance <- Category$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_date.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_date.R
index 214fd8a352f5..d6c093206c0b 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_date.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_date.R
@@ -11,3 +11,18 @@ test_that("className", {
# uncomment below to test the property
#expect_equal(model.instance$`className`, "EXPECTED_RESULT")
})
+
+test_that("percent_description", {
+ # tests for the property `percent_description` (character)
+ # using % in the description
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`percent_description`, "EXPECTED_RESULT")
+})
+
+test_that("url_property", {
+ # tests for the property `url_property` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`url_property`, "EXPECTED_RESULT")
+})
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_fake_api.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_fake_api.R
index 7514044ac14f..bafe825a9a91 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_fake_api.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_fake_api.R
@@ -3,18 +3,66 @@
context("Test FakeApi")
-api.instance <- FakeApi$new()
+api_instance <- FakeApi$new()
-test_that("FakeDataFile", {
- # tests for FakeDataFile
+test_that("add_pet_optional", {
+ # tests for add_pet_optional
+ # base path: http://petstore.swagger.io/v2
+ # Add a new pet to the store (optional body)
+ #
+ # @param pet Pet Pet object that needs to be added to the store (optional)
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("fake_data_file", {
+ # tests for fake_data_file
# base path: http://petstore.swagger.io/v2
# test data_file to ensure it's escaped correctly
#
# @param dummy character dummy required parameter
- # @param DataFile. character header data file (optional)
+ # @param var_data_file character header data file (optional)
+ # @return [User]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("fake_path_array", {
+ # tests for fake_path_array
+ # base path: http://petstore.swagger.io/v2
+ # test array parameter in path
+ #
+ # @param path_array array[character] dummy path parameter
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
+test_that("fake_regular_expression", {
+ # tests for fake_regular_expression
+ # base path: http://petstore.swagger.io/v2
+ # test regular expression to ensure no exception
+ #
+ # @param reg_exp_test character dummy required parameter
+ # @return [Void]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("fake_set_query", {
+ # tests for fake_set_query
+ # base path: http://petstore.swagger.io/v2
+ # test set query parameter
+ #
+ # @param set_dummy set[character] set query
+ # @param array_dummy array[character] array query
+ # @return [Void]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_model_api_response.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_model_api_response.R
index d5dcef5716f9..d14ecb4a4fbd 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_model_api_response.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_model_api_response.R
@@ -3,26 +3,25 @@
context("Test ModelApiResponse")
-model.instance <- ModelApiResponse$new()
+model_instance <- ModelApiResponse$new()
test_that("code", {
# tests for the property `code` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`code`, "EXPECTED_RESULT")
})
test_that("type", {
# tests for the property `type` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`type`, "EXPECTED_RESULT")
})
test_that("message", {
# tests for the property `message` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`message`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_order.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_order.R
index 33b87520254d..5f254b6d26cc 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_order.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_order.R
@@ -3,33 +3,33 @@
context("Test Order")
-model.instance <- Order$new()
+model_instance <- Order$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("petId", {
# tests for the property `petId` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`petId`, "EXPECTED_RESULT")
})
test_that("quantity", {
# tests for the property `quantity` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`quantity`, "EXPECTED_RESULT")
})
test_that("shipDate", {
# tests for the property `shipDate` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`shipDate`, "EXPECTED_RESULT")
})
@@ -37,14 +37,13 @@ test_that("status", {
# tests for the property `status` (character)
# Order Status
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
test_that("complete", {
# tests for the property `complete` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`complete`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet.R
index ac3e4f31dd10..f23e5ee63486 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet.R
@@ -3,40 +3,40 @@
context("Test Pet")
-model.instance <- Pet$new()
+model_instance <- Pet$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("category", {
# tests for the property `category` (Category)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`category`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
test_that("photoUrls", {
# tests for the property `photoUrls` (array[character])
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`photoUrls`, "EXPECTED_RESULT")
})
test_that("tags", {
# tests for the property `tags` (array[Tag])
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`tags`, "EXPECTED_RESULT")
})
@@ -44,7 +44,6 @@ test_that("status", {
# tests for the property `status` (character)
# pet status in the store
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet_api.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet_api.R
index 7fbdd1a70deb..7655227b40ff 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet_api.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_pet_api.R
@@ -3,33 +3,35 @@
context("Test PetApi")
-api.instance <- PetApi$new()
+api_instance <- PetApi$new()
-test_that("AddPet", {
- # tests for AddPet
+test_that("add_pet", {
+ # tests for add_pet
# base path: http://petstore.swagger.io/v2
# Add a new pet to the store
- # @param body Pet Pet object that needs to be added to the store
- # @return [Void]
+ #
+ # @param pet Pet Pet object that needs to be added to the store
+ # @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("DeletePet", {
- # tests for DeletePet
+test_that("delete_pet", {
+ # tests for delete_pet
# base path: http://petstore.swagger.io/v2
# Deletes a pet
- # @param pet.id integer Pet id to delete
- # @param api.key character (optional)
+ #
+ # @param pet_id integer Pet id to delete
+ # @param api_key character (optional)
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("FindPetsByStatus", {
- # tests for FindPetsByStatus
+test_that("find_pets_by_status", {
+ # tests for find_pets_by_status
# base path: http://petstore.swagger.io/v2
# Finds Pets by status
# Multiple status values can be provided with comma separated strings
@@ -40,8 +42,8 @@ test_that("FindPetsByStatus", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("FindPetsByTags", {
- # tests for FindPetsByTags
+test_that("find_pets_by_tags", {
+ # tests for find_pets_by_tags
# base path: http://petstore.swagger.io/v2
# Finds Pets by tags
# Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
@@ -52,34 +54,60 @@ test_that("FindPetsByTags", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetPetById", {
- # tests for GetPetById
+test_that("get_pet_by_id", {
+ # tests for get_pet_by_id
# base path: http://petstore.swagger.io/v2
# Find pet by ID
# Returns a single pet
- # @param pet.id integer ID of pet to return
+ # @param pet_id integer ID of pet to return
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("get_pet_by_id_streaming", {
+ # tests for get_pet_by_id_streaming
+ # base path: http://petstore.swagger.io/v2
+ # Find pet by ID (streaming)
+ # Returns a single pet
+ # @param pet_id integer ID of pet to return
# @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UpdatePet", {
- # tests for UpdatePet
+test_that("test_header", {
+ # tests for test_header
+ # base path: http://petstore.swagger.io/v2
+ # Header test
+ # Header test
+ # @param header_test_int integer header test int
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("update_pet", {
+ # tests for update_pet
# base path: http://petstore.swagger.io/v2
# Update an existing pet
- # @param body Pet Pet object that needs to be added to the store
- # @return [Void]
+ #
+ # @param pet Pet Pet object that needs to be added to the store
+ # @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UpdatePetWithForm", {
- # tests for UpdatePetWithForm
+test_that("update_pet_with_form", {
+ # tests for update_pet_with_form
# base path: http://petstore.swagger.io/v2
# Updates a pet in the store with form data
- # @param pet.id integer ID of pet that needs to be updated
+ #
+ # @param pet_id integer ID of pet that needs to be updated
# @param name character Updated name of the pet (optional)
# @param status character Updated status of the pet (optional)
# @return [Void]
@@ -88,16 +116,16 @@ test_that("UpdatePetWithForm", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UploadFile", {
- # tests for UploadFile
+test_that("upload_file", {
+ # tests for upload_file
# base path: http://petstore.swagger.io/v2
# uploads an image
- # @param pet.id integer ID of pet to update
- # @param additional.metadata character Additional data to pass to server (optional)
+ #
+ # @param pet_id integer ID of pet to update
+ # @param additional_metadata character Additional data to pass to server (optional)
# @param file data.frame file to upload (optional)
# @return [ModelApiResponse]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_special.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_special.R
index c76671b21334..9fc5192ff217 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_special.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_special.R
@@ -5,23 +5,51 @@ context("Test Special")
model_instance <- Special$new()
-test_that("self", {
- # tests for the property `self` (integer)
+test_that("set_test", {
+ # tests for the property `set_test` (set[character])
# uncomment below to test the property
- #expect_equal(model.instance$`self`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`set_test`, "EXPECTED_RESULT")
})
-test_that("private", {
- # tests for the property `private` (character)
+test_that("item_self", {
+ # tests for the property `item_self` (integer)
# uncomment below to test the property
- #expect_equal(model.instance$`private`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`item_self`, "EXPECTED_RESULT")
})
-test_that("super", {
- # tests for the property `super` (character)
+test_that("item_private", {
+ # tests for the property `item_private` (character)
# uncomment below to test the property
- #expect_equal(model.instance$`super`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`item_private`, "EXPECTED_RESULT")
+})
+
+test_that("item_super", {
+ # tests for the property `item_super` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`item_super`, "EXPECTED_RESULT")
+})
+
+test_that("123_number", {
+ # tests for the property `123_number` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`123_number`, "EXPECTED_RESULT")
+})
+
+test_that("array[test]", {
+ # tests for the property `array[test]` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`array[test]`, "EXPECTED_RESULT")
+})
+
+test_that("empty_string", {
+ # tests for the property `empty_string` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`empty_string`, "EXPECTED_RESULT")
})
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R
index 3ce6f412c93d..b88a68985786 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_store_api.R
@@ -3,22 +3,22 @@
context("Test StoreApi")
-api.instance <- StoreApi$new()
+api_instance <- StoreApi$new()
-test_that("DeleteOrder", {
- # tests for DeleteOrder
+test_that("delete_order", {
+ # tests for delete_order
# base path: http://petstore.swagger.io/v2
# Delete purchase order by ID
# For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
- # @param order.id character ID of the order that needs to be deleted
+ # @param order_id character ID of the order that needs to be deleted
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetInventory", {
- # tests for GetInventory
+test_that("get_inventory", {
+ # tests for get_inventory
# base path: http://petstore.swagger.io/v2
# Returns pet inventories by status
# Returns a map of status codes to quantities
@@ -28,26 +28,26 @@ test_that("GetInventory", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetOrderById", {
- # tests for GetOrderById
+test_that("get_order_by_id", {
+ # tests for get_order_by_id
# base path: http://petstore.swagger.io/v2
# Find purchase order by ID
# For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
- # @param order.id integer ID of pet that needs to be fetched
+ # @param order_id integer ID of pet that needs to be fetched
# @return [Order]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("PlaceOrder", {
- # tests for PlaceOrder
+test_that("place_order", {
+ # tests for place_order
# base path: http://petstore.swagger.io/v2
# Place an order for a pet
- # @param body Order order placed for purchasing the pet
+ #
+ # @param order Order order placed for purchasing the pet
# @return [Order]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_tag.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_tag.R
index 2dd6d369af0a..af8af7062cd4 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_tag.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_tag.R
@@ -3,19 +3,18 @@
context("Test Tag")
-model.instance <- Tag$new()
+model_instance <- Tag$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user.R
index 9929623b42f8..958d3bd8620f 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user.R
@@ -3,54 +3,54 @@
context("Test User")
-model.instance <- User$new()
+model_instance <- User$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("username", {
# tests for the property `username` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`username`, "EXPECTED_RESULT")
})
test_that("firstName", {
# tests for the property `firstName` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`firstName`, "EXPECTED_RESULT")
})
test_that("lastName", {
# tests for the property `lastName` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`lastName`, "EXPECTED_RESULT")
})
test_that("email", {
# tests for the property `email` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`email`, "EXPECTED_RESULT")
})
test_that("password", {
# tests for the property `password` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`password`, "EXPECTED_RESULT")
})
test_that("phone", {
# tests for the property `phone` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`phone`, "EXPECTED_RESULT")
})
@@ -58,7 +58,6 @@ test_that("userStatus", {
# tests for the property `userStatus` (integer)
# User Status
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`userStatus`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user_api.R b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user_api.R
index 8b8c3ba38477..fb10ba15bc50 100644
--- a/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user_api.R
+++ b/samples/client/petstore/R-httr2-wrapper/tests/testthat/test_user_api.R
@@ -3,44 +3,46 @@
context("Test UserApi")
-api.instance <- UserApi$new()
+api_instance <- UserApi$new()
-test_that("CreateUser", {
- # tests for CreateUser
+test_that("create_user", {
+ # tests for create_user
# base path: http://petstore.swagger.io/v2
# Create user
# This can only be done by the logged in user.
- # @param body User Created user object
+ # @param user User Created user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("CreateUsersWithArrayInput", {
- # tests for CreateUsersWithArrayInput
+test_that("create_users_with_array_input", {
+ # tests for create_users_with_array_input
# base path: http://petstore.swagger.io/v2
# Creates list of users with given input array
- # @param body array[User] List of user object
+ #
+ # @param user array[User] List of user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("CreateUsersWithListInput", {
- # tests for CreateUsersWithListInput
+test_that("create_users_with_list_input", {
+ # tests for create_users_with_list_input
# base path: http://petstore.swagger.io/v2
# Creates list of users with given input array
- # @param body array[User] List of user object
+ #
+ # @param user array[User] List of user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("DeleteUser", {
- # tests for DeleteUser
+test_that("delete_user", {
+ # tests for delete_user
# base path: http://petstore.swagger.io/v2
# Delete user
# This can only be done by the logged in user.
@@ -51,10 +53,11 @@ test_that("DeleteUser", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetUserByName", {
- # tests for GetUserByName
+test_that("get_user_by_name", {
+ # tests for get_user_by_name
# base path: http://petstore.swagger.io/v2
# Get user by user name
+ #
# @param username character The name that needs to be fetched. Use user1 for testing.
# @return [User]
@@ -62,10 +65,11 @@ test_that("GetUserByName", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("LoginUser", {
- # tests for LoginUser
+test_that("login_user", {
+ # tests for login_user
# base path: http://petstore.swagger.io/v2
# Logs user into the system
+ #
# @param username character The user name for login
# @param password character The password for login in clear text
# @return [character]
@@ -74,26 +78,26 @@ test_that("LoginUser", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("LogoutUser", {
- # tests for LogoutUser
+test_that("logout_user", {
+ # tests for logout_user
# base path: http://petstore.swagger.io/v2
# Logs out current logged in user session
+ #
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UpdateUser", {
- # tests for UpdateUser
+test_that("update_user", {
+ # tests for update_user
# base path: http://petstore.swagger.io/v2
# Updated user
# This can only be done by the logged in user.
# @param username character name that need to be deleted
- # @param body User Updated user object
+ # @param user User Updated user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_category.R b/samples/client/petstore/R-httr2/tests/testthat/test_category.R
index c7838edeb623..df2725e9cef7 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_category.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_category.R
@@ -3,19 +3,18 @@
context("Test Category")
-model.instance <- Category$new()
+model_instance <- Category$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_date.R b/samples/client/petstore/R-httr2/tests/testthat/test_date.R
index 214fd8a352f5..093e32f2fbfb 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_date.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_date.R
@@ -11,3 +11,18 @@ test_that("className", {
# uncomment below to test the property
#expect_equal(model.instance$`className`, "EXPECTED_RESULT")
})
+
+test_that("percent", {
+ # tests for the property `percent` (character)
+ # using % in the description
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`percent`, "EXPECTED_RESULT")
+})
+
+test_that("url_property", {
+ # tests for the property `url_property` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`url_property`, "EXPECTED_RESULT")
+})
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_fake_api.R b/samples/client/petstore/R-httr2/tests/testthat/test_fake_api.R
index 7514044ac14f..2297c1ae9fbb 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_fake_api.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_fake_api.R
@@ -3,18 +3,66 @@
context("Test FakeApi")
-api.instance <- FakeApi$new()
+api_instance <- FakeApi$new()
-test_that("FakeDataFile", {
- # tests for FakeDataFile
+test_that("add_pet_optional", {
+ # tests for add_pet_optional
+ # base path: http://petstore.swagger.io/v2
+ # Add a new pet to the store (optional body)
+ #
+ # @param pet Pet Pet object that needs to be added to the store (optional)
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("fake_data_file", {
+ # tests for fake_data_file
# base path: http://petstore.swagger.io/v2
# test data_file to ensure it's escaped correctly
#
# @param dummy character dummy required parameter
- # @param DataFile. character header data file (optional)
+ # @param var_data_file character header data file (optional)
+ # @return [User]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("fake_path_array", {
+ # tests for fake_path_array
+ # base path: http://petstore.swagger.io/v2
+ # test array parameter in path
+ #
+ # @param path_array_parameter array[character] dummy path parameter
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
+test_that("fake_regular_expression", {
+ # tests for fake_regular_expression
+ # base path: http://petstore.swagger.io/v2
+ # test regular expression to ensure no exception
+ #
+ # @param reg_exp_test character dummy required parameter
+ # @return [Void]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("fake_set_query", {
+ # tests for fake_set_query
+ # base path: http://petstore.swagger.io/v2
+ # test set query parameter
+ #
+ # @param set_dummy set[character] set query
+ # @param array_dummy array[character] array query
+ # @return [Void]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_model_api_response.R b/samples/client/petstore/R-httr2/tests/testthat/test_model_api_response.R
index d5dcef5716f9..d14ecb4a4fbd 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_model_api_response.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_model_api_response.R
@@ -3,26 +3,25 @@
context("Test ModelApiResponse")
-model.instance <- ModelApiResponse$new()
+model_instance <- ModelApiResponse$new()
test_that("code", {
# tests for the property `code` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`code`, "EXPECTED_RESULT")
})
test_that("type", {
# tests for the property `type` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`type`, "EXPECTED_RESULT")
})
test_that("message", {
# tests for the property `message` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`message`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_order.R b/samples/client/petstore/R-httr2/tests/testthat/test_order.R
index 33b87520254d..5f254b6d26cc 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_order.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_order.R
@@ -3,33 +3,33 @@
context("Test Order")
-model.instance <- Order$new()
+model_instance <- Order$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("petId", {
# tests for the property `petId` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`petId`, "EXPECTED_RESULT")
})
test_that("quantity", {
# tests for the property `quantity` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`quantity`, "EXPECTED_RESULT")
})
test_that("shipDate", {
# tests for the property `shipDate` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`shipDate`, "EXPECTED_RESULT")
})
@@ -37,14 +37,13 @@ test_that("status", {
# tests for the property `status` (character)
# Order Status
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
test_that("complete", {
# tests for the property `complete` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`complete`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_pet.R b/samples/client/petstore/R-httr2/tests/testthat/test_pet.R
index ac3e4f31dd10..f23e5ee63486 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_pet.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_pet.R
@@ -3,40 +3,40 @@
context("Test Pet")
-model.instance <- Pet$new()
+model_instance <- Pet$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("category", {
# tests for the property `category` (Category)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`category`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
test_that("photoUrls", {
# tests for the property `photoUrls` (array[character])
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`photoUrls`, "EXPECTED_RESULT")
})
test_that("tags", {
# tests for the property `tags` (array[Tag])
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`tags`, "EXPECTED_RESULT")
})
@@ -44,7 +44,6 @@ test_that("status", {
# tests for the property `status` (character)
# pet status in the store
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_pet_api.R b/samples/client/petstore/R-httr2/tests/testthat/test_pet_api.R
index 7fbdd1a70deb..7655227b40ff 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_pet_api.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_pet_api.R
@@ -3,33 +3,35 @@
context("Test PetApi")
-api.instance <- PetApi$new()
+api_instance <- PetApi$new()
-test_that("AddPet", {
- # tests for AddPet
+test_that("add_pet", {
+ # tests for add_pet
# base path: http://petstore.swagger.io/v2
# Add a new pet to the store
- # @param body Pet Pet object that needs to be added to the store
- # @return [Void]
+ #
+ # @param pet Pet Pet object that needs to be added to the store
+ # @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("DeletePet", {
- # tests for DeletePet
+test_that("delete_pet", {
+ # tests for delete_pet
# base path: http://petstore.swagger.io/v2
# Deletes a pet
- # @param pet.id integer Pet id to delete
- # @param api.key character (optional)
+ #
+ # @param pet_id integer Pet id to delete
+ # @param api_key character (optional)
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("FindPetsByStatus", {
- # tests for FindPetsByStatus
+test_that("find_pets_by_status", {
+ # tests for find_pets_by_status
# base path: http://petstore.swagger.io/v2
# Finds Pets by status
# Multiple status values can be provided with comma separated strings
@@ -40,8 +42,8 @@ test_that("FindPetsByStatus", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("FindPetsByTags", {
- # tests for FindPetsByTags
+test_that("find_pets_by_tags", {
+ # tests for find_pets_by_tags
# base path: http://petstore.swagger.io/v2
# Finds Pets by tags
# Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
@@ -52,34 +54,60 @@ test_that("FindPetsByTags", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetPetById", {
- # tests for GetPetById
+test_that("get_pet_by_id", {
+ # tests for get_pet_by_id
# base path: http://petstore.swagger.io/v2
# Find pet by ID
# Returns a single pet
- # @param pet.id integer ID of pet to return
+ # @param pet_id integer ID of pet to return
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("get_pet_by_id_streaming", {
+ # tests for get_pet_by_id_streaming
+ # base path: http://petstore.swagger.io/v2
+ # Find pet by ID (streaming)
+ # Returns a single pet
+ # @param pet_id integer ID of pet to return
# @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UpdatePet", {
- # tests for UpdatePet
+test_that("test_header", {
+ # tests for test_header
+ # base path: http://petstore.swagger.io/v2
+ # Header test
+ # Header test
+ # @param header_test_int integer header test int
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("update_pet", {
+ # tests for update_pet
# base path: http://petstore.swagger.io/v2
# Update an existing pet
- # @param body Pet Pet object that needs to be added to the store
- # @return [Void]
+ #
+ # @param pet Pet Pet object that needs to be added to the store
+ # @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UpdatePetWithForm", {
- # tests for UpdatePetWithForm
+test_that("update_pet_with_form", {
+ # tests for update_pet_with_form
# base path: http://petstore.swagger.io/v2
# Updates a pet in the store with form data
- # @param pet.id integer ID of pet that needs to be updated
+ #
+ # @param pet_id integer ID of pet that needs to be updated
# @param name character Updated name of the pet (optional)
# @param status character Updated status of the pet (optional)
# @return [Void]
@@ -88,16 +116,16 @@ test_that("UpdatePetWithForm", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UploadFile", {
- # tests for UploadFile
+test_that("upload_file", {
+ # tests for upload_file
# base path: http://petstore.swagger.io/v2
# uploads an image
- # @param pet.id integer ID of pet to update
- # @param additional.metadata character Additional data to pass to server (optional)
+ #
+ # @param pet_id integer ID of pet to update
+ # @param additional_metadata character Additional data to pass to server (optional)
# @param file data.frame file to upload (optional)
# @return [ModelApiResponse]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_special.R b/samples/client/petstore/R-httr2/tests/testthat/test_special.R
index c76671b21334..9fc5192ff217 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_special.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_special.R
@@ -5,23 +5,51 @@ context("Test Special")
model_instance <- Special$new()
-test_that("self", {
- # tests for the property `self` (integer)
+test_that("set_test", {
+ # tests for the property `set_test` (set[character])
# uncomment below to test the property
- #expect_equal(model.instance$`self`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`set_test`, "EXPECTED_RESULT")
})
-test_that("private", {
- # tests for the property `private` (character)
+test_that("item_self", {
+ # tests for the property `item_self` (integer)
# uncomment below to test the property
- #expect_equal(model.instance$`private`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`item_self`, "EXPECTED_RESULT")
})
-test_that("super", {
- # tests for the property `super` (character)
+test_that("item_private", {
+ # tests for the property `item_private` (character)
# uncomment below to test the property
- #expect_equal(model.instance$`super`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`item_private`, "EXPECTED_RESULT")
+})
+
+test_that("item_super", {
+ # tests for the property `item_super` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`item_super`, "EXPECTED_RESULT")
+})
+
+test_that("123_number", {
+ # tests for the property `123_number` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`123_number`, "EXPECTED_RESULT")
+})
+
+test_that("array[test]", {
+ # tests for the property `array[test]` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`array[test]`, "EXPECTED_RESULT")
+})
+
+test_that("empty_string", {
+ # tests for the property `empty_string` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`empty_string`, "EXPECTED_RESULT")
})
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R b/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R
index 3ce6f412c93d..b88a68985786 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_store_api.R
@@ -3,22 +3,22 @@
context("Test StoreApi")
-api.instance <- StoreApi$new()
+api_instance <- StoreApi$new()
-test_that("DeleteOrder", {
- # tests for DeleteOrder
+test_that("delete_order", {
+ # tests for delete_order
# base path: http://petstore.swagger.io/v2
# Delete purchase order by ID
# For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
- # @param order.id character ID of the order that needs to be deleted
+ # @param order_id character ID of the order that needs to be deleted
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetInventory", {
- # tests for GetInventory
+test_that("get_inventory", {
+ # tests for get_inventory
# base path: http://petstore.swagger.io/v2
# Returns pet inventories by status
# Returns a map of status codes to quantities
@@ -28,26 +28,26 @@ test_that("GetInventory", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetOrderById", {
- # tests for GetOrderById
+test_that("get_order_by_id", {
+ # tests for get_order_by_id
# base path: http://petstore.swagger.io/v2
# Find purchase order by ID
# For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
- # @param order.id integer ID of pet that needs to be fetched
+ # @param order_id integer ID of pet that needs to be fetched
# @return [Order]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("PlaceOrder", {
- # tests for PlaceOrder
+test_that("place_order", {
+ # tests for place_order
# base path: http://petstore.swagger.io/v2
# Place an order for a pet
- # @param body Order order placed for purchasing the pet
+ #
+ # @param order Order order placed for purchasing the pet
# @return [Order]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_tag.R b/samples/client/petstore/R-httr2/tests/testthat/test_tag.R
index 2dd6d369af0a..af8af7062cd4 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_tag.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_tag.R
@@ -3,19 +3,18 @@
context("Test Tag")
-model.instance <- Tag$new()
+model_instance <- Tag$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_user.R b/samples/client/petstore/R-httr2/tests/testthat/test_user.R
index 9929623b42f8..958d3bd8620f 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_user.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_user.R
@@ -3,54 +3,54 @@
context("Test User")
-model.instance <- User$new()
+model_instance <- User$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("username", {
# tests for the property `username` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`username`, "EXPECTED_RESULT")
})
test_that("firstName", {
# tests for the property `firstName` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`firstName`, "EXPECTED_RESULT")
})
test_that("lastName", {
# tests for the property `lastName` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`lastName`, "EXPECTED_RESULT")
})
test_that("email", {
# tests for the property `email` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`email`, "EXPECTED_RESULT")
})
test_that("password", {
# tests for the property `password` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`password`, "EXPECTED_RESULT")
})
test_that("phone", {
# tests for the property `phone` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`phone`, "EXPECTED_RESULT")
})
@@ -58,7 +58,6 @@ test_that("userStatus", {
# tests for the property `userStatus` (integer)
# User Status
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`userStatus`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R-httr2/tests/testthat/test_user_api.R b/samples/client/petstore/R-httr2/tests/testthat/test_user_api.R
index 8b8c3ba38477..fb10ba15bc50 100644
--- a/samples/client/petstore/R-httr2/tests/testthat/test_user_api.R
+++ b/samples/client/petstore/R-httr2/tests/testthat/test_user_api.R
@@ -3,44 +3,46 @@
context("Test UserApi")
-api.instance <- UserApi$new()
+api_instance <- UserApi$new()
-test_that("CreateUser", {
- # tests for CreateUser
+test_that("create_user", {
+ # tests for create_user
# base path: http://petstore.swagger.io/v2
# Create user
# This can only be done by the logged in user.
- # @param body User Created user object
+ # @param user User Created user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("CreateUsersWithArrayInput", {
- # tests for CreateUsersWithArrayInput
+test_that("create_users_with_array_input", {
+ # tests for create_users_with_array_input
# base path: http://petstore.swagger.io/v2
# Creates list of users with given input array
- # @param body array[User] List of user object
+ #
+ # @param user array[User] List of user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("CreateUsersWithListInput", {
- # tests for CreateUsersWithListInput
+test_that("create_users_with_list_input", {
+ # tests for create_users_with_list_input
# base path: http://petstore.swagger.io/v2
# Creates list of users with given input array
- # @param body array[User] List of user object
+ #
+ # @param user array[User] List of user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("DeleteUser", {
- # tests for DeleteUser
+test_that("delete_user", {
+ # tests for delete_user
# base path: http://petstore.swagger.io/v2
# Delete user
# This can only be done by the logged in user.
@@ -51,10 +53,11 @@ test_that("DeleteUser", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("GetUserByName", {
- # tests for GetUserByName
+test_that("get_user_by_name", {
+ # tests for get_user_by_name
# base path: http://petstore.swagger.io/v2
# Get user by user name
+ #
# @param username character The name that needs to be fetched. Use user1 for testing.
# @return [User]
@@ -62,10 +65,11 @@ test_that("GetUserByName", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("LoginUser", {
- # tests for LoginUser
+test_that("login_user", {
+ # tests for login_user
# base path: http://petstore.swagger.io/v2
# Logs user into the system
+ #
# @param username character The user name for login
# @param password character The password for login in clear text
# @return [character]
@@ -74,26 +78,26 @@ test_that("LoginUser", {
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("LogoutUser", {
- # tests for LogoutUser
+test_that("logout_user", {
+ # tests for logout_user
# base path: http://petstore.swagger.io/v2
# Logs out current logged in user session
+ #
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-test_that("UpdateUser", {
- # tests for UpdateUser
+test_that("update_user", {
+ # tests for update_user
# base path: http://petstore.swagger.io/v2
# Updated user
# This can only be done by the logged in user.
# @param username character name that need to be deleted
- # @param body User Updated user object
+ # @param user User Updated user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_category.R b/samples/client/petstore/R/tests/testthat/test_category.R
index c7838edeb623..df2725e9cef7 100644
--- a/samples/client/petstore/R/tests/testthat/test_category.R
+++ b/samples/client/petstore/R/tests/testthat/test_category.R
@@ -3,19 +3,18 @@
context("Test Category")
-model.instance <- Category$new()
+model_instance <- Category$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_date.R b/samples/client/petstore/R/tests/testthat/test_date.R
index 214fd8a352f5..d6c093206c0b 100644
--- a/samples/client/petstore/R/tests/testthat/test_date.R
+++ b/samples/client/petstore/R/tests/testthat/test_date.R
@@ -11,3 +11,18 @@ test_that("className", {
# uncomment below to test the property
#expect_equal(model.instance$`className`, "EXPECTED_RESULT")
})
+
+test_that("percent_description", {
+ # tests for the property `percent_description` (character)
+ # using % in the description
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`percent_description`, "EXPECTED_RESULT")
+})
+
+test_that("url_property", {
+ # tests for the property `url_property` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`url_property`, "EXPECTED_RESULT")
+})
diff --git a/samples/client/petstore/R/tests/testthat/test_fake_api.R b/samples/client/petstore/R/tests/testthat/test_fake_api.R
index 7514044ac14f..abcc33f6ca6a 100644
--- a/samples/client/petstore/R/tests/testthat/test_fake_api.R
+++ b/samples/client/petstore/R/tests/testthat/test_fake_api.R
@@ -3,7 +3,19 @@
context("Test FakeApi")
-api.instance <- FakeApi$new()
+api_instance <- FakeApi$new()
+
+test_that("AddPetOptional", {
+ # tests for AddPetOptional
+ # base path: http://petstore.swagger.io/v2
+ # Add a new pet to the store (optional body)
+ #
+ # @param pet Pet Pet object that needs to be added to the store (optional)
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
test_that("FakeDataFile", {
# tests for FakeDataFile
@@ -11,10 +23,46 @@ test_that("FakeDataFile", {
# test data_file to ensure it's escaped correctly
#
# @param dummy character dummy required parameter
- # @param DataFile. character header data file (optional)
+ # @param var_data_file character header data file (optional)
+ # @return [User]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("FakePathArray", {
+ # tests for FakePathArray
+ # base path: http://petstore.swagger.io/v2
+ # test array parameter in path
+ #
+ # @param path_array array[character] dummy path parameter
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
+test_that("FakeRegularExpression", {
+ # tests for FakeRegularExpression
+ # base path: http://petstore.swagger.io/v2
+ # test regular expression to ensure no exception
+ #
+ # @param reg_exp_test character dummy required parameter
+ # @return [Void]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("FakeSetQuery", {
+ # tests for FakeSetQuery
+ # base path: http://petstore.swagger.io/v2
+ # test set query parameter
+ #
+ # @param set_dummy set[character] set query
+ # @param array_dummy array[character] array query
+ # @return [Void]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
diff --git a/samples/client/petstore/R/tests/testthat/test_model_api_response.R b/samples/client/petstore/R/tests/testthat/test_model_api_response.R
index d5dcef5716f9..d14ecb4a4fbd 100644
--- a/samples/client/petstore/R/tests/testthat/test_model_api_response.R
+++ b/samples/client/petstore/R/tests/testthat/test_model_api_response.R
@@ -3,26 +3,25 @@
context("Test ModelApiResponse")
-model.instance <- ModelApiResponse$new()
+model_instance <- ModelApiResponse$new()
test_that("code", {
# tests for the property `code` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`code`, "EXPECTED_RESULT")
})
test_that("type", {
# tests for the property `type` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`type`, "EXPECTED_RESULT")
})
test_that("message", {
# tests for the property `message` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`message`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_order.R b/samples/client/petstore/R/tests/testthat/test_order.R
index 33b87520254d..5f254b6d26cc 100644
--- a/samples/client/petstore/R/tests/testthat/test_order.R
+++ b/samples/client/petstore/R/tests/testthat/test_order.R
@@ -3,33 +3,33 @@
context("Test Order")
-model.instance <- Order$new()
+model_instance <- Order$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("petId", {
# tests for the property `petId` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`petId`, "EXPECTED_RESULT")
})
test_that("quantity", {
# tests for the property `quantity` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`quantity`, "EXPECTED_RESULT")
})
test_that("shipDate", {
# tests for the property `shipDate` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`shipDate`, "EXPECTED_RESULT")
})
@@ -37,14 +37,13 @@ test_that("status", {
# tests for the property `status` (character)
# Order Status
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
test_that("complete", {
# tests for the property `complete` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`complete`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_pet.R b/samples/client/petstore/R/tests/testthat/test_pet.R
index ac3e4f31dd10..f23e5ee63486 100644
--- a/samples/client/petstore/R/tests/testthat/test_pet.R
+++ b/samples/client/petstore/R/tests/testthat/test_pet.R
@@ -3,40 +3,40 @@
context("Test Pet")
-model.instance <- Pet$new()
+model_instance <- Pet$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("category", {
# tests for the property `category` (Category)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`category`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
test_that("photoUrls", {
# tests for the property `photoUrls` (array[character])
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`photoUrls`, "EXPECTED_RESULT")
})
test_that("tags", {
# tests for the property `tags` (array[Tag])
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`tags`, "EXPECTED_RESULT")
})
@@ -44,7 +44,6 @@ test_that("status", {
# tests for the property `status` (character)
# pet status in the store
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_pet_api.R b/samples/client/petstore/R/tests/testthat/test_pet_api.R
index 7fbdd1a70deb..e9fce704b6e8 100644
--- a/samples/client/petstore/R/tests/testthat/test_pet_api.R
+++ b/samples/client/petstore/R/tests/testthat/test_pet_api.R
@@ -3,14 +3,15 @@
context("Test PetApi")
-api.instance <- PetApi$new()
+api_instance <- PetApi$new()
test_that("AddPet", {
# tests for AddPet
# base path: http://petstore.swagger.io/v2
# Add a new pet to the store
- # @param body Pet Pet object that needs to be added to the store
- # @return [Void]
+ #
+ # @param pet Pet Pet object that needs to be added to the store
+ # @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
@@ -20,8 +21,9 @@ test_that("DeletePet", {
# tests for DeletePet
# base path: http://petstore.swagger.io/v2
# Deletes a pet
- # @param pet.id integer Pet id to delete
- # @param api.key character (optional)
+ #
+ # @param pet_id integer Pet id to delete
+ # @param api_key character (optional)
# @return [Void]
# uncomment below to test the operation
@@ -57,7 +59,31 @@ test_that("GetPetById", {
# base path: http://petstore.swagger.io/v2
# Find pet by ID
# Returns a single pet
- # @param pet.id integer ID of pet to return
+ # @param pet_id integer ID of pet to return
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("GetPetByIdStreaming", {
+ # tests for GetPetByIdStreaming
+ # base path: http://petstore.swagger.io/v2
+ # Find pet by ID (streaming)
+ # Returns a single pet
+ # @param pet_id integer ID of pet to return
+ # @return [Pet]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("TestHeader", {
+ # tests for TestHeader
+ # base path: http://petstore.swagger.io/v2
+ # Header test
+ # Header test
+ # @param header_test_int integer header test int
# @return [Pet]
# uncomment below to test the operation
@@ -68,8 +94,9 @@ test_that("UpdatePet", {
# tests for UpdatePet
# base path: http://petstore.swagger.io/v2
# Update an existing pet
- # @param body Pet Pet object that needs to be added to the store
- # @return [Void]
+ #
+ # @param pet Pet Pet object that needs to be added to the store
+ # @return [Pet]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
@@ -79,7 +106,8 @@ test_that("UpdatePetWithForm", {
# tests for UpdatePetWithForm
# base path: http://petstore.swagger.io/v2
# Updates a pet in the store with form data
- # @param pet.id integer ID of pet that needs to be updated
+ #
+ # @param pet_id integer ID of pet that needs to be updated
# @param name character Updated name of the pet (optional)
# @param status character Updated status of the pet (optional)
# @return [Void]
@@ -92,12 +120,12 @@ test_that("UploadFile", {
# tests for UploadFile
# base path: http://petstore.swagger.io/v2
# uploads an image
- # @param pet.id integer ID of pet to update
- # @param additional.metadata character Additional data to pass to server (optional)
+ #
+ # @param pet_id integer ID of pet to update
+ # @param additional_metadata character Additional data to pass to server (optional)
# @param file data.frame file to upload (optional)
# @return [ModelApiResponse]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_special.R b/samples/client/petstore/R/tests/testthat/test_special.R
index c76671b21334..9fc5192ff217 100644
--- a/samples/client/petstore/R/tests/testthat/test_special.R
+++ b/samples/client/petstore/R/tests/testthat/test_special.R
@@ -5,23 +5,51 @@ context("Test Special")
model_instance <- Special$new()
-test_that("self", {
- # tests for the property `self` (integer)
+test_that("set_test", {
+ # tests for the property `set_test` (set[character])
# uncomment below to test the property
- #expect_equal(model.instance$`self`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`set_test`, "EXPECTED_RESULT")
})
-test_that("private", {
- # tests for the property `private` (character)
+test_that("item_self", {
+ # tests for the property `item_self` (integer)
# uncomment below to test the property
- #expect_equal(model.instance$`private`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`item_self`, "EXPECTED_RESULT")
})
-test_that("super", {
- # tests for the property `super` (character)
+test_that("item_private", {
+ # tests for the property `item_private` (character)
# uncomment below to test the property
- #expect_equal(model.instance$`super`, "EXPECTED_RESULT")
+ #expect_equal(model.instance$`item_private`, "EXPECTED_RESULT")
+})
+
+test_that("item_super", {
+ # tests for the property `item_super` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`item_super`, "EXPECTED_RESULT")
+})
+
+test_that("123_number", {
+ # tests for the property `123_number` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`123_number`, "EXPECTED_RESULT")
+})
+
+test_that("array[test]", {
+ # tests for the property `array[test]` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`array[test]`, "EXPECTED_RESULT")
+})
+
+test_that("empty_string", {
+ # tests for the property `empty_string` (character)
+
+ # uncomment below to test the property
+ #expect_equal(model.instance$`empty_string`, "EXPECTED_RESULT")
})
diff --git a/samples/client/petstore/R/tests/testthat/test_store_api.R b/samples/client/petstore/R/tests/testthat/test_store_api.R
index 3ce6f412c93d..5efae519e2b4 100644
--- a/samples/client/petstore/R/tests/testthat/test_store_api.R
+++ b/samples/client/petstore/R/tests/testthat/test_store_api.R
@@ -3,14 +3,14 @@
context("Test StoreApi")
-api.instance <- StoreApi$new()
+api_instance <- StoreApi$new()
test_that("DeleteOrder", {
# tests for DeleteOrder
# base path: http://petstore.swagger.io/v2
# Delete purchase order by ID
# For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
- # @param order.id character ID of the order that needs to be deleted
+ # @param order_id character ID of the order that needs to be deleted
# @return [Void]
# uncomment below to test the operation
@@ -33,7 +33,7 @@ test_that("GetOrderById", {
# base path: http://petstore.swagger.io/v2
# Find purchase order by ID
# For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
- # @param order.id integer ID of pet that needs to be fetched
+ # @param order_id integer ID of pet that needs to be fetched
# @return [Order]
# uncomment below to test the operation
@@ -44,10 +44,10 @@ test_that("PlaceOrder", {
# tests for PlaceOrder
# base path: http://petstore.swagger.io/v2
# Place an order for a pet
- # @param body Order order placed for purchasing the pet
+ #
+ # @param order Order order placed for purchasing the pet
# @return [Order]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_tag.R b/samples/client/petstore/R/tests/testthat/test_tag.R
index 2dd6d369af0a..af8af7062cd4 100644
--- a/samples/client/petstore/R/tests/testthat/test_tag.R
+++ b/samples/client/petstore/R/tests/testthat/test_tag.R
@@ -3,19 +3,18 @@
context("Test Tag")
-model.instance <- Tag$new()
+model_instance <- Tag$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("name", {
# tests for the property `name` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`name`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_user.R b/samples/client/petstore/R/tests/testthat/test_user.R
index 9929623b42f8..958d3bd8620f 100644
--- a/samples/client/petstore/R/tests/testthat/test_user.R
+++ b/samples/client/petstore/R/tests/testthat/test_user.R
@@ -3,54 +3,54 @@
context("Test User")
-model.instance <- User$new()
+model_instance <- User$new()
test_that("id", {
# tests for the property `id` (integer)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`id`, "EXPECTED_RESULT")
})
test_that("username", {
# tests for the property `username` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`username`, "EXPECTED_RESULT")
})
test_that("firstName", {
# tests for the property `firstName` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`firstName`, "EXPECTED_RESULT")
})
test_that("lastName", {
# tests for the property `lastName` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`lastName`, "EXPECTED_RESULT")
})
test_that("email", {
# tests for the property `email` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`email`, "EXPECTED_RESULT")
})
test_that("password", {
# tests for the property `password` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`password`, "EXPECTED_RESULT")
})
test_that("phone", {
# tests for the property `phone` (character)
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`phone`, "EXPECTED_RESULT")
})
@@ -58,7 +58,6 @@ test_that("userStatus", {
# tests for the property `userStatus` (integer)
# User Status
- # uncomment below to test the property
+ # uncomment below to test the property
#expect_equal(model.instance$`userStatus`, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/R/tests/testthat/test_user_api.R b/samples/client/petstore/R/tests/testthat/test_user_api.R
index 8b8c3ba38477..3a86b7a0298c 100644
--- a/samples/client/petstore/R/tests/testthat/test_user_api.R
+++ b/samples/client/petstore/R/tests/testthat/test_user_api.R
@@ -3,14 +3,14 @@
context("Test UserApi")
-api.instance <- UserApi$new()
+api_instance <- UserApi$new()
test_that("CreateUser", {
# tests for CreateUser
# base path: http://petstore.swagger.io/v2
# Create user
# This can only be done by the logged in user.
- # @param body User Created user object
+ # @param user User Created user object
# @return [Void]
# uncomment below to test the operation
@@ -21,7 +21,8 @@ test_that("CreateUsersWithArrayInput", {
# tests for CreateUsersWithArrayInput
# base path: http://petstore.swagger.io/v2
# Creates list of users with given input array
- # @param body array[User] List of user object
+ #
+ # @param user array[User] List of user object
# @return [Void]
# uncomment below to test the operation
@@ -32,7 +33,8 @@ test_that("CreateUsersWithListInput", {
# tests for CreateUsersWithListInput
# base path: http://petstore.swagger.io/v2
# Creates list of users with given input array
- # @param body array[User] List of user object
+ #
+ # @param user array[User] List of user object
# @return [Void]
# uncomment below to test the operation
@@ -55,6 +57,7 @@ test_that("GetUserByName", {
# tests for GetUserByName
# base path: http://petstore.swagger.io/v2
# Get user by user name
+ #
# @param username character The name that needs to be fetched. Use user1 for testing.
# @return [User]
@@ -66,6 +69,7 @@ test_that("LoginUser", {
# tests for LoginUser
# base path: http://petstore.swagger.io/v2
# Logs user into the system
+ #
# @param username character The user name for login
# @param password character The password for login in clear text
# @return [character]
@@ -78,6 +82,7 @@ test_that("LogoutUser", {
# tests for LogoutUser
# base path: http://petstore.swagger.io/v2
# Logs out current logged in user session
+ #
# @return [Void]
# uncomment below to test the operation
@@ -90,10 +95,9 @@ test_that("UpdateUser", {
# Updated user
# This can only be done by the logged in user.
# @param username character name that need to be deleted
- # @param body User Updated user object
+ # @param user User Updated user object
# @return [Void]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
-
diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASPetApiTest.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASPetApiTest.cls
index 1eaf5a3ad2bc..65fcc4565b71 100644
--- a/samples/client/petstore/apex/force-app/main/default/classes/OASPetApiTest.cls
+++ b/samples/client/petstore/apex/force-app/main/default/classes/OASPetApiTest.cls
@@ -13,16 +13,32 @@ private class OASPetApiTest {
Test.setMock(HttpCalloutMock.class, new OASResponseMock(res));
Map params = new Map{
- 'oaSPet' => OASPet.getExample()
+ 'oaSPet' => ''
};
OASClient client;
OASPetApi api;
+ OASPet response;
+ OASPet expectedResponse;
String js = '';
client = new OASClient();
api = new OASPetApi(client);
- api.addPet(params);
+
+ js = JSON.serialize(OASPet.getExample());
+ res.setHeader('Content-Type', 'application/json');
+ res.setBody(js);
+ expectedResponse = OASPet.getExample();
+ response = (OASPet) api.addPet(params);
+ System.assertEquals(expectedResponse, response);
+
+
+ js = JSON.serialize(OASPet.getExample());
+ res.setHeader('Content-Type', 'application/xml');
+ res.setBody(js);
+ expectedResponse = OASPet.getExample();
+ response = (OASPet) api.addPet(params);
+ System.assertEquals(expectedResponse, response);
}
/**
@@ -189,16 +205,32 @@ private class OASPetApiTest {
Test.setMock(HttpCalloutMock.class, new OASResponseMock(res));
Map params = new Map{
- 'oaSPet' => OASPet.getExample()
+ 'oaSPet' => ''
};
OASClient client;
OASPetApi api;
+ OASPet response;
+ OASPet expectedResponse;
String js = '';
client = new OASClient();
api = new OASPetApi(client);
- api.updatePet(params);
+
+ js = JSON.serialize(OASPet.getExample());
+ res.setHeader('Content-Type', 'application/json');
+ res.setBody(js);
+ expectedResponse = OASPet.getExample();
+ response = (OASPet) api.updatePet(params);
+ System.assertEquals(expectedResponse, response);
+
+
+ js = JSON.serialize(OASPet.getExample());
+ res.setHeader('Content-Type', 'application/xml');
+ res.setBody(js);
+ expectedResponse = OASPet.getExample();
+ response = (OASPet) api.updatePet(params);
+ System.assertEquals(expectedResponse, response);
}
/**
diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls
index 8c1eca4b90a8..10ccac28df86 100644
--- a/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls
+++ b/samples/client/petstore/apex/force-app/main/default/classes/OASStoreApiTest.cls
@@ -102,7 +102,7 @@ private class OASStoreApiTest {
Test.setMock(HttpCalloutMock.class, new OASResponseMock(res));
Map params = new Map{
- 'oaSOrder' => OASOrder.getExample()
+ 'oaSOrder' => ''
};
OASClient client;
diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASUserApiTest.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASUserApiTest.cls
index 3d797e07982b..7d837ec7894d 100644
--- a/samples/client/petstore/apex/force-app/main/default/classes/OASUserApiTest.cls
+++ b/samples/client/petstore/apex/force-app/main/default/classes/OASUserApiTest.cls
@@ -13,14 +13,16 @@ private class OASUserApiTest {
Test.setMock(HttpCalloutMock.class, new OASResponseMock(res));
Map params = new Map{
- 'oaSUser' => OASUser.getExample()
+ 'oaSUser' => ''
};
OASClient client;
OASUserApi api;
String js = '';
- api = new OASUserApi(new OASClient());
+ client = new OASClient();
+ api = new OASUserApi(client);
+ ((OAS.ApiKeyAuth)client.getAuthentication('api_key')).setApiKey('foo-bar-api-key');
api.createUser(params);
}
@@ -45,7 +47,9 @@ private class OASUserApiTest {
OASUserApi api;
String js = '';
- api = new OASUserApi(new OASClient());
+ client = new OASClient();
+ api = new OASUserApi(client);
+ ((OAS.ApiKeyAuth)client.getAuthentication('api_key')).setApiKey('foo-bar-api-key');
api.createUsersWithArrayInput(params);
}
@@ -70,7 +74,9 @@ private class OASUserApiTest {
OASUserApi api;
String js = '';
- api = new OASUserApi(new OASClient());
+ client = new OASClient();
+ api = new OASUserApi(client);
+ ((OAS.ApiKeyAuth)client.getAuthentication('api_key')).setApiKey('foo-bar-api-key');
api.createUsersWithListInput(params);
}
@@ -95,7 +101,9 @@ private class OASUserApiTest {
OASUserApi api;
String js = '';
- api = new OASUserApi(new OASClient());
+ client = new OASClient();
+ api = new OASUserApi(client);
+ ((OAS.ApiKeyAuth)client.getAuthentication('api_key')).setApiKey('foo-bar-api-key');
api.deleteUser(params);
}
@@ -183,7 +191,9 @@ private class OASUserApiTest {
OASUserApi api;
String js = '';
- api = new OASUserApi(new OASClient());
+ client = new OASClient();
+ api = new OASUserApi(client);
+ ((OAS.ApiKeyAuth)client.getAuthentication('api_key')).setApiKey('foo-bar-api-key');
api.logoutUser();
}
@@ -202,14 +212,16 @@ private class OASUserApiTest {
Map params = new Map{
'username' => 'null',
- 'oaSUser' => OASUser.getExample()
+ 'oaSUser' => ''
};
OASClient client;
OASUserApi api;
String js = '';
- api = new OASUserApi(new OASClient());
+ client = new OASClient();
+ api = new OASUserApi(client);
+ ((OAS.ApiKeyAuth)client.getAuthentication('api_key')).setApiKey('foo-bar-api-key');
api.updateUser(params);
}
diff --git a/samples/client/petstore/c-useJsonUnformatted/unit-test/test_user.c b/samples/client/petstore/c-useJsonUnformatted/unit-test/test_user.c
index 8e86588002f2..60620b7eddd6 100644
--- a/samples/client/petstore/c-useJsonUnformatted/unit-test/test_user.c
+++ b/samples/client/petstore/c-useJsonUnformatted/unit-test/test_user.c
@@ -29,7 +29,9 @@ user_t* instantiate_user(int include_optional) {
"0",
"0",
"0",
- 56
+ 56,
+ list_createList(),
+ openapi_petstore_user__cats
);
} else {
user = user_create(
@@ -40,7 +42,9 @@ user_t* instantiate_user(int include_optional) {
"0",
"0",
"0",
- 56
+ 56,
+ list_createList(),
+ openapi_petstore_user__cats
);
}
diff --git a/samples/client/petstore/c/unit-test/test_mapped_model.c b/samples/client/petstore/c/unit-test/test_mapped_model.c
index 214b17d14e6f..1862dda758cf 100644
--- a/samples/client/petstore/c/unit-test/test_mapped_model.c
+++ b/samples/client/petstore/c/unit-test/test_mapped_model.c
@@ -22,11 +22,13 @@ MappedModel_t* instantiate_MappedModel(int include_optional) {
MappedModel_t* MappedModel = NULL;
if (include_optional) {
MappedModel = MappedModel_create(
- 56
+ 56,
+ "0"
);
} else {
MappedModel = MappedModel_create(
- 56
+ 56,
+ "0"
);
}
diff --git a/samples/client/petstore/c/unit-test/test_user.c b/samples/client/petstore/c/unit-test/test_user.c
index d2a230b9cd71..4af0663e1bac 100644
--- a/samples/client/petstore/c/unit-test/test_user.c
+++ b/samples/client/petstore/c/unit-test/test_user.c
@@ -29,7 +29,9 @@ user_t* instantiate_user(int include_optional) {
"0",
"0",
"0",
- 56
+ 56,
+ list_createList(),
+ openapi_petstore_user__cats
);
} else {
user = user_create(
@@ -40,7 +42,9 @@ user_t* instantiate_user(int include_optional) {
"0",
"0",
"0",
- 56
+ 56,
+ list_createList(),
+ openapi_petstore_user__cats
);
}
diff --git a/samples/client/petstore/cpp-tiny/lib/TestFiles/ApiResponseTest.cpp b/samples/client/petstore/cpp-tiny/lib/TestFiles/ApiResponseTest.cpp
index 160f4217f5df..edee6a3a1dc2 100644
--- a/samples/client/petstore/cpp-tiny/lib/TestFiles/ApiResponseTest.cpp
+++ b/samples/client/petstore/cpp-tiny/lib/TestFiles/ApiResponseTest.cpp
@@ -12,7 +12,7 @@ using namespace Tiny;
void test_ApiResponse_code_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"code", 1
};
@@ -35,7 +35,7 @@ void test_ApiResponse_type_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"type", "hello"
};
@@ -56,7 +56,7 @@ void test_ApiResponse_message_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"message", "hello"
};
@@ -76,7 +76,7 @@ void test_ApiResponse_message_is_assigned_from_json()
void test_ApiResponse_code_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"code", 1
};
@@ -98,7 +98,7 @@ void test_ApiResponse_code_is_converted_to_json()
void test_ApiResponse_type_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"type", "hello"
};
@@ -119,7 +119,7 @@ void test_ApiResponse_type_is_converted_to_json()
void test_ApiResponse_message_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"message", "hello"
};
diff --git a/samples/client/petstore/cpp-tiny/lib/TestFiles/CategoryTest.cpp b/samples/client/petstore/cpp-tiny/lib/TestFiles/CategoryTest.cpp
index 2951856e6a58..37d9317b0d6f 100644
--- a/samples/client/petstore/cpp-tiny/lib/TestFiles/CategoryTest.cpp
+++ b/samples/client/petstore/cpp-tiny/lib/TestFiles/CategoryTest.cpp
@@ -18,7 +18,7 @@ void test_Category_id_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -35,7 +35,7 @@ void test_Category_name_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"name", "hello"
};
@@ -58,7 +58,7 @@ void test_Category_id_is_converted_to_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -77,7 +77,7 @@ void test_Category_id_is_converted_to_json()
void test_Category_name_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"name", "hello"
};
diff --git a/samples/client/petstore/cpp-tiny/lib/TestFiles/OrderTest.cpp b/samples/client/petstore/cpp-tiny/lib/TestFiles/OrderTest.cpp
index 13125fc8fc5a..23c9f589d2f8 100644
--- a/samples/client/petstore/cpp-tiny/lib/TestFiles/OrderTest.cpp
+++ b/samples/client/petstore/cpp-tiny/lib/TestFiles/OrderTest.cpp
@@ -18,7 +18,7 @@ void test_Order_id_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -39,7 +39,7 @@ void test_Order_petId_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"petId", 1
};
@@ -54,7 +54,7 @@ void test_Order_petId_is_assigned_from_json()
void test_Order_quantity_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"quantity", 1
};
@@ -90,7 +90,7 @@ void test_Order_status_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"status", "hello"
};
@@ -113,7 +113,7 @@ void test_Order_complete_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"complete", true
};
@@ -134,7 +134,7 @@ void test_Order_id_is_converted_to_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -155,7 +155,7 @@ void test_Order_petId_is_converted_to_json()
- bourne::json input =
+ bourne::json input =
{
"petId", 1
};
@@ -173,7 +173,7 @@ void test_Order_petId_is_converted_to_json()
void test_Order_quantity_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"quantity", 1
};
@@ -204,7 +204,7 @@ void test_Order_shipDate_is_converted_to_json()
void test_Order_status_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"status", "hello"
};
@@ -226,7 +226,7 @@ void test_Order_complete_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"complete", true
};
diff --git a/samples/client/petstore/cpp-tiny/lib/TestFiles/PetTest.cpp b/samples/client/petstore/cpp-tiny/lib/TestFiles/PetTest.cpp
index 04dad4640939..ae303c61f22d 100644
--- a/samples/client/petstore/cpp-tiny/lib/TestFiles/PetTest.cpp
+++ b/samples/client/petstore/cpp-tiny/lib/TestFiles/PetTest.cpp
@@ -18,7 +18,7 @@ void test_Pet_id_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -36,7 +36,7 @@ void test_Pet_name_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"name", "hello"
};
@@ -59,7 +59,7 @@ void test_Pet_status_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"status", "hello"
};
@@ -82,7 +82,7 @@ void test_Pet_id_is_converted_to_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -102,7 +102,7 @@ void test_Pet_id_is_converted_to_json()
void test_Pet_name_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"name", "hello"
};
@@ -125,7 +125,7 @@ void test_Pet_name_is_converted_to_json()
void test_Pet_status_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"status", "hello"
};
diff --git a/samples/client/petstore/cpp-tiny/lib/TestFiles/TagTest.cpp b/samples/client/petstore/cpp-tiny/lib/TestFiles/TagTest.cpp
index 41ea1d0095dd..d96a259ce7e6 100644
--- a/samples/client/petstore/cpp-tiny/lib/TestFiles/TagTest.cpp
+++ b/samples/client/petstore/cpp-tiny/lib/TestFiles/TagTest.cpp
@@ -18,7 +18,7 @@ void test_Tag_id_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -35,7 +35,7 @@ void test_Tag_name_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"name", "hello"
};
@@ -58,7 +58,7 @@ void test_Tag_id_is_converted_to_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -77,7 +77,7 @@ void test_Tag_id_is_converted_to_json()
void test_Tag_name_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"name", "hello"
};
diff --git a/samples/client/petstore/cpp-tiny/lib/TestFiles/UserTest.cpp b/samples/client/petstore/cpp-tiny/lib/TestFiles/UserTest.cpp
index 689ee582bee3..c4274a56e7a3 100644
--- a/samples/client/petstore/cpp-tiny/lib/TestFiles/UserTest.cpp
+++ b/samples/client/petstore/cpp-tiny/lib/TestFiles/UserTest.cpp
@@ -18,7 +18,7 @@ void test_User_id_is_assigned_from_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -35,7 +35,7 @@ void test_User_username_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"username", "hello"
};
@@ -56,7 +56,7 @@ void test_User_firstName_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"firstName", "hello"
};
@@ -77,7 +77,7 @@ void test_User_lastName_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"lastName", "hello"
};
@@ -98,7 +98,7 @@ void test_User_email_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"email", "hello"
};
@@ -119,7 +119,7 @@ void test_User_password_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"password", "hello"
};
@@ -140,7 +140,7 @@ void test_User_phone_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"phone", "hello"
};
@@ -159,7 +159,7 @@ void test_User_phone_is_assigned_from_json()
void test_User_userStatus_is_assigned_from_json()
{
- bourne::json input =
+ bourne::json input =
{
"userStatus", 1
};
@@ -184,7 +184,7 @@ void test_User_id_is_converted_to_json()
- bourne::json input =
+ bourne::json input =
{
"id", 1
};
@@ -203,7 +203,7 @@ void test_User_id_is_converted_to_json()
void test_User_username_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"username", "hello"
};
@@ -224,7 +224,7 @@ void test_User_username_is_converted_to_json()
void test_User_firstName_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"firstName", "hello"
};
@@ -245,7 +245,7 @@ void test_User_firstName_is_converted_to_json()
void test_User_lastName_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"lastName", "hello"
};
@@ -266,7 +266,7 @@ void test_User_lastName_is_converted_to_json()
void test_User_email_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"email", "hello"
};
@@ -287,7 +287,7 @@ void test_User_email_is_converted_to_json()
void test_User_password_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"password", "hello"
};
@@ -308,7 +308,7 @@ void test_User_password_is_converted_to_json()
void test_User_phone_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"phone", "hello"
};
@@ -328,7 +328,7 @@ void test_User_phone_is_converted_to_json()
void test_User_userStatus_is_converted_to_json()
{
- bourne::json input =
+ bourne::json input =
{
"userStatus", 1
};
diff --git a/samples/client/petstore/crystal/spec/api/fake_api_spec.cr b/samples/client/petstore/crystal/spec/api/fake_api_spec.cr
index b8b9922be4c4..829198b6aba8 100644
--- a/samples/client/petstore/crystal/spec/api/fake_api_spec.cr
+++ b/samples/client/petstore/crystal/spec/api/fake_api_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 7.0.0-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
@@ -25,10 +25,10 @@ describe "FakeApi" do
# unit tests for get_parameter_name_mapping
# parameter name mapping test
- # @param _type _type
- # @param _type2 type
- # @param type_ type_
- # @param type_2 type-
+ # @param underscore_type _type
+ # @param _type type
+ # @param type_with_underscore type_
+ # @param type_with_dash type-
# @param http_debug_option http debug option (to test parameter naming option)
# @param [Hash] opts the optional parameters
# @return [nil]
diff --git a/samples/client/petstore/crystal/spec/api/store_api_spec.cr b/samples/client/petstore/crystal/spec/api/store_api_spec.cr
index 05fd3146d882..f669cbeba87a 100644
--- a/samples/client/petstore/crystal/spec/api/store_api_spec.cr
+++ b/samples/client/petstore/crystal/spec/api/store_api_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 5.0.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
@@ -60,6 +60,7 @@ describe "StoreApi" do
# unit tests for place_order
# Place an order for a pet
+ #
# @param order order placed for purchasing the pet
# @param [Hash] opts the optional parameters
# @return [Order]
diff --git a/samples/client/petstore/crystal/spec/api/user_api_spec.cr b/samples/client/petstore/crystal/spec/api/user_api_spec.cr
index 38a13b9d7c93..1abb6fe6b8fc 100644
--- a/samples/client/petstore/crystal/spec/api/user_api_spec.cr
+++ b/samples/client/petstore/crystal/spec/api/user_api_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 5.0.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
@@ -37,6 +37,7 @@ describe "UserApi" do
# unit tests for create_users_with_array_input
# Creates list of users with given input array
+ #
# @param user List of user object
# @param [Hash] opts the optional parameters
# @return [nil]
@@ -48,6 +49,7 @@ describe "UserApi" do
# unit tests for create_users_with_list_input
# Creates list of users with given input array
+ #
# @param user List of user object
# @param [Hash] opts the optional parameters
# @return [nil]
@@ -71,6 +73,7 @@ describe "UserApi" do
# unit tests for get_user_by_name
# Get user by user name
+ #
# @param username The name that needs to be fetched. Use user1 for testing.
# @param [Hash] opts the optional parameters
# @return [User]
@@ -82,6 +85,7 @@ describe "UserApi" do
# unit tests for login_user
# Logs user into the system
+ #
# @param username The user name for login
# @param password The password for login in clear text
# @param [Hash] opts the optional parameters
@@ -94,6 +98,7 @@ describe "UserApi" do
# unit tests for logout_user
# Logs out current logged in user session
+ #
# @param [Hash] opts the optional parameters
# @return [nil]
describe "logout_user test" do
diff --git a/samples/client/petstore/crystal/spec/models/another_property_name_mapping_spec.cr b/samples/client/petstore/crystal/spec/models/another_property_name_mapping_spec.cr
index c7491f69c04a..95840acd37bf 100644
--- a/samples/client/petstore/crystal/spec/models/another_property_name_mapping_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/another_property_name_mapping_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 7.0.0-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
diff --git a/samples/client/petstore/crystal/spec/models/api_response_spec.cr b/samples/client/petstore/crystal/spec/models/api_response_spec.cr
index 3a4ff0b1269e..e1b8029487ed 100644
--- a/samples/client/petstore/crystal/spec/models/api_response_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/api_response_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 5.0.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
diff --git a/samples/client/petstore/crystal/spec/models/category_spec.cr b/samples/client/petstore/crystal/spec/models/category_spec.cr
index 120fa0459f18..350aae9ed00a 100644
--- a/samples/client/petstore/crystal/spec/models/category_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/category_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 5.0.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
diff --git a/samples/client/petstore/crystal/spec/models/format_test_spec.cr b/samples/client/petstore/crystal/spec/models/format_test_spec.cr
index 8801945aece0..58448e401621 100644
--- a/samples/client/petstore/crystal/spec/models/format_test_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/format_test_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 6.2.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
diff --git a/samples/client/petstore/crystal/spec/models/order_spec.cr b/samples/client/petstore/crystal/spec/models/order_spec.cr
index e64ada1fb51b..19a2d003d0fa 100644
--- a/samples/client/petstore/crystal/spec/models/order_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/order_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 5.0.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
diff --git a/samples/client/petstore/crystal/spec/models/user_spec.cr b/samples/client/petstore/crystal/spec/models/user_spec.cr
index 6e52fc2c5bdf..194268274ec0 100644
--- a/samples/client/petstore/crystal/spec/models/user_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/user_spec.cr
@@ -5,7 +5,7 @@
#The version of the OpenAPI document: 1.0.0
#
#Generated by: https://openapi-generator.tech
-#OpenAPI Generator version: 5.0.1-SNAPSHOT
+#Generator version: 7.11.0-SNAPSHOT
#
require "../spec_helper"
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Api/PetApiTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
index 763684189ae2..c1ed54241c6b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
@@ -152,6 +152,5 @@ public void UploadFileTest()
//var response = instance.UploadFile(petId, additionalMetadata, file);
//Assert.IsType(response);
}
-
}
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
index 54c455c8af1b..eb9eb82931e1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ApiResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Code'
///
@@ -64,6 +62,7 @@ public void CodeTest()
{
// TODO unit test for the property 'Code'
}
+
///
/// Test the property 'Type'
///
@@ -72,6 +71,7 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
+
///
/// Test the property 'Message'
///
@@ -80,7 +80,5 @@ public void MessageTest()
{
// TODO unit test for the property 'Message'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
index 973015d694e7..8c6fc5d10db7 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CategoryInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Name'
///
@@ -72,7 +71,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/OrderTests.cs
index 0cc1e616df43..bf9fbd58b354 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/OrderTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/OrderTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void OrderInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'PetId'
///
@@ -72,6 +71,7 @@ public void PetIdTest()
{
// TODO unit test for the property 'PetId'
}
+
///
/// Test the property 'Quantity'
///
@@ -80,6 +80,7 @@ public void QuantityTest()
{
// TODO unit test for the property 'Quantity'
}
+
///
/// Test the property 'ShipDate'
///
@@ -88,6 +89,7 @@ public void ShipDateTest()
{
// TODO unit test for the property 'ShipDate'
}
+
///
/// Test the property 'Status'
///
@@ -96,6 +98,7 @@ public void StatusTest()
{
// TODO unit test for the property 'Status'
}
+
///
/// Test the property 'Complete'
///
@@ -104,7 +107,5 @@ public void CompleteTest()
{
// TODO unit test for the property 'Complete'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/PetTests.cs
index a296ab12b4c0..1b7f6c023496 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/PetTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/PetTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void PetInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Category'
///
@@ -72,6 +71,7 @@ public void CategoryTest()
{
// TODO unit test for the property 'Category'
}
+
///
/// Test the property 'Name'
///
@@ -80,6 +80,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'PhotoUrls'
///
@@ -88,6 +89,7 @@ public void PhotoUrlsTest()
{
// TODO unit test for the property 'PhotoUrls'
}
+
///
/// Test the property 'Tags'
///
@@ -96,6 +98,7 @@ public void TagsTest()
{
// TODO unit test for the property 'Tags'
}
+
///
/// Test the property 'Status'
///
@@ -104,7 +107,5 @@ public void StatusTest()
{
// TODO unit test for the property 'Status'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/TagTests.cs
index d3b4766b104a..c994710b0e50 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/TagTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/TagTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TagInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Name'
///
@@ -72,7 +71,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/UserTests.cs
index b7019235bfe6..427b254ebe28 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/UserTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools.Test/Model/UserTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void UserInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Username'
///
@@ -72,6 +71,7 @@ public void UsernameTest()
{
// TODO unit test for the property 'Username'
}
+
///
/// Test the property 'FirstName'
///
@@ -80,6 +80,7 @@ public void FirstNameTest()
{
// TODO unit test for the property 'FirstName'
}
+
///
/// Test the property 'LastName'
///
@@ -88,6 +89,7 @@ public void LastNameTest()
{
// TODO unit test for the property 'LastName'
}
+
///
/// Test the property 'Email'
///
@@ -96,6 +98,7 @@ public void EmailTest()
{
// TODO unit test for the property 'Email'
}
+
///
/// Test the property 'Password'
///
@@ -104,6 +107,7 @@ public void PasswordTest()
{
// TODO unit test for the property 'Password'
}
+
///
/// Test the property 'Phone'
///
@@ -112,6 +116,7 @@ public void PhoneTest()
{
// TODO unit test for the property 'Phone'
}
+
///
/// Test the property 'UserStatus'
///
@@ -120,7 +125,5 @@ public void UserStatusTest()
{
// TODO unit test for the property 'UserStatus'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
index 5d048a005bdc..f870aa706425 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
@@ -64,5 +64,49 @@ public void FooGetTest()
//var response = instance.FooGet();
//Assert.IsType(response);
}
+
+ ///
+ /// Test GetCountry
+ ///
+ [Fact]
+ public void GetCountryTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string country = null;
+ //instance.GetCountry(country);
+ }
+
+ ///
+ /// Test Hello
+ ///
+ [Fact]
+ public void HelloTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.Hello();
+ //Assert.IsType>(response);
+ }
+
+ ///
+ /// Test RolesReportGet
+ ///
+ [Fact]
+ public void RolesReportGetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.RolesReportGet();
+ //Assert.IsType>>(response);
+ }
+
+ ///
+ /// Test Test
+ ///
+ [Fact]
+ public void TestTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.Test();
+ //Assert.IsType(response);
+ }
}
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
index 994cd46d38ae..20dfede3f9b1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
@@ -108,8 +108,9 @@ public void FakeOuterNumberSerializeTest()
public void FakeOuterStringSerializeTest()
{
// TODO uncomment below to test the method and replace null with proper value
+ //Guid requiredStringUuid = null;
//string body = null;
- //var response = instance.FakeOuterStringSerialize(body);
+ //var response = instance.FakeOuterStringSerialize(requiredStringUuid, body);
//Assert.IsType(response);
}
@@ -124,6 +125,39 @@ public void GetArrayOfEnumsTest()
//Assert.IsType>(response);
}
+ ///
+ /// Test GetMixedAnyOf
+ ///
+ [Fact]
+ public void GetMixedAnyOfTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.GetMixedAnyOf();
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test GetMixedOneOf
+ ///
+ [Fact]
+ public void GetMixedOneOfTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.GetMixedOneOf();
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestAdditionalPropertiesReference
+ ///
+ [Fact]
+ public void TestAdditionalPropertiesReferenceTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //Dictionary requestBody = null;
+ //instance.TestAdditionalPropertiesReference(requestBody);
+ }
+
///
/// Test TestBodyWithFileSchema
///
@@ -167,20 +201,20 @@ public void TestEndpointParametersTest()
{
// TODO uncomment below to test the method and replace null with proper value
//decimal number = null;
- //double _double = null;
+ //double varDouble = null;
//string patternWithoutDelimiter = null;
- //byte[] _byte = null;
+ //byte[] varByte = null;
//int? integer = null;
//int? int32 = null;
//long? int64 = null;
- //float? _float = null;
- //string _string = null;
+ //float? varFloat = null;
+ //string varString = null;
//System.IO.Stream binary = null;
//DateTime? date = null;
//DateTime? dateTime = null;
//string password = null;
//string callback = null;
- //instance.TestEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback);
+ //instance.TestEndpointParameters(number, varDouble, patternWithoutDelimiter, varByte, integer, int32, int64, varFloat, varString, binary, date, dateTime, password, callback);
}
///
@@ -228,6 +262,17 @@ public void TestInlineAdditionalPropertiesTest()
//instance.TestInlineAdditionalProperties(requestBody);
}
+ ///
+ /// Test TestInlineFreeformAdditionalProperties
+ ///
+ [Fact]
+ public void TestInlineFreeformAdditionalPropertiesTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null;
+ //instance.TestInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest);
+ }
+
///
/// Test TestJsonFormData
///
@@ -252,7 +297,22 @@ public void TestQueryParameterCollectionFormatTest()
//List http = null;
//List url = null;
//List context = null;
- //instance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
+ //string requiredNotNullable = null;
+ //string requiredNullable = null;
+ //string notRequiredNotNullable = null;
+ //string notRequiredNullable = null;
+ //instance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
+ }
+
+ ///
+ /// Test TestStringMapReference
+ ///
+ [Fact]
+ public void TestStringMapReferenceTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //Dictionary requestBody = null;
+ //instance.TestStringMapReference(requestBody);
}
}
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
index f211a64884af..b4bb73592031 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ActivityOutputElementRepresentationInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Prop1'
///
@@ -64,6 +62,7 @@ public void Prop1Test()
{
// TODO unit test for the property 'Prop1'
}
+
///
/// Test the property 'Prop2'
///
@@ -72,7 +71,5 @@ public void Prop2Test()
{
// TODO unit test for the property 'Prop2'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
index afe9e846ee94..0b9efbd5a20b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ActivityInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ActivityOutputs'
///
@@ -64,7 +62,5 @@ public void ActivityOutputsTest()
{
// TODO unit test for the property 'ActivityOutputs'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
index 9ab029ed0979..d766719b5bce 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void AdditionalPropertiesClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MapProperty'
///
@@ -64,6 +62,7 @@ public void MapPropertyTest()
{
// TODO unit test for the property 'MapProperty'
}
+
///
/// Test the property 'MapOfMapProperty'
///
@@ -72,6 +71,7 @@ public void MapOfMapPropertyTest()
{
// TODO unit test for the property 'MapOfMapProperty'
}
+
///
/// Test the property 'Anytype1'
///
@@ -80,6 +80,7 @@ public void Anytype1Test()
{
// TODO unit test for the property 'Anytype1'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesAnytype1'
///
@@ -88,6 +89,7 @@ public void MapWithUndeclaredPropertiesAnytype1Test()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype1'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesAnytype2'
///
@@ -96,6 +98,7 @@ public void MapWithUndeclaredPropertiesAnytype2Test()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype2'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesAnytype3'
///
@@ -104,6 +107,7 @@ public void MapWithUndeclaredPropertiesAnytype3Test()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype3'
}
+
///
/// Test the property 'EmptyMap'
///
@@ -112,6 +116,7 @@ public void EmptyMapTest()
{
// TODO unit test for the property 'EmptyMap'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesString'
///
@@ -120,7 +125,5 @@ public void MapWithUndeclaredPropertiesStringTest()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesString'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
index ced34a4faadd..0bc46ab7f479 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -64,6 +63,7 @@ public void CatDeserializeFromAnimalTest()
// TODO uncomment below to test deserialize a Cat from type Animal
//Assert.IsType(JsonConvert.DeserializeObject(new Cat().ToJson()));
}
+
///
/// Test deserialize a Dog from type Animal
///
@@ -82,6 +82,7 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
+
///
/// Test the property 'Color'
///
@@ -90,7 +91,5 @@ public void ColorTest()
{
// TODO unit test for the property 'Color'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
index 2a2e098e6082..901c6a02965e 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ApiResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Code'
///
@@ -64,6 +62,7 @@ public void CodeTest()
{
// TODO unit test for the property 'Code'
}
+
///
/// Test the property 'Type'
///
@@ -72,6 +71,7 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
+
///
/// Test the property 'Message'
///
@@ -80,7 +80,5 @@ public void MessageTest()
{
// TODO unit test for the property 'Message'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
index f945f6593685..94d06c61e236 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void AppleReqInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Cultivar'
///
@@ -64,6 +62,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Mealy'
///
@@ -72,7 +71,5 @@ public void MealyTest()
{
// TODO unit test for the property 'Mealy'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
index 468d60184ada..b3aa7e34f8db 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void AppleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Cultivar'
///
@@ -64,6 +62,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Origin'
///
@@ -73,6 +72,13 @@ public void OriginTest()
// TODO unit test for the property 'Origin'
}
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
index 0b259d7d3916..d52b1938e420 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ArrayOfArrayOfNumberOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ArrayArrayNumber'
///
@@ -64,7 +62,5 @@ public void ArrayArrayNumberTest()
{
// TODO unit test for the property 'ArrayArrayNumber'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
index 27f312ad25f5..421bfd6caeab 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ArrayOfNumberOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ArrayNumber'
///
@@ -64,7 +62,5 @@ public void ArrayNumberTest()
{
// TODO unit test for the property 'ArrayNumber'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
index a433e8c87cf7..5028c715b988 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ArrayTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ArrayOfString'
///
@@ -64,6 +62,7 @@ public void ArrayOfStringTest()
{
// TODO unit test for the property 'ArrayOfString'
}
+
///
/// Test the property 'ArrayArrayOfInteger'
///
@@ -72,6 +71,7 @@ public void ArrayArrayOfIntegerTest()
{
// TODO unit test for the property 'ArrayArrayOfInteger'
}
+
///
/// Test the property 'ArrayArrayOfModel'
///
@@ -80,7 +80,5 @@ public void ArrayArrayOfModelTest()
{
// TODO unit test for the property 'ArrayArrayOfModel'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
index 8a6eeb82eeea..8242ff9e7969 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void BananaReqInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'LengthCm'
///
@@ -64,6 +62,7 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
+
///
/// Test the property 'Sweet'
///
@@ -72,7 +71,5 @@ public void SweetTest()
{
// TODO unit test for the property 'Sweet'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
index 8d8cc376b038..ddcea686eee8 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void BananaInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'LengthCm'
///
@@ -64,7 +62,5 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
index 3cdccaa75959..9cb45c006e64 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void BasquePigInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ClassName'
///
@@ -64,7 +62,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
index 185c83666fc7..9e6a400d1ed1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CapitalizationInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'SmallCamel'
///
@@ -64,6 +62,7 @@ public void SmallCamelTest()
{
// TODO unit test for the property 'SmallCamel'
}
+
///
/// Test the property 'CapitalCamel'
///
@@ -72,6 +71,7 @@ public void CapitalCamelTest()
{
// TODO unit test for the property 'CapitalCamel'
}
+
///
/// Test the property 'SmallSnake'
///
@@ -80,6 +80,7 @@ public void SmallSnakeTest()
{
// TODO unit test for the property 'SmallSnake'
}
+
///
/// Test the property 'CapitalSnake'
///
@@ -88,6 +89,7 @@ public void CapitalSnakeTest()
{
// TODO unit test for the property 'CapitalSnake'
}
+
///
/// Test the property 'SCAETHFlowPoints'
///
@@ -96,6 +98,7 @@ public void SCAETHFlowPointsTest()
{
// TODO unit test for the property 'SCAETHFlowPoints'
}
+
///
/// Test the property 'ATT_NAME'
///
@@ -104,7 +107,5 @@ public void ATT_NAMETest()
{
// TODO unit test for the property 'ATT_NAME'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
index 701ba7602823..c1b10d32171b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CatInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Declawed'
///
@@ -64,7 +62,5 @@ public void DeclawedTest()
{
// TODO unit test for the property 'Declawed'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
index 6ce48e601e47..d1ef61862440 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CategoryInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Name'
///
@@ -72,7 +71,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
index 68566fd8d560..b40a42cb0225 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ChildCatInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Name'
///
@@ -64,6 +62,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'PetType'
///
@@ -72,7 +71,5 @@ public void PetTypeTest()
{
// TODO unit test for the property 'PetType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
index d29472e83aaf..a09b95ab4c9c 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ClassModelInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Class'
///
@@ -64,7 +62,5 @@ public void ClassTest()
{
// TODO unit test for the property 'Class'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
index b3529280c8d6..835c5b87bc6e 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ComplexQuadrilateralInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
index 572d9bffa790..765496ea0ced 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DanishPigInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ClassName'
///
@@ -64,7 +62,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
index 3bd2b54a366a..67be10782efd 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DateOnlyClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'DateOnlyProperty'
///
@@ -64,7 +62,5 @@ public void DateOnlyPropertyTest()
{
// TODO unit test for the property 'DateOnlyProperty'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
index 1da5f4011c95..be6b35dbf451 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DeprecatedObjectInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Name'
///
@@ -64,7 +62,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
index 992f93a51fd5..a00de64ef51a 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DogInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Breed'
///
@@ -64,7 +62,5 @@ public void BreedTest()
{
// TODO unit test for the property 'Breed'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
index 0709ad9eeb3b..3b1308e50513 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DrawingInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MainShape'
///
@@ -64,6 +62,7 @@ public void MainShapeTest()
{
// TODO unit test for the property 'MainShape'
}
+
///
/// Test the property 'ShapeOrNull'
///
@@ -72,6 +71,7 @@ public void ShapeOrNullTest()
{
// TODO unit test for the property 'ShapeOrNull'
}
+
///
/// Test the property 'NullableShape'
///
@@ -80,6 +80,7 @@ public void NullableShapeTest()
{
// TODO unit test for the property 'NullableShape'
}
+
///
/// Test the property 'Shapes'
///
@@ -88,7 +89,5 @@ public void ShapesTest()
{
// TODO unit test for the property 'Shapes'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
index 5779ca294775..6fcfa6f448c1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void EnumArraysInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'JustSymbol'
///
@@ -64,6 +62,7 @@ public void JustSymbolTest()
{
// TODO unit test for the property 'JustSymbol'
}
+
///
/// Test the property 'ArrayEnum'
///
@@ -72,7 +71,5 @@ public void ArrayEnumTest()
{
// TODO unit test for the property 'ArrayEnum'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
index a17738c5cbc5..bb46e292a652 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void EnumClassInstanceTest()
// TODO uncomment below to test "IsType" EnumClass
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
index 4f81b845d493..3050af442410 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void EnumTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'EnumString'
///
@@ -64,6 +62,7 @@ public void EnumStringTest()
{
// TODO unit test for the property 'EnumString'
}
+
///
/// Test the property 'EnumStringRequired'
///
@@ -72,6 +71,7 @@ public void EnumStringRequiredTest()
{
// TODO unit test for the property 'EnumStringRequired'
}
+
///
/// Test the property 'EnumInteger'
///
@@ -80,6 +80,7 @@ public void EnumIntegerTest()
{
// TODO unit test for the property 'EnumInteger'
}
+
///
/// Test the property 'EnumIntegerOnly'
///
@@ -88,6 +89,7 @@ public void EnumIntegerOnlyTest()
{
// TODO unit test for the property 'EnumIntegerOnly'
}
+
///
/// Test the property 'EnumNumber'
///
@@ -96,6 +98,7 @@ public void EnumNumberTest()
{
// TODO unit test for the property 'EnumNumber'
}
+
///
/// Test the property 'OuterEnum'
///
@@ -104,6 +107,7 @@ public void OuterEnumTest()
{
// TODO unit test for the property 'OuterEnum'
}
+
///
/// Test the property 'OuterEnumInteger'
///
@@ -112,6 +116,7 @@ public void OuterEnumIntegerTest()
{
// TODO unit test for the property 'OuterEnumInteger'
}
+
///
/// Test the property 'OuterEnumDefaultValue'
///
@@ -120,6 +125,7 @@ public void OuterEnumDefaultValueTest()
{
// TODO unit test for the property 'OuterEnumDefaultValue'
}
+
///
/// Test the property 'OuterEnumIntegerDefaultValue'
///
@@ -128,7 +134,5 @@ public void OuterEnumIntegerDefaultValueTest()
{
// TODO unit test for the property 'OuterEnumIntegerDefaultValue'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
index 4663cb667de6..71d48f7e200a 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void EquilateralTriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
index 9f45b4fe89d5..d89ad5a5bc7b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FileSchemaTestClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'File'
///
@@ -64,6 +62,7 @@ public void FileTest()
{
// TODO unit test for the property 'File'
}
+
///
/// Test the property 'Files'
///
@@ -72,7 +71,5 @@ public void FilesTest()
{
// TODO unit test for the property 'Files'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
index 761bb72a844f..7eaea9c8786f 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FileInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'SourceURI'
///
@@ -64,7 +62,5 @@ public void SourceURITest()
{
// TODO unit test for the property 'SourceURI'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
index 0154d528418e..563269643111 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FooGetDefaultResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'String'
///
@@ -64,7 +62,5 @@ public void StringTest()
{
// TODO unit test for the property 'String'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
index 0b6ed52edbd4..52f87dd5b0e0 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FooInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Bar'
///
@@ -64,7 +62,5 @@ public void BarTest()
{
// TODO unit test for the property 'Bar'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
index 97332800e9af..fbe8039a5a30 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FormatTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Integer'
///
@@ -64,6 +62,7 @@ public void IntegerTest()
{
// TODO unit test for the property 'Integer'
}
+
///
/// Test the property 'Int32'
///
@@ -72,6 +71,16 @@ public void Int32Test()
{
// TODO unit test for the property 'Int32'
}
+
+ ///
+ /// Test the property 'UnsignedInteger'
+ ///
+ [Fact]
+ public void UnsignedIntegerTest()
+ {
+ // TODO unit test for the property 'UnsignedInteger'
+ }
+
///
/// Test the property 'Int64'
///
@@ -80,6 +89,16 @@ public void Int64Test()
{
// TODO unit test for the property 'Int64'
}
+
+ ///
+ /// Test the property 'UnsignedLong'
+ ///
+ [Fact]
+ public void UnsignedLongTest()
+ {
+ // TODO unit test for the property 'UnsignedLong'
+ }
+
///
/// Test the property 'Number'
///
@@ -88,6 +107,7 @@ public void NumberTest()
{
// TODO unit test for the property 'Number'
}
+
///
/// Test the property 'Float'
///
@@ -96,6 +116,7 @@ public void FloatTest()
{
// TODO unit test for the property 'Float'
}
+
///
/// Test the property 'Double'
///
@@ -104,6 +125,7 @@ public void DoubleTest()
{
// TODO unit test for the property 'Double'
}
+
///
/// Test the property 'Decimal'
///
@@ -112,6 +134,7 @@ public void DecimalTest()
{
// TODO unit test for the property 'Decimal'
}
+
///
/// Test the property 'String'
///
@@ -120,6 +143,7 @@ public void StringTest()
{
// TODO unit test for the property 'String'
}
+
///
/// Test the property 'Byte'
///
@@ -128,6 +152,7 @@ public void ByteTest()
{
// TODO unit test for the property 'Byte'
}
+
///
/// Test the property 'Binary'
///
@@ -136,6 +161,7 @@ public void BinaryTest()
{
// TODO unit test for the property 'Binary'
}
+
///
/// Test the property 'Date'
///
@@ -144,6 +170,7 @@ public void DateTest()
{
// TODO unit test for the property 'Date'
}
+
///
/// Test the property 'DateTime'
///
@@ -152,6 +179,7 @@ public void DateTimeTest()
{
// TODO unit test for the property 'DateTime'
}
+
///
/// Test the property 'Uuid'
///
@@ -160,6 +188,7 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
+
///
/// Test the property 'Password'
///
@@ -168,6 +197,7 @@ public void PasswordTest()
{
// TODO unit test for the property 'Password'
}
+
///
/// Test the property 'PatternWithDigits'
///
@@ -176,6 +206,7 @@ public void PatternWithDigitsTest()
{
// TODO unit test for the property 'PatternWithDigits'
}
+
///
/// Test the property 'PatternWithDigitsAndDelimiter'
///
@@ -185,6 +216,13 @@ public void PatternWithDigitsAndDelimiterTest()
// TODO unit test for the property 'PatternWithDigitsAndDelimiter'
}
+ ///
+ /// Test the property 'PatternWithBackslash'
+ ///
+ [Fact]
+ public void PatternWithBackslashTest()
+ {
+ // TODO unit test for the property 'PatternWithBackslash'
+ }
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
index 5ea9e3ffc1d5..771ef1ae2c5d 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FruitReqInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Cultivar'
///
@@ -64,6 +62,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Mealy'
///
@@ -72,6 +71,7 @@ public void MealyTest()
{
// TODO unit test for the property 'Mealy'
}
+
///
/// Test the property 'LengthCm'
///
@@ -80,6 +80,7 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
+
///
/// Test the property 'Sweet'
///
@@ -88,7 +89,5 @@ public void SweetTest()
{
// TODO unit test for the property 'Sweet'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
index 91e069bb42fa..53881a333193 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FruitInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Color'
///
@@ -64,6 +62,7 @@ public void ColorTest()
{
// TODO unit test for the property 'Color'
}
+
///
/// Test the property 'Cultivar'
///
@@ -72,6 +71,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Origin'
///
@@ -80,6 +80,16 @@ public void OriginTest()
{
// TODO unit test for the property 'Origin'
}
+
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
+
///
/// Test the property 'LengthCm'
///
@@ -88,7 +98,5 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
index 08fb0e07a1c8..6322d4e2a721 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void GmFruitInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Color'
///
@@ -64,6 +62,7 @@ public void ColorTest()
{
// TODO unit test for the property 'Color'
}
+
///
/// Test the property 'Cultivar'
///
@@ -72,6 +71,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Origin'
///
@@ -80,6 +80,16 @@ public void OriginTest()
{
// TODO unit test for the property 'Origin'
}
+
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
+
///
/// Test the property 'LengthCm'
///
@@ -88,7 +98,5 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
index faa4930944be..3adc2a0573e7 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -64,6 +63,7 @@ public void ChildCatDeserializeFromParentPetTest()
// TODO uncomment below to test deserialize a ChildCat from type ParentPet
//Assert.IsType(JsonConvert.DeserializeObject(new ChildCat().ToJson()));
}
+
///
/// Test deserialize a ParentPet from type GrandparentAnimal
///
@@ -82,7 +82,5 @@ public void PetTypeTest()
{
// TODO unit test for the property 'PetType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
index 651a9f0ce30c..69abe3f9e6ad 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void HasOnlyReadOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Bar'
///
@@ -64,6 +62,7 @@ public void BarTest()
{
// TODO unit test for the property 'Bar'
}
+
///
/// Test the property 'Foo'
///
@@ -72,7 +71,5 @@ public void FooTest()
{
// TODO unit test for the property 'Foo'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
index 857190a3334d..794fda2c2d6d 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void HealthCheckResultInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'NullableMessage'
///
@@ -64,7 +62,5 @@ public void NullableMessageTest()
{
// TODO unit test for the property 'NullableMessage'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
index 755c417cc54f..ca8a058e37df 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void IsoscelesTriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
index 2ed828d05208..d659080e89c9 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,16 +54,13 @@ public void ListInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_123List'
+ /// Test the property 'Var123List'
///
[Fact]
- public void _123ListTest()
+ public void Var123ListTest()
{
- // TODO unit test for the property '_123List'
+ // TODO unit test for the property 'Var123List'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
index 74dc17b9f4a1..58dc425228ff 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
@@ -54,7 +54,6 @@ public void LiteralStringClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'EscapedLiteralString'
///
@@ -63,6 +62,7 @@ public void EscapedLiteralStringTest()
{
// TODO unit test for the property 'EscapedLiteralString'
}
+
///
/// Test the property 'UnescapedLiteralString'
///
@@ -71,7 +71,5 @@ public void UnescapedLiteralStringTest()
{
// TODO unit test for the property 'UnescapedLiteralString'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
index 7b46cbf06450..3fdadd19646c 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void MammalInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'HasBaleen'
///
@@ -64,6 +62,7 @@ public void HasBaleenTest()
{
// TODO unit test for the property 'HasBaleen'
}
+
///
/// Test the property 'HasTeeth'
///
@@ -72,6 +71,7 @@ public void HasTeethTest()
{
// TODO unit test for the property 'HasTeeth'
}
+
///
/// Test the property 'ClassName'
///
@@ -80,6 +80,7 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
+
///
/// Test the property 'Type'
///
@@ -88,7 +89,5 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
index 20036e1c905e..e055027f15bf 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void MapTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MapMapOfString'
///
@@ -64,6 +62,7 @@ public void MapMapOfStringTest()
{
// TODO unit test for the property 'MapMapOfString'
}
+
///
/// Test the property 'MapOfEnumString'
///
@@ -72,6 +71,7 @@ public void MapOfEnumStringTest()
{
// TODO unit test for the property 'MapOfEnumString'
}
+
///
/// Test the property 'DirectMap'
///
@@ -80,6 +80,7 @@ public void DirectMapTest()
{
// TODO unit test for the property 'DirectMap'
}
+
///
/// Test the property 'IndirectMap'
///
@@ -88,7 +89,5 @@ public void IndirectMapTest()
{
// TODO unit test for the property 'IndirectMap'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
index f56cd715f45f..07c592a8a4c0 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,6 +54,14 @@ public void MixedPropertiesAndAdditionalPropertiesClassInstanceTest()
//Assert.IsType(instance);
}
+ ///
+ /// Test the property 'UuidWithPattern'
+ ///
+ [Fact]
+ public void UuidWithPatternTest()
+ {
+ // TODO unit test for the property 'UuidWithPattern'
+ }
///
/// Test the property 'Uuid'
@@ -64,6 +71,7 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
+
///
/// Test the property 'DateTime'
///
@@ -72,6 +80,7 @@ public void DateTimeTest()
{
// TODO unit test for the property 'DateTime'
}
+
///
/// Test the property 'Map'
///
@@ -80,7 +89,5 @@ public void MapTest()
{
// TODO unit test for the property 'Map'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
index e25478618f20..85be687d5c2b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void Model200ResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Name'
///
@@ -64,6 +62,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'Class'
///
@@ -72,7 +71,5 @@ public void ClassTest()
{
// TODO unit test for the property 'Class'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
index 24a9e2631586..a5f4aa1593e1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,16 +54,13 @@ public void ModelClientInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_Client'
+ /// Test the property 'VarClient'
///
[Fact]
- public void _ClientTest()
+ public void VarClientTest()
{
- // TODO unit test for the property '_Client'
+ // TODO unit test for the property 'VarClient'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
index c390049e66dc..fc1756b66bec 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,15 +54,15 @@ public void NameInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_Name'
+ /// Test the property 'VarName'
///
[Fact]
- public void _NameTest()
+ public void VarNameTest()
{
- // TODO unit test for the property '_Name'
+ // TODO unit test for the property 'VarName'
}
+
///
/// Test the property 'SnakeCase'
///
@@ -72,6 +71,7 @@ public void SnakeCaseTest()
{
// TODO unit test for the property 'SnakeCase'
}
+
///
/// Test the property 'Property'
///
@@ -80,15 +80,14 @@ public void PropertyTest()
{
// TODO unit test for the property 'Property'
}
+
///
- /// Test the property '_123Number'
+ /// Test the property 'Var123Number'
///
[Fact]
- public void _123NumberTest()
+ public void Var123NumberTest()
{
- // TODO unit test for the property '_123Number'
+ // TODO unit test for the property 'Var123Number'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
index 8f00505612a9..214795f86c27 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NullableClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'IntegerProp'
///
@@ -64,6 +62,7 @@ public void IntegerPropTest()
{
// TODO unit test for the property 'IntegerProp'
}
+
///
/// Test the property 'NumberProp'
///
@@ -72,6 +71,7 @@ public void NumberPropTest()
{
// TODO unit test for the property 'NumberProp'
}
+
///
/// Test the property 'BooleanProp'
///
@@ -80,6 +80,7 @@ public void BooleanPropTest()
{
// TODO unit test for the property 'BooleanProp'
}
+
///
/// Test the property 'StringProp'
///
@@ -88,6 +89,7 @@ public void StringPropTest()
{
// TODO unit test for the property 'StringProp'
}
+
///
/// Test the property 'DateProp'
///
@@ -96,6 +98,7 @@ public void DatePropTest()
{
// TODO unit test for the property 'DateProp'
}
+
///
/// Test the property 'DatetimeProp'
///
@@ -104,6 +107,7 @@ public void DatetimePropTest()
{
// TODO unit test for the property 'DatetimeProp'
}
+
///
/// Test the property 'ArrayNullableProp'
///
@@ -112,6 +116,7 @@ public void ArrayNullablePropTest()
{
// TODO unit test for the property 'ArrayNullableProp'
}
+
///
/// Test the property 'ArrayAndItemsNullableProp'
///
@@ -120,6 +125,7 @@ public void ArrayAndItemsNullablePropTest()
{
// TODO unit test for the property 'ArrayAndItemsNullableProp'
}
+
///
/// Test the property 'ArrayItemsNullable'
///
@@ -128,6 +134,7 @@ public void ArrayItemsNullableTest()
{
// TODO unit test for the property 'ArrayItemsNullable'
}
+
///
/// Test the property 'ObjectNullableProp'
///
@@ -136,6 +143,7 @@ public void ObjectNullablePropTest()
{
// TODO unit test for the property 'ObjectNullableProp'
}
+
///
/// Test the property 'ObjectAndItemsNullableProp'
///
@@ -144,6 +152,7 @@ public void ObjectAndItemsNullablePropTest()
{
// TODO unit test for the property 'ObjectAndItemsNullableProp'
}
+
///
/// Test the property 'ObjectItemsNullable'
///
@@ -152,7 +161,5 @@ public void ObjectItemsNullableTest()
{
// TODO unit test for the property 'ObjectItemsNullable'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
index 0bc0ea369188..1290072514cd 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NullableGuidClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Uuid'
///
@@ -64,7 +62,5 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
index 5662f91d6e64..75e9c7e8fd49 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NullableShapeInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
index 3a06cb020b2a..2fb06f9afb48 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NumberOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'JustNumber'
///
@@ -64,7 +62,5 @@ public void JustNumberTest()
{
// TODO unit test for the property 'JustNumber'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
index 82f93fab48c5..e90b746d19c6 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ObjectWithDeprecatedFieldsInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Uuid'
///
@@ -64,6 +62,7 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
+
///
/// Test the property 'Id'
///
@@ -72,6 +71,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'DeprecatedRef'
///
@@ -80,6 +80,7 @@ public void DeprecatedRefTest()
{
// TODO unit test for the property 'DeprecatedRef'
}
+
///
/// Test the property 'Bars'
///
@@ -88,7 +89,5 @@ public void BarsTest()
{
// TODO unit test for the property 'Bars'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
index 75bd7cd9bfd0..04727e77c691 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
@@ -53,9 +53,5 @@ public void OneOfStringInstanceTest()
// TODO uncomment below to test "IsType" OneOfString
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
index cf5c561c5476..84d2828b367f 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void OrderInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'PetId'
///
@@ -72,6 +71,7 @@ public void PetIdTest()
{
// TODO unit test for the property 'PetId'
}
+
///
/// Test the property 'Quantity'
///
@@ -80,6 +80,7 @@ public void QuantityTest()
{
// TODO unit test for the property 'Quantity'
}
+
///
/// Test the property 'ShipDate'
///
@@ -88,6 +89,7 @@ public void ShipDateTest()
{
// TODO unit test for the property 'ShipDate'
}
+
///
/// Test the property 'Status'
///
@@ -96,6 +98,7 @@ public void StatusTest()
{
// TODO unit test for the property 'Status'
}
+
///
/// Test the property 'Complete'
///
@@ -104,7 +107,5 @@ public void CompleteTest()
{
// TODO unit test for the property 'Complete'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
index 2efda0db59c4..fd52fa2cfca7 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void OuterCompositeInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MyNumber'
///
@@ -64,6 +62,7 @@ public void MyNumberTest()
{
// TODO unit test for the property 'MyNumber'
}
+
///
/// Test the property 'MyString'
///
@@ -72,6 +71,7 @@ public void MyStringTest()
{
// TODO unit test for the property 'MyString'
}
+
///
/// Test the property 'MyBoolean'
///
@@ -80,7 +80,5 @@ public void MyBooleanTest()
{
// TODO unit test for the property 'MyBoolean'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
index 986fff774c46..db98c5a44ae3 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumDefaultValueInstanceTest()
// TODO uncomment below to test "IsType" OuterEnumDefaultValue
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
index 015d5dab945e..a4c028ea750d 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumIntegerDefaultValueInstanceTest()
// TODO uncomment below to test "IsType" OuterEnumIntegerDefaultValue
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
index 385e899110a4..4d1be408011e 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumIntegerInstanceTest()
// TODO uncomment below to test "IsType" OuterEnumInteger
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
index f47304767b9e..d4d6e96125d9 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumInstanceTest()
// TODO uncomment below to test "IsType" OuterEnum
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
index 1e17568ed331..eb9f5956b215 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -64,8 +63,5 @@ public void ChildCatDeserializeFromParentPetTest()
// TODO uncomment below to test deserialize a ChildCat from type ParentPet
//Assert.IsType(JsonConvert.DeserializeObject(new ChildCat().ToJson()));
}
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
index 154e66f8dfc0..535ab69d2aa2 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void PetInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Category'
///
@@ -72,6 +71,7 @@ public void CategoryTest()
{
// TODO unit test for the property 'Category'
}
+
///
/// Test the property 'Name'
///
@@ -80,6 +80,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'PhotoUrls'
///
@@ -88,6 +89,7 @@ public void PhotoUrlsTest()
{
// TODO unit test for the property 'PhotoUrls'
}
+
///
/// Test the property 'Tags'
///
@@ -96,6 +98,7 @@ public void TagsTest()
{
// TODO unit test for the property 'Tags'
}
+
///
/// Test the property 'Status'
///
@@ -104,7 +107,5 @@ public void StatusTest()
{
// TODO unit test for the property 'Status'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
index 55cf2189046b..34562dc6860f 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void PigInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ClassName'
///
@@ -64,7 +62,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
index eff3c6ddc9bb..a546cd2b0032 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void PolymorphicPropertyInstanceTest()
// TODO uncomment below to test "IsType" PolymorphicProperty
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
index 6eef9f4c816d..d08798b36050 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void QuadrilateralInterfaceInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'QuadrilateralType'
///
@@ -64,7 +62,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
index 26826681a478..cd996d7e0edf 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void QuadrilateralInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
index dc3d0fad54cd..056bc2b4519c 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ReadOnlyFirstInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Bar'
///
@@ -64,6 +62,7 @@ public void BarTest()
{
// TODO unit test for the property 'Bar'
}
+
///
/// Test the property 'Baz'
///
@@ -72,7 +71,5 @@ public void BazTest()
{
// TODO unit test for the property 'Baz'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
index c8c1d6510d2f..4779edd80792 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,16 +54,13 @@ public void ReturnInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_Return'
+ /// Test the property 'VarReturn'
///
[Fact]
- public void _ReturnTest()
+ public void VarReturnTest()
{
- // TODO unit test for the property '_Return'
+ // TODO unit test for the property 'VarReturn'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
index 04cb9f1ab6b1..a7332ab47b03 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ScaleneTriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
index 7bd0bc86f963..e082fb3b4faa 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ShapeInterfaceInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,7 +62,5 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
index d0af114157c9..b70c157800b5 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ShapeOrNullInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
index b01bd531f857..babd94722cfb 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ShapeInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
index 6648e9809281..24f0288bcac4 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void SimpleQuadrilateralInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
index 0f0e1ff12a9e..ef8a8d50e3ee 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void SpecialModelNameInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'SpecialPropertyName'
///
@@ -64,15 +62,14 @@ public void SpecialPropertyNameTest()
{
// TODO unit test for the property 'SpecialPropertyName'
}
+
///
- /// Test the property '_SpecialModelName'
+ /// Test the property 'VarSpecialModelName'
///
[Fact]
- public void _SpecialModelNameTest()
+ public void VarSpecialModelNameTest()
{
- // TODO unit test for the property '_SpecialModelName'
+ // TODO unit test for the property 'VarSpecialModelName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
index 6d56232d0a76..8f9ad604eab9 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TagInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Name'
///
@@ -72,7 +71,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
index 4def0dcda9cc..6623a04fcc40 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
@@ -54,7 +54,6 @@ public void TestCollectionEndingWithWordListObjectInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'TestCollectionEndingWithWordList'
///
@@ -63,7 +62,5 @@ public void TestCollectionEndingWithWordListTest()
{
// TODO unit test for the property 'TestCollectionEndingWithWordList'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
index e9df66daf2e5..a32943a0c841 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
@@ -54,7 +54,6 @@ public void TestCollectionEndingWithWordListInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Value'
///
@@ -63,7 +62,5 @@ public void ValueTest()
{
// TODO unit test for the property 'Value'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
index fba65470bee6..1750c64c4eda 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TriangleInterfaceInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'TriangleType'
///
@@ -64,7 +62,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
index bdaab0b47965..0dd209f5303a 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
index a7b095e4c28e..bc3cb3775de1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void UserInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Username'
///
@@ -72,6 +71,7 @@ public void UsernameTest()
{
// TODO unit test for the property 'Username'
}
+
///
/// Test the property 'FirstName'
///
@@ -80,6 +80,7 @@ public void FirstNameTest()
{
// TODO unit test for the property 'FirstName'
}
+
///
/// Test the property 'LastName'
///
@@ -88,6 +89,7 @@ public void LastNameTest()
{
// TODO unit test for the property 'LastName'
}
+
///
/// Test the property 'Email'
///
@@ -96,6 +98,7 @@ public void EmailTest()
{
// TODO unit test for the property 'Email'
}
+
///
/// Test the property 'Password'
///
@@ -104,6 +107,7 @@ public void PasswordTest()
{
// TODO unit test for the property 'Password'
}
+
///
/// Test the property 'Phone'
///
@@ -112,6 +116,7 @@ public void PhoneTest()
{
// TODO unit test for the property 'Phone'
}
+
///
/// Test the property 'UserStatus'
///
@@ -120,6 +125,7 @@ public void UserStatusTest()
{
// TODO unit test for the property 'UserStatus'
}
+
///
/// Test the property 'ObjectWithNoDeclaredProps'
///
@@ -128,6 +134,7 @@ public void ObjectWithNoDeclaredPropsTest()
{
// TODO unit test for the property 'ObjectWithNoDeclaredProps'
}
+
///
/// Test the property 'ObjectWithNoDeclaredPropsNullable'
///
@@ -136,6 +143,7 @@ public void ObjectWithNoDeclaredPropsNullableTest()
{
// TODO unit test for the property 'ObjectWithNoDeclaredPropsNullable'
}
+
///
/// Test the property 'AnyTypeProp'
///
@@ -144,6 +152,7 @@ public void AnyTypePropTest()
{
// TODO unit test for the property 'AnyTypeProp'
}
+
///
/// Test the property 'AnyTypePropNullable'
///
@@ -152,7 +161,5 @@ public void AnyTypePropNullableTest()
{
// TODO unit test for the property 'AnyTypePropNullable'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
index 09610791943c..de86c02372cd 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void WhaleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'HasBaleen'
///
@@ -64,6 +62,7 @@ public void HasBaleenTest()
{
// TODO unit test for the property 'HasBaleen'
}
+
///
/// Test the property 'HasTeeth'
///
@@ -72,6 +71,7 @@ public void HasTeethTest()
{
// TODO unit test for the property 'HasTeeth'
}
+
///
/// Test the property 'ClassName'
///
@@ -80,7 +80,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
index f44e92131400..55e70c43e0a0 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ZebraInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Type'
///
@@ -64,6 +62,7 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
+
///
/// Test the property 'ClassName'
///
@@ -72,7 +71,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
index f713baf3235e..d828b6d03a7b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
@@ -54,7 +54,6 @@ public void ZeroBasedEnumClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ZeroBasedEnum'
///
@@ -63,7 +62,5 @@ public void ZeroBasedEnumTest()
{
// TODO unit test for the property 'ZeroBasedEnum'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
index 412297e39f71..38260add43e8 100644
--- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
@@ -53,9 +53,5 @@ public void ZeroBasedEnumInstanceTest()
// TODO uncomment below to test "IsType" ZeroBasedEnum
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
index 5d048a005bdc..f870aa706425 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
@@ -64,5 +64,49 @@ public void FooGetTest()
//var response = instance.FooGet();
//Assert.IsType(response);
}
+
+ ///
+ /// Test GetCountry
+ ///
+ [Fact]
+ public void GetCountryTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string country = null;
+ //instance.GetCountry(country);
+ }
+
+ ///
+ /// Test Hello
+ ///
+ [Fact]
+ public void HelloTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.Hello();
+ //Assert.IsType>(response);
+ }
+
+ ///
+ /// Test RolesReportGet
+ ///
+ [Fact]
+ public void RolesReportGetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.RolesReportGet();
+ //Assert.IsType>>(response);
+ }
+
+ ///
+ /// Test Test
+ ///
+ [Fact]
+ public void TestTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.Test();
+ //Assert.IsType(response);
+ }
}
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
index 994cd46d38ae..20dfede3f9b1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
@@ -108,8 +108,9 @@ public void FakeOuterNumberSerializeTest()
public void FakeOuterStringSerializeTest()
{
// TODO uncomment below to test the method and replace null with proper value
+ //Guid requiredStringUuid = null;
//string body = null;
- //var response = instance.FakeOuterStringSerialize(body);
+ //var response = instance.FakeOuterStringSerialize(requiredStringUuid, body);
//Assert.IsType(response);
}
@@ -124,6 +125,39 @@ public void GetArrayOfEnumsTest()
//Assert.IsType>(response);
}
+ ///
+ /// Test GetMixedAnyOf
+ ///
+ [Fact]
+ public void GetMixedAnyOfTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.GetMixedAnyOf();
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test GetMixedOneOf
+ ///
+ [Fact]
+ public void GetMixedOneOfTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.GetMixedOneOf();
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestAdditionalPropertiesReference
+ ///
+ [Fact]
+ public void TestAdditionalPropertiesReferenceTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //Dictionary requestBody = null;
+ //instance.TestAdditionalPropertiesReference(requestBody);
+ }
+
///
/// Test TestBodyWithFileSchema
///
@@ -167,20 +201,20 @@ public void TestEndpointParametersTest()
{
// TODO uncomment below to test the method and replace null with proper value
//decimal number = null;
- //double _double = null;
+ //double varDouble = null;
//string patternWithoutDelimiter = null;
- //byte[] _byte = null;
+ //byte[] varByte = null;
//int? integer = null;
//int? int32 = null;
//long? int64 = null;
- //float? _float = null;
- //string _string = null;
+ //float? varFloat = null;
+ //string varString = null;
//System.IO.Stream binary = null;
//DateTime? date = null;
//DateTime? dateTime = null;
//string password = null;
//string callback = null;
- //instance.TestEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback);
+ //instance.TestEndpointParameters(number, varDouble, patternWithoutDelimiter, varByte, integer, int32, int64, varFloat, varString, binary, date, dateTime, password, callback);
}
///
@@ -228,6 +262,17 @@ public void TestInlineAdditionalPropertiesTest()
//instance.TestInlineAdditionalProperties(requestBody);
}
+ ///
+ /// Test TestInlineFreeformAdditionalProperties
+ ///
+ [Fact]
+ public void TestInlineFreeformAdditionalPropertiesTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null;
+ //instance.TestInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest);
+ }
+
///
/// Test TestJsonFormData
///
@@ -252,7 +297,22 @@ public void TestQueryParameterCollectionFormatTest()
//List http = null;
//List url = null;
//List context = null;
- //instance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
+ //string requiredNotNullable = null;
+ //string requiredNullable = null;
+ //string notRequiredNotNullable = null;
+ //string notRequiredNullable = null;
+ //instance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
+ }
+
+ ///
+ /// Test TestStringMapReference
+ ///
+ [Fact]
+ public void TestStringMapReferenceTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //Dictionary requestBody = null;
+ //instance.TestStringMapReference(requestBody);
}
}
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
index f211a64884af..b4bb73592031 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ActivityOutputElementRepresentationInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Prop1'
///
@@ -64,6 +62,7 @@ public void Prop1Test()
{
// TODO unit test for the property 'Prop1'
}
+
///
/// Test the property 'Prop2'
///
@@ -72,7 +71,5 @@ public void Prop2Test()
{
// TODO unit test for the property 'Prop2'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
index afe9e846ee94..0b9efbd5a20b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ActivityInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ActivityOutputs'
///
@@ -64,7 +62,5 @@ public void ActivityOutputsTest()
{
// TODO unit test for the property 'ActivityOutputs'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
index 9ab029ed0979..d766719b5bce 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void AdditionalPropertiesClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MapProperty'
///
@@ -64,6 +62,7 @@ public void MapPropertyTest()
{
// TODO unit test for the property 'MapProperty'
}
+
///
/// Test the property 'MapOfMapProperty'
///
@@ -72,6 +71,7 @@ public void MapOfMapPropertyTest()
{
// TODO unit test for the property 'MapOfMapProperty'
}
+
///
/// Test the property 'Anytype1'
///
@@ -80,6 +80,7 @@ public void Anytype1Test()
{
// TODO unit test for the property 'Anytype1'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesAnytype1'
///
@@ -88,6 +89,7 @@ public void MapWithUndeclaredPropertiesAnytype1Test()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype1'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesAnytype2'
///
@@ -96,6 +98,7 @@ public void MapWithUndeclaredPropertiesAnytype2Test()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype2'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesAnytype3'
///
@@ -104,6 +107,7 @@ public void MapWithUndeclaredPropertiesAnytype3Test()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype3'
}
+
///
/// Test the property 'EmptyMap'
///
@@ -112,6 +116,7 @@ public void EmptyMapTest()
{
// TODO unit test for the property 'EmptyMap'
}
+
///
/// Test the property 'MapWithUndeclaredPropertiesString'
///
@@ -120,7 +125,5 @@ public void MapWithUndeclaredPropertiesStringTest()
{
// TODO unit test for the property 'MapWithUndeclaredPropertiesString'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
index ced34a4faadd..0bc46ab7f479 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -64,6 +63,7 @@ public void CatDeserializeFromAnimalTest()
// TODO uncomment below to test deserialize a Cat from type Animal
//Assert.IsType(JsonConvert.DeserializeObject(new Cat().ToJson()));
}
+
///
/// Test deserialize a Dog from type Animal
///
@@ -82,6 +82,7 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
+
///
/// Test the property 'Color'
///
@@ -90,7 +91,5 @@ public void ColorTest()
{
// TODO unit test for the property 'Color'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
index 2a2e098e6082..901c6a02965e 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ApiResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Code'
///
@@ -64,6 +62,7 @@ public void CodeTest()
{
// TODO unit test for the property 'Code'
}
+
///
/// Test the property 'Type'
///
@@ -72,6 +71,7 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
+
///
/// Test the property 'Message'
///
@@ -80,7 +80,5 @@ public void MessageTest()
{
// TODO unit test for the property 'Message'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
index f945f6593685..94d06c61e236 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void AppleReqInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Cultivar'
///
@@ -64,6 +62,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Mealy'
///
@@ -72,7 +71,5 @@ public void MealyTest()
{
// TODO unit test for the property 'Mealy'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
index 468d60184ada..b3aa7e34f8db 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void AppleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Cultivar'
///
@@ -64,6 +62,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Origin'
///
@@ -73,6 +72,13 @@ public void OriginTest()
// TODO unit test for the property 'Origin'
}
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
index 0b259d7d3916..d52b1938e420 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ArrayOfArrayOfNumberOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ArrayArrayNumber'
///
@@ -64,7 +62,5 @@ public void ArrayArrayNumberTest()
{
// TODO unit test for the property 'ArrayArrayNumber'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
index 27f312ad25f5..421bfd6caeab 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ArrayOfNumberOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ArrayNumber'
///
@@ -64,7 +62,5 @@ public void ArrayNumberTest()
{
// TODO unit test for the property 'ArrayNumber'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
index a433e8c87cf7..5028c715b988 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ArrayTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ArrayOfString'
///
@@ -64,6 +62,7 @@ public void ArrayOfStringTest()
{
// TODO unit test for the property 'ArrayOfString'
}
+
///
/// Test the property 'ArrayArrayOfInteger'
///
@@ -72,6 +71,7 @@ public void ArrayArrayOfIntegerTest()
{
// TODO unit test for the property 'ArrayArrayOfInteger'
}
+
///
/// Test the property 'ArrayArrayOfModel'
///
@@ -80,7 +80,5 @@ public void ArrayArrayOfModelTest()
{
// TODO unit test for the property 'ArrayArrayOfModel'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
index 8a6eeb82eeea..8242ff9e7969 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void BananaReqInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'LengthCm'
///
@@ -64,6 +62,7 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
+
///
/// Test the property 'Sweet'
///
@@ -72,7 +71,5 @@ public void SweetTest()
{
// TODO unit test for the property 'Sweet'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
index 8d8cc376b038..ddcea686eee8 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void BananaInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'LengthCm'
///
@@ -64,7 +62,5 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
index 3cdccaa75959..9cb45c006e64 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void BasquePigInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ClassName'
///
@@ -64,7 +62,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
index 185c83666fc7..9e6a400d1ed1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CapitalizationInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'SmallCamel'
///
@@ -64,6 +62,7 @@ public void SmallCamelTest()
{
// TODO unit test for the property 'SmallCamel'
}
+
///
/// Test the property 'CapitalCamel'
///
@@ -72,6 +71,7 @@ public void CapitalCamelTest()
{
// TODO unit test for the property 'CapitalCamel'
}
+
///
/// Test the property 'SmallSnake'
///
@@ -80,6 +80,7 @@ public void SmallSnakeTest()
{
// TODO unit test for the property 'SmallSnake'
}
+
///
/// Test the property 'CapitalSnake'
///
@@ -88,6 +89,7 @@ public void CapitalSnakeTest()
{
// TODO unit test for the property 'CapitalSnake'
}
+
///
/// Test the property 'SCAETHFlowPoints'
///
@@ -96,6 +98,7 @@ public void SCAETHFlowPointsTest()
{
// TODO unit test for the property 'SCAETHFlowPoints'
}
+
///
/// Test the property 'ATT_NAME'
///
@@ -104,7 +107,5 @@ public void ATT_NAMETest()
{
// TODO unit test for the property 'ATT_NAME'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
index 701ba7602823..c1b10d32171b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CatInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Declawed'
///
@@ -64,7 +62,5 @@ public void DeclawedTest()
{
// TODO unit test for the property 'Declawed'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
index 6ce48e601e47..d1ef61862440 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void CategoryInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Name'
///
@@ -72,7 +71,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
index 68566fd8d560..b40a42cb0225 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ChildCatInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Name'
///
@@ -64,6 +62,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'PetType'
///
@@ -72,7 +71,5 @@ public void PetTypeTest()
{
// TODO unit test for the property 'PetType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
index d29472e83aaf..a09b95ab4c9c 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ClassModelInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Class'
///
@@ -64,7 +62,5 @@ public void ClassTest()
{
// TODO unit test for the property 'Class'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
index b3529280c8d6..835c5b87bc6e 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ComplexQuadrilateralInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
index 572d9bffa790..765496ea0ced 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DanishPigInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ClassName'
///
@@ -64,7 +62,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
index 3bd2b54a366a..67be10782efd 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DateOnlyClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'DateOnlyProperty'
///
@@ -64,7 +62,5 @@ public void DateOnlyPropertyTest()
{
// TODO unit test for the property 'DateOnlyProperty'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
index 1da5f4011c95..be6b35dbf451 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DeprecatedObjectInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Name'
///
@@ -64,7 +62,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
index 992f93a51fd5..a00de64ef51a 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DogInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Breed'
///
@@ -64,7 +62,5 @@ public void BreedTest()
{
// TODO unit test for the property 'Breed'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
index 0709ad9eeb3b..3b1308e50513 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void DrawingInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MainShape'
///
@@ -64,6 +62,7 @@ public void MainShapeTest()
{
// TODO unit test for the property 'MainShape'
}
+
///
/// Test the property 'ShapeOrNull'
///
@@ -72,6 +71,7 @@ public void ShapeOrNullTest()
{
// TODO unit test for the property 'ShapeOrNull'
}
+
///
/// Test the property 'NullableShape'
///
@@ -80,6 +80,7 @@ public void NullableShapeTest()
{
// TODO unit test for the property 'NullableShape'
}
+
///
/// Test the property 'Shapes'
///
@@ -88,7 +89,5 @@ public void ShapesTest()
{
// TODO unit test for the property 'Shapes'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
index 5779ca294775..6fcfa6f448c1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void EnumArraysInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'JustSymbol'
///
@@ -64,6 +62,7 @@ public void JustSymbolTest()
{
// TODO unit test for the property 'JustSymbol'
}
+
///
/// Test the property 'ArrayEnum'
///
@@ -72,7 +71,5 @@ public void ArrayEnumTest()
{
// TODO unit test for the property 'ArrayEnum'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
index a17738c5cbc5..bb46e292a652 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void EnumClassInstanceTest()
// TODO uncomment below to test "IsType" EnumClass
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
index 4f81b845d493..3050af442410 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void EnumTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'EnumString'
///
@@ -64,6 +62,7 @@ public void EnumStringTest()
{
// TODO unit test for the property 'EnumString'
}
+
///
/// Test the property 'EnumStringRequired'
///
@@ -72,6 +71,7 @@ public void EnumStringRequiredTest()
{
// TODO unit test for the property 'EnumStringRequired'
}
+
///
/// Test the property 'EnumInteger'
///
@@ -80,6 +80,7 @@ public void EnumIntegerTest()
{
// TODO unit test for the property 'EnumInteger'
}
+
///
/// Test the property 'EnumIntegerOnly'
///
@@ -88,6 +89,7 @@ public void EnumIntegerOnlyTest()
{
// TODO unit test for the property 'EnumIntegerOnly'
}
+
///
/// Test the property 'EnumNumber'
///
@@ -96,6 +98,7 @@ public void EnumNumberTest()
{
// TODO unit test for the property 'EnumNumber'
}
+
///
/// Test the property 'OuterEnum'
///
@@ -104,6 +107,7 @@ public void OuterEnumTest()
{
// TODO unit test for the property 'OuterEnum'
}
+
///
/// Test the property 'OuterEnumInteger'
///
@@ -112,6 +116,7 @@ public void OuterEnumIntegerTest()
{
// TODO unit test for the property 'OuterEnumInteger'
}
+
///
/// Test the property 'OuterEnumDefaultValue'
///
@@ -120,6 +125,7 @@ public void OuterEnumDefaultValueTest()
{
// TODO unit test for the property 'OuterEnumDefaultValue'
}
+
///
/// Test the property 'OuterEnumIntegerDefaultValue'
///
@@ -128,7 +134,5 @@ public void OuterEnumIntegerDefaultValueTest()
{
// TODO unit test for the property 'OuterEnumIntegerDefaultValue'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
index 4663cb667de6..71d48f7e200a 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void EquilateralTriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
index 9f45b4fe89d5..d89ad5a5bc7b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FileSchemaTestClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'File'
///
@@ -64,6 +62,7 @@ public void FileTest()
{
// TODO unit test for the property 'File'
}
+
///
/// Test the property 'Files'
///
@@ -72,7 +71,5 @@ public void FilesTest()
{
// TODO unit test for the property 'Files'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
index 761bb72a844f..7eaea9c8786f 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FileInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'SourceURI'
///
@@ -64,7 +62,5 @@ public void SourceURITest()
{
// TODO unit test for the property 'SourceURI'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
index 0154d528418e..563269643111 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FooGetDefaultResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'String'
///
@@ -64,7 +62,5 @@ public void StringTest()
{
// TODO unit test for the property 'String'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
index 0b6ed52edbd4..52f87dd5b0e0 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FooInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Bar'
///
@@ -64,7 +62,5 @@ public void BarTest()
{
// TODO unit test for the property 'Bar'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
index 97332800e9af..fbe8039a5a30 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FormatTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Integer'
///
@@ -64,6 +62,7 @@ public void IntegerTest()
{
// TODO unit test for the property 'Integer'
}
+
///
/// Test the property 'Int32'
///
@@ -72,6 +71,16 @@ public void Int32Test()
{
// TODO unit test for the property 'Int32'
}
+
+ ///
+ /// Test the property 'UnsignedInteger'
+ ///
+ [Fact]
+ public void UnsignedIntegerTest()
+ {
+ // TODO unit test for the property 'UnsignedInteger'
+ }
+
///
/// Test the property 'Int64'
///
@@ -80,6 +89,16 @@ public void Int64Test()
{
// TODO unit test for the property 'Int64'
}
+
+ ///
+ /// Test the property 'UnsignedLong'
+ ///
+ [Fact]
+ public void UnsignedLongTest()
+ {
+ // TODO unit test for the property 'UnsignedLong'
+ }
+
///
/// Test the property 'Number'
///
@@ -88,6 +107,7 @@ public void NumberTest()
{
// TODO unit test for the property 'Number'
}
+
///
/// Test the property 'Float'
///
@@ -96,6 +116,7 @@ public void FloatTest()
{
// TODO unit test for the property 'Float'
}
+
///
/// Test the property 'Double'
///
@@ -104,6 +125,7 @@ public void DoubleTest()
{
// TODO unit test for the property 'Double'
}
+
///
/// Test the property 'Decimal'
///
@@ -112,6 +134,7 @@ public void DecimalTest()
{
// TODO unit test for the property 'Decimal'
}
+
///
/// Test the property 'String'
///
@@ -120,6 +143,7 @@ public void StringTest()
{
// TODO unit test for the property 'String'
}
+
///
/// Test the property 'Byte'
///
@@ -128,6 +152,7 @@ public void ByteTest()
{
// TODO unit test for the property 'Byte'
}
+
///
/// Test the property 'Binary'
///
@@ -136,6 +161,7 @@ public void BinaryTest()
{
// TODO unit test for the property 'Binary'
}
+
///
/// Test the property 'Date'
///
@@ -144,6 +170,7 @@ public void DateTest()
{
// TODO unit test for the property 'Date'
}
+
///
/// Test the property 'DateTime'
///
@@ -152,6 +179,7 @@ public void DateTimeTest()
{
// TODO unit test for the property 'DateTime'
}
+
///
/// Test the property 'Uuid'
///
@@ -160,6 +188,7 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
+
///
/// Test the property 'Password'
///
@@ -168,6 +197,7 @@ public void PasswordTest()
{
// TODO unit test for the property 'Password'
}
+
///
/// Test the property 'PatternWithDigits'
///
@@ -176,6 +206,7 @@ public void PatternWithDigitsTest()
{
// TODO unit test for the property 'PatternWithDigits'
}
+
///
/// Test the property 'PatternWithDigitsAndDelimiter'
///
@@ -185,6 +216,13 @@ public void PatternWithDigitsAndDelimiterTest()
// TODO unit test for the property 'PatternWithDigitsAndDelimiter'
}
+ ///
+ /// Test the property 'PatternWithBackslash'
+ ///
+ [Fact]
+ public void PatternWithBackslashTest()
+ {
+ // TODO unit test for the property 'PatternWithBackslash'
+ }
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
index 5ea9e3ffc1d5..771ef1ae2c5d 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FruitReqInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Cultivar'
///
@@ -64,6 +62,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Mealy'
///
@@ -72,6 +71,7 @@ public void MealyTest()
{
// TODO unit test for the property 'Mealy'
}
+
///
/// Test the property 'LengthCm'
///
@@ -80,6 +80,7 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
+
///
/// Test the property 'Sweet'
///
@@ -88,7 +89,5 @@ public void SweetTest()
{
// TODO unit test for the property 'Sweet'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
index 91e069bb42fa..53881a333193 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void FruitInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Color'
///
@@ -64,6 +62,7 @@ public void ColorTest()
{
// TODO unit test for the property 'Color'
}
+
///
/// Test the property 'Cultivar'
///
@@ -72,6 +71,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Origin'
///
@@ -80,6 +80,16 @@ public void OriginTest()
{
// TODO unit test for the property 'Origin'
}
+
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
+
///
/// Test the property 'LengthCm'
///
@@ -88,7 +98,5 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
index 08fb0e07a1c8..6322d4e2a721 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void GmFruitInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Color'
///
@@ -64,6 +62,7 @@ public void ColorTest()
{
// TODO unit test for the property 'Color'
}
+
///
/// Test the property 'Cultivar'
///
@@ -72,6 +71,7 @@ public void CultivarTest()
{
// TODO unit test for the property 'Cultivar'
}
+
///
/// Test the property 'Origin'
///
@@ -80,6 +80,16 @@ public void OriginTest()
{
// TODO unit test for the property 'Origin'
}
+
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
+
///
/// Test the property 'LengthCm'
///
@@ -88,7 +98,5 @@ public void LengthCmTest()
{
// TODO unit test for the property 'LengthCm'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
index faa4930944be..3adc2a0573e7 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -64,6 +63,7 @@ public void ChildCatDeserializeFromParentPetTest()
// TODO uncomment below to test deserialize a ChildCat from type ParentPet
//Assert.IsType(JsonConvert.DeserializeObject(new ChildCat().ToJson()));
}
+
///
/// Test deserialize a ParentPet from type GrandparentAnimal
///
@@ -82,7 +82,5 @@ public void PetTypeTest()
{
// TODO unit test for the property 'PetType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
index 651a9f0ce30c..69abe3f9e6ad 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void HasOnlyReadOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Bar'
///
@@ -64,6 +62,7 @@ public void BarTest()
{
// TODO unit test for the property 'Bar'
}
+
///
/// Test the property 'Foo'
///
@@ -72,7 +71,5 @@ public void FooTest()
{
// TODO unit test for the property 'Foo'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
index 857190a3334d..794fda2c2d6d 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void HealthCheckResultInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'NullableMessage'
///
@@ -64,7 +62,5 @@ public void NullableMessageTest()
{
// TODO unit test for the property 'NullableMessage'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
index 755c417cc54f..ca8a058e37df 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void IsoscelesTriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
index 2ed828d05208..d659080e89c9 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,16 +54,13 @@ public void ListInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_123List'
+ /// Test the property 'Var123List'
///
[Fact]
- public void _123ListTest()
+ public void Var123ListTest()
{
- // TODO unit test for the property '_123List'
+ // TODO unit test for the property 'Var123List'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
index 74dc17b9f4a1..58dc425228ff 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
@@ -54,7 +54,6 @@ public void LiteralStringClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'EscapedLiteralString'
///
@@ -63,6 +62,7 @@ public void EscapedLiteralStringTest()
{
// TODO unit test for the property 'EscapedLiteralString'
}
+
///
/// Test the property 'UnescapedLiteralString'
///
@@ -71,7 +71,5 @@ public void UnescapedLiteralStringTest()
{
// TODO unit test for the property 'UnescapedLiteralString'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
index 7b46cbf06450..3fdadd19646c 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void MammalInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'HasBaleen'
///
@@ -64,6 +62,7 @@ public void HasBaleenTest()
{
// TODO unit test for the property 'HasBaleen'
}
+
///
/// Test the property 'HasTeeth'
///
@@ -72,6 +71,7 @@ public void HasTeethTest()
{
// TODO unit test for the property 'HasTeeth'
}
+
///
/// Test the property 'ClassName'
///
@@ -80,6 +80,7 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
+
///
/// Test the property 'Type'
///
@@ -88,7 +89,5 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
index 20036e1c905e..e055027f15bf 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void MapTestInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MapMapOfString'
///
@@ -64,6 +62,7 @@ public void MapMapOfStringTest()
{
// TODO unit test for the property 'MapMapOfString'
}
+
///
/// Test the property 'MapOfEnumString'
///
@@ -72,6 +71,7 @@ public void MapOfEnumStringTest()
{
// TODO unit test for the property 'MapOfEnumString'
}
+
///
/// Test the property 'DirectMap'
///
@@ -80,6 +80,7 @@ public void DirectMapTest()
{
// TODO unit test for the property 'DirectMap'
}
+
///
/// Test the property 'IndirectMap'
///
@@ -88,7 +89,5 @@ public void IndirectMapTest()
{
// TODO unit test for the property 'IndirectMap'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
index f56cd715f45f..07c592a8a4c0 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,6 +54,14 @@ public void MixedPropertiesAndAdditionalPropertiesClassInstanceTest()
//Assert.IsType(instance);
}
+ ///
+ /// Test the property 'UuidWithPattern'
+ ///
+ [Fact]
+ public void UuidWithPatternTest()
+ {
+ // TODO unit test for the property 'UuidWithPattern'
+ }
///
/// Test the property 'Uuid'
@@ -64,6 +71,7 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
+
///
/// Test the property 'DateTime'
///
@@ -72,6 +80,7 @@ public void DateTimeTest()
{
// TODO unit test for the property 'DateTime'
}
+
///
/// Test the property 'Map'
///
@@ -80,7 +89,5 @@ public void MapTest()
{
// TODO unit test for the property 'Map'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
index e25478618f20..85be687d5c2b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void Model200ResponseInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Name'
///
@@ -64,6 +62,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'Class'
///
@@ -72,7 +71,5 @@ public void ClassTest()
{
// TODO unit test for the property 'Class'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
index 24a9e2631586..a5f4aa1593e1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,16 +54,13 @@ public void ModelClientInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_Client'
+ /// Test the property 'VarClient'
///
[Fact]
- public void _ClientTest()
+ public void VarClientTest()
{
- // TODO unit test for the property '_Client'
+ // TODO unit test for the property 'VarClient'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
index c390049e66dc..fc1756b66bec 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,15 +54,15 @@ public void NameInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_Name'
+ /// Test the property 'VarName'
///
[Fact]
- public void _NameTest()
+ public void VarNameTest()
{
- // TODO unit test for the property '_Name'
+ // TODO unit test for the property 'VarName'
}
+
///
/// Test the property 'SnakeCase'
///
@@ -72,6 +71,7 @@ public void SnakeCaseTest()
{
// TODO unit test for the property 'SnakeCase'
}
+
///
/// Test the property 'Property'
///
@@ -80,15 +80,14 @@ public void PropertyTest()
{
// TODO unit test for the property 'Property'
}
+
///
- /// Test the property '_123Number'
+ /// Test the property 'Var123Number'
///
[Fact]
- public void _123NumberTest()
+ public void Var123NumberTest()
{
- // TODO unit test for the property '_123Number'
+ // TODO unit test for the property 'Var123Number'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
index 8f00505612a9..214795f86c27 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NullableClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'IntegerProp'
///
@@ -64,6 +62,7 @@ public void IntegerPropTest()
{
// TODO unit test for the property 'IntegerProp'
}
+
///
/// Test the property 'NumberProp'
///
@@ -72,6 +71,7 @@ public void NumberPropTest()
{
// TODO unit test for the property 'NumberProp'
}
+
///
/// Test the property 'BooleanProp'
///
@@ -80,6 +80,7 @@ public void BooleanPropTest()
{
// TODO unit test for the property 'BooleanProp'
}
+
///
/// Test the property 'StringProp'
///
@@ -88,6 +89,7 @@ public void StringPropTest()
{
// TODO unit test for the property 'StringProp'
}
+
///
/// Test the property 'DateProp'
///
@@ -96,6 +98,7 @@ public void DatePropTest()
{
// TODO unit test for the property 'DateProp'
}
+
///
/// Test the property 'DatetimeProp'
///
@@ -104,6 +107,7 @@ public void DatetimePropTest()
{
// TODO unit test for the property 'DatetimeProp'
}
+
///
/// Test the property 'ArrayNullableProp'
///
@@ -112,6 +116,7 @@ public void ArrayNullablePropTest()
{
// TODO unit test for the property 'ArrayNullableProp'
}
+
///
/// Test the property 'ArrayAndItemsNullableProp'
///
@@ -120,6 +125,7 @@ public void ArrayAndItemsNullablePropTest()
{
// TODO unit test for the property 'ArrayAndItemsNullableProp'
}
+
///
/// Test the property 'ArrayItemsNullable'
///
@@ -128,6 +134,7 @@ public void ArrayItemsNullableTest()
{
// TODO unit test for the property 'ArrayItemsNullable'
}
+
///
/// Test the property 'ObjectNullableProp'
///
@@ -136,6 +143,7 @@ public void ObjectNullablePropTest()
{
// TODO unit test for the property 'ObjectNullableProp'
}
+
///
/// Test the property 'ObjectAndItemsNullableProp'
///
@@ -144,6 +152,7 @@ public void ObjectAndItemsNullablePropTest()
{
// TODO unit test for the property 'ObjectAndItemsNullableProp'
}
+
///
/// Test the property 'ObjectItemsNullable'
///
@@ -152,7 +161,5 @@ public void ObjectItemsNullableTest()
{
// TODO unit test for the property 'ObjectItemsNullable'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
index 0bc0ea369188..1290072514cd 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NullableGuidClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Uuid'
///
@@ -64,7 +62,5 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
index 5662f91d6e64..75e9c7e8fd49 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NullableShapeInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
index 3a06cb020b2a..2fb06f9afb48 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void NumberOnlyInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'JustNumber'
///
@@ -64,7 +62,5 @@ public void JustNumberTest()
{
// TODO unit test for the property 'JustNumber'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
index 82f93fab48c5..e90b746d19c6 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ObjectWithDeprecatedFieldsInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Uuid'
///
@@ -64,6 +62,7 @@ public void UuidTest()
{
// TODO unit test for the property 'Uuid'
}
+
///
/// Test the property 'Id'
///
@@ -72,6 +71,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'DeprecatedRef'
///
@@ -80,6 +80,7 @@ public void DeprecatedRefTest()
{
// TODO unit test for the property 'DeprecatedRef'
}
+
///
/// Test the property 'Bars'
///
@@ -88,7 +89,5 @@ public void BarsTest()
{
// TODO unit test for the property 'Bars'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
index 75bd7cd9bfd0..04727e77c691 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
@@ -53,9 +53,5 @@ public void OneOfStringInstanceTest()
// TODO uncomment below to test "IsType" OneOfString
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
index cf5c561c5476..84d2828b367f 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void OrderInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'PetId'
///
@@ -72,6 +71,7 @@ public void PetIdTest()
{
// TODO unit test for the property 'PetId'
}
+
///
/// Test the property 'Quantity'
///
@@ -80,6 +80,7 @@ public void QuantityTest()
{
// TODO unit test for the property 'Quantity'
}
+
///
/// Test the property 'ShipDate'
///
@@ -88,6 +89,7 @@ public void ShipDateTest()
{
// TODO unit test for the property 'ShipDate'
}
+
///
/// Test the property 'Status'
///
@@ -96,6 +98,7 @@ public void StatusTest()
{
// TODO unit test for the property 'Status'
}
+
///
/// Test the property 'Complete'
///
@@ -104,7 +107,5 @@ public void CompleteTest()
{
// TODO unit test for the property 'Complete'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
index 2efda0db59c4..fd52fa2cfca7 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void OuterCompositeInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'MyNumber'
///
@@ -64,6 +62,7 @@ public void MyNumberTest()
{
// TODO unit test for the property 'MyNumber'
}
+
///
/// Test the property 'MyString'
///
@@ -72,6 +71,7 @@ public void MyStringTest()
{
// TODO unit test for the property 'MyString'
}
+
///
/// Test the property 'MyBoolean'
///
@@ -80,7 +80,5 @@ public void MyBooleanTest()
{
// TODO unit test for the property 'MyBoolean'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
index 986fff774c46..db98c5a44ae3 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumDefaultValueInstanceTest()
// TODO uncomment below to test "IsType" OuterEnumDefaultValue
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
index 015d5dab945e..a4c028ea750d 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumIntegerDefaultValueInstanceTest()
// TODO uncomment below to test "IsType" OuterEnumIntegerDefaultValue
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
index 385e899110a4..4d1be408011e 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumIntegerInstanceTest()
// TODO uncomment below to test "IsType" OuterEnumInteger
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
index f47304767b9e..d4d6e96125d9 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void OuterEnumInstanceTest()
// TODO uncomment below to test "IsType" OuterEnum
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
index 1e17568ed331..eb9f5956b215 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -64,8 +63,5 @@ public void ChildCatDeserializeFromParentPetTest()
// TODO uncomment below to test deserialize a ChildCat from type ParentPet
//Assert.IsType(JsonConvert.DeserializeObject(new ChildCat().ToJson()));
}
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
index 154e66f8dfc0..535ab69d2aa2 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void PetInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Category'
///
@@ -72,6 +71,7 @@ public void CategoryTest()
{
// TODO unit test for the property 'Category'
}
+
///
/// Test the property 'Name'
///
@@ -80,6 +80,7 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
+
///
/// Test the property 'PhotoUrls'
///
@@ -88,6 +89,7 @@ public void PhotoUrlsTest()
{
// TODO unit test for the property 'PhotoUrls'
}
+
///
/// Test the property 'Tags'
///
@@ -96,6 +98,7 @@ public void TagsTest()
{
// TODO unit test for the property 'Tags'
}
+
///
/// Test the property 'Status'
///
@@ -104,7 +107,5 @@ public void StatusTest()
{
// TODO unit test for the property 'Status'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
index 55cf2189046b..34562dc6860f 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void PigInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ClassName'
///
@@ -64,7 +62,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
index eff3c6ddc9bb..a546cd2b0032 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -54,9 +53,5 @@ public void PolymorphicPropertyInstanceTest()
// TODO uncomment below to test "IsType" PolymorphicProperty
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
index 6eef9f4c816d..d08798b36050 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void QuadrilateralInterfaceInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'QuadrilateralType'
///
@@ -64,7 +62,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
index 26826681a478..cd996d7e0edf 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void QuadrilateralInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
index dc3d0fad54cd..056bc2b4519c 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ReadOnlyFirstInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Bar'
///
@@ -64,6 +62,7 @@ public void BarTest()
{
// TODO unit test for the property 'Bar'
}
+
///
/// Test the property 'Baz'
///
@@ -72,7 +71,5 @@ public void BazTest()
{
// TODO unit test for the property 'Baz'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
index c8c1d6510d2f..4779edd80792 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,16 +54,13 @@ public void ReturnInstanceTest()
//Assert.IsType(instance);
}
-
///
- /// Test the property '_Return'
+ /// Test the property 'VarReturn'
///
[Fact]
- public void _ReturnTest()
+ public void VarReturnTest()
{
- // TODO unit test for the property '_Return'
+ // TODO unit test for the property 'VarReturn'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
index 04cb9f1ab6b1..a7332ab47b03 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ScaleneTriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
index 7bd0bc86f963..e082fb3b4faa 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ShapeInterfaceInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,7 +62,5 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
index d0af114157c9..b70c157800b5 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ShapeOrNullInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
index b01bd531f857..babd94722cfb 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ShapeInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
index 6648e9809281..24f0288bcac4 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void SimpleQuadrilateralInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'QuadrilateralType'
///
@@ -72,7 +71,5 @@ public void QuadrilateralTypeTest()
{
// TODO unit test for the property 'QuadrilateralType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
index 0f0e1ff12a9e..ef8a8d50e3ee 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void SpecialModelNameInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'SpecialPropertyName'
///
@@ -64,15 +62,14 @@ public void SpecialPropertyNameTest()
{
// TODO unit test for the property 'SpecialPropertyName'
}
+
///
- /// Test the property '_SpecialModelName'
+ /// Test the property 'VarSpecialModelName'
///
[Fact]
- public void _SpecialModelNameTest()
+ public void VarSpecialModelNameTest()
{
- // TODO unit test for the property '_SpecialModelName'
+ // TODO unit test for the property 'VarSpecialModelName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
index 6d56232d0a76..8f9ad604eab9 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TagInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Name'
///
@@ -72,7 +71,5 @@ public void NameTest()
{
// TODO unit test for the property 'Name'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
index 4def0dcda9cc..6623a04fcc40 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
@@ -54,7 +54,6 @@ public void TestCollectionEndingWithWordListObjectInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'TestCollectionEndingWithWordList'
///
@@ -63,7 +62,5 @@ public void TestCollectionEndingWithWordListTest()
{
// TODO unit test for the property 'TestCollectionEndingWithWordList'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
index e9df66daf2e5..a32943a0c841 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
@@ -54,7 +54,6 @@ public void TestCollectionEndingWithWordListInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Value'
///
@@ -63,7 +62,5 @@ public void ValueTest()
{
// TODO unit test for the property 'Value'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
index fba65470bee6..1750c64c4eda 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TriangleInterfaceInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'TriangleType'
///
@@ -64,7 +62,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
index bdaab0b47965..0dd209f5303a 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void TriangleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ShapeType'
///
@@ -64,6 +62,7 @@ public void ShapeTypeTest()
{
// TODO unit test for the property 'ShapeType'
}
+
///
/// Test the property 'TriangleType'
///
@@ -72,7 +71,5 @@ public void TriangleTypeTest()
{
// TODO unit test for the property 'TriangleType'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
index a7b095e4c28e..bc3cb3775de1 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void UserInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Id'
///
@@ -64,6 +62,7 @@ public void IdTest()
{
// TODO unit test for the property 'Id'
}
+
///
/// Test the property 'Username'
///
@@ -72,6 +71,7 @@ public void UsernameTest()
{
// TODO unit test for the property 'Username'
}
+
///
/// Test the property 'FirstName'
///
@@ -80,6 +80,7 @@ public void FirstNameTest()
{
// TODO unit test for the property 'FirstName'
}
+
///
/// Test the property 'LastName'
///
@@ -88,6 +89,7 @@ public void LastNameTest()
{
// TODO unit test for the property 'LastName'
}
+
///
/// Test the property 'Email'
///
@@ -96,6 +98,7 @@ public void EmailTest()
{
// TODO unit test for the property 'Email'
}
+
///
/// Test the property 'Password'
///
@@ -104,6 +107,7 @@ public void PasswordTest()
{
// TODO unit test for the property 'Password'
}
+
///
/// Test the property 'Phone'
///
@@ -112,6 +116,7 @@ public void PhoneTest()
{
// TODO unit test for the property 'Phone'
}
+
///
/// Test the property 'UserStatus'
///
@@ -120,6 +125,7 @@ public void UserStatusTest()
{
// TODO unit test for the property 'UserStatus'
}
+
///
/// Test the property 'ObjectWithNoDeclaredProps'
///
@@ -128,6 +134,7 @@ public void ObjectWithNoDeclaredPropsTest()
{
// TODO unit test for the property 'ObjectWithNoDeclaredProps'
}
+
///
/// Test the property 'ObjectWithNoDeclaredPropsNullable'
///
@@ -136,6 +143,7 @@ public void ObjectWithNoDeclaredPropsNullableTest()
{
// TODO unit test for the property 'ObjectWithNoDeclaredPropsNullable'
}
+
///
/// Test the property 'AnyTypeProp'
///
@@ -144,6 +152,7 @@ public void AnyTypePropTest()
{
// TODO unit test for the property 'AnyTypeProp'
}
+
///
/// Test the property 'AnyTypePropNullable'
///
@@ -152,7 +161,5 @@ public void AnyTypePropNullableTest()
{
// TODO unit test for the property 'AnyTypePropNullable'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
index 09610791943c..de86c02372cd 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void WhaleInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'HasBaleen'
///
@@ -64,6 +62,7 @@ public void HasBaleenTest()
{
// TODO unit test for the property 'HasBaleen'
}
+
///
/// Test the property 'HasTeeth'
///
@@ -72,6 +71,7 @@ public void HasTeethTest()
{
// TODO unit test for the property 'HasTeeth'
}
+
///
/// Test the property 'ClassName'
///
@@ -80,7 +80,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
index f44e92131400..55e70c43e0a0 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
@@ -14,7 +14,6 @@
using System.Linq;
using System.IO;
using System.Collections.Generic;
-using Org.OpenAPITools.Api;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;
@@ -55,7 +54,6 @@ public void ZebraInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'Type'
///
@@ -64,6 +62,7 @@ public void TypeTest()
{
// TODO unit test for the property 'Type'
}
+
///
/// Test the property 'ClassName'
///
@@ -72,7 +71,5 @@ public void ClassNameTest()
{
// TODO unit test for the property 'ClassName'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
index f713baf3235e..d828b6d03a7b 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
@@ -54,7 +54,6 @@ public void ZeroBasedEnumClassInstanceTest()
//Assert.IsType(instance);
}
-
///
/// Test the property 'ZeroBasedEnum'
///
@@ -63,7 +62,5 @@ public void ZeroBasedEnumTest()
{
// TODO unit test for the property 'ZeroBasedEnum'
}
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
index 412297e39f71..38260add43e8 100644
--- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
@@ -53,9 +53,5 @@ public void ZeroBasedEnumInstanceTest()
// TODO uncomment below to test "IsType" ZeroBasedEnum
//Assert.IsType(instance);
}
-
-
-
}
-
}
diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
index 5d048a005bdc..f870aa706425 100644
--- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
@@ -64,5 +64,49 @@ public void FooGetTest()
//var response = instance.FooGet();
//Assert.IsType(response);
}
+
+ ///
+ /// Test GetCountry
+ ///
+ [Fact]
+ public void GetCountryTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string country = null;
+ //instance.GetCountry(country);
+ }
+
+ ///
+ /// Test Hello
+ ///
+ [Fact]
+ public void HelloTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.Hello();
+ //Assert.IsType>(response);
+ }
+
+ ///
+ /// Test RolesReportGet
+ ///
+ [Fact]
+ public void RolesReportGetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.RolesReportGet();
+ //Assert.IsType>>(response);
+ }
+
+ ///
+ /// Test Test
+ ///
+ [Fact]
+ public void TestTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.Test();
+ //Assert.IsType(response);
+ }
}
}
diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
index 994cd46d38ae..c436338550ab 100644
--- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
+++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
@@ -84,7 +84,7 @@ public void FakeOuterBooleanSerializeTest()
public void FakeOuterCompositeSerializeTest()
{
// TODO uncomment below to test the method and replace null with proper value
- //OuterComposite outerComposite = null;
+ //OuterComposite? outerComposite = null;
//var response = instance.FakeOuterCompositeSerialize(outerComposite);
//Assert.IsType(response);
}
@@ -108,8 +108,9 @@ public void FakeOuterNumberSerializeTest()
public void FakeOuterStringSerializeTest()
{
// TODO uncomment below to test the method and replace null with proper value
- //string body = null;
- //var response = instance.FakeOuterStringSerialize(body);
+ //Guid requiredStringUuid = null;
+ //string? body = null;
+ //var response = instance.FakeOuterStringSerialize(requiredStringUuid, body);
//Assert.IsType(response);
}
@@ -124,6 +125,39 @@ public void GetArrayOfEnumsTest()
//Assert.IsType>(response);
}
+ ///
+ /// Test GetMixedAnyOf
+ ///
+ [Fact]
+ public void GetMixedAnyOfTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.GetMixedAnyOf();
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test GetMixedOneOf
+ ///
+ [Fact]
+ public void GetMixedOneOfTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.GetMixedOneOf();
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestAdditionalPropertiesReference
+ ///
+ [Fact]
+ public void TestAdditionalPropertiesReferenceTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //Dictionary requestBody = null;
+ //instance.TestAdditionalPropertiesReference(requestBody);
+ }
+
///