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); + } + /// /// 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; - //System.IO.Stream binary = null; - //DateTime? date = null; + //float? varFloat = null; + //string? varString = null; + //System.IO.Stream? binary = null; + //DateOnly? 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); + //string? password = null; + //string? callback = null; + //instance.TestEndpointParameters(number, varDouble, patternWithoutDelimiter, varByte, integer, int32, int64, varFloat, varString, binary, date, dateTime, password, callback); } /// @@ -190,14 +224,14 @@ public void TestEndpointParametersTest() public void TestEnumParametersTest() { // TODO uncomment below to test the method and replace null with proper value - //List enumHeaderStringArray = null; - //string enumHeaderString = null; - //List enumQueryStringArray = null; - //string enumQueryString = null; + //List? enumHeaderStringArray = null; + //string? enumHeaderString = null; + //List? enumQueryStringArray = null; + //string? enumQueryString = null; //int? enumQueryInteger = null; //double? enumQueryDouble = null; - //List enumFormStringArray = null; - //string enumFormString = null; + //List? enumFormStringArray = null; + //string? enumFormString = null; //instance.TestEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); } @@ -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/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/PetApiTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/PetApiTests.cs index 673867641450..f4b42c5f70d0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/PetApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Api/PetApiTests.cs @@ -73,7 +73,7 @@ public void DeletePetTest() { // TODO uncomment below to test the method and replace null with proper value //long petId = null; - //string apiKey = null; + //string? apiKey = null; //instance.DeletePet(petId, apiKey); } @@ -132,8 +132,8 @@ public void UpdatePetWithFormTest() { // TODO uncomment below to test the method and replace null with proper value //long petId = null; - //string name = null; - //string status = null; + //string? name = null; + //string? status = null; //instance.UpdatePetWithForm(petId, name, status); } @@ -145,8 +145,8 @@ public void UploadFileTest() { // TODO uncomment below to test the method and replace null with proper value //long petId = null; - //string additionalMetadata = null; - //System.IO.Stream file = null; + //string? additionalMetadata = null; + //System.IO.Stream? file = null; //var response = instance.UploadFile(petId, additionalMetadata, file); //Assert.IsType(response); } @@ -160,7 +160,7 @@ public void UploadFileWithRequiredFileTest() // TODO uncomment below to test the method and replace null with proper value //long petId = null; //System.IO.Stream requiredFile = null; - //string additionalMetadata = null; + //string? additionalMetadata = null; //var response = instance.UploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); //Assert.IsType(response); } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs index f211a64884af..b4bb73592031 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ActivityTests.cs index afe9e846ee94..0b9efbd5a20b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ActivityTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs index 9ab029ed0979..d766719b5bce 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AnimalTests.cs index ced34a4faadd..0bc46ab7f479 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs index 2a2e098e6082..901c6a02965e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs index f945f6593685..94d06c61e236 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AppleTests.cs index 468d60184ada..b3aa7e34f8db 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/AppleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs index 0b259d7d3916..d52b1938e420 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs index 27f312ad25f5..421bfd6caeab 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs index a433e8c87cf7..5028c715b988 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs index 8a6eeb82eeea..8242ff9e7969 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BananaTests.cs index 8d8cc376b038..ddcea686eee8 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BananaTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs index 3cdccaa75959..9cb45c006e64 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs index 185c83666fc7..9e6a400d1ed1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CatTests.cs index 701ba7602823..c1b10d32171b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CatTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CategoryTests.cs index 6ce48e601e47..d1ef61862440 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/CategoryTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs index 68566fd8d560..b40a42cb0225 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs index d29472e83aaf..a09b95ab4c9c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs index b3529280c8d6..835c5b87bc6e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs index 572d9bffa790..765496ea0ced 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs index 3bd2b54a366a..67be10782efd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs index 1da5f4011c95..be6b35dbf451 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DogTests.cs index 992f93a51fd5..a00de64ef51a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DogTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DrawingTests.cs index 0709ad9eeb3b..3b1308e50513 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/DrawingTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs index 5779ca294775..6fcfa6f448c1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs index a17738c5cbc5..bb46e292a652 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs index 4f81b845d493..3050af442410 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs index 4663cb667de6..71d48f7e200a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs index 9f45b4fe89d5..d89ad5a5bc7b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FileTests.cs index 761bb72a844f..7eaea9c8786f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FileTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs index 0154d528418e..563269643111 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FooTests.cs index 0b6ed52edbd4..52f87dd5b0e0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FooTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs index 97332800e9af..fbe8039a5a30 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs index 5ea9e3ffc1d5..771ef1ae2c5d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FruitTests.cs index 91e069bb42fa..53881a333193 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/FruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs index 08fb0e07a1c8..6322d4e2a721 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs index faa4930944be..3adc2a0573e7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs index 651a9f0ce30c..69abe3f9e6ad 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs index 857190a3334d..794fda2c2d6d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs index 755c417cc54f..ca8a058e37df 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ListTests.cs index 2ed828d05208..d659080e89c9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ListTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs index 74dc17b9f4a1..58dc425228ff 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MammalTests.cs index 7b46cbf06450..3fdadd19646c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MammalTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MapTestTests.cs index 20036e1c905e..e055027f15bf 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MapTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs index f56cd715f45f..07c592a8a4c0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs index e25478618f20..85be687d5c2b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs index 24a9e2631586..a5f4aa1593e1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NameTests.cs index c390049e66dc..fc1756b66bec 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NameTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs index 8f00505612a9..214795f86c27 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs index 0bc0ea369188..1290072514cd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs index 5662f91d6e64..75e9c7e8fd49 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs index 3a06cb020b2a..2fb06f9afb48 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs index 82f93fab48c5..e90b746d19c6 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs index 75bd7cd9bfd0..04727e77c691 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OrderTests.cs index cf5c561c5476..84d2828b367f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OrderTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs index 2efda0db59c4..fd52fa2cfca7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs index 986fff774c46..db98c5a44ae3 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs index 015d5dab945e..a4c028ea750d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs index 385e899110a4..4d1be408011e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs index f47304767b9e..d4d6e96125d9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs index 1e17568ed331..eb9f5956b215 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PetTests.cs index 154e66f8dfc0..535ab69d2aa2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PetTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PigTests.cs index 55cf2189046b..34562dc6860f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PigTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs index eff3c6ddc9bb..a546cd2b0032 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs index 6eef9f4c816d..d08798b36050 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs index 26826681a478..cd996d7e0edf 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs index dc3d0fad54cd..056bc2b4519c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ReturnTests.cs index c8c1d6510d2f..4779edd80792 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ReturnTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs index 04cb9f1ab6b1..a7332ab47b03 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs index 7bd0bc86f963..e082fb3b4faa 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs index d0af114157c9..b70c157800b5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeTests.cs index b01bd531f857..babd94722cfb 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs index 6648e9809281..24f0288bcac4 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs index 0f0e1ff12a9e..ef8a8d50e3ee 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TagTests.cs index 6d56232d0a76..8f9ad604eab9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TagTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs index 4def0dcda9cc..6623a04fcc40 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs index e9df66daf2e5..a32943a0c841 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs index fba65470bee6..1750c64c4eda 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TriangleTests.cs index bdaab0b47965..0dd209f5303a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/TriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/UserTests.cs index a7b095e4c28e..bc3cb3775de1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/UserTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/WhaleTests.cs index 09610791943c..de86c02372cd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/WhaleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZebraTests.cs index f44e92131400..55e70c43e0a0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZebraTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs index f713baf3235e..d828b6d03a7b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs index 412297e39f71..38260add43e8 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/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/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs index 5d048a005bdc..f870aa706425 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs index 994cd46d38ae..c436338550ab 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/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); + } + /// /// 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; - //System.IO.Stream binary = null; - //DateTime? date = null; + //float? varFloat = null; + //string? varString = null; + //System.IO.Stream? binary = null; + //DateOnly? 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); + //string? password = null; + //string? callback = null; + //instance.TestEndpointParameters(number, varDouble, patternWithoutDelimiter, varByte, integer, int32, int64, varFloat, varString, binary, date, dateTime, password, callback); } /// @@ -190,14 +224,14 @@ public void TestEndpointParametersTest() public void TestEnumParametersTest() { // TODO uncomment below to test the method and replace null with proper value - //List enumHeaderStringArray = null; - //string enumHeaderString = null; - //List enumQueryStringArray = null; - //string enumQueryString = null; + //List? enumHeaderStringArray = null; + //string? enumHeaderString = null; + //List? enumQueryStringArray = null; + //string? enumQueryString = null; //int? enumQueryInteger = null; //double? enumQueryDouble = null; - //List enumFormStringArray = null; - //string enumFormString = null; + //List? enumFormStringArray = null; + //string? enumFormString = null; //instance.TestEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); } @@ -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/net7/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs index 673867641450..f4b42c5f70d0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs @@ -73,7 +73,7 @@ public void DeletePetTest() { // TODO uncomment below to test the method and replace null with proper value //long petId = null; - //string apiKey = null; + //string? apiKey = null; //instance.DeletePet(petId, apiKey); } @@ -132,8 +132,8 @@ public void UpdatePetWithFormTest() { // TODO uncomment below to test the method and replace null with proper value //long petId = null; - //string name = null; - //string status = null; + //string? name = null; + //string? status = null; //instance.UpdatePetWithForm(petId, name, status); } @@ -145,8 +145,8 @@ public void UploadFileTest() { // TODO uncomment below to test the method and replace null with proper value //long petId = null; - //string additionalMetadata = null; - //System.IO.Stream file = null; + //string? additionalMetadata = null; + //System.IO.Stream? file = null; //var response = instance.UploadFile(petId, additionalMetadata, file); //Assert.IsType(response); } @@ -160,7 +160,7 @@ public void UploadFileWithRequiredFileTest() // TODO uncomment below to test the method and replace null with proper value //long petId = null; //System.IO.Stream requiredFile = null; - //string additionalMetadata = null; + //string? additionalMetadata = null; //var response = instance.UploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); //Assert.IsType(response); } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs index f211a64884af..b4bb73592031 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs index afe9e846ee94..0b9efbd5a20b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs index 9ab029ed0979..d766719b5bce 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs index ced34a4faadd..0bc46ab7f479 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs index 2a2e098e6082..901c6a02965e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs index f945f6593685..94d06c61e236 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs index 468d60184ada..b3aa7e34f8db 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs index 0b259d7d3916..d52b1938e420 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs index 27f312ad25f5..421bfd6caeab 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs index a433e8c87cf7..5028c715b988 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs index 8a6eeb82eeea..8242ff9e7969 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs index 8d8cc376b038..ddcea686eee8 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs index 3cdccaa75959..9cb45c006e64 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs index 185c83666fc7..9e6a400d1ed1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs index 701ba7602823..c1b10d32171b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs index 6ce48e601e47..d1ef61862440 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs index 68566fd8d560..b40a42cb0225 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs index d29472e83aaf..a09b95ab4c9c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs index b3529280c8d6..835c5b87bc6e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs index 572d9bffa790..765496ea0ced 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs index 3bd2b54a366a..67be10782efd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs index 1da5f4011c95..be6b35dbf451 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs index 992f93a51fd5..a00de64ef51a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs index 0709ad9eeb3b..3b1308e50513 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs index 5779ca294775..6fcfa6f448c1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs index a17738c5cbc5..bb46e292a652 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs index 4f81b845d493..3050af442410 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs index 4663cb667de6..71d48f7e200a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs index 9f45b4fe89d5..d89ad5a5bc7b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs index 761bb72a844f..7eaea9c8786f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs index 0154d528418e..563269643111 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs index 0b6ed52edbd4..52f87dd5b0e0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs index 97332800e9af..611393395b3e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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,61 @@ public void Int32Test() { // TODO unit test for the property 'Int32' } + + /// + /// Test the property 'Int32Range' + /// + [Fact] + public void Int32RangeTest() + { + // TODO unit test for the property 'Int32Range' + } + + /// + /// Test the property 'Int64Positive' + /// + [Fact] + public void Int64PositiveTest() + { + // TODO unit test for the property 'Int64Positive' + } + + /// + /// Test the property 'Int64Negative' + /// + [Fact] + public void Int64NegativeTest() + { + // TODO unit test for the property 'Int64Negative' + } + + /// + /// Test the property 'Int64PositiveExclusive' + /// + [Fact] + public void Int64PositiveExclusiveTest() + { + // TODO unit test for the property 'Int64PositiveExclusive' + } + + /// + /// Test the property 'Int64NegativeExclusive' + /// + [Fact] + public void Int64NegativeExclusiveTest() + { + // TODO unit test for the property 'Int64NegativeExclusive' + } + + /// + /// Test the property 'UnsignedInteger' + /// + [Fact] + public void UnsignedIntegerTest() + { + // TODO unit test for the property 'UnsignedInteger' + } + /// /// Test the property 'Int64' /// @@ -80,6 +134,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 +152,7 @@ public void NumberTest() { // TODO unit test for the property 'Number' } + /// /// Test the property 'Float' /// @@ -96,6 +161,7 @@ public void FloatTest() { // TODO unit test for the property 'Float' } + /// /// Test the property 'Double' /// @@ -104,6 +170,7 @@ public void DoubleTest() { // TODO unit test for the property 'Double' } + /// /// Test the property 'Decimal' /// @@ -112,6 +179,7 @@ public void DecimalTest() { // TODO unit test for the property 'Decimal' } + /// /// Test the property 'String' /// @@ -120,6 +188,7 @@ public void StringTest() { // TODO unit test for the property 'String' } + /// /// Test the property 'Byte' /// @@ -128,6 +197,7 @@ public void ByteTest() { // TODO unit test for the property 'Byte' } + /// /// Test the property 'Binary' /// @@ -136,6 +206,7 @@ public void BinaryTest() { // TODO unit test for the property 'Binary' } + /// /// Test the property 'Date' /// @@ -144,6 +215,7 @@ public void DateTest() { // TODO unit test for the property 'Date' } + /// /// Test the property 'DateTime' /// @@ -152,6 +224,7 @@ public void DateTimeTest() { // TODO unit test for the property 'DateTime' } + /// /// Test the property 'Uuid' /// @@ -160,6 +233,7 @@ public void UuidTest() { // TODO unit test for the property 'Uuid' } + /// /// Test the property 'Password' /// @@ -168,6 +242,7 @@ public void PasswordTest() { // TODO unit test for the property 'Password' } + /// /// Test the property 'PatternWithDigits' /// @@ -176,6 +251,7 @@ public void PatternWithDigitsTest() { // TODO unit test for the property 'PatternWithDigits' } + /// /// Test the property 'PatternWithDigitsAndDelimiter' /// @@ -185,6 +261,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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs index 5ea9e3ffc1d5..771ef1ae2c5d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs index 91e069bb42fa..53881a333193 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs index 08fb0e07a1c8..6322d4e2a721 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs index faa4930944be..3adc2a0573e7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs index 651a9f0ce30c..69abe3f9e6ad 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs index 857190a3334d..794fda2c2d6d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs index 755c417cc54f..ca8a058e37df 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs index 2ed828d05208..d659080e89c9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs index 74dc17b9f4a1..58dc425228ff 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs index 7b46cbf06450..3fdadd19646c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs index 20036e1c905e..e055027f15bf 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs index f56cd715f45f..07c592a8a4c0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs index e25478618f20..85be687d5c2b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs index 24a9e2631586..a5f4aa1593e1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs index c390049e66dc..fc1756b66bec 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs index 8f00505612a9..214795f86c27 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs index 0bc0ea369188..1290072514cd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs index 5662f91d6e64..75e9c7e8fd49 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs index 3a06cb020b2a..2fb06f9afb48 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs index 82f93fab48c5..e90b746d19c6 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs index 75bd7cd9bfd0..04727e77c691 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs index cf5c561c5476..84d2828b367f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs index 2efda0db59c4..fd52fa2cfca7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs index 986fff774c46..db98c5a44ae3 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs index 015d5dab945e..a4c028ea750d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs index 385e899110a4..4d1be408011e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs index f47304767b9e..d4d6e96125d9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs index 1e17568ed331..eb9f5956b215 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs index 154e66f8dfc0..535ab69d2aa2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs index 55cf2189046b..34562dc6860f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs index eff3c6ddc9bb..a546cd2b0032 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs index 6eef9f4c816d..d08798b36050 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs index 26826681a478..cd996d7e0edf 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs index dc3d0fad54cd..056bc2b4519c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs index c8c1d6510d2f..d2dc7ce4a7e1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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,40 @@ public void ReturnInstanceTest() //Assert.IsType(instance); } + /// + /// Test the property 'VarReturn' + /// + [Fact] + public void VarReturnTest() + { + // TODO unit test for the property 'VarReturn' + } /// - /// Test the property '_Return' + /// Test the property 'Lock' /// [Fact] - public void _ReturnTest() + public void LockTest() { - // TODO unit test for the property '_Return' + // TODO unit test for the property 'Lock' } - } + /// + /// Test the property 'Abstract' + /// + [Fact] + public void AbstractTest() + { + // TODO unit test for the property 'Abstract' + } + /// + /// Test the property 'Unsafe' + /// + [Fact] + public void UnsafeTest() + { + // TODO unit test for the property 'Unsafe' + } + } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs index 04cb9f1ab6b1..a7332ab47b03 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs index 7bd0bc86f963..e082fb3b4faa 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs index d0af114157c9..b70c157800b5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs index b01bd531f857..babd94722cfb 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs index 6648e9809281..24f0288bcac4 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs index 0f0e1ff12a9e..ef8a8d50e3ee 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs index 6d56232d0a76..8f9ad604eab9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs index 4def0dcda9cc..6623a04fcc40 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs index e9df66daf2e5..a32943a0c841 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs index fba65470bee6..1750c64c4eda 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs index bdaab0b47965..0dd209f5303a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs index a7b095e4c28e..bc3cb3775de1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs index 09610791943c..de86c02372cd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs index f44e92131400..55e70c43e0a0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs index f713baf3235e..d828b6d03a7b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs index 412297e39f71..38260add43e8 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/net7/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs index 5d048a005bdc..f870aa706425 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs index 994cd46d38ae..20dfede3f9b1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs index f211a64884af..b4bb73592031 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ActivityTests.cs index afe9e846ee94..0b9efbd5a20b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ActivityTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs index 9ab029ed0979..d766719b5bce 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AnimalTests.cs index ced34a4faadd..0bc46ab7f479 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs index 2a2e098e6082..901c6a02965e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs index f945f6593685..94d06c61e236 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AppleTests.cs index 468d60184ada..b3aa7e34f8db 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/AppleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs index 0b259d7d3916..d52b1938e420 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs index 27f312ad25f5..421bfd6caeab 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs index a433e8c87cf7..5028c715b988 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs index 8a6eeb82eeea..8242ff9e7969 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BananaTests.cs index 8d8cc376b038..ddcea686eee8 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BananaTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs index 3cdccaa75959..9cb45c006e64 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs index 185c83666fc7..9e6a400d1ed1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CatTests.cs index 701ba7602823..c1b10d32171b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CatTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CategoryTests.cs index 6ce48e601e47..d1ef61862440 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/CategoryTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs index 68566fd8d560..b40a42cb0225 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs index d29472e83aaf..a09b95ab4c9c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs index b3529280c8d6..835c5b87bc6e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs index 572d9bffa790..765496ea0ced 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs index 3bd2b54a366a..67be10782efd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs index 1da5f4011c95..be6b35dbf451 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DogTests.cs index 992f93a51fd5..a00de64ef51a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DogTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DrawingTests.cs index 0709ad9eeb3b..3b1308e50513 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/DrawingTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs index 5779ca294775..6fcfa6f448c1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs index a17738c5cbc5..bb46e292a652 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs index 4f81b845d493..3050af442410 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs index 4663cb667de6..71d48f7e200a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs index 9f45b4fe89d5..d89ad5a5bc7b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FileTests.cs index 761bb72a844f..7eaea9c8786f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FileTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs index 0154d528418e..563269643111 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FooTests.cs index 0b6ed52edbd4..52f87dd5b0e0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FooTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs index 97332800e9af..611393395b3e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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,61 @@ public void Int32Test() { // TODO unit test for the property 'Int32' } + + /// + /// Test the property 'Int32Range' + /// + [Fact] + public void Int32RangeTest() + { + // TODO unit test for the property 'Int32Range' + } + + /// + /// Test the property 'Int64Positive' + /// + [Fact] + public void Int64PositiveTest() + { + // TODO unit test for the property 'Int64Positive' + } + + /// + /// Test the property 'Int64Negative' + /// + [Fact] + public void Int64NegativeTest() + { + // TODO unit test for the property 'Int64Negative' + } + + /// + /// Test the property 'Int64PositiveExclusive' + /// + [Fact] + public void Int64PositiveExclusiveTest() + { + // TODO unit test for the property 'Int64PositiveExclusive' + } + + /// + /// Test the property 'Int64NegativeExclusive' + /// + [Fact] + public void Int64NegativeExclusiveTest() + { + // TODO unit test for the property 'Int64NegativeExclusive' + } + + /// + /// Test the property 'UnsignedInteger' + /// + [Fact] + public void UnsignedIntegerTest() + { + // TODO unit test for the property 'UnsignedInteger' + } + /// /// Test the property 'Int64' /// @@ -80,6 +134,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 +152,7 @@ public void NumberTest() { // TODO unit test for the property 'Number' } + /// /// Test the property 'Float' /// @@ -96,6 +161,7 @@ public void FloatTest() { // TODO unit test for the property 'Float' } + /// /// Test the property 'Double' /// @@ -104,6 +170,7 @@ public void DoubleTest() { // TODO unit test for the property 'Double' } + /// /// Test the property 'Decimal' /// @@ -112,6 +179,7 @@ public void DecimalTest() { // TODO unit test for the property 'Decimal' } + /// /// Test the property 'String' /// @@ -120,6 +188,7 @@ public void StringTest() { // TODO unit test for the property 'String' } + /// /// Test the property 'Byte' /// @@ -128,6 +197,7 @@ public void ByteTest() { // TODO unit test for the property 'Byte' } + /// /// Test the property 'Binary' /// @@ -136,6 +206,7 @@ public void BinaryTest() { // TODO unit test for the property 'Binary' } + /// /// Test the property 'Date' /// @@ -144,6 +215,7 @@ public void DateTest() { // TODO unit test for the property 'Date' } + /// /// Test the property 'DateTime' /// @@ -152,6 +224,7 @@ public void DateTimeTest() { // TODO unit test for the property 'DateTime' } + /// /// Test the property 'Uuid' /// @@ -160,6 +233,7 @@ public void UuidTest() { // TODO unit test for the property 'Uuid' } + /// /// Test the property 'Password' /// @@ -168,6 +242,7 @@ public void PasswordTest() { // TODO unit test for the property 'Password' } + /// /// Test the property 'PatternWithDigits' /// @@ -176,6 +251,7 @@ public void PatternWithDigitsTest() { // TODO unit test for the property 'PatternWithDigits' } + /// /// Test the property 'PatternWithDigitsAndDelimiter' /// @@ -185,6 +261,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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs index 5ea9e3ffc1d5..771ef1ae2c5d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FruitTests.cs index 91e069bb42fa..53881a333193 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/FruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs index 08fb0e07a1c8..6322d4e2a721 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs index faa4930944be..3adc2a0573e7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs index 651a9f0ce30c..69abe3f9e6ad 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs index 857190a3334d..794fda2c2d6d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs index 755c417cc54f..ca8a058e37df 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ListTests.cs index 2ed828d05208..d659080e89c9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ListTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs index 74dc17b9f4a1..58dc425228ff 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MammalTests.cs index 7b46cbf06450..3fdadd19646c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MammalTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MapTestTests.cs index 20036e1c905e..e055027f15bf 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MapTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs index f56cd715f45f..07c592a8a4c0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs index e25478618f20..85be687d5c2b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs index 24a9e2631586..a5f4aa1593e1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NameTests.cs index c390049e66dc..fc1756b66bec 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NameTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs index 8f00505612a9..214795f86c27 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs index 0bc0ea369188..1290072514cd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs index 5662f91d6e64..75e9c7e8fd49 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs index 3a06cb020b2a..2fb06f9afb48 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs index 82f93fab48c5..e90b746d19c6 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs index 75bd7cd9bfd0..04727e77c691 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OrderTests.cs index cf5c561c5476..84d2828b367f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OrderTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs index 2efda0db59c4..fd52fa2cfca7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs index 986fff774c46..db98c5a44ae3 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs index 015d5dab945e..a4c028ea750d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs index 385e899110a4..4d1be408011e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs index f47304767b9e..d4d6e96125d9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs index 1e17568ed331..eb9f5956b215 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PetTests.cs index 154e66f8dfc0..535ab69d2aa2 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PetTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PigTests.cs index 55cf2189046b..34562dc6860f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PigTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs index eff3c6ddc9bb..a546cd2b0032 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs index 6eef9f4c816d..d08798b36050 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs index 26826681a478..cd996d7e0edf 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs index dc3d0fad54cd..056bc2b4519c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ReturnTests.cs index c8c1d6510d2f..d2dc7ce4a7e1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ReturnTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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,40 @@ public void ReturnInstanceTest() //Assert.IsType(instance); } + /// + /// Test the property 'VarReturn' + /// + [Fact] + public void VarReturnTest() + { + // TODO unit test for the property 'VarReturn' + } /// - /// Test the property '_Return' + /// Test the property 'Lock' /// [Fact] - public void _ReturnTest() + public void LockTest() { - // TODO unit test for the property '_Return' + // TODO unit test for the property 'Lock' } - } + /// + /// Test the property 'Abstract' + /// + [Fact] + public void AbstractTest() + { + // TODO unit test for the property 'Abstract' + } + /// + /// Test the property 'Unsafe' + /// + [Fact] + public void UnsafeTest() + { + // TODO unit test for the property 'Unsafe' + } + } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs index 04cb9f1ab6b1..a7332ab47b03 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs index 7bd0bc86f963..e082fb3b4faa 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs index d0af114157c9..b70c157800b5 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeTests.cs index b01bd531f857..babd94722cfb 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs index 6648e9809281..24f0288bcac4 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs index 0f0e1ff12a9e..ef8a8d50e3ee 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TagTests.cs index 6d56232d0a76..8f9ad604eab9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TagTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs index 4def0dcda9cc..6623a04fcc40 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs index e9df66daf2e5..a32943a0c841 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs index fba65470bee6..1750c64c4eda 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TriangleTests.cs index bdaab0b47965..0dd209f5303a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/TriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/UserTests.cs index a7b095e4c28e..bc3cb3775de1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/UserTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/WhaleTests.cs index 09610791943c..de86c02372cd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/WhaleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZebraTests.cs index f44e92131400..55e70c43e0a0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZebraTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs index f713baf3235e..d828b6d03a7b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs index 412297e39f71..38260add43e8 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs index 5d048a005bdc..f870aa706425 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs index 994cd46d38ae..20dfede3f9b1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs index f211a64884af..b4bb73592031 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs index afe9e846ee94..0b9efbd5a20b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs index 9ab029ed0979..d766719b5bce 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs index ced34a4faadd..0bc46ab7f479 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs index 2a2e098e6082..901c6a02965e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs index f945f6593685..94d06c61e236 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs index 468d60184ada..b3aa7e34f8db 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs index 27f312ad25f5..421bfd6caeab 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs index a433e8c87cf7..5028c715b988 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs index 8a6eeb82eeea..8242ff9e7969 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs index 8d8cc376b038..ddcea686eee8 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs index 3cdccaa75959..9cb45c006e64 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs index 185c83666fc7..9e6a400d1ed1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs index 701ba7602823..c1b10d32171b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs index 6ce48e601e47..d1ef61862440 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs index 68566fd8d560..b40a42cb0225 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs index d29472e83aaf..a09b95ab4c9c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs index b3529280c8d6..835c5b87bc6e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs index 572d9bffa790..765496ea0ced 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs index 3bd2b54a366a..67be10782efd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs index 1da5f4011c95..be6b35dbf451 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs index 992f93a51fd5..a00de64ef51a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs index 0709ad9eeb3b..3b1308e50513 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs index 5779ca294775..6fcfa6f448c1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs index a17738c5cbc5..bb46e292a652 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs index 4f81b845d493..3050af442410 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs index 4663cb667de6..71d48f7e200a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs index 9f45b4fe89d5..d89ad5a5bc7b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs index 761bb72a844f..7eaea9c8786f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs index 0154d528418e..563269643111 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs index 0b6ed52edbd4..52f87dd5b0e0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs index 97332800e9af..fbe8039a5a30 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs index 5ea9e3ffc1d5..771ef1ae2c5d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs index 91e069bb42fa..53881a333193 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs index 08fb0e07a1c8..6322d4e2a721 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs index faa4930944be..3adc2a0573e7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs index 651a9f0ce30c..69abe3f9e6ad 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs index 857190a3334d..794fda2c2d6d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs index 755c417cc54f..ca8a058e37df 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs index 2ed828d05208..d659080e89c9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs index 74dc17b9f4a1..58dc425228ff 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs index 7b46cbf06450..3fdadd19646c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs index 20036e1c905e..e055027f15bf 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs index f56cd715f45f..07c592a8a4c0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs index e25478618f20..85be687d5c2b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs index 24a9e2631586..a5f4aa1593e1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs index c390049e66dc..fc1756b66bec 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs index 8f00505612a9..214795f86c27 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs index 0bc0ea369188..1290072514cd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs index 5662f91d6e64..75e9c7e8fd49 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs index 3a06cb020b2a..2fb06f9afb48 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs index 82f93fab48c5..e90b746d19c6 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs index 75bd7cd9bfd0..04727e77c691 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs index cf5c561c5476..84d2828b367f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs index 2efda0db59c4..fd52fa2cfca7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs index 986fff774c46..db98c5a44ae3 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs index 015d5dab945e..a4c028ea750d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs index 385e899110a4..4d1be408011e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs index f47304767b9e..d4d6e96125d9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs index 1e17568ed331..eb9f5956b215 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs index 55cf2189046b..34562dc6860f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs index eff3c6ddc9bb..a546cd2b0032 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs index 6eef9f4c816d..d08798b36050 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs index 26826681a478..cd996d7e0edf 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs index dc3d0fad54cd..056bc2b4519c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs index c8c1d6510d2f..4779edd80792 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs index 04cb9f1ab6b1..a7332ab47b03 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs index 7bd0bc86f963..e082fb3b4faa 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs index d0af114157c9..b70c157800b5 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs index b01bd531f857..babd94722cfb 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs index 6648e9809281..24f0288bcac4 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs index 6d56232d0a76..8f9ad604eab9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs index 4def0dcda9cc..6623a04fcc40 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs index e9df66daf2e5..a32943a0c841 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs index fba65470bee6..1750c64c4eda 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs index bdaab0b47965..0dd209f5303a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs index a7b095e4c28e..bc3cb3775de1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs index 09610791943c..de86c02372cd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs index f44e92131400..55e70c43e0a0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs index f713baf3235e..d828b6d03a7b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs index 412297e39f71..38260add43e8 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs index 389c61984c11..a2d248067b4b 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs @@ -74,5 +74,38 @@ public void GetCountryTest() //string country = null; //instance.GetCountry(country); } + + /// + /// Test Hello + /// + [Test] + 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 + /// + [Test] + 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 + /// + [Test] + 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs index 99c071961eba..46e35a082941 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs @@ -124,6 +124,39 @@ public void GetArrayOfEnumsTest() //Assert.IsType>(response); } + /// + /// Test GetMixedAnyOf + /// + [Test] + 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 + /// + [Test] + 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 + /// + [Test] + 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 +200,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 +261,17 @@ public void TestInlineAdditionalPropertiesTest() //instance.TestInlineAdditionalProperties(requestBody); } + /// + /// Test TestInlineFreeformAdditionalProperties + /// + [Test] + 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 +296,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 + /// + [Test] + 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs index 2cbfde17b036..7e14952b1f09 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs @@ -54,7 +54,6 @@ public void ActivityOutputElementRepresentationInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Prop1' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs index deeed412e658..75a6701b2ba8 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs @@ -54,7 +54,6 @@ public void ActivityInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ActivityOutputs' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs index 5a474328dec8..d09bb6cada29 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs @@ -54,7 +54,6 @@ public void AdditionalPropertiesClassInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'MapProperty' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs index f4224abd70fb..fadee192d35e 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs @@ -54,25 +54,6 @@ public void AnimalInstanceTest() //Assert.IsType(instance); } - /// - /// Test deserialize a Cat from type Animal - /// - [Test] - 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 - /// - [Test] - public void DogDeserializeFromAnimalTest() - { - // TODO uncomment below to test deserialize a Dog from type Animal - //Assert.IsType(JsonConvert.DeserializeObject(new Dog().ToJson())); - } - /// /// Test the property 'ClassName' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs index 9562b8029bce..23c0543b93e3 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs @@ -54,7 +54,6 @@ public void ApiResponseInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Code' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs index 26ba6e79e242..db62874989c2 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs @@ -54,7 +54,6 @@ public void AppleReqInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Cultivar' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs index 0c5ba63b2cf3..ea5ffa9cda0e 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs @@ -54,7 +54,6 @@ public void AppleInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Cultivar' /// @@ -71,5 +70,13 @@ public void OriginTest() { // TODO unit test for the property 'Origin' } + /// + /// Test the property 'ColorCode' + /// + [Test] + public void ColorCodeTest() + { + // TODO unit test for the property 'ColorCode' + } } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs index 5800f457b150..cdf37cadcf1c 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs @@ -54,7 +54,6 @@ public void ArrayOfArrayOfNumberOnlyInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ArrayArrayNumber' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs index 4cdbd60a826d..5c2ab148530b 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs @@ -54,7 +54,6 @@ public void ArrayOfNumberOnlyInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ArrayNumber' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs index c274c6ab67c8..7473d238ec24 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs @@ -54,7 +54,6 @@ public void ArrayTestInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ArrayOfString' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs index 058d71226a29..abafe9371863 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs @@ -54,7 +54,6 @@ public void BananaReqInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'LengthCm' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs index d5112b7a47a9..b936145a0b24 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs @@ -54,7 +54,6 @@ public void BananaInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'LengthCm' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs index 2cb313e243d6..7ef93137f13e 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs @@ -54,7 +54,6 @@ public void BasquePigInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ClassName' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs index 5d7c929f9ef9..3afd67afae68 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs @@ -54,7 +54,6 @@ public void CapitalizationInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'SmallCamel' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs index 67ceac905886..b709de533d35 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs @@ -54,7 +54,6 @@ public void CatInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Declawed' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs index a8ffd8b5dfdd..f0ab15add541 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs @@ -54,7 +54,6 @@ public void CategoryInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Id' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs index cd37ee5fddf1..458e532b937f 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs @@ -54,7 +54,6 @@ public void ChildCatInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Name' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs index 0ff535c000f8..dc00d2ae80a5 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs @@ -54,7 +54,6 @@ public void ClassModelInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Class' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs index b0238f3f2abc..8dccdccac0fd 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs @@ -54,7 +54,6 @@ public void ComplexQuadrilateralInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs index cd9cf8f5429f..e84b9be519a3 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs @@ -54,7 +54,6 @@ public void DanishPigInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ClassName' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs index 5a39eded7627..ead2c0175715 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs @@ -54,7 +54,6 @@ public void DateOnlyClassInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'DateOnlyProperty' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs index 422afdae10cc..d9b8e7ae664c 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs @@ -54,7 +54,6 @@ public void DeprecatedObjectInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Name' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs index ef33138673ec..a7412ff531b8 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs @@ -54,7 +54,6 @@ public void DogInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Breed' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs index e0d787fff17f..45994f1e103e 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs @@ -54,7 +54,6 @@ public void DrawingInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'MainShape' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs index caa95abbb230..b36e8a58de86 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs @@ -54,7 +54,6 @@ public void EnumArraysInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'JustSymbol' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs index a273865be5ef..14e84229e7c8 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs @@ -54,6 +54,5 @@ public void EnumClassInstanceTest() //Assert.IsType(instance); } - } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs index 7ae3a87006f7..00c44cf8cade 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs @@ -54,7 +54,6 @@ public void EnumTestInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'EnumString' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs index 7530ad8087c3..476a35149613 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs @@ -54,7 +54,6 @@ public void EquilateralTriangleInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs index 971b8adbc9f8..5945ecda108a 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs @@ -54,7 +54,6 @@ public void FileSchemaTestClassInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'File' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs index 27d417cf409f..5e11cf65baa7 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs @@ -54,7 +54,6 @@ public void FileInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'SourceURI' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs index 6c2350cd28c4..bbb4db0c793a 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs @@ -54,7 +54,6 @@ public void FooGetDefaultResponseInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'String' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs index fb264e72f612..3c8ff499b828 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs @@ -54,7 +54,6 @@ public void FooInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Bar' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs index 2d797f8b1a3a..eab83470a061 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs @@ -54,7 +54,6 @@ public void FormatTestInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Integer' /// @@ -72,6 +71,54 @@ public void Int32Test() // TODO unit test for the property 'Int32' } /// + /// Test the property 'Int32Range' + /// + [Test] + public void Int32RangeTest() + { + // TODO unit test for the property 'Int32Range' + } + /// + /// Test the property 'Int64Positive' + /// + [Test] + public void Int64PositiveTest() + { + // TODO unit test for the property 'Int64Positive' + } + /// + /// Test the property 'Int64Negative' + /// + [Test] + public void Int64NegativeTest() + { + // TODO unit test for the property 'Int64Negative' + } + /// + /// Test the property 'Int64PositiveExclusive' + /// + [Test] + public void Int64PositiveExclusiveTest() + { + // TODO unit test for the property 'Int64PositiveExclusive' + } + /// + /// Test the property 'Int64NegativeExclusive' + /// + [Test] + public void Int64NegativeExclusiveTest() + { + // TODO unit test for the property 'Int64NegativeExclusive' + } + /// + /// Test the property 'UnsignedInteger' + /// + [Test] + public void UnsignedIntegerTest() + { + // TODO unit test for the property 'UnsignedInteger' + } + /// /// Test the property 'Int64' /// [Test] @@ -80,6 +127,14 @@ public void Int64Test() // TODO unit test for the property 'Int64' } /// + /// Test the property 'UnsignedLong' + /// + [Test] + public void UnsignedLongTest() + { + // TODO unit test for the property 'UnsignedLong' + } + /// /// Test the property 'Number' /// [Test] @@ -183,5 +238,13 @@ public void PatternWithDigitsAndDelimiterTest() { // TODO unit test for the property 'PatternWithDigitsAndDelimiter' } + /// + /// Test the property 'PatternWithBackslash' + /// + [Test] + public void PatternWithBackslashTest() + { + // TODO unit test for the property 'PatternWithBackslash' + } } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs index 216f6e9ed234..13b4d7752fa4 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs @@ -54,7 +54,6 @@ public void FruitReqInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Cultivar' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs index 35c0fd5df7ef..81898604c01d 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs @@ -54,7 +54,6 @@ public void FruitInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Color' /// @@ -80,6 +79,14 @@ public void OriginTest() // TODO unit test for the property 'Origin' } /// + /// Test the property 'ColorCode' + /// + [Test] + public void ColorCodeTest() + { + // TODO unit test for the property 'ColorCode' + } + /// /// Test the property 'LengthCm' /// [Test] diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs index 34dbc9d271f5..975afc4bf0b3 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs @@ -54,7 +54,6 @@ public void GmFruitInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Color' /// @@ -80,6 +79,14 @@ public void OriginTest() // TODO unit test for the property 'Origin' } /// + /// Test the property 'ColorCode' + /// + [Test] + public void ColorCodeTest() + { + // TODO unit test for the property 'ColorCode' + } + /// /// Test the property 'LengthCm' /// [Test] diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs index c66e6d56f66f..718bfd764f8d 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs @@ -54,25 +54,6 @@ public void GrandparentAnimalInstanceTest() //Assert.IsType(instance); } - /// - /// Test deserialize a ChildCat from type ParentPet - /// - [Test] - 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 - /// - [Test] - public void ParentPetDeserializeFromGrandparentAnimalTest() - { - // TODO uncomment below to test deserialize a ParentPet from type GrandparentAnimal - //Assert.IsType(JsonConvert.DeserializeObject(new ParentPet().ToJson())); - } - /// /// Test the property 'PetType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs index 2dd8cc591f86..c8b5fcbc5d1c 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs @@ -54,7 +54,6 @@ public void HasOnlyReadOnlyInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Bar' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs index 80ebb93e08ec..57f6163648c7 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs @@ -54,7 +54,6 @@ public void HealthCheckResultInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'NullableMessage' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs index b7ba1a6794d3..bffee41a6861 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs @@ -54,7 +54,6 @@ public void IsoscelesTriangleInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs index d4b921008ff9..eb3ea496b2a4 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs @@ -54,14 +54,13 @@ public void ListInstanceTest() //Assert.IsType(instance); } - /// - /// Test the property '_123List' + /// Test the property 'Var123List' /// [Test] - 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs index 17eb2fb79b67..941d5e9c8681 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs @@ -54,7 +54,6 @@ public void MammalInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'HasBaleen' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs index b76e755c8159..4e42b203b8c3 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs @@ -54,7 +54,6 @@ public void MapTestInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'MapMapOfString' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs index 42ea53f9da34..b08b25cbad50 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs @@ -54,7 +54,6 @@ public void MixedPropertiesAndAdditionalPropertiesClassInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'UuidWithPattern' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs index ef14ea7ce6fd..36c4aba37575 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs @@ -54,7 +54,6 @@ public void Model200ResponseInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Name' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs index 16393b85aaf7..5f3737789e91 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs @@ -54,14 +54,13 @@ public void ModelClientInstanceTest() //Assert.IsType(instance); } - /// - /// Test the property '_Client' + /// Test the property 'VarClient' /// [Test] - 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs index 7131673e7bff..07338800c4e2 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs @@ -54,14 +54,13 @@ public void NameInstanceTest() //Assert.IsType(instance); } - /// - /// Test the property '_Name' + /// Test the property 'VarName' /// [Test] - public void _NameTest() + public void VarNameTest() { - // TODO unit test for the property '_Name' + // TODO unit test for the property 'VarName' } /// /// Test the property 'SnakeCase' @@ -80,12 +79,12 @@ public void PropertyTest() // TODO unit test for the property 'Property' } /// - /// Test the property '_123Number' + /// Test the property 'Var123Number' /// [Test] - 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs index 029631e76714..b97ac1b4f6e8 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs @@ -54,7 +54,6 @@ public void NullableClassInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'IntegerProp' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs index c6835470618e..6ed6c2d71b0c 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs @@ -54,7 +54,6 @@ public void NullableGuidClassInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Uuid' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs index 278ebdb2d8a6..83d8461fb9ef 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs @@ -54,7 +54,6 @@ public void NullableShapeInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs index cbead7232a93..434811c0cad7 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs @@ -54,7 +54,6 @@ public void NumberOnlyInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'JustNumber' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs index d3b17323263b..180fd30a9524 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs @@ -54,7 +54,6 @@ public void ObjectWithDeprecatedFieldsInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Uuid' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs index 683d422a3f4e..de2d1817dc16 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs @@ -54,7 +54,6 @@ public void OrderInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Id' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs index 39c7730a0f21..90bc3199343a 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs @@ -54,7 +54,6 @@ public void OuterCompositeInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'MyNumber' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs index 6376c2584763..51c1e164f628 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs @@ -54,6 +54,5 @@ public void OuterEnumDefaultValueInstanceTest() //Assert.IsType(instance); } - } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs index b8fd4b863dc5..a135cc74fe30 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs @@ -54,6 +54,5 @@ public void OuterEnumIntegerDefaultValueInstanceTest() //Assert.IsType(instance); } - } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs index 3cfb128a9e2d..fd40632410c1 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs @@ -54,6 +54,5 @@ public void OuterEnumIntegerInstanceTest() //Assert.IsType(instance); } - } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs index a13bfd83401d..4c89cf4af7bc 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs @@ -54,6 +54,5 @@ public void OuterEnumInstanceTest() //Assert.IsType(instance); } - } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs index 1f16980516ba..3dee3a6db078 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs @@ -54,15 +54,5 @@ public void ParentPetInstanceTest() //Assert.IsType(instance); } - /// - /// Test deserialize a ChildCat from type ParentPet - /// - [Test] - 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs index 7b7fff9cf81d..6dced5375d2b 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs @@ -54,7 +54,6 @@ public void PetInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Id' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs index a18f7330cef9..a53943c4aa9d 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs @@ -54,7 +54,6 @@ public void PigInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ClassName' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs index 435a70afe615..dfc19c47ec04 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs @@ -54,6 +54,5 @@ public void PolymorphicPropertyInstanceTest() //Assert.IsType(instance); } - } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs index 079fc1054269..ac60d5663fe2 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs @@ -54,7 +54,6 @@ public void QuadrilateralInterfaceInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'QuadrilateralType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs index cc2f53d3d68f..7990229346a2 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs @@ -54,7 +54,6 @@ public void QuadrilateralInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs index 1d73a2e93e0d..bc9eeb65eec7 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs @@ -54,7 +54,6 @@ public void ReadOnlyFirstInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Bar' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs index 1ad460b5392a..f1748f05e10a 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs @@ -54,14 +54,37 @@ public void ReturnInstanceTest() //Assert.IsType(instance); } - /// - /// Test the property '_Return' + /// Test the property 'VarReturn' + /// + [Test] + public void VarReturnTest() + { + // TODO unit test for the property 'VarReturn' + } + /// + /// Test the property 'Lock' + /// + [Test] + public void LockTest() + { + // TODO unit test for the property 'Lock' + } + /// + /// Test the property 'Abstract' + /// + [Test] + public void AbstractTest() + { + // TODO unit test for the property 'Abstract' + } + /// + /// Test the property 'Unsafe' /// [Test] - public void _ReturnTest() + public void UnsafeTest() { - // TODO unit test for the property '_Return' + // TODO unit test for the property 'Unsafe' } } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs index 4eef3141e21e..ac5d899fd842 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs @@ -54,7 +54,6 @@ public void ScaleneTriangleInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs index d0e787e2a987..96b522ced600 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs @@ -54,7 +54,6 @@ public void ShapeInterfaceInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs index 5bfd6b024fc3..4d3ca96d500b 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs @@ -54,7 +54,6 @@ public void ShapeOrNullInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs index 0a00f468ec06..1a9f4df14a66 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs @@ -54,7 +54,6 @@ public void ShapeInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs index 0477e530d9f9..36a37fcdd467 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs @@ -54,7 +54,6 @@ public void SimpleQuadrilateralInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs index 1f3dc8271521..b257655bb836 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs @@ -54,7 +54,6 @@ public void SpecialModelNameInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'SpecialPropertyName' /// @@ -64,12 +63,12 @@ public void SpecialPropertyNameTest() // TODO unit test for the property 'SpecialPropertyName' } /// - /// Test the property '_SpecialModelName' + /// Test the property 'VarSpecialModelName' /// [Test] - 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/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs index e956f3b15a28..298360e74c1b 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs @@ -54,7 +54,6 @@ public void TagInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Id' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs index 73b7803a431a..80893ccd4753 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs @@ -54,7 +54,6 @@ public void TriangleInterfaceInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'TriangleType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs index f2ca943e59b0..ad5920f76f17 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs @@ -54,7 +54,6 @@ public void TriangleInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'ShapeType' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs index 1859aad97fee..fd4761ceedd3 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs @@ -54,7 +54,6 @@ public void UserInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Id' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs index 2be2a2dd8cc8..8969d639a503 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs @@ -54,7 +54,6 @@ public void WhaleInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'HasBaleen' /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs index ff81e57c0b56..3925fa58c582 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs @@ -54,7 +54,6 @@ public void ZebraInstanceTest() //Assert.IsType(instance); } - /// /// Test the property 'Type' /// diff --git a/samples/client/petstore/go/go-petstore/test/api_another_fake_test.go b/samples/client/petstore/go/go-petstore/test/api_another_fake_test.go index bf60a1c855b2..fd02baffd860 100644 --- a/samples/client/petstore/go/go-petstore/test/api_another_fake_test.go +++ b/samples/client/petstore/go/go-petstore/test/api_another_fake_test.go @@ -1,7 +1,7 @@ /* OpenAPI Petstore -Testing AnotherFakeApiService +Testing AnotherFakeAPIService */ @@ -10,28 +10,28 @@ Testing AnotherFakeApiService package petstore import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_petstore_AnotherFakeApiService(t *testing.T) { +func Test_petstore_AnotherFakeAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test AnotherFakeApiService Call123TestSpecialTags", func(t *testing.T) { + t.Run("Test AnotherFakeAPIService Call123TestSpecialTags", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.AnotherFakeApi.Call123TestSpecialTags(context.Background()).Execute() + resp, httpRes, err := apiClient.AnotherFakeAPI.Call123TestSpecialTags(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/client/petstore/go/go-petstore/test/api_fake_classname_tags123_test.go b/samples/client/petstore/go/go-petstore/test/api_fake_classname_tags123_test.go index 963e4a42da7f..fc40229c2b6f 100644 --- a/samples/client/petstore/go/go-petstore/test/api_fake_classname_tags123_test.go +++ b/samples/client/petstore/go/go-petstore/test/api_fake_classname_tags123_test.go @@ -1,7 +1,7 @@ /* OpenAPI Petstore -Testing FakeClassnameTags123ApiService +Testing FakeClassnameTags123APIService */ @@ -10,28 +10,28 @@ Testing FakeClassnameTags123ApiService package petstore import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_petstore_FakeClassnameTags123ApiService(t *testing.T) { +func Test_petstore_FakeClassnameTags123APIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test FakeClassnameTags123ApiService TestClassname", func(t *testing.T) { + t.Run("Test FakeClassnameTags123APIService TestClassname", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeClassnameTags123Api.TestClassname(context.Background()).Execute() + resp, httpRes, err := apiClient.FakeClassnameTags123API.TestClassname(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/client/petstore/go/go-petstore/test/api_fake_test.go b/samples/client/petstore/go/go-petstore/test/api_fake_test.go index 40e1635c3205..091ed519f891 100644 --- a/samples/client/petstore/go/go-petstore/test/api_fake_test.go +++ b/samples/client/petstore/go/go-petstore/test/api_fake_test.go @@ -1,7 +1,7 @@ /* OpenAPI Petstore -Testing FakeApiService +Testing FakeAPIService */ @@ -10,184 +10,175 @@ Testing FakeApiService package petstore import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_petstore_FakeApiService(t *testing.T) { +func Test_petstore_FakeAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test FakeApiService CreateXmlItem", func(t *testing.T) { + t.Run("Test FakeAPIService CreateXmlItem", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.CreateXmlItem(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.CreateXmlItem(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService FakeOuterBooleanSerialize", func(t *testing.T) { + t.Run("Test FakeAPIService FakeOuterBooleanSerialize", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.FakeOuterBooleanSerialize(context.Background()).Execute() + resp, httpRes, err := apiClient.FakeAPI.FakeOuterBooleanSerialize(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService FakeOuterCompositeSerialize", func(t *testing.T) { + t.Run("Test FakeAPIService FakeOuterCompositeSerialize", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.FakeOuterCompositeSerialize(context.Background()).Execute() + resp, httpRes, err := apiClient.FakeAPI.FakeOuterCompositeSerialize(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService FakeOuterNumberSerialize", func(t *testing.T) { + t.Run("Test FakeAPIService FakeOuterNumberSerialize", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.FakeOuterNumberSerialize(context.Background()).Execute() + resp, httpRes, err := apiClient.FakeAPI.FakeOuterNumberSerialize(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService FakeOuterStringSerialize", func(t *testing.T) { + t.Run("Test FakeAPIService FakeOuterStringSerialize", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.FakeOuterStringSerialize(context.Background()).Execute() + resp, httpRes, err := apiClient.FakeAPI.FakeOuterStringSerialize(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestBodyWithFileSchema", func(t *testing.T) { + t.Run("Test FakeAPIService TestBodyWithFileSchema", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestBodyWithFileSchema(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestBodyWithFileSchema(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestBodyWithQueryParams", func(t *testing.T) { + t.Run("Test FakeAPIService TestBodyWithQueryParams", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestBodyWithQueryParams(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestBodyWithQueryParams(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestClientModel", func(t *testing.T) { + t.Run("Test FakeAPIService TestClientModel", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestClientModel(context.Background()).Execute() + resp, httpRes, err := apiClient.FakeAPI.TestClientModel(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestEndpointParameters", func(t *testing.T) { + t.Run("Test FakeAPIService TestEndpointParameters", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestEndpointParameters(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestEndpointParameters(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestEnumParameters", func(t *testing.T) { + t.Run("Test FakeAPIService TestEnumParameters", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestEnumParameters(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestEnumParameters(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestGroupParameters", func(t *testing.T) { + t.Run("Test FakeAPIService TestGroupParameters", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestGroupParameters(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestGroupParameters(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestInlineAdditionalProperties", func(t *testing.T) { + t.Run("Test FakeAPIService TestInlineAdditionalProperties", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestInlineAdditionalProperties(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestInlineAdditionalProperties(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestJsonFormData", func(t *testing.T) { + t.Run("Test FakeAPIService TestJsonFormData", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestJsonFormData(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestJsonFormData(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test FakeApiService TestQueryParameterCollectionFormat", func(t *testing.T) { + t.Run("Test FakeAPIService TestQueryParameterCollectionFormat", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.FakeApi.TestQueryParameterCollectionFormat(context.Background()).Execute() + httpRes, err := apiClient.FakeAPI.TestQueryParameterCollectionFormat(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/client/petstore/go/go-petstore/test/api_pet_test.go b/samples/client/petstore/go/go-petstore/test/api_pet_test.go index 94d4d0fa7fd0..61919dcd91a4 100644 --- a/samples/client/petstore/go/go-petstore/test/api_pet_test.go +++ b/samples/client/petstore/go/go-petstore/test/api_pet_test.go @@ -1,7 +1,7 @@ /* OpenAPI Petstore -Testing PetApiService +Testing PetAPIService */ @@ -10,134 +10,130 @@ Testing PetApiService package petstore import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_petstore_PetApiService(t *testing.T) { +func Test_petstore_PetAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test PetApiService AddPet", func(t *testing.T) { + t.Run("Test PetAPIService AddPet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.PetApi.AddPet(context.Background()).Execute() + httpRes, err := apiClient.PetAPI.AddPet(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService DeletePet", func(t *testing.T) { + t.Run("Test PetAPIService DeletePet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var petId int64 + var petId int64 - resp, httpRes, err := apiClient.PetApi.DeletePet(context.Background(), petId).Execute() + httpRes, err := apiClient.PetAPI.DeletePet(context.Background(), petId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService FindPetsByStatus", func(t *testing.T) { + t.Run("Test PetAPIService FindPetsByStatus", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.PetApi.FindPetsByStatus(context.Background()).Execute() + resp, httpRes, err := apiClient.PetAPI.FindPetsByStatus(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService FindPetsByTags", func(t *testing.T) { + t.Run("Test PetAPIService FindPetsByTags", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.PetApi.FindPetsByTags(context.Background()).Execute() + resp, httpRes, err := apiClient.PetAPI.FindPetsByTags(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService GetPetById", func(t *testing.T) { + t.Run("Test PetAPIService GetPetById", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var petId int64 + var petId int64 - resp, httpRes, err := apiClient.PetApi.GetPetById(context.Background(), petId).Execute() + resp, httpRes, err := apiClient.PetAPI.GetPetById(context.Background(), petId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService UpdatePet", func(t *testing.T) { + t.Run("Test PetAPIService UpdatePet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.PetApi.UpdatePet(context.Background()).Execute() + httpRes, err := apiClient.PetAPI.UpdatePet(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService UpdatePetWithForm", func(t *testing.T) { + t.Run("Test PetAPIService UpdatePetWithForm", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var petId int64 + var petId int64 - resp, httpRes, err := apiClient.PetApi.UpdatePetWithForm(context.Background(), petId).Execute() + httpRes, err := apiClient.PetAPI.UpdatePetWithForm(context.Background(), petId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService UploadFile", func(t *testing.T) { + t.Run("Test PetAPIService UploadFile", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var petId int64 + var petId int64 - resp, httpRes, err := apiClient.PetApi.UploadFile(context.Background(), petId).Execute() + resp, httpRes, err := apiClient.PetAPI.UploadFile(context.Background(), petId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test PetApiService UploadFileWithRequiredFile", func(t *testing.T) { + t.Run("Test PetAPIService UploadFileWithRequiredFile", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var petId int64 + var petId int64 - resp, httpRes, err := apiClient.PetApi.UploadFileWithRequiredFile(context.Background(), petId).Execute() + resp, httpRes, err := apiClient.PetAPI.UploadFileWithRequiredFile(context.Background(), petId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/client/petstore/go/go-petstore/test/api_store_test.go b/samples/client/petstore/go/go-petstore/test/api_store_test.go index 48c1db2eb5ca..f9d2c0f61743 100644 --- a/samples/client/petstore/go/go-petstore/test/api_store_test.go +++ b/samples/client/petstore/go/go-petstore/test/api_store_test.go @@ -1,7 +1,7 @@ /* OpenAPI Petstore -Testing StoreApiService +Testing StoreAPIService */ @@ -10,68 +10,67 @@ Testing StoreApiService package petstore import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_petstore_StoreApiService(t *testing.T) { +func Test_petstore_StoreAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test StoreApiService DeleteOrder", func(t *testing.T) { + t.Run("Test StoreAPIService DeleteOrder", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var orderId string + var orderId string - resp, httpRes, err := apiClient.StoreApi.DeleteOrder(context.Background(), orderId).Execute() + httpRes, err := apiClient.StoreAPI.DeleteOrder(context.Background(), orderId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test StoreApiService GetInventory", func(t *testing.T) { + t.Run("Test StoreAPIService GetInventory", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.StoreApi.GetInventory(context.Background()).Execute() + resp, httpRes, err := apiClient.StoreAPI.GetInventory(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test StoreApiService GetOrderById", func(t *testing.T) { + t.Run("Test StoreAPIService GetOrderById", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var orderId int64 + var orderId int64 - resp, httpRes, err := apiClient.StoreApi.GetOrderById(context.Background(), orderId).Execute() + resp, httpRes, err := apiClient.StoreAPI.GetOrderById(context.Background(), orderId).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test StoreApiService PlaceOrder", func(t *testing.T) { + t.Run("Test StoreAPIService PlaceOrder", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.StoreApi.PlaceOrder(context.Background()).Execute() + resp, httpRes, err := apiClient.StoreAPI.PlaceOrder(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/client/petstore/go/go-petstore/test/api_user_test.go b/samples/client/petstore/go/go-petstore/test/api_user_test.go index 072179b4869e..b261758f43e9 100644 --- a/samples/client/petstore/go/go-petstore/test/api_user_test.go +++ b/samples/client/petstore/go/go-petstore/test/api_user_test.go @@ -1,7 +1,7 @@ /* OpenAPI Petstore -Testing UserApiService +Testing UserAPIService */ @@ -10,118 +10,112 @@ Testing UserApiService package petstore import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_petstore_UserApiService(t *testing.T) { +func Test_petstore_UserAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test UserApiService CreateUser", func(t *testing.T) { + t.Run("Test UserAPIService CreateUser", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UserApi.CreateUser(context.Background()).Execute() + httpRes, err := apiClient.UserAPI.CreateUser(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService CreateUsersWithArrayInput", func(t *testing.T) { + t.Run("Test UserAPIService CreateUsersWithArrayInput", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UserApi.CreateUsersWithArrayInput(context.Background()).Execute() + httpRes, err := apiClient.UserAPI.CreateUsersWithArrayInput(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService CreateUsersWithListInput", func(t *testing.T) { + t.Run("Test UserAPIService CreateUsersWithListInput", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UserApi.CreateUsersWithListInput(context.Background()).Execute() + httpRes, err := apiClient.UserAPI.CreateUsersWithListInput(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService DeleteUser", func(t *testing.T) { + t.Run("Test UserAPIService DeleteUser", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var username string + var username string - resp, httpRes, err := apiClient.UserApi.DeleteUser(context.Background(), username).Execute() + httpRes, err := apiClient.UserAPI.DeleteUser(context.Background(), username).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService GetUserByName", func(t *testing.T) { + t.Run("Test UserAPIService GetUserByName", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var username string + var username string - resp, httpRes, err := apiClient.UserApi.GetUserByName(context.Background(), username).Execute() + resp, httpRes, err := apiClient.UserAPI.GetUserByName(context.Background(), username).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService LoginUser", func(t *testing.T) { + t.Run("Test UserAPIService LoginUser", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UserApi.LoginUser(context.Background()).Execute() + resp, httpRes, err := apiClient.UserAPI.LoginUser(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService LogoutUser", func(t *testing.T) { + t.Run("Test UserAPIService LogoutUser", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UserApi.LogoutUser(context.Background()).Execute() + httpRes, err := apiClient.UserAPI.LogoutUser(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UserApiService UpdateUser", func(t *testing.T) { + t.Run("Test UserAPIService UpdateUser", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - var username string + var username string - resp, httpRes, err := apiClient.UserApi.UpdateUser(context.Background(), username).Execute() + httpRes, err := apiClient.UserAPI.UpdateUser(context.Background(), username).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/AnotherFakeApiSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/AnotherFakeApiSpec.groovy index a4a79ed3c06f..3c961e311619 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/AnotherFakeApiSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/AnotherFakeApiSpec.groovy @@ -1,14 +1,17 @@ package org.openapitools.api import org.openapitools.model.ModelClient +import java.util.UUID import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification import jakarta.inject.Inject -import reactor.core.publisher.Mono +import spock.lang.Ignore +import java.util.Arrays import java.util.ArrayList import java.util.HashMap import java.util.List import java.util.Map +import java.util.HashSet /** @@ -26,13 +29,16 @@ class AnotherFakeApiSpec extends Specification { * * To test special tags and operation ID starting with number */ - void "call123testSpecialTags() test"() { + @Ignore("Not Implemented") + void 'call123testSpecialTags() test'() { given: - ModelClient _body = null - // ModelClient response = api.call123testSpecialTags(_body).block() - // Mono asyncResponse = api.call123testSpecialTags(_body) + UUID uuidTest = null + ModelClient _body = new ModelClient() - expect: + when: + ModelClient body = api.call123testSpecialTags(uuidTest, _body).block() + + then: true // TODO: test validations } diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeApiSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeApiSpec.groovy index b3b45c1e5559..911711d6fdd8 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeApiSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeApiSpec.groovy @@ -4,19 +4,21 @@ import java.math.BigDecimal import java.io.File import org.openapitools.model.FileSchemaTestClass import java.time.LocalDate -import java.time.LocalDateTime import org.openapitools.model.ModelClient +import java.time.OffsetDateTime import org.openapitools.model.OuterComposite import org.openapitools.model.User import org.openapitools.model.XmlItem import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification import jakarta.inject.Inject -import reactor.core.publisher.Mono +import spock.lang.Ignore +import java.util.Arrays import java.util.ArrayList import java.util.HashMap import java.util.List import java.util.Map +import java.util.HashSet /** @@ -34,13 +36,15 @@ class FakeApiSpec extends Specification { * * this route creates an XmlItem */ - void "createXmlItem() test"() { + @Ignore("Not Implemented") + void 'createXmlItem() test'() { given: - XmlItem xmlItem = null - // api.createXmlItem(xmlItem).block() - // Mono asyncResponse = api.createXmlItem(xmlItem) + XmlItem xmlItem = new XmlItem() - expect: + when: + api.createXmlItem(xmlItem).block() + + then: true // TODO: test validations } @@ -51,13 +55,15 @@ class FakeApiSpec extends Specification { * * Test serialization of outer boolean types */ - void "fakeOuterBooleanSerialize() test"() { + @Ignore("Not Implemented") + void 'fakeOuterBooleanSerialize() test'() { given: - Boolean _body = null - // Boolean response = api.fakeOuterBooleanSerialize(_body).block() - // Mono asyncResponse = api.fakeOuterBooleanSerialize(_body) + Boolean _body = false + + when: + Boolean body = api.fakeOuterBooleanSerialize(_body).block() - expect: + then: true // TODO: test validations } @@ -68,13 +74,15 @@ class FakeApiSpec extends Specification { * * Test serialization of object with outer number type */ - void "fakeOuterCompositeSerialize() test"() { + @Ignore("Not Implemented") + void 'fakeOuterCompositeSerialize() test'() { given: - OuterComposite _body = null - // OuterComposite response = api.fakeOuterCompositeSerialize(_body).block() - // Mono asyncResponse = api.fakeOuterCompositeSerialize(_body) + OuterComposite _body = new OuterComposite() - expect: + when: + OuterComposite body = api.fakeOuterCompositeSerialize(_body).block() + + then: true // TODO: test validations } @@ -85,13 +93,15 @@ class FakeApiSpec extends Specification { * * Test serialization of outer number types */ - void "fakeOuterNumberSerialize() test"() { + @Ignore("Not Implemented") + void 'fakeOuterNumberSerialize() test'() { given: - BigDecimal _body = null - // BigDecimal response = api.fakeOuterNumberSerialize(_body).block() - // Mono asyncResponse = api.fakeOuterNumberSerialize(_body) + BigDecimal _body = new BigDecimal(78) + + when: + BigDecimal body = api.fakeOuterNumberSerialize(_body).block() - expect: + then: true // TODO: test validations } @@ -102,13 +112,15 @@ class FakeApiSpec extends Specification { * * Test serialization of outer string types */ - void "fakeOuterStringSerialize() test"() { + @Ignore("Not Implemented") + void 'fakeOuterStringSerialize() test'() { given: - String _body = null - // String response = api.fakeOuterStringSerialize(_body).block() - // Mono asyncResponse = api.fakeOuterStringSerialize(_body) + String _body = 'example' - expect: + when: + String body = api.fakeOuterStringSerialize(_body).block() + + then: true // TODO: test validations } @@ -119,13 +131,15 @@ class FakeApiSpec extends Specification { * * For this test, the body for this request much reference a schema named `File`. */ - void "testBodyWithFileSchema() test"() { + @Ignore("Not Implemented") + void 'testBodyWithFileSchema() test'() { given: - FileSchemaTestClass _body = null - // api.testBodyWithFileSchema(_body).block() - // Mono asyncResponse = api.testBodyWithFileSchema(_body) + FileSchemaTestClass _body = new FileSchemaTestClass() + + when: + api.testBodyWithFileSchema(_body).block() - expect: + then: true // TODO: test validations } @@ -134,14 +148,16 @@ class FakeApiSpec extends Specification { /** * */ - void "testBodyWithQueryParams() test"() { + @Ignore("Not Implemented") + void 'testBodyWithQueryParams() test'() { given: - String query = null - User _body = null - // api.testBodyWithQueryParams(query, _body).block() - // Mono asyncResponse = api.testBodyWithQueryParams(query, _body) + String query = 'example' + User _body = new User() - expect: + when: + api.testBodyWithQueryParams(query, _body).block() + + then: true // TODO: test validations } @@ -152,13 +168,15 @@ class FakeApiSpec extends Specification { * * To test \"client\" model */ - void "testClientModel() test"() { + @Ignore("Not Implemented") + void 'testClientModel() test'() { given: - ModelClient _body = null - // ModelClient response = api.testClientModel(_body).block() - // Mono asyncResponse = api.testClientModel(_body) + ModelClient _body = new ModelClient() + + when: + ModelClient body = api.testClientModel(_body).block() - expect: + then: true // TODO: test validations } @@ -169,26 +187,28 @@ class FakeApiSpec extends Specification { * * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 */ - void "testEndpointParameters() test"() { + @Ignore("Not Implemented") + void 'testEndpointParameters() test'() { given: - BigDecimal number = null - Double _double = null - String patternWithoutDelimiter = null + BigDecimal number = new BigDecimal(78) + Double _double = 3.4D + String patternWithoutDelimiter = 'example' byte[] _byte = null - Integer integer = null - Integer int32 = null - Long int64 = null - Float _float = null - String string = null + Integer integer = 56 + Integer int32 = 56 + Long int64 = 56L + Float _float = 3.4F + String string = 'example' File binary = null - LocalDate date = null - LocalDateTime dateTime = null - String password = null - String paramCallback = null - // api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).block() - // Mono asyncResponse = api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback) - - expect: + LocalDate date = LocalDate.of(2001, 2, 3) + OffsetDateTime dateTime = OffsetDateTime.of(2001, 2, 3, 12, 0, 0, 0, java.time.ZoneOffset.of("+02:00")) + String password = 'example' + String paramCallback = 'example' + + when: + api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).block() + + then: true // TODO: test validations } @@ -199,20 +219,22 @@ class FakeApiSpec extends Specification { * * To test enum parameters */ - void "testEnumParameters() test"() { + @Ignore("Not Implemented") + void 'testEnumParameters() test'() { given: - List enumHeaderStringArray = null - String enumHeaderString = null - List enumQueryStringArray = null - String enumQueryString = null - Integer enumQueryInteger = null - Double enumQueryDouble = null - List enumFormStringArray = null - String enumFormString = null - // api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString).block() - // Mono asyncResponse = api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString) - - expect: + List enumHeaderStringArray = ['$'] + String enumHeaderString = '-efg' + List enumQueryStringArray = ['$'] + String enumQueryString = '-efg' + Integer enumQueryInteger = 56 + Double enumQueryDouble = 3.4D + List enumFormStringArray = ['$'] + String enumFormString = '-efg' + + when: + api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString).block() + + then: true // TODO: test validations } @@ -223,18 +245,20 @@ class FakeApiSpec extends Specification { * * Fake endpoint to test group parameters (optional) */ - void "testGroupParameters() test"() { + @Ignore("Not Implemented") + void 'testGroupParameters() test'() { given: - Integer requiredStringGroup = null - Boolean requiredBooleanGroup = null - Long requiredInt64Group = null - Integer stringGroup = null - Boolean booleanGroup = null - Long int64Group = null - // api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).block() - // Mono asyncResponse = api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group) - - expect: + Integer requiredStringGroup = 56 + Boolean requiredBooleanGroup = false + Long requiredInt64Group = 56L + Integer stringGroup = 56 + Boolean booleanGroup = false + Long int64Group = 56L + + when: + api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).block() + + then: true // TODO: test validations } @@ -243,13 +267,15 @@ class FakeApiSpec extends Specification { /** * test inline additionalProperties */ - void "testInlineAdditionalProperties() test"() { + @Ignore("Not Implemented") + void 'testInlineAdditionalProperties() test'() { given: - Map param = null - // api.testInlineAdditionalProperties(param).block() - // Mono asyncResponse = api.testInlineAdditionalProperties(param) + Map param = [:] - expect: + when: + api.testInlineAdditionalProperties(param).block() + + then: true // TODO: test validations } @@ -258,14 +284,16 @@ class FakeApiSpec extends Specification { /** * test json serialization of form data */ - void "testJsonFormData() test"() { + @Ignore("Not Implemented") + void 'testJsonFormData() test'() { given: - String param = null - String param2 = null - // api.testJsonFormData(param, param2).block() - // Mono asyncResponse = api.testJsonFormData(param, param2) + String param = 'example' + String param2 = 'example' + + when: + api.testJsonFormData(param, param2).block() - expect: + then: true // TODO: test validations } @@ -276,17 +304,19 @@ class FakeApiSpec extends Specification { * * To test the collection format in query parameters */ - void "testQueryParameterCollectionFormat() test"() { + @Ignore("Not Implemented") + void 'testQueryParameterCollectionFormat() test'() { given: - List pipe = null - List ioutil = null - List http = null - List url = null - List context = null - // api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context).block() - // Mono asyncResponse = api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context) - - expect: + List pipe = ['example'] + List ioutil = ['example'] + List http = ['example'] + List url = ['example'] + List context = ['example'] + + when: + api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context).block() + + then: true // TODO: test validations } diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeClassnameTags123ApiSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeClassnameTags123ApiSpec.groovy index a1ed9f1bff70..2825aa46537a 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeClassnameTags123ApiSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/FakeClassnameTags123ApiSpec.groovy @@ -4,11 +4,13 @@ import org.openapitools.model.ModelClient import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification import jakarta.inject.Inject -import reactor.core.publisher.Mono +import spock.lang.Ignore +import java.util.Arrays import java.util.ArrayList import java.util.HashMap import java.util.List import java.util.Map +import java.util.HashSet /** @@ -26,13 +28,15 @@ class FakeClassnameTags123ApiSpec extends Specification { * * To test class name in snake case */ - void "testClassname() test"() { + @Ignore("Not Implemented") + void 'testClassname() test'() { given: - ModelClient _body = null - // ModelClient response = api.testClassname(_body).block() - // Mono asyncResponse = api.testClassname(_body) + ModelClient _body = new ModelClient() - expect: + when: + ModelClient body = api.testClassname(_body).block() + + then: true // TODO: test validations } diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/UserApiSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/UserApiSpec.groovy index 81e8400577e2..428bdc815395 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/UserApiSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/api/UserApiSpec.groovy @@ -1,14 +1,17 @@ package org.openapitools.api +import java.time.OffsetDateTime import org.openapitools.model.User import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification import jakarta.inject.Inject -import reactor.core.publisher.Mono +import spock.lang.Ignore +import java.util.Arrays import java.util.ArrayList import java.util.HashMap import java.util.List import java.util.Map +import java.util.HashSet /** @@ -26,13 +29,15 @@ class UserApiSpec extends Specification { * * This can only be done by the logged in user. */ - void "createUser() test"() { + @Ignore("Not Implemented") + void 'createUser() test'() { given: - User _body = null - // api.createUser(_body).block() - // Mono asyncResponse = api.createUser(_body) + User _body = new User() - expect: + when: + api.createUser(_body).block() + + then: true // TODO: test validations } @@ -41,13 +46,15 @@ class UserApiSpec extends Specification { /** * Creates list of users with given input array */ - void "createUsersWithArrayInput() test"() { + @Ignore("Not Implemented") + void 'createUsersWithArrayInput() test'() { given: - List _body = null - // api.createUsersWithArrayInput(_body).block() - // Mono asyncResponse = api.createUsersWithArrayInput(_body) + List<@Valid User> _body = [] + + when: + api.createUsersWithArrayInput(_body).block() - expect: + then: true // TODO: test validations } @@ -56,13 +63,15 @@ class UserApiSpec extends Specification { /** * Creates list of users with given input array */ - void "createUsersWithListInput() test"() { + @Ignore("Not Implemented") + void 'createUsersWithListInput() test'() { given: - List _body = null - // api.createUsersWithListInput(_body).block() - // Mono asyncResponse = api.createUsersWithListInput(_body) + List<@Valid User> _body = [] - expect: + when: + api.createUsersWithListInput(_body).block() + + then: true // TODO: test validations } @@ -73,13 +82,15 @@ class UserApiSpec extends Specification { * * This can only be done by the logged in user. */ - void "deleteUser() test"() { + @Ignore("Not Implemented") + void 'deleteUser() test'() { given: - String username = null - // api.deleteUser(username).block() - // Mono asyncResponse = api.deleteUser(username) + String username = 'example' + + when: + api.deleteUser(username).block() - expect: + then: true // TODO: test validations } @@ -88,13 +99,15 @@ class UserApiSpec extends Specification { /** * Get user by user name */ - void "getUserByName() test"() { + @Ignore("Not Implemented") + void 'getUserByName() test'() { given: - String username = null - // User response = api.getUserByName(username).block() - // Mono asyncResponse = api.getUserByName(username) + String username = 'example' - expect: + when: + User body = api.getUserByName(username).block() + + then: true // TODO: test validations } @@ -103,14 +116,16 @@ class UserApiSpec extends Specification { /** * Logs user into the system */ - void "loginUser() test"() { + @Ignore("Not Implemented") + void 'loginUser() test'() { given: - String username = null - String password = null - // String response = api.loginUser(username, password).block() - // Mono asyncResponse = api.loginUser(username, password) + String username = 'example' + String password = 'example' + + when: + String body = api.loginUser(username, password).block() - expect: + then: true // TODO: test validations } @@ -119,12 +134,14 @@ class UserApiSpec extends Specification { /** * Logs out current logged in user session */ - void "logoutUser() test"() { + @Ignore("Not Implemented") + void 'logoutUser() test'() { given: - // api.logoutUser().block() - // Mono asyncResponse = api.logoutUser() - expect: + when: + api.logoutUser().block() + + then: true // TODO: test validations } @@ -135,14 +152,16 @@ class UserApiSpec extends Specification { * * This can only be done by the logged in user. */ - void "updateUser() test"() { + @Ignore("Not Implemented") + void 'updateUser() test'() { given: - String username = null - User _body = null - // api.updateUser(username, _body).block() - // Mono asyncResponse = api.updateUser(username, _body) + String username = 'example' + User _body = new User() + + when: + api.updateUser(username, _body).block() - expect: + then: true // TODO: test validations } diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfArrayOfNumberOnlySpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfArrayOfNumberOnlySpec.groovy index e8bddaf16f1e..ce887b71992d 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfArrayOfNumberOnlySpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfArrayOfNumberOnlySpec.groovy @@ -2,6 +2,7 @@ package org.openapitools.model import java.math.BigDecimal import java.util.ArrayList +import java.util.Arrays import java.util.List import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfNumberOnlySpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfNumberOnlySpec.groovy index eedf098a6933..ee35be8b5944 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfNumberOnlySpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayOfNumberOnlySpec.groovy @@ -2,6 +2,7 @@ package org.openapitools.model import java.math.BigDecimal import java.util.ArrayList +import java.util.Arrays import java.util.List import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayTestSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayTestSpec.groovy index 0ef861b80480..bb779bc75bd2 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayTestSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/ArrayTestSpec.groovy @@ -1,6 +1,7 @@ package org.openapitools.model import java.util.ArrayList +import java.util.Arrays import java.util.List import org.openapitools.model.ReadOnlyFirst import io.micronaut.test.extensions.spock.annotation.MicronautTest diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/EnumArraysSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/EnumArraysSpec.groovy index 63d236094b24..e6d372036c02 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/EnumArraysSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/EnumArraysSpec.groovy @@ -1,6 +1,7 @@ package org.openapitools.model import java.util.ArrayList +import java.util.Arrays import java.util.List import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/FileSchemaTestClassSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/FileSchemaTestClassSpec.groovy index 61edd2ec705a..1613af734b4f 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/FileSchemaTestClassSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/FileSchemaTestClassSpec.groovy @@ -1,6 +1,7 @@ package org.openapitools.model import java.util.ArrayList +import java.util.Arrays import java.util.List import org.openapitools.model.ModelFile import io.micronaut.test.extensions.spock.annotation.MicronautTest diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MapTestSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MapTestSpec.groovy index 3b3a8bf99a99..5eba7615bb59 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MapTestSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MapTestSpec.groovy @@ -1,7 +1,6 @@ package org.openapitools.model import java.util.HashMap -import java.util.List import java.util.Map import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassSpec.groovy index e168e7761aa8..0d8da1b16998 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassSpec.groovy @@ -2,7 +2,6 @@ package org.openapitools.model import java.time.OffsetDateTime import java.util.HashMap -import java.util.List import java.util.Map import java.util.UUID import org.openapitools.model.Animal diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/PetSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/PetSpec.groovy index fdcc482b95b1..60b6a8cee25a 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/PetSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/PetSpec.groovy @@ -2,6 +2,7 @@ package org.openapitools.model import com.fasterxml.jackson.databind.annotation.JsonDeserialize import java.util.ArrayList +import java.util.Arrays import java.util.LinkedHashSet import java.util.List import java.util.Set diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderDefaultSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderDefaultSpec.groovy index 5bd42fd8305d..92e9abf304ba 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderDefaultSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderDefaultSpec.groovy @@ -2,6 +2,7 @@ package org.openapitools.model import java.math.BigDecimal import java.util.ArrayList +import java.util.Arrays import java.util.List import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderExampleSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderExampleSpec.groovy index efbe456a02d8..2126b8d59dc4 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderExampleSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/TypeHolderExampleSpec.groovy @@ -2,6 +2,7 @@ package org.openapitools.model import java.math.BigDecimal import java.util.ArrayList +import java.util.Arrays import java.util.List import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/XmlItemSpec.groovy b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/XmlItemSpec.groovy index 47d4aace76fc..6d3617f04ec1 100644 --- a/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/XmlItemSpec.groovy +++ b/samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/XmlItemSpec.groovy @@ -2,6 +2,7 @@ package org.openapitools.model import java.math.BigDecimal import java.util.ArrayList +import java.util.Arrays import java.util.List import io.micronaut.test.extensions.spock.annotation.MicronautTest import spock.lang.Specification diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index fa2ead534850..0cdff5754f80 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -15,10 +15,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -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; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -42,8 +44,8 @@ public class AnotherFakeApiTest { */ @Test public void call123testSpecialTagsTest() throws ApiException { - Client body = null; - Client response = api.call123testSpecialTags(body); + Client client = null; + Client response = api.call123testSpecialTags(client); // TODO: test validations } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/DefaultApiTest.java index a057e1c6ebb7..d22511f3029f 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -15,9 +15,9 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.FooGetDefaultResponse; -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/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeApiTest.java index dbc0cceb6ebf..d334084203c5 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -15,8 +15,10 @@ import org.openapitools.client.ApiException; import java.math.BigDecimal; +import org.openapitools.client.model.ChildWithNullable; import org.openapitools.client.model.Client; import org.openapitools.client.model.EnumClass; +import org.openapitools.client.model.FakeBigDecimalMap200Response; import java.io.File; import org.openapitools.client.model.FileSchemaTestClass; import org.openapitools.client.model.HealthCheckResult; @@ -25,10 +27,11 @@ import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterObjectWithEnumProperty; import org.openapitools.client.model.Pet; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; -import org.junit.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; @@ -45,6 +48,18 @@ public class FakeApiTest { private final FakeApi api = new FakeApi(); + /** + * for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void fakeBigDecimalMapTest() throws ApiException { + FakeBigDecimalMap200Response response = api.fakeBigDecimalMap(); + + // TODO: test validations + } /** * Health check endpoint * @@ -137,6 +152,21 @@ public void fakePropertyEnumIntegerSerializeTest() throws ApiException { // TODO: test validations } + /** + * test referenced additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testAdditionalPropertiesReferenceTest() throws ApiException { + Map requestBody = null; + api.testAdditionalPropertiesReference(requestBody); + + // TODO: test validations + } /** * For this test, the body has to be a binary file. * @@ -276,6 +306,21 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { // TODO: test validations } + /** + * test inline free-form additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testInlineFreeformAdditionalPropertiesTest() throws ApiException { + TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + + // TODO: test validations + } /** * test json serialization of form data * @@ -292,6 +337,21 @@ public void testJsonFormDataTest() throws ApiException { // TODO: test validations } + /** + * test nullable parent property + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testNullableTest() throws ApiException { + ChildWithNullable childWithNullable = null; + api.testNullable(childWithNullable); + + // TODO: test validations + } /** * To test the collection format in query parameters * @@ -309,6 +369,21 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { Map language = null; api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language); + // TODO: test validations + } + /** + * test referenced string map + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testStringMapReferenceTest() throws ApiException { + Map requestBody = null; + api.testStringMapReference(requestBody); + // TODO: test validations } } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 125162d60cad..cd20d79e6a16 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -15,10 +15,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -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; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -42,8 +44,8 @@ public class FakeClassnameTags123ApiTest { */ @Test public void testClassnameTest() throws ApiException { - Client body = null; - Client response = api.testClassname(body); + Client client = null; + Client response = api.testClassname(client); // TODO: test validations } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/PetApiTest.java index 50c24acbfad1..cd15a7890913 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -18,10 +18,12 @@ import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; import java.util.Set; -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; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -38,19 +40,23 @@ public class PetApiTest { /** * Add a new pet to the store * + * + * * @throws ApiException * if the Api call fails */ @Test public void addPetTest() throws ApiException { - Pet body = null; - api.addPet(body); + Pet pet = null; + api.addPet(pet); // TODO: test validations } /** * Deletes a pet * + * + * * @throws ApiException * if the Api call fails */ @@ -110,19 +116,23 @@ public void getPetByIdTest() throws ApiException { /** * Update an existing pet * + * + * * @throws ApiException * if the Api call fails */ @Test public void updatePetTest() throws ApiException { - Pet body = null; - api.updatePet(body); + Pet pet = null; + api.updatePet(pet); // TODO: test validations } /** * Updates a pet in the store with form data * + * + * * @throws ApiException * if the Api call fails */ @@ -138,6 +148,8 @@ public void updatePetWithFormTest() throws ApiException { /** * uploads an image * + * + * * @throws ApiException * if the Api call fails */ @@ -145,14 +157,16 @@ public void updatePetWithFormTest() throws ApiException { public void uploadFileTest() throws ApiException { Long petId = null; String additionalMetadata = null; - File file = null; - ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file); + File _file = null; + ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); // TODO: test validations } /** * uploads an image (required) * + * + * * @throws ApiException * if the Api call fails */ diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/StoreApiTest.java index 5abd4f0bc887..f692876cd8fd 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -15,10 +15,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; -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; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -79,13 +81,15 @@ public void getOrderByIdTest() throws ApiException { /** * Place an order for a pet * + * + * * @throws ApiException * if the Api call fails */ @Test public void placeOrderTest() throws ApiException { - Order body = null; - Order response = api.placeOrder(body); + Order order = null; + Order response = api.placeOrder(order); // TODO: test validations } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/UserApiTest.java index 325d33fcc691..fe1ba4496411 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -14,11 +14,14 @@ package org.openapitools.client.api; import org.openapitools.client.ApiException; +import java.time.OffsetDateTime; import org.openapitools.client.model.User; -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; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -42,34 +45,38 @@ public class UserApiTest { */ @Test public void createUserTest() throws ApiException { - User body = null; - api.createUser(body); + User user = null; + api.createUser(user); // TODO: test validations } /** * Creates list of users with given input array * + * + * * @throws ApiException * if the Api call fails */ @Test public void createUsersWithArrayInputTest() throws ApiException { - List body = null; - api.createUsersWithArrayInput(body); + List user = null; + api.createUsersWithArrayInput(user); // TODO: test validations } /** * Creates list of users with given input array * + * + * * @throws ApiException * if the Api call fails */ @Test public void createUsersWithListInputTest() throws ApiException { - List body = null; - api.createUsersWithListInput(body); + List user = null; + api.createUsersWithListInput(user); // TODO: test validations } @@ -91,6 +98,8 @@ public void deleteUserTest() throws ApiException { /** * Get user by user name * + * + * * @throws ApiException * if the Api call fails */ @@ -104,6 +113,8 @@ public void getUserByNameTest() throws ApiException { /** * Logs user into the system * + * + * * @throws ApiException * if the Api call fails */ @@ -118,6 +129,8 @@ public void loginUserTest() throws ApiException { /** * Logs out current logged in user session * + * + * * @throws ApiException * if the Api call fails */ @@ -138,8 +151,8 @@ public void logoutUserTest() throws ApiException { @Test public void updateUserTest() throws ApiException { String username = null; - User body = null; - api.updateUser(username, body); + User user = null; + api.updateUser(username, user); // TODO: test validations } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 11d4d7313ac2..6bdecfe07c92 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,115 +18,40 @@ 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.HashMap; -import java.util.List; import java.util.Map; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesClass */ -public class AdditionalPropertiesClassTest { +class AdditionalPropertiesClassTest { private final AdditionalPropertiesClass model = new AdditionalPropertiesClass(); /** * Model tests for AdditionalPropertiesClass */ @Test - public void testAdditionalPropertiesClass() { + void testAdditionalPropertiesClass() { // TODO: test AdditionalPropertiesClass } /** - * Test the property 'mapString' - */ - @Test - public void mapStringTest() { - // TODO: test mapString - } - - /** - * Test the property 'mapNumber' - */ - @Test - public void mapNumberTest() { - // TODO: test mapNumber - } - - /** - * Test the property 'mapInteger' - */ - @Test - public void mapIntegerTest() { - // TODO: test mapInteger - } - - /** - * Test the property 'mapBoolean' - */ - @Test - public void mapBooleanTest() { - // TODO: test mapBoolean - } - - /** - * Test the property 'mapArrayInteger' - */ - @Test - public void mapArrayIntegerTest() { - // TODO: test mapArrayInteger - } - - /** - * Test the property 'mapArrayAnytype' - */ - @Test - public void mapArrayAnytypeTest() { - // TODO: test mapArrayAnytype - } - - /** - * Test the property 'mapMapString' - */ - @Test - public void mapMapStringTest() { - // TODO: test mapMapString - } - - /** - * Test the property 'mapMapAnytype' - */ - @Test - public void mapMapAnytypeTest() { - // TODO: test mapMapAnytype - } - - /** - * Test the property 'anytype1' - */ - @Test - public void anytype1Test() { - // TODO: test anytype1 - } - - /** - * Test the property 'anytype2' + * Test the property 'mapProperty' */ @Test - public void anytype2Test() { - // TODO: test anytype2 + void mapPropertyTest() { + // TODO: test mapProperty } /** - * Test the property 'anytype3' + * Test the property 'mapOfMapProperty' */ @Test - public void anytype3Test() { - // TODO: test anytype3 + void mapOfMapPropertyTest() { + // TODO: test mapOfMapProperty } } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java index 8c231167d612..f4b06d323d63 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java @@ -23,18 +23,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AllOfWithSingleRef */ -public class AllOfWithSingleRefTest { +class AllOfWithSingleRefTest { private final AllOfWithSingleRef model = new AllOfWithSingleRef(); /** * Model tests for AllOfWithSingleRef */ @Test - public void testAllOfWithSingleRef() { + void testAllOfWithSingleRef() { // TODO: test AllOfWithSingleRef } @@ -42,7 +41,7 @@ public void testAllOfWithSingleRef() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -50,7 +49,7 @@ public void usernameTest() { * Test the property 'singleRefType' */ @Test - public void singleRefTypeTest() { + void singleRefTypeTest() { // TODO: test singleRefType } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AnimalTest.java index 2b04312bbebe..24776d3cb515 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,25 +21,21 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Animal */ -public class AnimalTest { +class AnimalTest { private final Animal model = new Animal(); /** * Model tests for Animal */ @Test - public void testAnimal() { + void testAnimal() { // TODO: test Animal } @@ -47,7 +43,7 @@ public void testAnimal() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -55,7 +51,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 7d6ca2902ab5..6bbe877044db 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfArrayOfNumberOnly */ -public class ArrayOfArrayOfNumberOnlyTest { +class ArrayOfArrayOfNumberOnlyTest { private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly(); /** * Model tests for ArrayOfArrayOfNumberOnly */ @Test - public void testArrayOfArrayOfNumberOnly() { + void testArrayOfArrayOfNumberOnly() { // TODO: test ArrayOfArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfArrayOfNumberOnly() { * Test the property 'arrayArrayNumber' */ @Test - public void arrayArrayNumberTest() { + void arrayArrayNumberTest() { // TODO: test arrayArrayNumber } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 1db82cbdea33..eaf908bb1ab7 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfNumberOnly */ -public class ArrayOfNumberOnlyTest { +class ArrayOfNumberOnlyTest { private final ArrayOfNumberOnly model = new ArrayOfNumberOnly(); /** * Model tests for ArrayOfNumberOnly */ @Test - public void testArrayOfNumberOnly() { + void testArrayOfNumberOnly() { // TODO: test ArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfNumberOnly() { * Test the property 'arrayNumber' */ @Test - public void arrayNumberTest() { + void arrayNumberTest() { // TODO: test arrayNumber } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 4a3a3cc839af..99c6bcf53601 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ReadOnlyFirst; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayTest */ -public class ArrayTestTest { +class ArrayTestTest { private final ArrayTest model = new ArrayTest(); /** * Model tests for ArrayTest */ @Test - public void testArrayTest() { + void testArrayTest() { // TODO: test ArrayTest } @@ -44,7 +44,7 @@ public void testArrayTest() { * Test the property 'arrayOfString' */ @Test - public void arrayOfStringTest() { + void arrayOfStringTest() { // TODO: test arrayOfString } @@ -52,7 +52,7 @@ public void arrayOfStringTest() { * Test the property 'arrayArrayOfInteger' */ @Test - public void arrayArrayOfIntegerTest() { + void arrayArrayOfIntegerTest() { // TODO: test arrayArrayOfInteger } @@ -60,7 +60,7 @@ public void arrayArrayOfIntegerTest() { * Test the property 'arrayArrayOfModel' */ @Test - public void arrayArrayOfModelTest() { + void arrayArrayOfModelTest() { // TODO: test arrayArrayOfModel } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 1f133e4142e4..a0217acd1f20 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Capitalization */ -public class CapitalizationTest { +class CapitalizationTest { private final Capitalization model = new Capitalization(); /** * Model tests for Capitalization */ @Test - public void testCapitalization() { + void testCapitalization() { // TODO: test Capitalization } @@ -41,7 +40,7 @@ public void testCapitalization() { * Test the property 'smallCamel' */ @Test - public void smallCamelTest() { + void smallCamelTest() { // TODO: test smallCamel } @@ -49,7 +48,7 @@ public void smallCamelTest() { * Test the property 'capitalCamel' */ @Test - public void capitalCamelTest() { + void capitalCamelTest() { // TODO: test capitalCamel } @@ -57,7 +56,7 @@ public void capitalCamelTest() { * Test the property 'smallSnake' */ @Test - public void smallSnakeTest() { + void smallSnakeTest() { // TODO: test smallSnake } @@ -65,7 +64,7 @@ public void smallSnakeTest() { * Test the property 'capitalSnake' */ @Test - public void capitalSnakeTest() { + void capitalSnakeTest() { // TODO: test capitalSnake } @@ -73,7 +72,7 @@ public void capitalSnakeTest() { * Test the property 'scAETHFlowPoints' */ @Test - public void scAETHFlowPointsTest() { + void scAETHFlowPointsTest() { // TODO: test scAETHFlowPoints } @@ -81,7 +80,7 @@ public void scAETHFlowPointsTest() { * Test the property 'ATT_NAME' */ @Test - public void ATT_NAMETest() { + void ATT_NAMETest() { // TODO: test ATT_NAME } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CatTest.java index 50037f54841e..1b389a075be0 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CatTest.java @@ -22,23 +22,21 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Cat */ -public class CatTest { +class CatTest { private final Cat model = new Cat(); /** * Model tests for Cat */ @Test - public void testCat() { + void testCat() { // TODO: test Cat } @@ -46,7 +44,7 @@ public void testCat() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -54,7 +52,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -62,7 +60,7 @@ public void colorTest() { * Test the property 'declawed' */ @Test - public void declawedTest() { + void declawedTest() { // TODO: test declawed } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java index 84df0f1e24da..22fcbd7f3ccb 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/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/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java index a109c6f71758..a89d26497bc3 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java @@ -30,14 +30,14 @@ /** * Model tests for ChildWithNullable */ -public class ChildWithNullableTest { +class ChildWithNullableTest { private final ChildWithNullable model = new ChildWithNullable(); /** * Model tests for ChildWithNullable */ @Test - public void testChildWithNullable() { + void testChildWithNullable() { // TODO: test ChildWithNullable } @@ -45,7 +45,7 @@ public void testChildWithNullable() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -53,7 +53,7 @@ public void typeTest() { * Test the property 'nullableProperty' */ @Test - public void nullablePropertyTest() { + void nullablePropertyTest() { // TODO: test nullableProperty } @@ -61,7 +61,7 @@ public void nullablePropertyTest() { * Test the property 'otherProperty' */ @Test - public void otherPropertyTest() { + void otherPropertyTest() { // TODO: test otherProperty } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClassModelTest.java index 0efd2b037523..6ef5c744fbcb 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ClassModel */ -public class ClassModelTest { +class ClassModelTest { private final ClassModel model = new ClassModel(); /** * Model tests for ClassModel */ @Test - public void testClassModel() { + void testClassModel() { // TODO: test ClassModel } @@ -41,7 +40,7 @@ public void testClassModel() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClientTest.java index 9fee039a47a4..8028f11bc2b9 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ClientTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Client */ -public class ClientTest { +class ClientTest { private final Client model = new Client(); /** * Model tests for Client */ @Test - public void testClient() { + void testClient() { // TODO: test Client } @@ -41,7 +40,7 @@ public void testClient() { * Test the property 'client' */ @Test - public void clientTest() { + void clientTest() { // TODO: test client } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index 06d586403935..b04c2097b209 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for DeprecatedObject */ -public class DeprecatedObjectTest { +class DeprecatedObjectTest { private final DeprecatedObject model = new DeprecatedObject(); /** * Model tests for DeprecatedObject */ @Test - public void testDeprecatedObject() { + void testDeprecatedObject() { // TODO: test DeprecatedObject } @@ -41,7 +40,7 @@ public void testDeprecatedObject() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DogTest.java index 0f9f43fd3cac..b2a12ab4c5e0 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/DogTest.java @@ -26,18 +26,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Dog */ -public class DogTest { +class DogTest { private final Dog model = new Dog(); /** * Model tests for Dog */ @Test - public void testDog() { + void testDog() { // TODO: test Dog } @@ -45,7 +44,7 @@ public void testDog() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -53,7 +52,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -61,7 +60,7 @@ public void colorTest() { * Test the property 'breed' */ @Test - public void breedTest() { + void breedTest() { // TODO: test breed } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumArraysTest.java index bd426ae14b51..4a755b0d4425 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumArraysTest.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 EnumArrays */ -public class EnumArraysTest { +class EnumArraysTest { private final EnumArrays model = new EnumArrays(); /** * Model tests for EnumArrays */ @Test - public void testEnumArrays() { + void testEnumArrays() { // TODO: test EnumArrays } @@ -43,7 +43,7 @@ public void testEnumArrays() { * Test the property 'justSymbol' */ @Test - public void justSymbolTest() { + void justSymbolTest() { // TODO: test justSymbol } @@ -51,7 +51,7 @@ public void justSymbolTest() { * Test the property 'arrayEnum' */ @Test - public void arrayEnumTest() { + void arrayEnumTest() { // TODO: test arrayEnum } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumClassTest.java index 19518a5f665b..48aa1a737fce 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumClass */ -public class EnumClassTest { +class EnumClassTest { /** * Model tests for EnumClass */ @Test - public void testEnumClass() { + void testEnumClass() { // TODO: test EnumClass } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumTestTest.java index 223a3d674bb2..1e65944cbdc9 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -19,22 +19,28 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import org.openapitools.client.model.OuterEnum; +import org.openapitools.client.model.OuterEnumDefaultValue; +import org.openapitools.client.model.OuterEnumInteger; +import org.openapitools.client.model.OuterEnumIntegerDefaultValue; +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 EnumTest */ -public class EnumTestTest { +class EnumTestTest { private final EnumTest model = new EnumTest(); /** * Model tests for EnumTest */ @Test - public void testEnumTest() { + void testEnumTest() { // TODO: test EnumTest } @@ -42,7 +48,7 @@ public void testEnumTest() { * Test the property 'enumString' */ @Test - public void enumStringTest() { + void enumStringTest() { // TODO: test enumString } @@ -50,7 +56,7 @@ public void enumStringTest() { * Test the property 'enumStringRequired' */ @Test - public void enumStringRequiredTest() { + void enumStringRequiredTest() { // TODO: test enumStringRequired } @@ -58,7 +64,7 @@ public void enumStringRequiredTest() { * Test the property 'enumInteger' */ @Test - public void enumIntegerTest() { + void enumIntegerTest() { // TODO: test enumInteger } @@ -66,7 +72,7 @@ public void enumIntegerTest() { * Test the property 'enumNumber' */ @Test - public void enumNumberTest() { + void enumNumberTest() { // TODO: test enumNumber } @@ -74,8 +80,32 @@ public void enumNumberTest() { * Test the property 'outerEnum' */ @Test - public void outerEnumTest() { + void outerEnumTest() { // TODO: test outerEnum } + /** + * Test the property 'outerEnumInteger' + */ + @Test + void outerEnumIntegerTest() { + // TODO: test outerEnumInteger + } + + /** + * Test the property 'outerEnumDefaultValue' + */ + @Test + void outerEnumDefaultValueTest() { + // TODO: test outerEnumDefaultValue + } + + /** + * Test the property 'outerEnumIntegerDefaultValue' + */ + @Test + void outerEnumIntegerDefaultValueTest() { + // TODO: test outerEnumIntegerDefaultValue + } + } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java index 1792f6169d92..3250ad91974c 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java @@ -28,14 +28,14 @@ /** * Model tests for FakeBigDecimalMap200Response */ -public class FakeBigDecimalMap200ResponseTest { +class FakeBigDecimalMap200ResponseTest { private final FakeBigDecimalMap200Response model = new FakeBigDecimalMap200Response(); /** * Model tests for FakeBigDecimalMap200Response */ @Test - public void testFakeBigDecimalMap200Response() { + void testFakeBigDecimalMap200Response() { // TODO: test FakeBigDecimalMap200Response } @@ -43,7 +43,7 @@ public void testFakeBigDecimalMap200Response() { * Test the property 'someId' */ @Test - public void someIdTest() { + void someIdTest() { // TODO: test someId } @@ -51,7 +51,7 @@ public void someIdTest() { * Test the property 'someMap' */ @Test - public void someMapTest() { + void someMapTest() { // TODO: test someMap } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index 53b20d7bdd31..0048cb2c7497 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ModelFile; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FileSchemaTestClass */ -public class FileSchemaTestClassTest { +class FileSchemaTestClassTest { private final FileSchemaTestClass model = new FileSchemaTestClass(); /** * Model tests for FileSchemaTestClass */ @Test - public void testFileSchemaTestClass() { + void testFileSchemaTestClass() { // TODO: test FileSchemaTestClass } @@ -44,7 +44,7 @@ public void testFileSchemaTestClass() { * Test the property '_file' */ @Test - public void _fileTest() { + void _fileTest() { // TODO: test _file } @@ -52,7 +52,7 @@ public void _fileTest() { * Test the property 'files' */ @Test - public void filesTest() { + void filesTest() { // TODO: test files } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index 85c3e9a29e77..81bc69c9a7b4 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -23,18 +23,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FooGetDefaultResponse */ -public class FooGetDefaultResponseTest { +class FooGetDefaultResponseTest { private final FooGetDefaultResponse model = new FooGetDefaultResponse(); /** * Model tests for FooGetDefaultResponse */ @Test - public void testFooGetDefaultResponse() { + void testFooGetDefaultResponse() { // TODO: test FooGetDefaultResponse } @@ -42,7 +41,7 @@ public void testFooGetDefaultResponse() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooTest.java index b1825eb48eb9..a9e2c8c126e1 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FooTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Foo */ -public class FooTest { +class FooTest { private final Foo model = new Foo(); /** * Model tests for Foo */ @Test - public void testFoo() { + void testFoo() { // TODO: test Foo } @@ -41,7 +40,7 @@ public void testFoo() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FormatTestTest.java index ceaa76fef091..38a39e1c0ca1 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -27,18 +27,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FormatTest */ -public class FormatTestTest { +class FormatTestTest { private final FormatTest model = new FormatTest(); /** * Model tests for FormatTest */ @Test - public void testFormatTest() { + void testFormatTest() { // TODO: test FormatTest } @@ -46,7 +45,7 @@ public void testFormatTest() { * Test the property 'integer' */ @Test - public void integerTest() { + void integerTest() { // TODO: test integer } @@ -54,7 +53,7 @@ public void integerTest() { * Test the property 'int32' */ @Test - public void int32Test() { + void int32Test() { // TODO: test int32 } @@ -62,7 +61,7 @@ public void int32Test() { * Test the property 'int64' */ @Test - public void int64Test() { + void int64Test() { // TODO: test int64 } @@ -70,7 +69,7 @@ public void int64Test() { * Test the property 'number' */ @Test - public void numberTest() { + void numberTest() { // TODO: test number } @@ -78,7 +77,7 @@ public void numberTest() { * Test the property '_float' */ @Test - public void _floatTest() { + void _floatTest() { // TODO: test _float } @@ -86,15 +85,23 @@ public void _floatTest() { * Test the property '_double' */ @Test - public void _doubleTest() { + void _doubleTest() { // TODO: test _double } + /** + * Test the property 'decimal' + */ + @Test + void decimalTest() { + // TODO: test decimal + } + /** * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } @@ -102,7 +109,7 @@ public void stringTest() { * Test the property '_byte' */ @Test - public void _byteTest() { + void _byteTest() { // TODO: test _byte } @@ -110,7 +117,7 @@ public void _byteTest() { * Test the property 'binary' */ @Test - public void binaryTest() { + void binaryTest() { // TODO: test binary } @@ -118,7 +125,7 @@ public void binaryTest() { * Test the property 'date' */ @Test - public void dateTest() { + void dateTest() { // TODO: test date } @@ -126,7 +133,7 @@ public void dateTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -134,7 +141,7 @@ public void dateTimeTest() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -142,16 +149,24 @@ public void uuidTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } /** - * Test the property 'bigDecimal' + * Test the property 'patternWithDigits' + */ + @Test + void patternWithDigitsTest() { + // TODO: test patternWithDigits + } + + /** + * Test the property 'patternWithDigitsAndDelimiter' */ @Test - public void bigDecimalTest() { - // TODO: test bigDecimal + void patternWithDigitsAndDelimiterTest() { + // TODO: test patternWithDigitsAndDelimiter } } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index 9a76d3c9534f..908f0aff6ed7 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for HasOnlyReadOnly */ -public class HasOnlyReadOnlyTest { +class HasOnlyReadOnlyTest { private final HasOnlyReadOnly model = new HasOnlyReadOnly(); /** * Model tests for HasOnlyReadOnly */ @Test - public void testHasOnlyReadOnly() { + void testHasOnlyReadOnly() { // TODO: test HasOnlyReadOnly } @@ -41,7 +40,7 @@ public void testHasOnlyReadOnly() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -49,7 +48,7 @@ public void barTest() { * Test the property 'foo' */ @Test - public void fooTest() { + void fooTest() { // TODO: test foo } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index d627568b70c9..0f45c2fcd5ba 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -26,18 +26,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for HealthCheckResult */ -public class HealthCheckResultTest { +class HealthCheckResultTest { private final HealthCheckResult model = new HealthCheckResult(); /** * Model tests for HealthCheckResult */ @Test - public void testHealthCheckResult() { + void testHealthCheckResult() { // TODO: test HealthCheckResult } @@ -45,7 +44,7 @@ public void testHealthCheckResult() { * Test the property 'nullableMessage' */ @Test - public void nullableMessageTest() { + void nullableMessageTest() { // TODO: test nullableMessage } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MapTestTest.java index c85527e8536a..3752c5ba31fd 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -24,18 +24,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MapTest */ -public class MapTestTest { +class MapTestTest { private final MapTest model = new MapTest(); /** * Model tests for MapTest */ @Test - public void testMapTest() { + void testMapTest() { // TODO: test MapTest } @@ -43,7 +42,7 @@ public void testMapTest() { * Test the property 'mapMapOfString' */ @Test - public void mapMapOfStringTest() { + void mapMapOfStringTest() { // TODO: test mapMapOfString } @@ -51,7 +50,7 @@ public void mapMapOfStringTest() { * Test the property 'mapOfEnumString' */ @Test - public void mapOfEnumStringTest() { + void mapOfEnumStringTest() { // TODO: test mapOfEnumString } @@ -59,7 +58,7 @@ public void mapOfEnumStringTest() { * Test the property 'directMap' */ @Test - public void directMapTest() { + void directMapTest() { // TODO: test directMap } @@ -67,7 +66,7 @@ public void directMapTest() { * Test the property 'indirectMap' */ @Test - public void indirectMapTest() { + void indirectMapTest() { // TODO: test indirectMap } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index c5f70f4c8f0c..0f47e193af8d 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -27,18 +27,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ -public class MixedPropertiesAndAdditionalPropertiesClassTest { +class MixedPropertiesAndAdditionalPropertiesClassTest { private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass(); /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ @Test - public void testMixedPropertiesAndAdditionalPropertiesClass() { + void testMixedPropertiesAndAdditionalPropertiesClass() { // TODO: test MixedPropertiesAndAdditionalPropertiesClass } @@ -46,7 +45,7 @@ public void testMixedPropertiesAndAdditionalPropertiesClass() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -54,7 +53,7 @@ public void uuidTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -62,7 +61,7 @@ public void dateTimeTest() { * Test the property 'map' */ @Test - public void mapTest() { + void mapTest() { // TODO: test map } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 0952e6472d04..5743b70142b8 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Model200Response */ -public class Model200ResponseTest { +class Model200ResponseTest { private final Model200Response model = new Model200Response(); /** * Model tests for Model200Response */ @Test - public void testModel200Response() { + void testModel200Response() { // TODO: test Model200Response } @@ -41,7 +40,7 @@ public void testModel200Response() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -49,7 +48,7 @@ public void nameTest() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index d57f86800479..436e4abd59e3 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelApiResponse */ -public class ModelApiResponseTest { +class ModelApiResponseTest { private final ModelApiResponse model = new ModelApiResponse(); /** * Model tests for ModelApiResponse */ @Test - public void testModelApiResponse() { + void testModelApiResponse() { // TODO: test ModelApiResponse } @@ -41,7 +40,7 @@ public void testModelApiResponse() { * Test the property 'code' */ @Test - public void codeTest() { + void codeTest() { // TODO: test code } @@ -49,7 +48,7 @@ public void codeTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -57,7 +56,7 @@ public void typeTest() { * Test the property 'message' */ @Test - public void messageTest() { + void messageTest() { // TODO: test message } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelFileTest.java index 4b2d71052119..f128d7b9ac2e 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelFile */ -public class ModelFileTest { +class ModelFileTest { private final ModelFile model = new ModelFile(); /** * Model tests for ModelFile */ @Test - public void testModelFile() { + void testModelFile() { // TODO: test ModelFile } @@ -41,7 +40,7 @@ public void testModelFile() { * Test the property 'sourceURI' */ @Test - public void sourceURITest() { + void sourceURITest() { // TODO: test sourceURI } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelListTest.java index f39c6a118e39..92273f48d239 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelList */ -public class ModelListTest { +class ModelListTest { private final ModelList model = new ModelList(); /** * Model tests for ModelList */ @Test - public void testModelList() { + void testModelList() { // TODO: test ModelList } @@ -41,7 +40,7 @@ public void testModelList() { * Test the property '_123list' */ @Test - public void _123listTest() { + void _123listTest() { // TODO: test _123list } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelReturnTest.java index a6968d2b87e8..1c5337654cd4 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelReturn */ -public class ModelReturnTest { +class ModelReturnTest { private final ModelReturn model = new ModelReturn(); /** * Model tests for ModelReturn */ @Test - public void testModelReturn() { + void testModelReturn() { // TODO: test ModelReturn } @@ -41,7 +40,7 @@ public void testModelReturn() { * Test the property '_return' */ @Test - public void _returnTest() { + void _returnTest() { // TODO: test _return } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NameTest.java index 39ff782a3ea4..1a6aa18fa20d 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NameTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Name */ -public class NameTest { +class NameTest { private final Name model = new Name(); /** * Model tests for Name */ @Test - public void testName() { + void testName() { // TODO: test Name } @@ -41,7 +40,7 @@ public void testName() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -49,7 +48,7 @@ public void nameTest() { * Test the property 'snakeCase' */ @Test - public void snakeCaseTest() { + void snakeCaseTest() { // TODO: test snakeCase } @@ -57,7 +56,7 @@ public void snakeCaseTest() { * Test the property 'property' */ @Test - public void propertyTest() { + void propertyTest() { // TODO: test property } @@ -65,7 +64,7 @@ public void propertyTest() { * Test the property '_123number' */ @Test - public void _123numberTest() { + void _123numberTest() { // TODO: test _123number } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NullableClassTest.java index 86e5a4e72498..d960ef76e5c3 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -22,6 +22,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -33,18 +34,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableClass */ -public class NullableClassTest { +class NullableClassTest { private final NullableClass model = new NullableClass(); /** * Model tests for NullableClass */ @Test - public void testNullableClass() { + void testNullableClass() { // TODO: test NullableClass } @@ -52,7 +52,7 @@ public void testNullableClass() { * Test the property 'integerProp' */ @Test - public void integerPropTest() { + void integerPropTest() { // TODO: test integerProp } @@ -60,7 +60,7 @@ public void integerPropTest() { * Test the property 'numberProp' */ @Test - public void numberPropTest() { + void numberPropTest() { // TODO: test numberProp } @@ -68,7 +68,7 @@ public void numberPropTest() { * Test the property 'booleanProp' */ @Test - public void booleanPropTest() { + void booleanPropTest() { // TODO: test booleanProp } @@ -76,7 +76,7 @@ public void booleanPropTest() { * Test the property 'stringProp' */ @Test - public void stringPropTest() { + void stringPropTest() { // TODO: test stringProp } @@ -84,7 +84,7 @@ public void stringPropTest() { * Test the property 'dateProp' */ @Test - public void datePropTest() { + void datePropTest() { // TODO: test dateProp } @@ -92,7 +92,7 @@ public void datePropTest() { * Test the property 'datetimeProp' */ @Test - public void datetimePropTest() { + void datetimePropTest() { // TODO: test datetimeProp } @@ -100,7 +100,7 @@ public void datetimePropTest() { * Test the property 'arrayNullableProp' */ @Test - public void arrayNullablePropTest() { + void arrayNullablePropTest() { // TODO: test arrayNullableProp } @@ -108,7 +108,7 @@ public void arrayNullablePropTest() { * Test the property 'arrayAndItemsNullableProp' */ @Test - public void arrayAndItemsNullablePropTest() { + void arrayAndItemsNullablePropTest() { // TODO: test arrayAndItemsNullableProp } @@ -116,7 +116,7 @@ public void arrayAndItemsNullablePropTest() { * Test the property 'arrayItemsNullable' */ @Test - public void arrayItemsNullableTest() { + void arrayItemsNullableTest() { // TODO: test arrayItemsNullable } @@ -124,7 +124,7 @@ public void arrayItemsNullableTest() { * Test the property 'objectNullableProp' */ @Test - public void objectNullablePropTest() { + void objectNullablePropTest() { // TODO: test objectNullableProp } @@ -132,7 +132,7 @@ public void objectNullablePropTest() { * Test the property 'objectAndItemsNullableProp' */ @Test - public void objectAndItemsNullablePropTest() { + void objectAndItemsNullablePropTest() { // TODO: test objectAndItemsNullableProp } @@ -140,7 +140,7 @@ public void objectAndItemsNullablePropTest() { * Test the property 'objectItemsNullable' */ @Test - public void objectItemsNullableTest() { + void objectItemsNullableTest() { // TODO: test objectItemsNullable } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 88a5503ccf97..8623386a5e95 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -23,18 +23,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NumberOnly */ -public class NumberOnlyTest { +class NumberOnlyTest { private final NumberOnly model = new NumberOnly(); /** * Model tests for NumberOnly */ @Test - public void testNumberOnly() { + void testNumberOnly() { // TODO: test NumberOnly } @@ -42,7 +41,7 @@ public void testNumberOnly() { * Test the property 'justNumber' */ @Test - public void justNumberTest() { + void justNumberTest() { // TODO: test justNumber } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index 72978f65097d..aa755cf8cb48 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -20,24 +20,24 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeprecatedObject; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ObjectWithDeprecatedFields */ -public class ObjectWithDeprecatedFieldsTest { +class ObjectWithDeprecatedFieldsTest { private final ObjectWithDeprecatedFields model = new ObjectWithDeprecatedFields(); /** * Model tests for ObjectWithDeprecatedFields */ @Test - public void testObjectWithDeprecatedFields() { + void testObjectWithDeprecatedFields() { // TODO: test ObjectWithDeprecatedFields } @@ -45,7 +45,7 @@ public void testObjectWithDeprecatedFields() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -53,7 +53,7 @@ public void uuidTest() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -61,7 +61,7 @@ public void idTest() { * Test the property 'deprecatedRef' */ @Test - public void deprecatedRefTest() { + void deprecatedRefTest() { // TODO: test deprecatedRef } @@ -69,7 +69,7 @@ public void deprecatedRefTest() { * Test the property 'bars' */ @Test - public void barsTest() { + void barsTest() { // TODO: test bars } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OrderTest.java index 17f411d1ede9..670c2535646b 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OrderTest.java @@ -23,18 +23,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ -public class OrderTest { +class OrderTest { private final Order model = new Order(); /** * Model tests for Order */ @Test - public void testOrder() { + void testOrder() { // TODO: test Order } @@ -42,7 +41,7 @@ public void testOrder() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -50,7 +49,7 @@ public void idTest() { * Test the property 'petId' */ @Test - public void petIdTest() { + void petIdTest() { // TODO: test petId } @@ -58,7 +57,7 @@ public void petIdTest() { * Test the property 'quantity' */ @Test - public void quantityTest() { + void quantityTest() { // TODO: test quantity } @@ -66,7 +65,7 @@ public void quantityTest() { * Test the property 'shipDate' */ @Test - public void shipDateTest() { + void shipDateTest() { // TODO: test shipDate } @@ -74,7 +73,7 @@ public void shipDateTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } @@ -82,7 +81,7 @@ public void statusTest() { * Test the property 'complete' */ @Test - public void completeTest() { + void completeTest() { // TODO: test complete } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 11d7eeac3b75..870a977da944 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -23,18 +23,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterComposite */ -public class OuterCompositeTest { +class OuterCompositeTest { private final OuterComposite model = new OuterComposite(); /** * Model tests for OuterComposite */ @Test - public void testOuterComposite() { + void testOuterComposite() { // TODO: test OuterComposite } @@ -42,7 +41,7 @@ public void testOuterComposite() { * Test the property 'myNumber' */ @Test - public void myNumberTest() { + void myNumberTest() { // TODO: test myNumber } @@ -50,7 +49,7 @@ public void myNumberTest() { * Test the property 'myString' */ @Test - public void myStringTest() { + void myStringTest() { // TODO: test myString } @@ -58,7 +57,7 @@ public void myStringTest() { * Test the property 'myBoolean' */ @Test - public void myBooleanTest() { + void myBooleanTest() { // TODO: test myBoolean } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java index db6de4ebd34c..d818b23c7d53 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumDefaultValue */ -public class OuterEnumDefaultValueTest { +class OuterEnumDefaultValueTest { /** * Model tests for OuterEnumDefaultValue */ @Test - public void testOuterEnumDefaultValue() { + void testOuterEnumDefaultValue() { // TODO: test OuterEnumDefaultValue } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java index 44b97d47c2eb..1d7b3338bca2 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumIntegerDefaultValue */ -public class OuterEnumIntegerDefaultValueTest { +class OuterEnumIntegerDefaultValueTest { /** * Model tests for OuterEnumIntegerDefaultValue */ @Test - public void testOuterEnumIntegerDefaultValue() { + void testOuterEnumIntegerDefaultValue() { // TODO: test OuterEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java index 908c8ce7e21a..cacda46a76f4 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumInteger */ -public class OuterEnumIntegerTest { +class OuterEnumIntegerTest { /** * Model tests for OuterEnumInteger */ @Test - public void testOuterEnumInteger() { + void testOuterEnumInteger() { // TODO: test OuterEnumInteger } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumTest.java index f7293142020a..0333ee657a0f 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnum */ -public class OuterEnumTest { +class OuterEnumTest { /** * Model tests for OuterEnum */ @Test - public void testOuterEnum() { + void testOuterEnum() { // TODO: test OuterEnum } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java index 579a7f62fa76..ac7169192a50 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java @@ -23,18 +23,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterObjectWithEnumProperty */ -public class OuterObjectWithEnumPropertyTest { +class OuterObjectWithEnumPropertyTest { private final OuterObjectWithEnumProperty model = new OuterObjectWithEnumProperty(); /** * Model tests for OuterObjectWithEnumProperty */ @Test - public void testOuterObjectWithEnumProperty() { + void testOuterObjectWithEnumProperty() { // TODO: test OuterObjectWithEnumProperty } @@ -42,7 +41,7 @@ public void testOuterObjectWithEnumProperty() { * Test the property 'value' */ @Test - public void valueTest() { + void valueTest() { // TODO: test value } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java index 828d360428ed..2e4de5618065 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java @@ -32,14 +32,14 @@ /** * Model tests for ParentWithNullable */ -public class ParentWithNullableTest { +class ParentWithNullableTest { private final ParentWithNullable model = new ParentWithNullable(); /** * Model tests for ParentWithNullable */ @Test - public void testParentWithNullable() { + void testParentWithNullable() { // TODO: test ParentWithNullable } @@ -47,7 +47,7 @@ public void testParentWithNullable() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -55,7 +55,7 @@ public void typeTest() { * Test the property 'nullableProperty' */ @Test - public void nullablePropertyTest() { + void nullablePropertyTest() { // TODO: test nullableProperty } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java index a10e870d0fdc..2e4303f1e4b5 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/PetTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.ArrayList; +import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; @@ -29,18 +30,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 } @@ -48,7 +48,7 @@ public void testPet() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -56,7 +56,7 @@ public void idTest() { * Test the property 'category' */ @Test - public void categoryTest() { + void categoryTest() { // TODO: test category } @@ -64,7 +64,7 @@ public void categoryTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -72,7 +72,7 @@ public void nameTest() { * Test the property 'photoUrls' */ @Test - public void photoUrlsTest() { + void photoUrlsTest() { // TODO: test photoUrls } @@ -80,7 +80,7 @@ public void photoUrlsTest() { * Test the property 'tags' */ @Test - public void tagsTest() { + void tagsTest() { // TODO: test tags } @@ -88,7 +88,7 @@ public void tagsTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index 11ab8eaf4fe1..c56da4290fa9 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ReadOnlyFirst */ -public class ReadOnlyFirstTest { +class ReadOnlyFirstTest { private final ReadOnlyFirst model = new ReadOnlyFirst(); /** * Model tests for ReadOnlyFirst */ @Test - public void testReadOnlyFirst() { + void testReadOnlyFirst() { // TODO: test ReadOnlyFirst } @@ -41,7 +40,7 @@ public void testReadOnlyFirst() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -49,7 +48,7 @@ public void barTest() { * Test the property 'baz' */ @Test - public void bazTest() { + void bazTest() { // TODO: test baz } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java index 7db38f4f3382..476e4ca161b4 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for SingleRefType */ -public class SingleRefTypeTest { +class SingleRefTypeTest { /** * Model tests for SingleRefType */ @Test - public void testSingleRefType() { + void testSingleRefType() { // TODO: test SingleRefType } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index c5d7ce076d6e..9501cf722d66 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for SpecialModelName */ -public class SpecialModelNameTest { +class SpecialModelNameTest { private final SpecialModelName model = new SpecialModelName(); /** * Model tests for SpecialModelName */ @Test - public void testSpecialModelName() { + void testSpecialModelName() { // TODO: test SpecialModelName } @@ -41,7 +40,7 @@ public void testSpecialModelName() { * Test the property '$specialPropertyName' */ @Test - public void $specialPropertyNameTest() { + void $specialPropertyNameTest() { // TODO: test $specialPropertyName } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java index 382a573036b9..dc9cf9742efa 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/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/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java index 8e5a4ba75d27..edb986ca550f 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java @@ -27,14 +27,14 @@ /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ -public class TestInlineFreeformAdditionalPropertiesRequestTest { +class TestInlineFreeformAdditionalPropertiesRequestTest { private final TestInlineFreeformAdditionalPropertiesRequest model = new TestInlineFreeformAdditionalPropertiesRequest(); /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ @Test - public void testTestInlineFreeformAdditionalPropertiesRequest() { + void testTestInlineFreeformAdditionalPropertiesRequest() { // TODO: test TestInlineFreeformAdditionalPropertiesRequest } @@ -42,7 +42,7 @@ public void testTestInlineFreeformAdditionalPropertiesRequest() { * Test the property 'someProperty' */ @Test - public void somePropertyTest() { + void somePropertyTest() { // TODO: test someProperty } diff --git a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/UserTest.java index eccfbf5e1263..69d274133b97 100644 --- a/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/test/java/org/openapitools/client/model/UserTest.java @@ -22,18 +22,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for User */ -public class UserTest { +class UserTest { private final User model = new User(); /** * Model tests for User */ @Test - public void testUser() { + void testUser() { // TODO: test User } @@ -41,7 +40,7 @@ public void testUser() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +48,7 @@ public void idTest() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -57,7 +56,7 @@ public void usernameTest() { * Test the property 'firstName' */ @Test - public void firstNameTest() { + void firstNameTest() { // TODO: test firstName } @@ -65,7 +64,7 @@ public void firstNameTest() { * Test the property 'lastName' */ @Test - public void lastNameTest() { + void lastNameTest() { // TODO: test lastName } @@ -73,7 +72,7 @@ public void lastNameTest() { * Test the property 'email' */ @Test - public void emailTest() { + void emailTest() { // TODO: test email } @@ -81,7 +80,7 @@ public void emailTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -89,7 +88,7 @@ public void passwordTest() { * Test the property 'phone' */ @Test - public void phoneTest() { + void phoneTest() { // TODO: test phone } @@ -97,7 +96,7 @@ public void phoneTest() { * Test the property 'userStatus' */ @Test - public void userStatusTest() { + void userStatusTest() { // TODO: test userStatus } diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index aea3adacc3ca..6bdae10d6d09 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -2,9 +2,12 @@ import org.openapitools.client.ApiClient; import org.openapitools.client.model.Client; +import java.util.UUID; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.BeforeEach; +import java.time.LocalDate; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -30,8 +33,9 @@ public void setup() { */ @Test void call123testSpecialTagsTest() { + UUID uuidTest = null; Client body = null; - // Client response = api.call123testSpecialTags(body); + // Client response = api.call123testSpecialTags(uuidTest, body); // TODO: test validations } diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeApiTest.java index 58d6563e94bc..79de82a049d1 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -5,6 +5,8 @@ import org.openapitools.client.model.Client; import java.io.File; import org.openapitools.client.model.FileSchemaTestClass; +import java.time.LocalDate; +import java.time.OffsetDateTime; import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.User; import org.openapitools.client.model.XmlItem; diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index e2986af71eed..d43fb55f6ca8 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -5,6 +5,8 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.BeforeEach; +import java.time.LocalDate; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/PetApiTest.java index f839f4d68f31..b8ee78a0ff67 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -8,6 +8,8 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.BeforeEach; +import java.time.LocalDate; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/StoreApiTest.java index 8ceab0a33154..ba35ab22d1ed 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -5,6 +5,8 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.BeforeEach; +import java.time.LocalDate; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/UserApiTest.java index 9e4ff6cc17f9..c8a0c8b5f74f 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -1,10 +1,13 @@ package org.openapitools.client.api; import org.openapitools.client.ApiClient; +import java.time.OffsetDateTime; import org.openapitools.client.model.User; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.BeforeEach; +import java.time.LocalDate; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java index 488179591e5a..64e8449a192a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java @@ -24,7 +24,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesAnyType */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java index 4a77e8b04610..e1e673fc86d4 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java @@ -25,7 +25,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesArray */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java index 9a54e75aa257..8fb8a5a2f5ac 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java @@ -24,7 +24,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesBoolean */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 59f6bd24c55f..4ce4e271179a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -26,7 +26,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesClass */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java index f7c270286d03..31ea9cf86a7e 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java @@ -24,7 +24,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesInteger */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java index d8becbe8f049..89d618dbe4d8 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java @@ -25,7 +25,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesNumber */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java index 80db912a75f5..a4c35cf26823 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java @@ -24,7 +24,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesObject */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java index 9968da354555..0821076d3e04 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java @@ -24,7 +24,6 @@ import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesString */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AnimalTest.java index c8b84dd4f314..0e12dca08a54 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -13,6 +13,7 @@ package org.openapitools.client.model; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -22,12 +23,8 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; import org.junit.jupiter.api.Test; - /** * Model tests for Animal */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index e07106af8ff0..8fb845167060 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -22,10 +22,10 @@ import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfArrayOfNumberOnly */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 0957f3f4adc8..a3a8112b3382 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -22,10 +22,10 @@ import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfNumberOnly */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 74b0886d6adf..78050a152419 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -21,11 +21,11 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ReadOnlyFirst; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayTest */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/BigCatTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/BigCatTest.java index dbad7adea665..e8c08b390658 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/BigCatTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/BigCatTest.java @@ -21,6 +21,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Test; diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CapitalizationTest.java index d91e81773ffa..1e286f867e9f 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for Capitalization */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CatTest.java index f8f63d1f2eba..323e43b02010 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CatTest.java @@ -13,6 +13,7 @@ package org.openapitools.client.model; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -23,11 +24,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.CatAllOf; import org.junit.jupiter.api.Test; - /** * Model tests for Cat */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CategoryTest.java index 22583f947c3c..700fca4db7c8 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for Category */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClassModelTest.java index 44d9611e0dca..35fbe51c874b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for ClassModel */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClientTest.java index ff12463d5cfd..de3ad6b03983 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ClientTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for Client */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/DogTest.java index 705a04293775..2bbf63c7005a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/DogTest.java @@ -13,6 +13,7 @@ package org.openapitools.client.model; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -23,10 +24,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.DogAllOf; import org.junit.jupiter.api.Test; - /** * Model tests for Dog */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 1ed1044bac94..55cbd82db3a3 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumArraysTest.java @@ -21,10 +21,10 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for EnumArrays */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumClassTest.java index 55b946a9f7cb..077e71e41b87 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -15,7 +15,6 @@ import org.junit.jupiter.api.Test; - /** * Model tests for EnumClass */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumTestTest.java index c22b632038ad..bd946a66cfe1 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -23,7 +23,6 @@ import org.openapitools.client.model.OuterEnum; import org.junit.jupiter.api.Test; - /** * Model tests for EnumTest */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index dc539f345541..2fa038d44630 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -20,11 +20,12 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.File; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for FileSchemaTestClass */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileTest.java index 90e2b5eb78ed..1b95daca6f7a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FileTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for File */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FormatTestTest.java index 0243341bd206..fec8c6ed4d51 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,10 +22,11 @@ import io.swagger.annotations.ApiModelProperty; import java.io.File; import java.math.BigDecimal; +import java.time.LocalDate; +import java.time.OffsetDateTime; import java.util.UUID; import org.junit.jupiter.api.Test; - /** * Model tests for FormatTest */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index 224c1ad22b06..b9f71e7ea78b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for HasOnlyReadOnly */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MapTestTest.java index 21187f975100..74ccbfc0bf59 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -21,11 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.HashMap; -import java.util.List; import java.util.Map; import org.junit.jupiter.api.Test; - /** * Model tests for MapTest */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index c2bfb3ce9ef5..735980323bfb 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -20,14 +20,13 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.HashMap; -import java.util.List; import java.util.Map; import java.util.UUID; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Test; - /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 0a0f7aa7554a..584b66d70a9e 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for Model200Response */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 9c746af8be0c..81aba2612c85 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for ModelApiResponse */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelListTest.java index e2c3bb9a1016..443287dbc6ed 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for ModelList */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelReturnTest.java index e1bddc25f2d0..f87768dc5f6a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for ModelReturn */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NameTest.java index 13ae33a2084c..af0113ad31e9 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NameTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for Name */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 4a600363e15a..dc42b4ded282 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -23,7 +23,6 @@ import java.math.BigDecimal; import org.junit.jupiter.api.Test; - /** * Model tests for NumberOnly */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OrderTest.java index a63dbf7be9ed..650c09009e54 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OrderTest.java @@ -20,9 +20,9 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index c42f4fd0478e..9c9c724367e0 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -23,7 +23,6 @@ import java.math.BigDecimal; import org.junit.jupiter.api.Test; - /** * Model tests for OuterComposite */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterEnumTest.java index fd8833deb8bf..a4dd97dde159 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -15,7 +15,6 @@ import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnum */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/PetTest.java index f7276f8e317a..3615ffe1c442 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/PetTest.java @@ -18,9 +18,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; +import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; @@ -28,7 +30,6 @@ import org.openapitools.client.model.Tag; import org.junit.jupiter.api.Test; - /** * Model tests for Pet */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index a8dd8e927226..dec1339c96d2 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for ReadOnlyFirst */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 028705916ee4..0ef3b0e23eda 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for SpecialModelName */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TagTest.java index 174a9319f89a..8eb56ea16250 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TagTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for Tag */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java index f425fc23a78d..10d3ffc63596 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java @@ -22,10 +22,10 @@ import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for TypeHolderDefault */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java index 3c67b8b650f9..a71996830e46 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java @@ -22,10 +22,10 @@ import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for TypeHolderExample */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/UserTest.java index f01cfceed72f..91ea5f1ce933 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/UserTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import org.junit.jupiter.api.Test; - /** * Model tests for User */ diff --git a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/XmlItemTest.java b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/XmlItemTest.java index 6649fefb8858..6bd25356292d 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/XmlItemTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/test/java/org/openapitools/client/model/XmlItemTest.java @@ -22,10 +22,10 @@ import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; - /** * Model tests for XmlItem */ diff --git a/samples/client/petstore/java/feign/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/feign/src/test/java/org/openapitools/client/api/FakeApiTest.java index 0a6fc5e70825..a6b835636094 100644 --- a/samples/client/petstore/java/feign/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/feign/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -14,6 +14,7 @@ import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterObjectWithEnumProperty; import org.openapitools.client.model.Pet; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.BeforeEach; @@ -168,6 +169,20 @@ void fakePropertyEnumIntegerSerializeTest() { } + /** + * test referenced additionalProperties + * + * + */ + @Test + void testAdditionalPropertiesReferenceTest() { + Map requestBody = null; + // api.testAdditionalPropertiesReference(requestBody); + + // TODO: test validations + } + + /** * * @@ -369,6 +384,20 @@ void testInlineAdditionalPropertiesTest() { } + /** + * test inline free-form additionalProperties + * + * + */ + @Test + void testInlineFreeformAdditionalPropertiesTest() { + TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + // api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + + // TODO: test validations + } + + /** * test json serialization of form data * @@ -440,4 +469,18 @@ void testQueryParameterCollectionFormatTestQueryMap() { // TODO: test validations } + /** + * test referenced string map + * + * + */ + @Test + void testStringMapReferenceTest() { + Map requestBody = null; + // api.testStringMapReference(requestBody); + + // TODO: test validations + } + + } diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index 2b9189db2644..043be2088a1a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -16,6 +16,7 @@ import org.openapitools.client.*; import org.openapitools.client.auth.*; import org.openapitools.client.model.Client; +import java.util.UUID; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; @@ -42,8 +43,9 @@ public class AnotherFakeApiTest { */ @Test public void call123testSpecialTagsTest() throws ApiException { + //UUID uuidTest = null; //Client body = null; - //Client response = api.call123testSpecialTags(body); + //Client response = api.call123testSpecialTags(uuidTest, body); // TODO: test validations } diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java index a3b40ded6ba9..c695dec76bcd 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java index 143f76aa688e..45a618548598 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java index 1efe7af503c2..5f13488c4666 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 92ee1996fcad..c80eeb7d94ff 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java index 63a9b6bf0d36..2a805723e40e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java index ebd3df96b58e..3c49d09266b6 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java index 9a66483bb7f5..88a49489044c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.Map; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java index e041ad439e84..986f68752145 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AnimalTest.java index f8a7e5a8a238..8135b9b319d8 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,9 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 90360a009299..3755829c9440 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 8a3cf3499c5c..ab7e1740ca1f 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 38576d0e5549..06487a1277e9 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ArrayTestTest.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.ReadOnlyFirst; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/BigCatTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/BigCatTest.java index ec47e3041f8f..045ccb0a5634 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/BigCatTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/BigCatTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 91de07ebb31c..61e2705665e9 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CatTest.java index 7d78e2006a65..44211823e084 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CatTest.java @@ -21,8 +21,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CategoryTest.java index 2a0d0925184f..eec4493e93e1 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClassModelTest.java index 9acb93988032..4885e656ca45 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClientTest.java index 93e64697cbe8..31b3cea2211e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/DogTest.java index ca4e7f1a4318..ed5671f13565 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/DogTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 0ebeeae1b90b..597c60bc8552 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumArraysTest.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.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumTestTest.java index c5eaa9cbbae2..2d4998dca4ab 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index ca53f2710093..65b2f87ca4ff 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.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.ModelFile; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FormatTestTest.java index fa653ea0e558..9209a14fb18a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,6 +22,7 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index a692eed31917..11e0bbe44d1a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MapTestTest.java index 394bf4686bcb..50911103f2ca 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index 695e74c05c5e..0e795bcdb638 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.LocalDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 285f5b025745..801d94e0118d 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 6285dc269862..4c2dd601ddbf 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelFileTest.java index fe9ae2553223..2313cc948c0b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelListTest.java index ec7f17d1af01..5644a525efc7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelReturnTest.java index 6b8041eab6b2..19dde4952627 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NameTest.java index 5d5d3f7a36fd..aead3c674dbb 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 15b10302575f..c73a53c6ee56 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OrderTest.java index 5160102d04fb..229b88516d32 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.LocalDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 9498ef7e68a4..d454f2e1aa12 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/PetTest.java index d78aba7b3bb3..71a9ec445594 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/PetTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.ArrayList; +import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index d77e0b2a92dc..689d39696231 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 4c097adf496c..cac2d6e266bc 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TagTest.java index db8d746a636e..a8ccab7ac1b7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java index 564737ef3e6f..6427636e2d26 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java index 6bdecdc942d3..384e0165b39e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/UserTest.java index 5854974e6f6c..67dfd4c02fcb 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/XmlItemTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/XmlItemTest.java index 95f103a547ff..33c3f0c1d971 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/XmlItemTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/test/java/org/openapitools/client/model/XmlItemTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java index 33689726ebff..ecd93961a822 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -13,7 +13,8 @@ package org.openapitools.client.api; -import org.openapitools.client.ApiException; +import org.openapitools.client.*; +import org.openapitools.client.auth.*; import java.math.BigDecimal; import org.openapitools.client.model.Client; import java.io.File; @@ -23,8 +24,10 @@ import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.User; import org.openapitools.client.model.XmlItem; -import org.junit.jupiter.api.Test; + +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -34,258 +37,222 @@ /** * API tests for FakeApi */ -@Disabled public class FakeApiTest { private final FakeApi api = new FakeApi(); - /** * creates an XmlItem * * this route creates an XmlItem * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createXmlItemTest() throws ApiException { - XmlItem xmlItem = null; - api.createXmlItem(xmlItem); + //XmlItem xmlItem = null; + //api.createXmlItem(xmlItem); // TODO: test validations } - + /** - * - * * Test serialization of outer boolean types * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterBooleanSerializeTest() throws ApiException { - Boolean body = null; - Boolean response = api.fakeOuterBooleanSerialize(body); + //Boolean body = null; + //Boolean response = api.fakeOuterBooleanSerialize(body); // TODO: test validations } - + /** - * - * * Test serialization of object with outer number type * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterCompositeSerializeTest() throws ApiException { - OuterComposite body = null; - OuterComposite response = api.fakeOuterCompositeSerialize(body); + //OuterComposite body = null; + //OuterComposite response = api.fakeOuterCompositeSerialize(body); // TODO: test validations } - + /** - * - * * Test serialization of outer number types * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterNumberSerializeTest() throws ApiException { - BigDecimal body = null; - BigDecimal response = api.fakeOuterNumberSerialize(body); + //BigDecimal body = null; + //BigDecimal response = api.fakeOuterNumberSerialize(body); // TODO: test validations } - + /** - * - * * Test serialization of outer string types * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterStringSerializeTest() throws ApiException { - String body = null; - String response = api.fakeOuterStringSerialize(body); + //String body = null; + //String response = api.fakeOuterStringSerialize(body); // TODO: test validations } - + /** - * - * * For this test, the body for this request much reference a schema named `File`. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testBodyWithFileSchemaTest() throws ApiException { - FileSchemaTestClass body = null; - api.testBodyWithFileSchema(body); + //FileSchemaTestClass body = null; + //api.testBodyWithFileSchema(body); // TODO: test validations } - + /** - * - * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testBodyWithQueryParamsTest() throws ApiException { - String query = null; - User body = null; - api.testBodyWithQueryParams(query, body); + //String query = null; + //User body = null; + //api.testBodyWithQueryParams(query, body); // TODO: test validations } - + /** * To test \"client\" model * * To test \"client\" model * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testClientModelTest() throws ApiException { - Client body = null; - Client response = api.testClientModel(body); + //Client body = null; + //Client response = api.testClientModel(body); // TODO: test validations } - + /** - * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 * - * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testEndpointParametersTest() throws ApiException { - BigDecimal number = null; - Double _double = null; - String patternWithoutDelimiter = null; - byte[] _byte = null; - Integer integer = null; - Integer int32 = null; - Long int64 = null; - Float _float = null; - String string = null; - File binary = null; - LocalDate date = null; - OffsetDateTime dateTime = null; - String password = null; - String paramCallback = null; - api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); + //BigDecimal number = null; + //Double _double = null; + //String patternWithoutDelimiter = null; + //byte[] _byte = null; + //Integer integer = null; + //Integer int32 = null; + //Long int64 = null; + //Float _float = null; + //String string = null; + //File binary = null; + //LocalDate date = null; + //OffsetDateTime dateTime = null; + //String password = null; + //String paramCallback = null; + //api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); // TODO: test validations } - + /** * To test enum parameters * * To test enum parameters * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testEnumParametersTest() throws ApiException { - List enumHeaderStringArray = null; - String enumHeaderString = null; - List enumQueryStringArray = null; - String enumQueryString = null; - Integer enumQueryInteger = null; - Double enumQueryDouble = null; - List enumFormStringArray = null; - String enumFormString = null; - api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); + //List enumHeaderStringArray = null; + //String enumHeaderString = null; + //List enumQueryStringArray = null; + //String enumQueryString = null; + //Integer enumQueryInteger = null; + //Double enumQueryDouble = null; + //List enumFormStringArray = null; + //String enumFormString = null; + //api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); // TODO: test validations } - + /** * Fake endpoint to test group parameters (optional) * * Fake endpoint to test group parameters (optional) * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testGroupParametersTest() throws ApiException { - Integer requiredStringGroup = null; - Boolean requiredBooleanGroup = null; - Long requiredInt64Group = null; - Integer stringGroup = null; - Boolean booleanGroup = null; - Long int64Group = null; - api.testGroupParameters() - .requiredStringGroup(requiredStringGroup) - .requiredBooleanGroup(requiredBooleanGroup) - .requiredInt64Group(requiredInt64Group) - .stringGroup(stringGroup) - .booleanGroup(booleanGroup) - .int64Group(int64Group) - .execute(); + //Integer requiredStringGroup = null; + //Boolean requiredBooleanGroup = null; + //Long requiredInt64Group = null; + //Integer stringGroup = null; + //Boolean booleanGroup = null; + //Long int64Group = null; + //api.testGroupParameters() + // .requiredStringGroup(requiredStringGroup) + // .requiredBooleanGroup(requiredBooleanGroup) + // .requiredInt64Group(requiredInt64Group) + // .stringGroup(stringGroup) + // .booleanGroup(booleanGroup) + // .int64Group(int64Group) + // .execute(); // TODO: test validations } - + /** * test inline additionalProperties * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testInlineAdditionalPropertiesTest() throws ApiException { - Map param = null; - api.testInlineAdditionalProperties(param); + //Map param = null; + //api.testInlineAdditionalProperties(param); // TODO: test validations } - + /** * test json serialization of form data * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testJsonFormDataTest() throws ApiException { - String param = null; - String param2 = null; - api.testJsonFormData(param, param2); + //String param = null; + //String param2 = null; + //api.testJsonFormData(param, param2); // TODO: test validations } - + /** - * - * * To test the collection format in query parameters * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testQueryParameterCollectionFormatTest() throws ApiException { - List pipe = null; - List ioutil = null; - List http = null; - List url = null; - List context = null; - api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context); + //List pipe = null; + //List ioutil = null; + //List http = null; + //List url = null; + //List context = null; + //api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context); // TODO: test validations } - + } diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 506fbd74b25a..fdf6c4c637b5 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -13,10 +13,13 @@ package org.openapitools.client.api; -import org.openapitools.client.ApiException; +import org.openapitools.client.*; +import org.openapitools.client.auth.*; import org.openapitools.client.model.Client; -import org.junit.jupiter.api.Test; + +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,25 +29,22 @@ /** * API tests for FakeClassnameTags123Api */ -@Disabled public class FakeClassnameTags123ApiTest { private final FakeClassnameTags123Api api = new FakeClassnameTags123Api(); - /** * To test class name in snake case * * To test class name in snake case * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testClassnameTest() throws ApiException { - Client body = null; - Client response = api.testClassname(body); + //Client body = null; + //Client response = api.testClassname(body); // TODO: test validations } - + } diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/StoreApiTest.java index db5d1415a4e7..49e5d0ddbb13 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -13,10 +13,13 @@ package org.openapitools.client.api; -import org.openapitools.client.ApiException; +import org.openapitools.client.*; +import org.openapitools.client.auth.*; import org.openapitools.client.model.Order; -import org.junit.jupiter.api.Test; + +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,69 +29,61 @@ /** * API tests for StoreApi */ -@Disabled public class StoreApiTest { private final StoreApi api = new StoreApi(); - /** * Delete purchase order by ID * * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void deleteOrderTest() throws ApiException { - String orderId = null; - api.deleteOrder(orderId); + //String orderId = null; + //api.deleteOrder(orderId); // TODO: test validations } - + /** * Returns pet inventories by status * * Returns a map of status codes to quantities * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getInventoryTest() throws ApiException { - Map response = api.getInventory(); + //Map response = api.getInventory(); // TODO: test validations } - + /** * Find purchase order by ID * * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getOrderByIdTest() throws ApiException { - Long orderId = null; - Order response = api.getOrderById(orderId); + //Long orderId = null; + //Order response = api.getOrderById(orderId); // TODO: test validations } - + /** * Place an order for a pet * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void placeOrderTest() throws ApiException { - Order body = null; - Order response = api.placeOrder(body); + //Order body = null; + //Order response = api.placeOrder(body); // TODO: test validations } - + } diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/UserApiTest.java index b63e4f889121..b47b060fbe77 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -13,10 +13,14 @@ package org.openapitools.client.api; -import org.openapitools.client.ApiException; +import org.openapitools.client.*; +import org.openapitools.client.auth.*; +import java.time.OffsetDateTime; import org.openapitools.client.model.User; -import org.junit.jupiter.api.Test; + +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,131 +30,111 @@ /** * API tests for UserApi */ -@Disabled public class UserApiTest { private final UserApi api = new UserApi(); - /** * Create user * * This can only be done by the logged in user. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createUserTest() throws ApiException { - User body = null; - api.createUser(body); + //User body = null; + //api.createUser(body); // TODO: test validations } - + /** * Creates list of users with given input array * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createUsersWithArrayInputTest() throws ApiException { - List body = null; - api.createUsersWithArrayInput(body); + //List body = null; + //api.createUsersWithArrayInput(body); // TODO: test validations } - + /** * Creates list of users with given input array * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createUsersWithListInputTest() throws ApiException { - List body = null; - api.createUsersWithListInput(body); + //List body = null; + //api.createUsersWithListInput(body); // TODO: test validations } - + /** * Delete user * * This can only be done by the logged in user. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void deleteUserTest() throws ApiException { - String username = null; - api.deleteUser(username); + //String username = null; + //api.deleteUser(username); // TODO: test validations } - + /** * Get user by user name * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getUserByNameTest() throws ApiException { - String username = null; - User response = api.getUserByName(username); + //String username = null; + //User response = api.getUserByName(username); // TODO: test validations } - + /** * Logs user into the system * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void loginUserTest() throws ApiException { - String username = null; - String password = null; - String response = api.loginUser(username, password); + //String username = null; + //String password = null; + //String response = api.loginUser(username, password); // TODO: test validations } - + /** * Logs out current logged in user session * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void logoutUserTest() throws ApiException { - api.logoutUser(); + //api.logoutUser(); // TODO: test validations } - + /** * Updated user * * This can only be done by the logged in user. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void updateUserTest() throws ApiException { - String username = null; - User body = null; - api.updateUser(username, body); + //String username = null; + //User body = null; + //api.updateUser(username, body); // TODO: test validations } - + } diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java index a3b40ded6ba9..c695dec76bcd 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java index 143f76aa688e..45a618548598 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java index 1efe7af503c2..5f13488c4666 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 92ee1996fcad..c80eeb7d94ff 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java index 63a9b6bf0d36..2a805723e40e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java index ebd3df96b58e..3c49d09266b6 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java index 9a66483bb7f5..88a49489044c 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.Map; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java index e041ad439e84..986f68752145 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java index f8a7e5a8a238..8135b9b319d8 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,9 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 90360a009299..3755829c9440 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 8a3cf3499c5c..ab7e1740ca1f 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 38576d0e5549..06487a1277e9 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.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.ReadOnlyFirst; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BigCatTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BigCatTest.java index ec47e3041f8f..045ccb0a5634 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BigCatTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BigCatTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 91de07ebb31c..61e2705665e9 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java index 7d78e2006a65..44211823e084 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java @@ -21,8 +21,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.BigCat; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java index 2a0d0925184f..eec4493e93e1 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java index 9acb93988032..4885e656ca45 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java index 93e64697cbe8..31b3cea2211e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java index ca4e7f1a4318..ed5671f13565 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 0ebeeae1b90b..597c60bc8552 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.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.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java index c5eaa9cbbae2..2d4998dca4ab 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index ca53f2710093..65b2f87ca4ff 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.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.ModelFile; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java index 548386b3db54..0681e5ac5b6f 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,6 +22,7 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index a692eed31917..11e0bbe44d1a 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java index 394bf4686bcb..50911103f2ca 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index a95a4cd36b36..26fdc39a31a9 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 285f5b025745..801d94e0118d 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 6285dc269862..4c2dd601ddbf 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java index fe9ae2553223..2313cc948c0b 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java index ec7f17d1af01..5644a525efc7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java index 6b8041eab6b2..19dde4952627 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java index 5d5d3f7a36fd..aead3c674dbb 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 15b10302575f..c73a53c6ee56 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java index 4ea6d2150bd8..bb5fb7cad80b 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 9498ef7e68a4..d454f2e1aa12 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java index d78aba7b3bb3..71a9ec445594 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.ArrayList; +import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index d77e0b2a92dc..689d39696231 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 4c097adf496c..cac2d6e266bc 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java index db8d746a636e..a8ccab7ac1b7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java index 564737ef3e6f..6427636e2d26 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java index 6bdecdc942d3..384e0165b39e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java index 5854974e6f6c..67dfd4c02fcb 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/XmlItemTest.java b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/XmlItemTest.java index 95f103a547ff..33c3f0c1d971 100644 --- a/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/XmlItemTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/XmlItemTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index 746794d96876..99615ffcb349 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -26,6 +26,9 @@ import java.util.List; import java.util.Map; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; + /** * API tests for AnotherFakeApi */ diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/DefaultApiTest.java index 82afa3637f86..e40dae3ab5aa 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -26,6 +26,9 @@ import java.util.List; import java.util.Map; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; + /** * API tests for DefaultApi */ diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeApiTest.java index 99ec8629a504..11fc3ed11ccc 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -24,6 +24,7 @@ import java.time.OffsetDateTime; import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterEnum; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; import org.junit.jupiter.api.Assertions; @@ -35,6 +36,9 @@ import java.util.List; import java.util.Map; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; + /** * API tests for FakeApi */ @@ -112,6 +116,32 @@ public void getArrayOfEnumsTest() throws ApiException { // TODO: test validations } + /** + * Array of string + * + * @throws ApiException if the Api call fails + */ + @Test + public void postArrayOfStringTest() throws ApiException { + //List<@Pattern(regexp = "[A-Z0-9]+")String> requestBody = null; + //api.postArrayOfString(requestBody); + // TODO: test validations + } + + /** + * test referenced additionalProperties + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void testAdditionalPropertiesReferenceTest() throws ApiException { + //Map requestBody = null; + //api.testAdditionalPropertiesReference(requestBody); + // TODO: test validations + } + /** * For this test, the body for this request much reference a schema named `File`. * @@ -237,6 +267,20 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { // TODO: test validations } + /** + * test inline free-form additionalProperties + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void testInlineFreeformAdditionalPropertiesTest() throws ApiException { + //TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + //api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + // TODO: test validations + } + /** * test json serialization of form data * @@ -268,4 +312,18 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { // TODO: test validations } + /** + * test referenced string map + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void testStringMapReferenceTest() throws ApiException { + //Map requestBody = null; + //api.testStringMapReference(requestBody); + // TODO: test validations + } + } diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 92a40d23900a..a153c995236e 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -26,6 +26,9 @@ import java.util.List; import java.util.Map; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; + /** * API tests for FakeClassnameTags123Api */ diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/StoreApiTest.java index f609a3701644..41032998e5e6 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -26,6 +26,9 @@ import java.util.List; import java.util.Map; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; + /** * API tests for StoreApi */ diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/UserApiTest.java index 358763cb9be0..95f1ea71a769 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -27,6 +27,9 @@ import java.util.List; import java.util.Map; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; + /** * API tests for UserApi */ @@ -57,7 +60,7 @@ public void createUserTest() throws ApiException { */ @Test public void createUsersWithArrayInputTest() throws ApiException { - //List user = null; + //List<@Valid User> user = null; //api.createUsersWithArrayInput(user); // TODO: test validations } @@ -71,7 +74,7 @@ public void createUsersWithArrayInputTest() throws ApiException { */ @Test public void createUsersWithListInputTest() throws ApiException { - //List user = null; + //List<@Valid User> user = null; //api.createUsersWithListInput(user); // TODO: test validations } diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 96ca356053e7..2a249063c483 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AnimalTest.java index e523f4a9fd4a..8135b9b319d8 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,8 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleReqTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleReqTest.java index a17b2d982d68..255c18af0208 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleReqTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleReqTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleTest.java index de0184496f26..a9f1abda1fe3 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/AppleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 90360a009299..3755829c9440 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 8a3cf3499c5c..ab7e1740ca1f 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 38576d0e5549..06487a1277e9 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ArrayTestTest.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.ReadOnlyFirst; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaReqTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaReqTest.java index ecbc17bdd263..d7594d8f67cf 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaReqTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaReqTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaTest.java index 58902c6471cb..5575ed148738 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BananaTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BasquePigTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BasquePigTest.java index 0355c02c8b39..78bb892b8195 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BasquePigTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/BasquePigTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 91de07ebb31c..61e2705665e9 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CatTest.java index f8c9d60979fe..664dc2853bf0 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CatTest.java @@ -21,6 +21,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; +import java.util.Map; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CategoryTest.java index 2a0d0925184f..eec4493e93e1 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ChildCatTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ChildCatTest.java index 81996faf1273..615695be8c30 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ChildCatTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ChildCatTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ParentPet; import java.util.Set; import java.util.HashSet; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClassModelTest.java index 9acb93988032..4885e656ca45 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClientTest.java index 93e64697cbe8..31b3cea2211e 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java index 8254ea35f22d..1f419de8e640 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DanishPigTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DanishPigTest.java index 28ef5f915609..89599e0219ec 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DanishPigTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DanishPigTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index 1c29f39febe3..e25102a3f419 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DogTest.java index ca4e7f1a4318..ed5671f13565 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DogTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DrawingTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DrawingTest.java index 5b6a83cb79b0..a6de37e30bb2 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DrawingTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/DrawingTest.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.Fruit; import org.openapitools.client.model.NullableShape; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 0ebeeae1b90b..597c60bc8552 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumArraysTest.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.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumTestTest.java index a952c89a90df..ebf9681a1b77 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnumDefaultValue; import org.openapitools.client.model.OuterEnumInteger; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java index bd21dcb29ab5..dcd09121b7c4 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index ca53f2710093..65b2f87ca4ff 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.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.ModelFile; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index 2256d31c4c4e..dba3cf5a96ee 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Foo; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooTest.java index 4fccb22c43e6..daf4288c2281 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FooTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FormatTestTest.java index 2d044fae746b..849839b1ec44 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,6 +22,7 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitReqTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitReqTest.java index 4e9156870024..3ab12cdc46df 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitReqTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitReqTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.AppleReq; import org.openapitools.client.model.BananaReq; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitTest.java index b051e07441fb..55ed641d9899 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/FruitTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GmFruitTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GmFruitTest.java index 7f18ebef24ef..39d5826b8f8a 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GmFruitTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GmFruitTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java index c0c66f99e5af..a1e3637ce19b 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java @@ -21,8 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; -import org.openapitools.client.model.ParentPet; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index a692eed31917..11e0bbe44d1a 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index d2ea838a307f..6f46c2f5202b 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java index 558785c5f0bf..88fdcd0292c6 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MapTestTest.java index 394bf4686bcb..50911103f2ca 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index a95a4cd36b36..26fdc39a31a9 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 285f5b025745..801d94e0118d 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 6285dc269862..4c2dd601ddbf 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelFileTest.java index fe9ae2553223..2313cc948c0b 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelListTest.java index ec7f17d1af01..5644a525efc7 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelReturnTest.java index 6b8041eab6b2..19dde4952627 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NameTest.java index 5d5d3f7a36fd..aead3c674dbb 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableClassTest.java index 8a9cc24beddb..c7b10f31fa4d 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -22,6 +22,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableShapeTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableShapeTest.java index 456530223e0c..d3d15bb32998 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableShapeTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NullableShapeTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 15b10302575f..c73a53c6ee56 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index eda3c6ce1713..ac165aac24ba 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeprecatedObject; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OrderTest.java index 4ea6d2150bd8..bb5fb7cad80b 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 9498ef7e68a4..d454f2e1aa12 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ParentPetTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ParentPetTest.java index 2118c7e7e0a3..189d147a7ac5 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ParentPetTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ParentPetTest.java @@ -21,7 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; +import java.util.Arrays; import org.openapitools.client.model.GrandparentAnimal; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PetTest.java index 8788ba632e13..0d391f65eb02 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/jersey3/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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PigTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PigTest.java index 8c406dd5f8ec..513f98b74a6c 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PigTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/PigTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.BasquePig; import org.openapitools.client.model.DanishPig; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java index 2d1e5ac485a3..ac2f1f660c2d 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralTest.java index 3418bc98b2e6..df83443c7d63 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/QuadrilateralTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ComplexQuadrilateral; import org.openapitools.client.model.SimpleQuadrilateral; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index d77e0b2a92dc..689d39696231 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java index c81f25ce59ef..4f7a833530f1 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java index 90b3b66ca3e6..a89c83e5a846 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java index fd27ed4d0f5b..23a7c3946bda 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeTest.java index 02f81ec2a47b..398f1d5bb311 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/ShapeTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java index 5481ac5a2721..3222305a7c9b 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 3f0262f4a404..5cc8f2fe8d4a 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TagTest.java index db8d746a636e..a8ccab7ac1b7 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java index 50c8c459a1b3..303e04f15985 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleTest.java index 99c3655633f8..e11692c5c390 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/TriangleTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.EquilateralTriangle; import org.openapitools.client.model.IsoscelesTriangle; import org.openapitools.client.model.ScaleneTriangle; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/UserTest.java index 7c56d205f7ef..6931e60e46c9 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/WhaleTest.java b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/WhaleTest.java index 66075dad5b7b..a4fb7ce4009b 100644 --- a/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/WhaleTest.java +++ b/samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/model/WhaleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/PetApiTest.java index 797c05009b01..10e6a3f86060 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * @@ -16,6 +16,7 @@ import java.io.File; import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; +import java.util.Set; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Assertions; @@ -58,7 +59,7 @@ public void setup() throws MalformedURLException { public void addPetTest() { // TODO: test validations Pet pet = null; - //Pet response = api.addPet(pet); + //api.addPet(pet); //Assertions.assertNotNull(response); @@ -112,8 +113,8 @@ public void findPetsByStatusTest() { @Test public void findPetsByTagsTest() { // TODO: test validations - List tags = null; - //List response = api.findPetsByTags(tags); + Set tags = null; + //Set response = api.findPetsByTags(tags); //Assertions.assertNotNull(response); @@ -149,7 +150,7 @@ public void getPetByIdTest() { public void updatePetTest() { // TODO: test validations Pet pet = null; - //Pet response = api.updatePet(pet); + //api.updatePet(pet); //Assertions.assertNotNull(response); @@ -195,4 +196,24 @@ public void uploadFileTest() { } + /** + * uploads an image (required) + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void uploadFileWithRequiredFileTest() { + // TODO: test validations + Long petId = null; + org.apache.cxf.jaxrs.ext.multipart.Attachment requiredFile = null; + String additionalMetadata = null; + //ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); + //Assertions.assertNotNull(response); + + + } + } diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/StoreApiTest.java index 0dd56e5a8edd..c3a8070cd90a 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/UserApiTest.java index 97dbcb65a746..6ef4b8d13f03 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/PetApiTest.java index 797c05009b01..10e6a3f86060 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * @@ -16,6 +16,7 @@ import java.io.File; import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; +import java.util.Set; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Assertions; @@ -58,7 +59,7 @@ public void setup() throws MalformedURLException { public void addPetTest() { // TODO: test validations Pet pet = null; - //Pet response = api.addPet(pet); + //api.addPet(pet); //Assertions.assertNotNull(response); @@ -112,8 +113,8 @@ public void findPetsByStatusTest() { @Test public void findPetsByTagsTest() { // TODO: test validations - List tags = null; - //List response = api.findPetsByTags(tags); + Set tags = null; + //Set response = api.findPetsByTags(tags); //Assertions.assertNotNull(response); @@ -149,7 +150,7 @@ public void getPetByIdTest() { public void updatePetTest() { // TODO: test validations Pet pet = null; - //Pet response = api.updatePet(pet); + //api.updatePet(pet); //Assertions.assertNotNull(response); @@ -195,4 +196,24 @@ public void uploadFileTest() { } + /** + * uploads an image (required) + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void uploadFileWithRequiredFileTest() { + // TODO: test validations + Long petId = null; + org.apache.cxf.jaxrs.ext.multipart.Attachment requiredFile = null; + String additionalMetadata = null; + //ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); + //Assertions.assertNotNull(response); + + + } + } diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/StoreApiTest.java index 0dd56e5a8edd..c3a8070cd90a 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/UserApiTest.java index 97dbcb65a746..6ef4b8d13f03 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/PetApiTest.java index b77ce18cdeb6..40a4b434dc6c 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * @@ -16,6 +16,7 @@ import java.io.File; import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; +import java.util.Set; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Assertions; @@ -61,7 +62,7 @@ public void setup() throws MalformedURLException { public void addPetTest() { // TODO: test validations Pet pet = null; - //Pet response = api.addPet(pet); + //api.addPet(pet); //Assertions.assertNotNull(response); @@ -115,8 +116,8 @@ public void findPetsByStatusTest() { @Test public void findPetsByTagsTest() { // TODO: test validations - List tags = null; - //List response = api.findPetsByTags(tags); + Set tags = null; + //Set response = api.findPetsByTags(tags); //Assertions.assertNotNull(response); @@ -152,7 +153,7 @@ public void getPetByIdTest() { public void updatePetTest() { // TODO: test validations Pet pet = null; - //Pet response = api.updatePet(pet); + //api.updatePet(pet); //Assertions.assertNotNull(response); @@ -198,4 +199,24 @@ public void uploadFileTest() { } + /** + * uploads an image (required) + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void uploadFileWithRequiredFileTest() { + // TODO: test validations + Long petId = null; + org.apache.cxf.jaxrs.ext.multipart.Attachment requiredFile = null; + String additionalMetadata = null; + //ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); + //Assertions.assertNotNull(response); + + + } + } diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/StoreApiTest.java index f3552677aeb8..f871c788ce47 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/UserApiTest.java index c051762215eb..cd5749d50e1d 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/CategoryTest.java index d0568f977669..caf668f224c5 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index ddfa78c4ac31..45e942fad1a3 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/OrderTest.java index 0d23109bd825..d7c9bb66162b 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/OrderTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/PetTest.java index e939e3b1d45a..89a08d731f6a 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/PetTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * @@ -15,7 +15,9 @@ import java.util.ArrayList; import java.util.Arrays; +import java.util.LinkedHashSet; import java.util.List; +import java.util.Set; import org.openapitools.client.model.Category; import org.openapitools.client.model.Tag; import org.junit.jupiter.api.Assertions; diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/TagTest.java index 5131a8a3e889..cfbaea84bddf 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/TagTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/UserTest.java index d0d84b127052..7065b494b841 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/test/java/org/openapitools/client/model/UserTest.java @@ -1,6 +1,6 @@ /** * OpenAPI Petstore - * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index 2ba68a0a5375..a0da114e5000 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/DefaultApiTest.java index cc8fb840de08..414ee37b0c9d 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.FooGetDefaultResponse; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeApiTest.java index 18b589c8d66c..edc826fba0e6 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -16,6 +16,7 @@ import org.openapitools.client.ApiException; import java.math.BigDecimal; import org.openapitools.client.model.Client; +import org.openapitools.client.model.FakeBigDecimalMap200Response; import java.io.File; import org.openapitools.client.model.FileSchemaTestClass; import org.openapitools.client.model.HealthCheckResult; @@ -23,9 +24,10 @@ import java.time.OffsetDateTime; import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterEnum; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -44,6 +46,22 @@ public class FakeApiTest { private final FakeApi api = new FakeApi(); + /** + * + * + * for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void fakeBigDecimalMapTest() throws ApiException { + CompletableFuture response = + api.fakeBigDecimalMap(); + + // TODO: test validations + } + /** * Health check endpoint * @@ -128,6 +146,22 @@ public void fakeOuterStringSerializeTest() throws ApiException { // TODO: test validations } + /** + * application/json UTF8 + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getApplicationJsonUtf8Test() throws ApiException { + CompletableFuture> response = + api.getApplicationJsonUtf8(); + + // TODO: test validations + } + /** * Array of Enums * @@ -144,6 +178,23 @@ public void getArrayOfEnumsTest() throws ApiException { // TODO: test validations } + /** + * test referenced additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testAdditionalPropertiesReferenceTest() throws ApiException { + Map requestBody = null; + + CompletableFuture response = api.testAdditionalPropertiesReference(requestBody); + + // TODO: test validations + } + /** * * @@ -298,6 +349,23 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { // TODO: test validations } + /** + * test inline free-form additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testInlineFreeformAdditionalPropertiesTest() throws ApiException { + TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + + CompletableFuture response = api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + + // TODO: test validations + } + /** * test json serialization of form data * @@ -337,4 +405,21 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { // TODO: test validations } + /** + * test referenced string map + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testStringMapReferenceTest() throws ApiException { + Map requestBody = null; + + CompletableFuture response = api.testStringMapReference(requestBody); + + // TODO: test validations + } + } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 3f82f64f0489..da751523a784 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/PetApiTest.java index 80e50891f185..cd51ce712623 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -17,8 +17,8 @@ import java.io.File; import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/StoreApiTest.java index 813e15129aab..d996d25bdd86 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/UserApiTest.java index 0d5a9396107f..42df5ff4de1c 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -16,8 +16,8 @@ import org.openapitools.client.ApiException; import java.time.OffsetDateTime; import org.openapitools.client.model.User; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 6d12f2d7d10f..db8d40acee7f 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,24 +18,28 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; +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 AdditionalPropertiesClass */ -public class AdditionalPropertiesClassTest { +class AdditionalPropertiesClassTest { private final AdditionalPropertiesClass model = new AdditionalPropertiesClass(); /** * Model tests for AdditionalPropertiesClass */ @Test - public void testAdditionalPropertiesClass() { + void testAdditionalPropertiesClass() { // TODO: test AdditionalPropertiesClass } @@ -43,7 +47,7 @@ public void testAdditionalPropertiesClass() { * Test the property 'mapProperty' */ @Test - public void mapPropertyTest() { + void mapPropertyTest() { // TODO: test mapProperty } @@ -51,8 +55,56 @@ public void mapPropertyTest() { * Test the property 'mapOfMapProperty' */ @Test - public void mapOfMapPropertyTest() { + void mapOfMapPropertyTest() { // TODO: test mapOfMapProperty } + /** + * Test the property 'anytype1' + */ + @Test + void anytype1Test() { + // TODO: test anytype1 + } + + /** + * Test the property 'mapWithUndeclaredPropertiesAnytype1' + */ + @Test + void mapWithUndeclaredPropertiesAnytype1Test() { + // TODO: test mapWithUndeclaredPropertiesAnytype1 + } + + /** + * Test the property 'mapWithUndeclaredPropertiesAnytype2' + */ + @Test + void mapWithUndeclaredPropertiesAnytype2Test() { + // TODO: test mapWithUndeclaredPropertiesAnytype2 + } + + /** + * Test the property 'mapWithUndeclaredPropertiesAnytype3' + */ + @Test + void mapWithUndeclaredPropertiesAnytype3Test() { + // TODO: test mapWithUndeclaredPropertiesAnytype3 + } + + /** + * Test the property 'emptyMap' + */ + @Test + void emptyMapTest() { + // TODO: test emptyMap + } + + /** + * Test the property 'mapWithUndeclaredPropertiesString' + */ + @Test + void mapWithUndeclaredPropertiesStringTest() { + // TODO: test mapWithUndeclaredPropertiesString + } + } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AnimalTest.java index 24d4c7cad74a..a5087b601042 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,24 +21,22 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Animal */ -public class AnimalTest { +class AnimalTest { private final Animal model = new Animal(); /** * Model tests for Animal */ @Test - public void testAnimal() { + void testAnimal() { // TODO: test Animal } @@ -46,7 +44,7 @@ public void testAnimal() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -54,7 +52,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleReqTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleReqTest.java index a169ab60d392..92bddbf0aa1f 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleReqTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleReqTest.java @@ -18,22 +18,22 @@ 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 AppleReq */ -public class AppleReqTest { +class AppleReqTest { private final AppleReq model = new AppleReq(); /** * Model tests for AppleReq */ @Test - public void testAppleReq() { + void testAppleReq() { // TODO: test AppleReq } @@ -41,7 +41,7 @@ public void testAppleReq() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -49,7 +49,7 @@ public void cultivarTest() { * Test the property 'mealy' */ @Test - public void mealyTest() { + void mealyTest() { // TODO: test mealy } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleTest.java index 62100b06ec32..862d3285cc42 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/AppleTest.java @@ -18,22 +18,22 @@ 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 Apple */ -public class AppleTest { +class AppleTest { private final Apple model = new Apple(); /** * Model tests for Apple */ @Test - public void testApple() { + void testApple() { // TODO: test Apple } @@ -41,7 +41,7 @@ public void testApple() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -49,7 +49,7 @@ public void cultivarTest() { * Test the property 'origin' */ @Test - public void originTest() { + void originTest() { // TODO: test origin } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 7d6ca2902ab5..6bbe877044db 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfArrayOfNumberOnly */ -public class ArrayOfArrayOfNumberOnlyTest { +class ArrayOfArrayOfNumberOnlyTest { private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly(); /** * Model tests for ArrayOfArrayOfNumberOnly */ @Test - public void testArrayOfArrayOfNumberOnly() { + void testArrayOfArrayOfNumberOnly() { // TODO: test ArrayOfArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfArrayOfNumberOnly() { * Test the property 'arrayArrayNumber' */ @Test - public void arrayArrayNumberTest() { + void arrayArrayNumberTest() { // TODO: test arrayArrayNumber } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 1db82cbdea33..eaf908bb1ab7 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfNumberOnly */ -public class ArrayOfNumberOnlyTest { +class ArrayOfNumberOnlyTest { private final ArrayOfNumberOnly model = new ArrayOfNumberOnly(); /** * Model tests for ArrayOfNumberOnly */ @Test - public void testArrayOfNumberOnly() { + void testArrayOfNumberOnly() { // TODO: test ArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfNumberOnly() { * Test the property 'arrayNumber' */ @Test - public void arrayNumberTest() { + void arrayNumberTest() { // TODO: test arrayNumber } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 4a3a3cc839af..99c6bcf53601 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ReadOnlyFirst; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayTest */ -public class ArrayTestTest { +class ArrayTestTest { private final ArrayTest model = new ArrayTest(); /** * Model tests for ArrayTest */ @Test - public void testArrayTest() { + void testArrayTest() { // TODO: test ArrayTest } @@ -44,7 +44,7 @@ public void testArrayTest() { * Test the property 'arrayOfString' */ @Test - public void arrayOfStringTest() { + void arrayOfStringTest() { // TODO: test arrayOfString } @@ -52,7 +52,7 @@ public void arrayOfStringTest() { * Test the property 'arrayArrayOfInteger' */ @Test - public void arrayArrayOfIntegerTest() { + void arrayArrayOfIntegerTest() { // TODO: test arrayArrayOfInteger } @@ -60,7 +60,7 @@ public void arrayArrayOfIntegerTest() { * Test the property 'arrayArrayOfModel' */ @Test - public void arrayArrayOfModelTest() { + void arrayArrayOfModelTest() { // TODO: test arrayArrayOfModel } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaReqTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaReqTest.java index b605d146e403..c279b73f26a8 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaReqTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaReqTest.java @@ -19,22 +19,22 @@ 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 BananaReq */ -public class BananaReqTest { +class BananaReqTest { private final BananaReq model = new BananaReq(); /** * Model tests for BananaReq */ @Test - public void testBananaReq() { + void testBananaReq() { // TODO: test BananaReq } @@ -42,7 +42,7 @@ public void testBananaReq() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } @@ -50,7 +50,7 @@ public void lengthCmTest() { * Test the property 'sweet' */ @Test - public void sweetTest() { + void sweetTest() { // TODO: test sweet } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaTest.java index 70be9e32c946..0d30121a457b 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BananaTest.java @@ -19,22 +19,22 @@ 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 Banana */ -public class BananaTest { +class BananaTest { private final Banana model = new Banana(); /** * Model tests for Banana */ @Test - public void testBanana() { + void testBanana() { // TODO: test Banana } @@ -42,7 +42,7 @@ public void testBanana() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BasquePigTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BasquePigTest.java index 43fa0a23f362..cb8ced649580 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BasquePigTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/BasquePigTest.java @@ -18,22 +18,22 @@ 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 BasquePig */ -public class BasquePigTest { +class BasquePigTest { private final BasquePig model = new BasquePig(); /** * Model tests for BasquePig */ @Test - public void testBasquePig() { + void testBasquePig() { // TODO: test BasquePig } @@ -41,7 +41,7 @@ public void testBasquePig() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 1f133e4142e4..47371acf3250 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,22 +18,22 @@ 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 Capitalization */ -public class CapitalizationTest { +class CapitalizationTest { private final Capitalization model = new Capitalization(); /** * Model tests for Capitalization */ @Test - public void testCapitalization() { + void testCapitalization() { // TODO: test Capitalization } @@ -41,7 +41,7 @@ public void testCapitalization() { * Test the property 'smallCamel' */ @Test - public void smallCamelTest() { + void smallCamelTest() { // TODO: test smallCamel } @@ -49,7 +49,7 @@ public void smallCamelTest() { * Test the property 'capitalCamel' */ @Test - public void capitalCamelTest() { + void capitalCamelTest() { // TODO: test capitalCamel } @@ -57,7 +57,7 @@ public void capitalCamelTest() { * Test the property 'smallSnake' */ @Test - public void smallSnakeTest() { + void smallSnakeTest() { // TODO: test smallSnake } @@ -65,7 +65,7 @@ public void smallSnakeTest() { * Test the property 'capitalSnake' */ @Test - public void capitalSnakeTest() { + void capitalSnakeTest() { // TODO: test capitalSnake } @@ -73,7 +73,7 @@ public void capitalSnakeTest() { * Test the property 'scAETHFlowPoints' */ @Test - public void scAETHFlowPointsTest() { + void scAETHFlowPointsTest() { // TODO: test scAETHFlowPoints } @@ -81,7 +81,7 @@ public void scAETHFlowPointsTest() { * Test the property 'ATT_NAME' */ @Test - public void ATT_NAMETest() { + void ATT_NAMETest() { // TODO: test ATT_NAME } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CatTest.java index 867c64d56516..79ee11f8709c 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CatTest.java @@ -21,23 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; +import java.util.Map; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Cat */ -public class CatTest { +class CatTest { private final Cat model = new Cat(); /** * Model tests for Cat */ @Test - public void testCat() { + void testCat() { // TODO: test Cat } @@ -45,7 +46,7 @@ public void testCat() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -53,7 +54,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -61,7 +62,7 @@ public void colorTest() { * Test the property 'declawed' */ @Test - public void declawedTest() { + void declawedTest() { // TODO: test declawed } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CategoryTest.java index 84df0f1e24da..1c022bd3eb58 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,22 +18,22 @@ 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 } @@ -41,7 +41,7 @@ public void testCategory() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ChildCatTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ChildCatTest.java index 63cf65386e7b..5ac77cf5418b 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ChildCatTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ChildCatTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ParentPet; import java.util.Set; import java.util.HashSet; @@ -28,18 +29,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ChildCat */ -public class ChildCatTest { +class ChildCatTest { private final ChildCat model = new ChildCat(); /** * Model tests for ChildCat */ @Test - public void testChildCat() { + void testChildCat() { // TODO: test ChildCat } @@ -47,7 +47,7 @@ public void testChildCat() { * Test the property 'petType' */ @Test - public void petTypeTest() { + void petTypeTest() { // TODO: test petType } @@ -55,7 +55,7 @@ public void petTypeTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClassModelTest.java index 0efd2b037523..a39cbcd0832e 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,22 +18,22 @@ 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 ClassModel */ -public class ClassModelTest { +class ClassModelTest { private final ClassModel model = new ClassModel(); /** * Model tests for ClassModel */ @Test - public void testClassModel() { + void testClassModel() { // TODO: test ClassModel } @@ -41,7 +41,7 @@ public void testClassModel() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClientTest.java index 9fee039a47a4..2af102e102cb 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,22 +18,22 @@ 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 Client */ -public class ClientTest { +class ClientTest { private final Client model = new Client(); /** * Model tests for Client */ @Test - public void testClient() { + void testClient() { // TODO: test Client } @@ -41,7 +41,7 @@ public void testClient() { * Test the property 'client' */ @Test - public void clientTest() { + void clientTest() { // TODO: test client } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java index 995ed5daeb47..418a66fbd4c2 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java @@ -18,22 +18,22 @@ 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 ComplexQuadrilateral */ -public class ComplexQuadrilateralTest { +class ComplexQuadrilateralTest { private final ComplexQuadrilateral model = new ComplexQuadrilateral(); /** * Model tests for ComplexQuadrilateral */ @Test - public void testComplexQuadrilateral() { + void testComplexQuadrilateral() { // TODO: test ComplexQuadrilateral } @@ -41,7 +41,7 @@ public void testComplexQuadrilateral() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DanishPigTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DanishPigTest.java index 8568207d9717..7982c16fc0df 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DanishPigTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DanishPigTest.java @@ -18,22 +18,22 @@ 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 DanishPig */ -public class DanishPigTest { +class DanishPigTest { private final DanishPig model = new DanishPig(); /** * Model tests for DanishPig */ @Test - public void testDanishPig() { + void testDanishPig() { // TODO: test DanishPig } @@ -41,7 +41,7 @@ public void testDanishPig() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index 06d586403935..47368022c21f 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java @@ -18,22 +18,22 @@ 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 DeprecatedObject */ -public class DeprecatedObjectTest { +class DeprecatedObjectTest { private final DeprecatedObject model = new DeprecatedObject(); /** * Model tests for DeprecatedObject */ @Test - public void testDeprecatedObject() { + void testDeprecatedObject() { // TODO: test DeprecatedObject } @@ -41,7 +41,7 @@ public void testDeprecatedObject() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DogTest.java index 0f9f43fd3cac..d2b78c4e5738 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DogTest.java @@ -21,23 +21,23 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Dog */ -public class DogTest { +class DogTest { private final Dog model = new Dog(); /** * Model tests for Dog */ @Test - public void testDog() { + void testDog() { // TODO: test Dog } @@ -45,7 +45,7 @@ public void testDog() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -53,7 +53,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -61,7 +61,7 @@ public void colorTest() { * Test the property 'breed' */ @Test - public void breedTest() { + void breedTest() { // TODO: test breed } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DrawingTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DrawingTest.java index c2a0659731b6..d004fd2eeced 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DrawingTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/DrawingTest.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.HashMap; import java.util.List; import java.util.Map; @@ -34,18 +35,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Drawing */ -public class DrawingTest { +class DrawingTest { private final Drawing model = new Drawing(); /** * Model tests for Drawing */ @Test - public void testDrawing() { + void testDrawing() { // TODO: test Drawing } @@ -53,7 +53,7 @@ public void testDrawing() { * Test the property 'mainShape' */ @Test - public void mainShapeTest() { + void mainShapeTest() { // TODO: test mainShape } @@ -61,7 +61,7 @@ public void mainShapeTest() { * Test the property 'shapeOrNull' */ @Test - public void shapeOrNullTest() { + void shapeOrNullTest() { // TODO: test shapeOrNull } @@ -69,7 +69,7 @@ public void shapeOrNullTest() { * Test the property 'nullableShape' */ @Test - public void nullableShapeTest() { + void nullableShapeTest() { // TODO: test nullableShape } @@ -77,7 +77,7 @@ public void nullableShapeTest() { * Test the property 'shapes' */ @Test - public void shapesTest() { + void shapesTest() { // TODO: test shapes } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumArraysTest.java index bd426ae14b51..4a755b0d4425 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumArraysTest.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 EnumArrays */ -public class EnumArraysTest { +class EnumArraysTest { private final EnumArrays model = new EnumArrays(); /** * Model tests for EnumArrays */ @Test - public void testEnumArrays() { + void testEnumArrays() { // TODO: test EnumArrays } @@ -43,7 +43,7 @@ public void testEnumArrays() { * Test the property 'justSymbol' */ @Test - public void justSymbolTest() { + void justSymbolTest() { // TODO: test justSymbol } @@ -51,7 +51,7 @@ public void justSymbolTest() { * Test the property 'arrayEnum' */ @Test - public void arrayEnumTest() { + void arrayEnumTest() { // TODO: test arrayEnum } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumClassTest.java index 19518a5f665b..48aa1a737fce 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumClass */ -public class EnumClassTest { +class EnumClassTest { /** * Model tests for EnumClass */ @Test - public void testEnumClass() { + void testEnumClass() { // TODO: test EnumClass } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumTestTest.java index 8522172bdfcb..1b2d233cb96f 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnumDefaultValue; import org.openapitools.client.model.OuterEnumInteger; @@ -30,18 +31,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumTest */ -public class EnumTestTest { +class EnumTestTest { private final EnumTest model = new EnumTest(); /** * Model tests for EnumTest */ @Test - public void testEnumTest() { + void testEnumTest() { // TODO: test EnumTest } @@ -49,7 +49,7 @@ public void testEnumTest() { * Test the property 'enumString' */ @Test - public void enumStringTest() { + void enumStringTest() { // TODO: test enumString } @@ -57,7 +57,7 @@ public void enumStringTest() { * Test the property 'enumStringRequired' */ @Test - public void enumStringRequiredTest() { + void enumStringRequiredTest() { // TODO: test enumStringRequired } @@ -65,15 +65,23 @@ public void enumStringRequiredTest() { * Test the property 'enumInteger' */ @Test - public void enumIntegerTest() { + void enumIntegerTest() { // TODO: test enumInteger } + /** + * Test the property 'enumIntegerOnly' + */ + @Test + void enumIntegerOnlyTest() { + // TODO: test enumIntegerOnly + } + /** * Test the property 'enumNumber' */ @Test - public void enumNumberTest() { + void enumNumberTest() { // TODO: test enumNumber } @@ -81,7 +89,7 @@ public void enumNumberTest() { * Test the property 'outerEnum' */ @Test - public void outerEnumTest() { + void outerEnumTest() { // TODO: test outerEnum } @@ -89,7 +97,7 @@ public void outerEnumTest() { * Test the property 'outerEnumInteger' */ @Test - public void outerEnumIntegerTest() { + void outerEnumIntegerTest() { // TODO: test outerEnumInteger } @@ -97,7 +105,7 @@ public void outerEnumIntegerTest() { * Test the property 'outerEnumDefaultValue' */ @Test - public void outerEnumDefaultValueTest() { + void outerEnumDefaultValueTest() { // TODO: test outerEnumDefaultValue } @@ -105,7 +113,7 @@ public void outerEnumDefaultValueTest() { * Test the property 'outerEnumIntegerDefaultValue' */ @Test - public void outerEnumIntegerDefaultValueTest() { + void outerEnumIntegerDefaultValueTest() { // TODO: test outerEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java index d6450f92d369..ca7aed0ce2e0 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java @@ -18,22 +18,22 @@ 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 EquilateralTriangle */ -public class EquilateralTriangleTest { +class EquilateralTriangleTest { private final EquilateralTriangle model = new EquilateralTriangle(); /** * Model tests for EquilateralTriangle */ @Test - public void testEquilateralTriangle() { + void testEquilateralTriangle() { // TODO: test EquilateralTriangle } @@ -41,7 +41,7 @@ public void testEquilateralTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java index 1792f6169d92..a4ce8f9df8a9 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; @@ -28,14 +29,14 @@ /** * Model tests for FakeBigDecimalMap200Response */ -public class FakeBigDecimalMap200ResponseTest { +class FakeBigDecimalMap200ResponseTest { private final FakeBigDecimalMap200Response model = new FakeBigDecimalMap200Response(); /** * Model tests for FakeBigDecimalMap200Response */ @Test - public void testFakeBigDecimalMap200Response() { + void testFakeBigDecimalMap200Response() { // TODO: test FakeBigDecimalMap200Response } @@ -43,7 +44,7 @@ public void testFakeBigDecimalMap200Response() { * Test the property 'someId' */ @Test - public void someIdTest() { + void someIdTest() { // TODO: test someId } @@ -51,7 +52,7 @@ public void someIdTest() { * Test the property 'someMap' */ @Test - public void someMapTest() { + void someMapTest() { // TODO: test someMap } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index 53b20d7bdd31..0048cb2c7497 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ModelFile; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FileSchemaTestClass */ -public class FileSchemaTestClassTest { +class FileSchemaTestClassTest { private final FileSchemaTestClass model = new FileSchemaTestClass(); /** * Model tests for FileSchemaTestClass */ @Test - public void testFileSchemaTestClass() { + void testFileSchemaTestClass() { // TODO: test FileSchemaTestClass } @@ -44,7 +44,7 @@ public void testFileSchemaTestClass() { * Test the property '_file' */ @Test - public void _fileTest() { + void _fileTest() { // TODO: test _file } @@ -52,7 +52,7 @@ public void _fileTest() { * Test the property 'files' */ @Test - public void filesTest() { + void filesTest() { // TODO: test files } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index 85c3e9a29e77..066c78ba255f 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -18,23 +18,23 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Foo; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FooGetDefaultResponse */ -public class FooGetDefaultResponseTest { +class FooGetDefaultResponseTest { private final FooGetDefaultResponse model = new FooGetDefaultResponse(); /** * Model tests for FooGetDefaultResponse */ @Test - public void testFooGetDefaultResponse() { + void testFooGetDefaultResponse() { // TODO: test FooGetDefaultResponse } @@ -42,7 +42,7 @@ public void testFooGetDefaultResponse() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooTest.java index b1825eb48eb9..50be3e8eb9d1 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FooTest.java @@ -18,22 +18,22 @@ 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 Foo */ -public class FooTest { +class FooTest { private final Foo model = new Foo(); /** * Model tests for Foo */ @Test - public void testFoo() { + void testFoo() { // TODO: test Foo } @@ -41,7 +41,7 @@ public void testFoo() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FormatTestTest.java index 2d1505241d81..3df7f506d43b 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,23 +22,23 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FormatTest */ -public class FormatTestTest { +class FormatTestTest { private final FormatTest model = new FormatTest(); /** * Model tests for FormatTest */ @Test - public void testFormatTest() { + void testFormatTest() { // TODO: test FormatTest } @@ -46,7 +46,7 @@ public void testFormatTest() { * Test the property 'integer' */ @Test - public void integerTest() { + void integerTest() { // TODO: test integer } @@ -54,7 +54,7 @@ public void integerTest() { * Test the property 'int32' */ @Test - public void int32Test() { + void int32Test() { // TODO: test int32 } @@ -62,7 +62,7 @@ public void int32Test() { * Test the property 'int64' */ @Test - public void int64Test() { + void int64Test() { // TODO: test int64 } @@ -70,7 +70,7 @@ public void int64Test() { * Test the property 'number' */ @Test - public void numberTest() { + void numberTest() { // TODO: test number } @@ -78,7 +78,7 @@ public void numberTest() { * Test the property '_float' */ @Test - public void _floatTest() { + void _floatTest() { // TODO: test _float } @@ -86,7 +86,7 @@ public void _floatTest() { * Test the property '_double' */ @Test - public void _doubleTest() { + void _doubleTest() { // TODO: test _double } @@ -94,7 +94,7 @@ public void _doubleTest() { * Test the property 'decimal' */ @Test - public void decimalTest() { + void decimalTest() { // TODO: test decimal } @@ -102,7 +102,7 @@ public void decimalTest() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } @@ -110,7 +110,7 @@ public void stringTest() { * Test the property '_byte' */ @Test - public void _byteTest() { + void _byteTest() { // TODO: test _byte } @@ -118,7 +118,7 @@ public void _byteTest() { * Test the property 'binary' */ @Test - public void binaryTest() { + void binaryTest() { // TODO: test binary } @@ -126,7 +126,7 @@ public void binaryTest() { * Test the property 'date' */ @Test - public void dateTest() { + void dateTest() { // TODO: test date } @@ -134,7 +134,7 @@ public void dateTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -142,7 +142,7 @@ public void dateTimeTest() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -150,7 +150,7 @@ public void uuidTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -158,7 +158,7 @@ public void passwordTest() { * Test the property 'patternWithDigits' */ @Test - public void patternWithDigitsTest() { + void patternWithDigitsTest() { // TODO: test patternWithDigits } @@ -166,7 +166,7 @@ public void patternWithDigitsTest() { * Test the property 'patternWithDigitsAndDelimiter' */ @Test - public void patternWithDigitsAndDelimiterTest() { + void patternWithDigitsAndDelimiterTest() { // TODO: test patternWithDigitsAndDelimiter } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitReqTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitReqTest.java index 59d4bcfc12b4..e1ef92e00114 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitReqTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitReqTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.AppleReq; import org.openapitools.client.model.BananaReq; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FruitReq */ -public class FruitReqTest { +class FruitReqTest { private final FruitReq model = new FruitReq(); /** * Model tests for FruitReq */ @Test - public void testFruitReq() { + void testFruitReq() { // TODO: test FruitReq } @@ -44,7 +44,7 @@ public void testFruitReq() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -52,7 +52,7 @@ public void cultivarTest() { * Test the property 'mealy' */ @Test - public void mealyTest() { + void mealyTest() { // TODO: test mealy } @@ -60,7 +60,7 @@ public void mealyTest() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } @@ -68,7 +68,7 @@ public void lengthCmTest() { * Test the property 'sweet' */ @Test - public void sweetTest() { + void sweetTest() { // TODO: test sweet } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitTest.java index e9153d8010a3..89d9c125d93d 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/FruitTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Fruit */ -public class FruitTest { +class FruitTest { private final Fruit model = new Fruit(); /** * Model tests for Fruit */ @Test - public void testFruit() { + void testFruit() { // TODO: test Fruit } @@ -44,7 +44,7 @@ public void testFruit() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -52,7 +52,7 @@ public void cultivarTest() { * Test the property 'origin' */ @Test - public void originTest() { + void originTest() { // TODO: test origin } @@ -60,7 +60,7 @@ public void originTest() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GmFruitTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GmFruitTest.java index 2625ac7b07cb..96062808d6de 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GmFruitTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GmFruitTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for GmFruit */ -public class GmFruitTest { +class GmFruitTest { private final GmFruit model = new GmFruit(); /** * Model tests for GmFruit */ @Test - public void testGmFruit() { + void testGmFruit() { // TODO: test GmFruit } @@ -44,7 +44,7 @@ public void testGmFruit() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -52,7 +52,7 @@ public void cultivarTest() { * Test the property 'origin' */ @Test - public void originTest() { + void originTest() { // TODO: test origin } @@ -60,7 +60,7 @@ public void originTest() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java index 7ba9aa57e8e8..83216e34a675 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java @@ -21,24 +21,22 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; -import org.openapitools.client.model.ParentPet; +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 GrandparentAnimal */ -public class GrandparentAnimalTest { +class GrandparentAnimalTest { private final GrandparentAnimal model = new GrandparentAnimal(); /** * Model tests for GrandparentAnimal */ @Test - public void testGrandparentAnimal() { + void testGrandparentAnimal() { // TODO: test GrandparentAnimal } @@ -46,7 +44,7 @@ public void testGrandparentAnimal() { * Test the property 'petType' */ @Test - public void petTypeTest() { + void petTypeTest() { // TODO: test petType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index 9a76d3c9534f..9d3b9a7b8bfe 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,22 +18,22 @@ 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 HasOnlyReadOnly */ -public class HasOnlyReadOnlyTest { +class HasOnlyReadOnlyTest { private final HasOnlyReadOnly model = new HasOnlyReadOnly(); /** * Model tests for HasOnlyReadOnly */ @Test - public void testHasOnlyReadOnly() { + void testHasOnlyReadOnly() { // TODO: test HasOnlyReadOnly } @@ -41,7 +41,7 @@ public void testHasOnlyReadOnly() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -49,7 +49,7 @@ public void barTest() { * Test the property 'foo' */ @Test - public void fooTest() { + void fooTest() { // TODO: test foo } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index d627568b70c9..7c4efd7dbe35 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -26,18 +27,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for HealthCheckResult */ -public class HealthCheckResultTest { +class HealthCheckResultTest { private final HealthCheckResult model = new HealthCheckResult(); /** * Model tests for HealthCheckResult */ @Test - public void testHealthCheckResult() { + void testHealthCheckResult() { // TODO: test HealthCheckResult } @@ -45,7 +45,7 @@ public void testHealthCheckResult() { * Test the property 'nullableMessage' */ @Test - public void nullableMessageTest() { + void nullableMessageTest() { // TODO: test nullableMessage } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java index 494aeb29719a..d3bda7c14fa4 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java @@ -18,22 +18,22 @@ 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 IsoscelesTriangle */ -public class IsoscelesTriangleTest { +class IsoscelesTriangleTest { private final IsoscelesTriangle model = new IsoscelesTriangle(); /** * Model tests for IsoscelesTriangle */ @Test - public void testIsoscelesTriangle() { + void testIsoscelesTriangle() { // TODO: test IsoscelesTriangle } @@ -41,7 +41,7 @@ public void testIsoscelesTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MammalTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MammalTest.java index ff3ec21df4b0..4c2efed46210 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MammalTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MammalTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Pig; import org.openapitools.client.model.Whale; import org.openapitools.client.model.Zebra; @@ -28,18 +29,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Mammal */ -public class MammalTest { +class MammalTest { private final Mammal model = new Mammal(); /** * Model tests for Mammal */ @Test - public void testMammal() { + void testMammal() { // TODO: test Mammal } @@ -47,7 +47,7 @@ public void testMammal() { * Test the property 'hasBaleen' */ @Test - public void hasBaleenTest() { + void hasBaleenTest() { // TODO: test hasBaleen } @@ -55,7 +55,7 @@ public void hasBaleenTest() { * Test the property 'hasTeeth' */ @Test - public void hasTeethTest() { + void hasTeethTest() { // TODO: test hasTeeth } @@ -63,7 +63,7 @@ public void hasTeethTest() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -71,7 +71,7 @@ public void classNameTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MapTestTest.java index c85527e8536a..1d919da9916b 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,24 +18,24 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MapTest */ -public class MapTestTest { +class MapTestTest { private final MapTest model = new MapTest(); /** * Model tests for MapTest */ @Test - public void testMapTest() { + void testMapTest() { // TODO: test MapTest } @@ -43,7 +43,7 @@ public void testMapTest() { * Test the property 'mapMapOfString' */ @Test - public void mapMapOfStringTest() { + void mapMapOfStringTest() { // TODO: test mapMapOfString } @@ -51,7 +51,7 @@ public void mapMapOfStringTest() { * Test the property 'mapOfEnumString' */ @Test - public void mapOfEnumStringTest() { + void mapOfEnumStringTest() { // TODO: test mapOfEnumString } @@ -59,7 +59,7 @@ public void mapOfEnumStringTest() { * Test the property 'directMap' */ @Test - public void directMapTest() { + void directMapTest() { // TODO: test directMap } @@ -67,7 +67,7 @@ public void directMapTest() { * Test the property 'indirectMap' */ @Test - public void indirectMapTest() { + void indirectMapTest() { // TODO: test indirectMap } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index c5f70f4c8f0c..d2fe9149d06a 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; @@ -27,18 +28,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ -public class MixedPropertiesAndAdditionalPropertiesClassTest { +class MixedPropertiesAndAdditionalPropertiesClassTest { private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass(); /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ @Test - public void testMixedPropertiesAndAdditionalPropertiesClass() { + void testMixedPropertiesAndAdditionalPropertiesClass() { // TODO: test MixedPropertiesAndAdditionalPropertiesClass } @@ -46,7 +46,7 @@ public void testMixedPropertiesAndAdditionalPropertiesClass() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -54,7 +54,7 @@ public void uuidTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -62,7 +62,7 @@ public void dateTimeTest() { * Test the property 'map' */ @Test - public void mapTest() { + void mapTest() { // TODO: test map } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 0952e6472d04..bf5bfd38df74 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,22 +18,22 @@ 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 Model200Response */ -public class Model200ResponseTest { +class Model200ResponseTest { private final Model200Response model = new Model200Response(); /** * Model tests for Model200Response */ @Test - public void testModel200Response() { + void testModel200Response() { // TODO: test Model200Response } @@ -41,7 +41,7 @@ public void testModel200Response() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -49,7 +49,7 @@ public void nameTest() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index d57f86800479..86f2f4ee0810 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,22 +18,22 @@ 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 ModelApiResponse */ -public class ModelApiResponseTest { +class ModelApiResponseTest { private final ModelApiResponse model = new ModelApiResponse(); /** * Model tests for ModelApiResponse */ @Test - public void testModelApiResponse() { + void testModelApiResponse() { // TODO: test ModelApiResponse } @@ -41,7 +41,7 @@ public void testModelApiResponse() { * Test the property 'code' */ @Test - public void codeTest() { + void codeTest() { // TODO: test code } @@ -49,7 +49,7 @@ public void codeTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -57,7 +57,7 @@ public void typeTest() { * Test the property 'message' */ @Test - public void messageTest() { + void messageTest() { // TODO: test message } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelFileTest.java index 4b2d71052119..24bd7a9597b1 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,22 +18,22 @@ 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 ModelFile */ -public class ModelFileTest { +class ModelFileTest { private final ModelFile model = new ModelFile(); /** * Model tests for ModelFile */ @Test - public void testModelFile() { + void testModelFile() { // TODO: test ModelFile } @@ -41,7 +41,7 @@ public void testModelFile() { * Test the property 'sourceURI' */ @Test - public void sourceURITest() { + void sourceURITest() { // TODO: test sourceURI } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelListTest.java index f39c6a118e39..77c4dabaf01d 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,22 +18,22 @@ 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 ModelList */ -public class ModelListTest { +class ModelListTest { private final ModelList model = new ModelList(); /** * Model tests for ModelList */ @Test - public void testModelList() { + void testModelList() { // TODO: test ModelList } @@ -41,7 +41,7 @@ public void testModelList() { * Test the property '_123list' */ @Test - public void _123listTest() { + void _123listTest() { // TODO: test _123list } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelReturnTest.java index a6968d2b87e8..4023c1a812dc 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,22 +18,22 @@ 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 ModelReturn */ -public class ModelReturnTest { +class ModelReturnTest { private final ModelReturn model = new ModelReturn(); /** * Model tests for ModelReturn */ @Test - public void testModelReturn() { + void testModelReturn() { // TODO: test ModelReturn } @@ -41,7 +41,7 @@ public void testModelReturn() { * Test the property '_return' */ @Test - public void _returnTest() { + void _returnTest() { // TODO: test _return } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NameTest.java index 39ff782a3ea4..65afaf42e84e 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,22 +18,22 @@ 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 Name */ -public class NameTest { +class NameTest { private final Name model = new Name(); /** * Model tests for Name */ @Test - public void testName() { + void testName() { // TODO: test Name } @@ -41,7 +41,7 @@ public void testName() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -49,7 +49,7 @@ public void nameTest() { * Test the property 'snakeCase' */ @Test - public void snakeCaseTest() { + void snakeCaseTest() { // TODO: test snakeCase } @@ -57,7 +57,7 @@ public void snakeCaseTest() { * Test the property 'property' */ @Test - public void propertyTest() { + void propertyTest() { // TODO: test property } @@ -65,7 +65,7 @@ public void propertyTest() { * Test the property '_123number' */ @Test - public void _123numberTest() { + void _123numberTest() { // TODO: test _123number } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableClassTest.java index 86e5a4e72498..d960ef76e5c3 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -22,6 +22,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -33,18 +34,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableClass */ -public class NullableClassTest { +class NullableClassTest { private final NullableClass model = new NullableClass(); /** * Model tests for NullableClass */ @Test - public void testNullableClass() { + void testNullableClass() { // TODO: test NullableClass } @@ -52,7 +52,7 @@ public void testNullableClass() { * Test the property 'integerProp' */ @Test - public void integerPropTest() { + void integerPropTest() { // TODO: test integerProp } @@ -60,7 +60,7 @@ public void integerPropTest() { * Test the property 'numberProp' */ @Test - public void numberPropTest() { + void numberPropTest() { // TODO: test numberProp } @@ -68,7 +68,7 @@ public void numberPropTest() { * Test the property 'booleanProp' */ @Test - public void booleanPropTest() { + void booleanPropTest() { // TODO: test booleanProp } @@ -76,7 +76,7 @@ public void booleanPropTest() { * Test the property 'stringProp' */ @Test - public void stringPropTest() { + void stringPropTest() { // TODO: test stringProp } @@ -84,7 +84,7 @@ public void stringPropTest() { * Test the property 'dateProp' */ @Test - public void datePropTest() { + void datePropTest() { // TODO: test dateProp } @@ -92,7 +92,7 @@ public void datePropTest() { * Test the property 'datetimeProp' */ @Test - public void datetimePropTest() { + void datetimePropTest() { // TODO: test datetimeProp } @@ -100,7 +100,7 @@ public void datetimePropTest() { * Test the property 'arrayNullableProp' */ @Test - public void arrayNullablePropTest() { + void arrayNullablePropTest() { // TODO: test arrayNullableProp } @@ -108,7 +108,7 @@ public void arrayNullablePropTest() { * Test the property 'arrayAndItemsNullableProp' */ @Test - public void arrayAndItemsNullablePropTest() { + void arrayAndItemsNullablePropTest() { // TODO: test arrayAndItemsNullableProp } @@ -116,7 +116,7 @@ public void arrayAndItemsNullablePropTest() { * Test the property 'arrayItemsNullable' */ @Test - public void arrayItemsNullableTest() { + void arrayItemsNullableTest() { // TODO: test arrayItemsNullable } @@ -124,7 +124,7 @@ public void arrayItemsNullableTest() { * Test the property 'objectNullableProp' */ @Test - public void objectNullablePropTest() { + void objectNullablePropTest() { // TODO: test objectNullableProp } @@ -132,7 +132,7 @@ public void objectNullablePropTest() { * Test the property 'objectAndItemsNullableProp' */ @Test - public void objectAndItemsNullablePropTest() { + void objectAndItemsNullablePropTest() { // TODO: test objectAndItemsNullableProp } @@ -140,7 +140,7 @@ public void objectAndItemsNullablePropTest() { * Test the property 'objectItemsNullable' */ @Test - public void objectItemsNullableTest() { + void objectItemsNullableTest() { // TODO: test objectItemsNullable } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableShapeTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableShapeTest.java index 387933e4ca83..2fd21ebc85a4 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableShapeTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NullableShapeTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableShape */ -public class NullableShapeTest { +class NullableShapeTest { private final NullableShape model = new NullableShape(); /** * Model tests for NullableShape */ @Test - public void testNullableShape() { + void testNullableShape() { // TODO: test NullableShape } @@ -46,7 +46,7 @@ public void testNullableShape() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } @@ -62,7 +62,7 @@ public void triangleTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 88a5503ccf97..8e77a542c749 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -19,22 +19,22 @@ 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 NumberOnly */ -public class NumberOnlyTest { +class NumberOnlyTest { private final NumberOnly model = new NumberOnly(); /** * Model tests for NumberOnly */ @Test - public void testNumberOnly() { + void testNumberOnly() { // TODO: test NumberOnly } @@ -42,7 +42,7 @@ public void testNumberOnly() { * Test the property 'justNumber' */ @Test - public void justNumberTest() { + void justNumberTest() { // TODO: test justNumber } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index 72978f65097d..aa755cf8cb48 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -20,24 +20,24 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeprecatedObject; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ObjectWithDeprecatedFields */ -public class ObjectWithDeprecatedFieldsTest { +class ObjectWithDeprecatedFieldsTest { private final ObjectWithDeprecatedFields model = new ObjectWithDeprecatedFields(); /** * Model tests for ObjectWithDeprecatedFields */ @Test - public void testObjectWithDeprecatedFields() { + void testObjectWithDeprecatedFields() { // TODO: test ObjectWithDeprecatedFields } @@ -45,7 +45,7 @@ public void testObjectWithDeprecatedFields() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -53,7 +53,7 @@ public void uuidTest() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -61,7 +61,7 @@ public void idTest() { * Test the property 'deprecatedRef' */ @Test - public void deprecatedRefTest() { + void deprecatedRefTest() { // TODO: test deprecatedRef } @@ -69,7 +69,7 @@ public void deprecatedRefTest() { * Test the property 'bars' */ @Test - public void barsTest() { + void barsTest() { // TODO: test bars } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OrderTest.java index 17f411d1ede9..3b40755326ff 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,22 +19,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +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 Order */ -public class OrderTest { +class OrderTest { private final Order model = new Order(); /** * Model tests for Order */ @Test - public void testOrder() { + void testOrder() { // TODO: test Order } @@ -42,7 +42,7 @@ public void testOrder() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -50,7 +50,7 @@ public void idTest() { * Test the property 'petId' */ @Test - public void petIdTest() { + void petIdTest() { // TODO: test petId } @@ -58,7 +58,7 @@ public void petIdTest() { * Test the property 'quantity' */ @Test - public void quantityTest() { + void quantityTest() { // TODO: test quantity } @@ -66,7 +66,7 @@ public void quantityTest() { * Test the property 'shipDate' */ @Test - public void shipDateTest() { + void shipDateTest() { // TODO: test shipDate } @@ -74,7 +74,7 @@ public void shipDateTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } @@ -82,7 +82,7 @@ public void statusTest() { * Test the property 'complete' */ @Test - public void completeTest() { + void completeTest() { // TODO: test complete } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 11d7eeac3b75..abd1e3c1fdfb 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -19,22 +19,22 @@ 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 OuterComposite */ -public class OuterCompositeTest { +class OuterCompositeTest { private final OuterComposite model = new OuterComposite(); /** * Model tests for OuterComposite */ @Test - public void testOuterComposite() { + void testOuterComposite() { // TODO: test OuterComposite } @@ -42,7 +42,7 @@ public void testOuterComposite() { * Test the property 'myNumber' */ @Test - public void myNumberTest() { + void myNumberTest() { // TODO: test myNumber } @@ -50,7 +50,7 @@ public void myNumberTest() { * Test the property 'myString' */ @Test - public void myStringTest() { + void myStringTest() { // TODO: test myString } @@ -58,7 +58,7 @@ public void myStringTest() { * Test the property 'myBoolean' */ @Test - public void myBooleanTest() { + void myBooleanTest() { // TODO: test myBoolean } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java index db6de4ebd34c..d818b23c7d53 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumDefaultValue */ -public class OuterEnumDefaultValueTest { +class OuterEnumDefaultValueTest { /** * Model tests for OuterEnumDefaultValue */ @Test - public void testOuterEnumDefaultValue() { + void testOuterEnumDefaultValue() { // TODO: test OuterEnumDefaultValue } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java index 44b97d47c2eb..1d7b3338bca2 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumIntegerDefaultValue */ -public class OuterEnumIntegerDefaultValueTest { +class OuterEnumIntegerDefaultValueTest { /** * Model tests for OuterEnumIntegerDefaultValue */ @Test - public void testOuterEnumIntegerDefaultValue() { + void testOuterEnumIntegerDefaultValue() { // TODO: test OuterEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java index 908c8ce7e21a..cacda46a76f4 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumInteger */ -public class OuterEnumIntegerTest { +class OuterEnumIntegerTest { /** * Model tests for OuterEnumInteger */ @Test - public void testOuterEnumInteger() { + void testOuterEnumInteger() { // TODO: test OuterEnumInteger } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumTest.java index f7293142020a..0333ee657a0f 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnum */ -public class OuterEnumTest { +class OuterEnumTest { /** * Model tests for OuterEnum */ @Test - public void testOuterEnum() { + void testOuterEnum() { // TODO: test OuterEnum } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ParentPetTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ParentPetTest.java index cf712c8e3b8a..7361e9551213 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ParentPetTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ParentPetTest.java @@ -21,24 +21,23 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; +import java.util.Arrays; import org.openapitools.client.model.GrandparentAnimal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ParentPet */ -public class ParentPetTest { +class ParentPetTest { private final ParentPet model = new ParentPet(); /** * Model tests for ParentPet */ @Test - public void testParentPet() { + void testParentPet() { // TODO: test ParentPet } @@ -46,7 +45,7 @@ public void testParentPet() { * Test the property 'petType' */ @Test - public void petTypeTest() { + void petTypeTest() { // TODO: test petType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PetTest.java index a10e870d0fdc..4889ad6d7ae1 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PetTest.java @@ -18,29 +18,26 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.ArrayList; -import java.util.LinkedHashSet; +import java.util.Arrays; import java.util.List; -import java.util.Set; 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 } @@ -48,7 +45,7 @@ public void testPet() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -56,7 +53,7 @@ public void idTest() { * Test the property 'category' */ @Test - public void categoryTest() { + void categoryTest() { // TODO: test category } @@ -64,7 +61,7 @@ public void categoryTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -72,7 +69,7 @@ public void nameTest() { * Test the property 'photoUrls' */ @Test - public void photoUrlsTest() { + void photoUrlsTest() { // TODO: test photoUrls } @@ -80,7 +77,7 @@ public void photoUrlsTest() { * Test the property 'tags' */ @Test - public void tagsTest() { + void tagsTest() { // TODO: test tags } @@ -88,7 +85,7 @@ public void tagsTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PigTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PigTest.java index a877a11b87fc..7ca6bd3ed511 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PigTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/PigTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.BasquePig; import org.openapitools.client.model.DanishPig; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Pig */ -public class PigTest { +class PigTest { private final Pig model = new Pig(); /** * Model tests for Pig */ @Test - public void testPig() { + void testPig() { // TODO: test Pig } @@ -46,7 +46,7 @@ public void testPig() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java index 12b7e7a26b69..3fe968ead101 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java @@ -18,22 +18,22 @@ 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 QuadrilateralInterface */ -public class QuadrilateralInterfaceTest { +class QuadrilateralInterfaceTest { private final QuadrilateralInterface model = new QuadrilateralInterface(); /** * Model tests for QuadrilateralInterface */ @Test - public void testQuadrilateralInterface() { + void testQuadrilateralInterface() { // TODO: test QuadrilateralInterface } @@ -41,7 +41,7 @@ public void testQuadrilateralInterface() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralTest.java index 472f5cf4b1f8..6ad236af9122 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/QuadrilateralTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ComplexQuadrilateral; import org.openapitools.client.model.SimpleQuadrilateral; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Quadrilateral */ -public class QuadrilateralTest { +class QuadrilateralTest { private final Quadrilateral model = new Quadrilateral(); /** * Model tests for Quadrilateral */ @Test - public void testQuadrilateral() { + void testQuadrilateral() { // TODO: test Quadrilateral } @@ -46,7 +46,7 @@ public void testQuadrilateral() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index 11ab8eaf4fe1..4b6d19088328 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,22 +18,22 @@ 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 ReadOnlyFirst */ -public class ReadOnlyFirstTest { +class ReadOnlyFirstTest { private final ReadOnlyFirst model = new ReadOnlyFirst(); /** * Model tests for ReadOnlyFirst */ @Test - public void testReadOnlyFirst() { + void testReadOnlyFirst() { // TODO: test ReadOnlyFirst } @@ -41,7 +41,7 @@ public void testReadOnlyFirst() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -49,7 +49,7 @@ public void barTest() { * Test the property 'baz' */ @Test - public void bazTest() { + void bazTest() { // TODO: test baz } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java index 5f5d499da94d..885e8f211970 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java @@ -18,22 +18,22 @@ 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 ScaleneTriangle */ -public class ScaleneTriangleTest { +class ScaleneTriangleTest { private final ScaleneTriangle model = new ScaleneTriangle(); /** * Model tests for ScaleneTriangle */ @Test - public void testScaleneTriangle() { + void testScaleneTriangle() { // TODO: test ScaleneTriangle } @@ -41,7 +41,7 @@ public void testScaleneTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java index f7baab916ce7..08ba5fc84864 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java @@ -18,22 +18,22 @@ 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 ShapeInterface */ -public class ShapeInterfaceTest { +class ShapeInterfaceTest { private final ShapeInterface model = new ShapeInterface(); /** * Model tests for ShapeInterface */ @Test - public void testShapeInterface() { + void testShapeInterface() { // TODO: test ShapeInterface } @@ -41,7 +41,7 @@ public void testShapeInterface() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java index 93f71dcf9ea1..cf4924b2f73c 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ShapeOrNull */ -public class ShapeOrNullTest { +class ShapeOrNullTest { private final ShapeOrNull model = new ShapeOrNull(); /** * Model tests for ShapeOrNull */ @Test - public void testShapeOrNull() { + void testShapeOrNull() { // TODO: test ShapeOrNull } @@ -46,7 +46,7 @@ public void testShapeOrNull() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } @@ -62,7 +62,7 @@ public void triangleTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeTest.java index 43d7a99da4a7..d6f8771829fa 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ShapeTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Shape */ -public class ShapeTest { +class ShapeTest { private final Shape model = new Shape(); /** * Model tests for Shape */ @Test - public void testShape() { + void testShape() { // TODO: test Shape } @@ -46,7 +46,7 @@ public void testShape() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } @@ -62,7 +62,7 @@ public void triangleTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java index d448e6d80b27..8ca309d9b760 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java @@ -18,22 +18,22 @@ 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 SimpleQuadrilateral */ -public class SimpleQuadrilateralTest { +class SimpleQuadrilateralTest { private final SimpleQuadrilateral model = new SimpleQuadrilateral(); /** * Model tests for SimpleQuadrilateral */ @Test - public void testSimpleQuadrilateral() { + void testSimpleQuadrilateral() { // TODO: test SimpleQuadrilateral } @@ -41,7 +41,7 @@ public void testSimpleQuadrilateral() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index c5d7ce076d6e..70a04f851d78 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,22 +18,22 @@ 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 SpecialModelName */ -public class SpecialModelNameTest { +class SpecialModelNameTest { private final SpecialModelName model = new SpecialModelName(); /** * Model tests for SpecialModelName */ @Test - public void testSpecialModelName() { + void testSpecialModelName() { // TODO: test SpecialModelName } @@ -41,8 +41,16 @@ public void testSpecialModelName() { * Test the property '$specialPropertyName' */ @Test - public void $specialPropertyNameTest() { + void $specialPropertyNameTest() { // TODO: test $specialPropertyName } + /** + * Test the property 'specialModelName' + */ + @Test + void specialModelNameTest() { + // TODO: test specialModelName + } + } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TagTest.java index 382a573036b9..94831ebad01c 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,22 +18,22 @@ 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 } @@ -41,7 +41,7 @@ public void testTag() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java index 8488ed25358d..4d0b44d5fc39 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java @@ -28,14 +28,14 @@ /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ -public class TestInlineFreeformAdditionalPropertiesRequestTest { +class TestInlineFreeformAdditionalPropertiesRequestTest { private final TestInlineFreeformAdditionalPropertiesRequest model = new TestInlineFreeformAdditionalPropertiesRequest(); /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ @Test - public void testTestInlineFreeformAdditionalPropertiesRequest() { + void testTestInlineFreeformAdditionalPropertiesRequest() { // TODO: test TestInlineFreeformAdditionalPropertiesRequest } @@ -43,7 +43,7 @@ public void testTestInlineFreeformAdditionalPropertiesRequest() { * Test the property 'someProperty' */ @Test - public void somePropertyTest() { + void somePropertyTest() { // TODO: test someProperty } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java index afb79ca5d419..dff83416b008 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java @@ -18,22 +18,22 @@ 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 TriangleInterface */ -public class TriangleInterfaceTest { +class TriangleInterfaceTest { private final TriangleInterface model = new TriangleInterface(); /** * Model tests for TriangleInterface */ @Test - public void testTriangleInterface() { + void testTriangleInterface() { // TODO: test TriangleInterface } @@ -41,7 +41,7 @@ public void testTriangleInterface() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleTest.java index d260c70f40f0..2723c3523174 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/TriangleTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.EquilateralTriangle; import org.openapitools.client.model.IsoscelesTriangle; import org.openapitools.client.model.ScaleneTriangle; @@ -28,18 +29,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Triangle */ -public class TriangleTest { +class TriangleTest { private final Triangle model = new Triangle(); /** * Model tests for Triangle */ @Test - public void testTriangle() { + void testTriangle() { // TODO: test Triangle } @@ -47,7 +47,7 @@ public void testTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -55,7 +55,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/UserTest.java index eccfbf5e1263..b65187667ebc 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,22 +18,26 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; +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 User */ -public class UserTest { +class UserTest { private final User model = new User(); /** * Model tests for User */ @Test - public void testUser() { + void testUser() { // TODO: test User } @@ -41,7 +45,7 @@ public void testUser() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +53,7 @@ public void idTest() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -57,7 +61,7 @@ public void usernameTest() { * Test the property 'firstName' */ @Test - public void firstNameTest() { + void firstNameTest() { // TODO: test firstName } @@ -65,7 +69,7 @@ public void firstNameTest() { * Test the property 'lastName' */ @Test - public void lastNameTest() { + void lastNameTest() { // TODO: test lastName } @@ -73,7 +77,7 @@ public void lastNameTest() { * Test the property 'email' */ @Test - public void emailTest() { + void emailTest() { // TODO: test email } @@ -81,7 +85,7 @@ public void emailTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -89,7 +93,7 @@ public void passwordTest() { * Test the property 'phone' */ @Test - public void phoneTest() { + void phoneTest() { // TODO: test phone } @@ -97,8 +101,40 @@ public void phoneTest() { * Test the property 'userStatus' */ @Test - public void userStatusTest() { + void userStatusTest() { // TODO: test userStatus } + /** + * Test the property 'objectWithNoDeclaredProps' + */ + @Test + void objectWithNoDeclaredPropsTest() { + // TODO: test objectWithNoDeclaredProps + } + + /** + * Test the property 'objectWithNoDeclaredPropsNullable' + */ + @Test + void objectWithNoDeclaredPropsNullableTest() { + // TODO: test objectWithNoDeclaredPropsNullable + } + + /** + * Test the property 'anyTypeProp' + */ + @Test + void anyTypePropTest() { + // TODO: test anyTypeProp + } + + /** + * Test the property 'anyTypePropNullable' + */ + @Test + void anyTypePropNullableTest() { + // TODO: test anyTypePropNullable + } + } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/WhaleTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/WhaleTest.java index 48f4f0715125..4d530c793a11 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/WhaleTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/WhaleTest.java @@ -18,22 +18,22 @@ 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 Whale */ -public class WhaleTest { +class WhaleTest { private final Whale model = new Whale(); /** * Model tests for Whale */ @Test - public void testWhale() { + void testWhale() { // TODO: test Whale } @@ -41,7 +41,7 @@ public void testWhale() { * Test the property 'hasBaleen' */ @Test - public void hasBaleenTest() { + void hasBaleenTest() { // TODO: test hasBaleen } @@ -49,7 +49,7 @@ public void hasBaleenTest() { * Test the property 'hasTeeth' */ @Test - public void hasTeethTest() { + void hasTeethTest() { // TODO: test hasTeeth } @@ -57,7 +57,7 @@ public void hasTeethTest() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ZebraTest.java b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ZebraTest.java index 3be21d660bb7..b3a41605b559 100644 --- a/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ZebraTest.java +++ b/samples/client/petstore/java/native-async/src/test/java/org/openapitools/client/model/ZebraTest.java @@ -18,24 +18,24 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Zebra */ -public class ZebraTest { +class ZebraTest { private final Zebra model = new Zebra(); /** * Model tests for Zebra */ @Test - public void testZebra() { + void testZebra() { // TODO: test Zebra } @@ -43,7 +43,7 @@ public void testZebra() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -51,7 +51,7 @@ public void typeTest() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/PetApiTest.java index d163f02d0f82..f725ba246938 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -17,8 +17,8 @@ import java.io.File; import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/StoreApiTest.java index cf0ccfd975b2..be318cab8b1e 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/UserApiTest.java index f0203e7200ca..2b2b7a60fd21 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -16,8 +16,8 @@ import org.openapitools.client.ApiException; import java.time.OffsetDateTime; import org.openapitools.client.model.User; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/CategoryTest.java index 9726086ea5ba..ae23ab433a50 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,22 +18,22 @@ 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 } @@ -41,7 +41,7 @@ public void testCategory() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 69c9bbf9a6b1..c846563bfe1f 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,22 +18,22 @@ 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 ModelApiResponse */ -public class ModelApiResponseTest { +class ModelApiResponseTest { private final ModelApiResponse model = new ModelApiResponse(); /** * Model tests for ModelApiResponse */ @Test - public void testModelApiResponse() { + void testModelApiResponse() { // TODO: test ModelApiResponse } @@ -41,7 +41,7 @@ public void testModelApiResponse() { * Test the property 'code' */ @Test - public void codeTest() { + void codeTest() { // TODO: test code } @@ -49,7 +49,7 @@ public void codeTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -57,7 +57,7 @@ public void typeTest() { * Test the property 'message' */ @Test - public void messageTest() { + void messageTest() { // TODO: test message } diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/OrderTest.java index 95f8424222e0..4d8d136809eb 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,22 +19,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +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 Order */ -public class OrderTest { +class OrderTest { private final Order model = new Order(); /** * Model tests for Order */ @Test - public void testOrder() { + void testOrder() { // TODO: test Order } @@ -42,7 +42,7 @@ public void testOrder() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -50,7 +50,7 @@ public void idTest() { * Test the property 'petId' */ @Test - public void petIdTest() { + void petIdTest() { // TODO: test petId } @@ -58,7 +58,7 @@ public void petIdTest() { * Test the property 'quantity' */ @Test - public void quantityTest() { + void quantityTest() { // TODO: test quantity } @@ -66,7 +66,7 @@ public void quantityTest() { * Test the property 'shipDate' */ @Test - public void shipDateTest() { + void shipDateTest() { // TODO: test shipDate } @@ -74,7 +74,7 @@ public void shipDateTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } @@ -82,7 +82,7 @@ public void statusTest() { * Test the property 'complete' */ @Test - public void completeTest() { + void completeTest() { // TODO: test complete } diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/PetTest.java index 332a4135c6f3..84aff8adbf96 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/native-jakarta/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 'category' */ @Test - public void categoryTest() { + void categoryTest() { // TODO: test category } @@ -61,7 +61,7 @@ public void categoryTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -69,7 +69,7 @@ public void nameTest() { * 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/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/TagTest.java index 74bf41f2a265..6bd8b9f5035e 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,22 +18,22 @@ 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 } @@ -41,7 +41,7 @@ public void testTag() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/UserTest.java index f08cd84394a0..40f4892264aa 100644 --- a/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/native-jakarta/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,22 +18,22 @@ 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 User */ -public class UserTest { +class UserTest { private final User model = new User(); /** * Model tests for User */ @Test - public void testUser() { + void testUser() { // TODO: test User } @@ -41,7 +41,7 @@ public void testUser() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -57,7 +57,7 @@ public void usernameTest() { * Test the property 'firstName' */ @Test - public void firstNameTest() { + void firstNameTest() { // TODO: test firstName } @@ -65,7 +65,7 @@ public void firstNameTest() { * Test the property 'lastName' */ @Test - public void lastNameTest() { + void lastNameTest() { // TODO: test lastName } @@ -73,7 +73,7 @@ public void lastNameTest() { * Test the property 'email' */ @Test - public void emailTest() { + void emailTest() { // TODO: test email } @@ -81,7 +81,7 @@ public void emailTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -89,7 +89,7 @@ public void passwordTest() { * Test the property 'phone' */ @Test - public void phoneTest() { + void phoneTest() { // TODO: test phone } @@ -97,7 +97,7 @@ public void phoneTest() { * Test the property 'userStatus' */ @Test - public void userStatusTest() { + void userStatusTest() { // TODO: test userStatus } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index b812818db879..20196cb83d97 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/DefaultApiTest.java index 11eb73abdc11..2571ef053445 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.FooGetDefaultResponse; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeApiTest.java index a8ea6ca43432..b67953dddcdf 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -16,6 +16,7 @@ import org.openapitools.client.ApiException; import java.math.BigDecimal; import org.openapitools.client.model.Client; +import org.openapitools.client.model.FakeBigDecimalMap200Response; import java.io.File; import org.openapitools.client.model.FileSchemaTestClass; import org.openapitools.client.model.HealthCheckResult; @@ -23,9 +24,10 @@ import java.time.OffsetDateTime; import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterEnum; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -43,6 +45,22 @@ public class FakeApiTest { private final FakeApi api = new FakeApi(); + /** + * + * + * for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void fakeBigDecimalMapTest() throws ApiException { + FakeBigDecimalMap200Response response = + api.fakeBigDecimalMap(); + + // TODO: test validations + } + /** * Health check endpoint * @@ -127,6 +145,22 @@ public void fakeOuterStringSerializeTest() throws ApiException { // TODO: test validations } + /** + * application/json UTF8 + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getApplicationJsonUtf8Test() throws ApiException { + List response = + api.getApplicationJsonUtf8(); + + // TODO: test validations + } + /** * Array of Enums * @@ -143,6 +177,23 @@ public void getArrayOfEnumsTest() throws ApiException { // TODO: test validations } + /** + * test referenced additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testAdditionalPropertiesReferenceTest() throws ApiException { + Map requestBody = null; + + api.testAdditionalPropertiesReference(requestBody); + + // TODO: test validations + } + /** * * @@ -297,6 +348,23 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { // TODO: test validations } + /** + * test inline free-form additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testInlineFreeformAdditionalPropertiesTest() throws ApiException { + TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + + api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + + // TODO: test validations + } + /** * test json serialization of form data * @@ -336,4 +404,21 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { // TODO: test validations } + /** + * test referenced string map + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void testStringMapReferenceTest() throws ApiException { + Map requestBody = null; + + api.testStringMapReference(requestBody); + + // TODO: test validations + } + } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 170eed53edf4..421d2506d7e9 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/PetApiTest.java index d41f6f617ced..7de9898c8e79 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -17,8 +17,8 @@ import java.io.File; import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/StoreApiTest.java index b035e91df34e..b29f783bc29a 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/UserApiTest.java index dba8a8d00188..e975634ddc18 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -16,8 +16,8 @@ import org.openapitools.client.ApiException; import java.time.OffsetDateTime; import org.openapitools.client.model.User; -import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 6d12f2d7d10f..db8d40acee7f 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,24 +18,28 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; +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 AdditionalPropertiesClass */ -public class AdditionalPropertiesClassTest { +class AdditionalPropertiesClassTest { private final AdditionalPropertiesClass model = new AdditionalPropertiesClass(); /** * Model tests for AdditionalPropertiesClass */ @Test - public void testAdditionalPropertiesClass() { + void testAdditionalPropertiesClass() { // TODO: test AdditionalPropertiesClass } @@ -43,7 +47,7 @@ public void testAdditionalPropertiesClass() { * Test the property 'mapProperty' */ @Test - public void mapPropertyTest() { + void mapPropertyTest() { // TODO: test mapProperty } @@ -51,8 +55,56 @@ public void mapPropertyTest() { * Test the property 'mapOfMapProperty' */ @Test - public void mapOfMapPropertyTest() { + void mapOfMapPropertyTest() { // TODO: test mapOfMapProperty } + /** + * Test the property 'anytype1' + */ + @Test + void anytype1Test() { + // TODO: test anytype1 + } + + /** + * Test the property 'mapWithUndeclaredPropertiesAnytype1' + */ + @Test + void mapWithUndeclaredPropertiesAnytype1Test() { + // TODO: test mapWithUndeclaredPropertiesAnytype1 + } + + /** + * Test the property 'mapWithUndeclaredPropertiesAnytype2' + */ + @Test + void mapWithUndeclaredPropertiesAnytype2Test() { + // TODO: test mapWithUndeclaredPropertiesAnytype2 + } + + /** + * Test the property 'mapWithUndeclaredPropertiesAnytype3' + */ + @Test + void mapWithUndeclaredPropertiesAnytype3Test() { + // TODO: test mapWithUndeclaredPropertiesAnytype3 + } + + /** + * Test the property 'emptyMap' + */ + @Test + void emptyMapTest() { + // TODO: test emptyMap + } + + /** + * Test the property 'mapWithUndeclaredPropertiesString' + */ + @Test + void mapWithUndeclaredPropertiesStringTest() { + // TODO: test mapWithUndeclaredPropertiesString + } + } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AnimalTest.java index 24d4c7cad74a..a5087b601042 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,24 +21,22 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Animal */ -public class AnimalTest { +class AnimalTest { private final Animal model = new Animal(); /** * Model tests for Animal */ @Test - public void testAnimal() { + void testAnimal() { // TODO: test Animal } @@ -46,7 +44,7 @@ public void testAnimal() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -54,7 +52,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleReqTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleReqTest.java index a169ab60d392..92bddbf0aa1f 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleReqTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleReqTest.java @@ -18,22 +18,22 @@ 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 AppleReq */ -public class AppleReqTest { +class AppleReqTest { private final AppleReq model = new AppleReq(); /** * Model tests for AppleReq */ @Test - public void testAppleReq() { + void testAppleReq() { // TODO: test AppleReq } @@ -41,7 +41,7 @@ public void testAppleReq() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -49,7 +49,7 @@ public void cultivarTest() { * Test the property 'mealy' */ @Test - public void mealyTest() { + void mealyTest() { // TODO: test mealy } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleTest.java index 62100b06ec32..862d3285cc42 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/AppleTest.java @@ -18,22 +18,22 @@ 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 Apple */ -public class AppleTest { +class AppleTest { private final Apple model = new Apple(); /** * Model tests for Apple */ @Test - public void testApple() { + void testApple() { // TODO: test Apple } @@ -41,7 +41,7 @@ public void testApple() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -49,7 +49,7 @@ public void cultivarTest() { * Test the property 'origin' */ @Test - public void originTest() { + void originTest() { // TODO: test origin } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 7d6ca2902ab5..6bbe877044db 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfArrayOfNumberOnly */ -public class ArrayOfArrayOfNumberOnlyTest { +class ArrayOfArrayOfNumberOnlyTest { private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly(); /** * Model tests for ArrayOfArrayOfNumberOnly */ @Test - public void testArrayOfArrayOfNumberOnly() { + void testArrayOfArrayOfNumberOnly() { // TODO: test ArrayOfArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfArrayOfNumberOnly() { * Test the property 'arrayArrayNumber' */ @Test - public void arrayArrayNumberTest() { + void arrayArrayNumberTest() { // TODO: test arrayArrayNumber } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 1db82cbdea33..eaf908bb1ab7 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,23 +20,23 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfNumberOnly */ -public class ArrayOfNumberOnlyTest { +class ArrayOfNumberOnlyTest { private final ArrayOfNumberOnly model = new ArrayOfNumberOnly(); /** * Model tests for ArrayOfNumberOnly */ @Test - public void testArrayOfNumberOnly() { + void testArrayOfNumberOnly() { // TODO: test ArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfNumberOnly() { * Test the property 'arrayNumber' */ @Test - public void arrayNumberTest() { + void arrayNumberTest() { // TODO: test arrayNumber } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 4a3a3cc839af..99c6bcf53601 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ReadOnlyFirst; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayTest */ -public class ArrayTestTest { +class ArrayTestTest { private final ArrayTest model = new ArrayTest(); /** * Model tests for ArrayTest */ @Test - public void testArrayTest() { + void testArrayTest() { // TODO: test ArrayTest } @@ -44,7 +44,7 @@ public void testArrayTest() { * Test the property 'arrayOfString' */ @Test - public void arrayOfStringTest() { + void arrayOfStringTest() { // TODO: test arrayOfString } @@ -52,7 +52,7 @@ public void arrayOfStringTest() { * Test the property 'arrayArrayOfInteger' */ @Test - public void arrayArrayOfIntegerTest() { + void arrayArrayOfIntegerTest() { // TODO: test arrayArrayOfInteger } @@ -60,7 +60,7 @@ public void arrayArrayOfIntegerTest() { * Test the property 'arrayArrayOfModel' */ @Test - public void arrayArrayOfModelTest() { + void arrayArrayOfModelTest() { // TODO: test arrayArrayOfModel } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaReqTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaReqTest.java index b605d146e403..c279b73f26a8 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaReqTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaReqTest.java @@ -19,22 +19,22 @@ 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 BananaReq */ -public class BananaReqTest { +class BananaReqTest { private final BananaReq model = new BananaReq(); /** * Model tests for BananaReq */ @Test - public void testBananaReq() { + void testBananaReq() { // TODO: test BananaReq } @@ -42,7 +42,7 @@ public void testBananaReq() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } @@ -50,7 +50,7 @@ public void lengthCmTest() { * Test the property 'sweet' */ @Test - public void sweetTest() { + void sweetTest() { // TODO: test sweet } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaTest.java index 70be9e32c946..0d30121a457b 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BananaTest.java @@ -19,22 +19,22 @@ 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 Banana */ -public class BananaTest { +class BananaTest { private final Banana model = new Banana(); /** * Model tests for Banana */ @Test - public void testBanana() { + void testBanana() { // TODO: test Banana } @@ -42,7 +42,7 @@ public void testBanana() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BasquePigTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BasquePigTest.java index 43fa0a23f362..cb8ced649580 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BasquePigTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/BasquePigTest.java @@ -18,22 +18,22 @@ 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 BasquePig */ -public class BasquePigTest { +class BasquePigTest { private final BasquePig model = new BasquePig(); /** * Model tests for BasquePig */ @Test - public void testBasquePig() { + void testBasquePig() { // TODO: test BasquePig } @@ -41,7 +41,7 @@ public void testBasquePig() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 1f133e4142e4..47371acf3250 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,22 +18,22 @@ 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 Capitalization */ -public class CapitalizationTest { +class CapitalizationTest { private final Capitalization model = new Capitalization(); /** * Model tests for Capitalization */ @Test - public void testCapitalization() { + void testCapitalization() { // TODO: test Capitalization } @@ -41,7 +41,7 @@ public void testCapitalization() { * Test the property 'smallCamel' */ @Test - public void smallCamelTest() { + void smallCamelTest() { // TODO: test smallCamel } @@ -49,7 +49,7 @@ public void smallCamelTest() { * Test the property 'capitalCamel' */ @Test - public void capitalCamelTest() { + void capitalCamelTest() { // TODO: test capitalCamel } @@ -57,7 +57,7 @@ public void capitalCamelTest() { * Test the property 'smallSnake' */ @Test - public void smallSnakeTest() { + void smallSnakeTest() { // TODO: test smallSnake } @@ -65,7 +65,7 @@ public void smallSnakeTest() { * Test the property 'capitalSnake' */ @Test - public void capitalSnakeTest() { + void capitalSnakeTest() { // TODO: test capitalSnake } @@ -73,7 +73,7 @@ public void capitalSnakeTest() { * Test the property 'scAETHFlowPoints' */ @Test - public void scAETHFlowPointsTest() { + void scAETHFlowPointsTest() { // TODO: test scAETHFlowPoints } @@ -81,7 +81,7 @@ public void scAETHFlowPointsTest() { * Test the property 'ATT_NAME' */ @Test - public void ATT_NAMETest() { + void ATT_NAMETest() { // TODO: test ATT_NAME } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CatTest.java index 867c64d56516..79ee11f8709c 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CatTest.java @@ -21,23 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; +import java.util.Map; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Cat */ -public class CatTest { +class CatTest { private final Cat model = new Cat(); /** * Model tests for Cat */ @Test - public void testCat() { + void testCat() { // TODO: test Cat } @@ -45,7 +46,7 @@ public void testCat() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -53,7 +54,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -61,7 +62,7 @@ public void colorTest() { * Test the property 'declawed' */ @Test - public void declawedTest() { + void declawedTest() { // TODO: test declawed } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java index 84df0f1e24da..1c022bd3eb58 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,22 +18,22 @@ 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 } @@ -41,7 +41,7 @@ public void testCategory() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ChildCatTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ChildCatTest.java index 63cf65386e7b..5ac77cf5418b 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ChildCatTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ChildCatTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ParentPet; import java.util.Set; import java.util.HashSet; @@ -28,18 +29,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ChildCat */ -public class ChildCatTest { +class ChildCatTest { private final ChildCat model = new ChildCat(); /** * Model tests for ChildCat */ @Test - public void testChildCat() { + void testChildCat() { // TODO: test ChildCat } @@ -47,7 +47,7 @@ public void testChildCat() { * Test the property 'petType' */ @Test - public void petTypeTest() { + void petTypeTest() { // TODO: test petType } @@ -55,7 +55,7 @@ public void petTypeTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClassModelTest.java index 0efd2b037523..a39cbcd0832e 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,22 +18,22 @@ 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 ClassModel */ -public class ClassModelTest { +class ClassModelTest { private final ClassModel model = new ClassModel(); /** * Model tests for ClassModel */ @Test - public void testClassModel() { + void testClassModel() { // TODO: test ClassModel } @@ -41,7 +41,7 @@ public void testClassModel() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClientTest.java index 9fee039a47a4..2af102e102cb 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,22 +18,22 @@ 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 Client */ -public class ClientTest { +class ClientTest { private final Client model = new Client(); /** * Model tests for Client */ @Test - public void testClient() { + void testClient() { // TODO: test Client } @@ -41,7 +41,7 @@ public void testClient() { * Test the property 'client' */ @Test - public void clientTest() { + void clientTest() { // TODO: test client } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java index 995ed5daeb47..418a66fbd4c2 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java @@ -18,22 +18,22 @@ 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 ComplexQuadrilateral */ -public class ComplexQuadrilateralTest { +class ComplexQuadrilateralTest { private final ComplexQuadrilateral model = new ComplexQuadrilateral(); /** * Model tests for ComplexQuadrilateral */ @Test - public void testComplexQuadrilateral() { + void testComplexQuadrilateral() { // TODO: test ComplexQuadrilateral } @@ -41,7 +41,7 @@ public void testComplexQuadrilateral() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DanishPigTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DanishPigTest.java index 8568207d9717..7982c16fc0df 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DanishPigTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DanishPigTest.java @@ -18,22 +18,22 @@ 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 DanishPig */ -public class DanishPigTest { +class DanishPigTest { private final DanishPig model = new DanishPig(); /** * Model tests for DanishPig */ @Test - public void testDanishPig() { + void testDanishPig() { // TODO: test DanishPig } @@ -41,7 +41,7 @@ public void testDanishPig() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index 06d586403935..47368022c21f 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java @@ -18,22 +18,22 @@ 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 DeprecatedObject */ -public class DeprecatedObjectTest { +class DeprecatedObjectTest { private final DeprecatedObject model = new DeprecatedObject(); /** * Model tests for DeprecatedObject */ @Test - public void testDeprecatedObject() { + void testDeprecatedObject() { // TODO: test DeprecatedObject } @@ -41,7 +41,7 @@ public void testDeprecatedObject() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DogTest.java index 0f9f43fd3cac..d2b78c4e5738 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DogTest.java @@ -21,23 +21,23 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Dog */ -public class DogTest { +class DogTest { private final Dog model = new Dog(); /** * Model tests for Dog */ @Test - public void testDog() { + void testDog() { // TODO: test Dog } @@ -45,7 +45,7 @@ public void testDog() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -53,7 +53,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -61,7 +61,7 @@ public void colorTest() { * Test the property 'breed' */ @Test - public void breedTest() { + void breedTest() { // TODO: test breed } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DrawingTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DrawingTest.java index c2a0659731b6..d004fd2eeced 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DrawingTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/DrawingTest.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.HashMap; import java.util.List; import java.util.Map; @@ -34,18 +35,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Drawing */ -public class DrawingTest { +class DrawingTest { private final Drawing model = new Drawing(); /** * Model tests for Drawing */ @Test - public void testDrawing() { + void testDrawing() { // TODO: test Drawing } @@ -53,7 +53,7 @@ public void testDrawing() { * Test the property 'mainShape' */ @Test - public void mainShapeTest() { + void mainShapeTest() { // TODO: test mainShape } @@ -61,7 +61,7 @@ public void mainShapeTest() { * Test the property 'shapeOrNull' */ @Test - public void shapeOrNullTest() { + void shapeOrNullTest() { // TODO: test shapeOrNull } @@ -69,7 +69,7 @@ public void shapeOrNullTest() { * Test the property 'nullableShape' */ @Test - public void nullableShapeTest() { + void nullableShapeTest() { // TODO: test nullableShape } @@ -77,7 +77,7 @@ public void nullableShapeTest() { * Test the property 'shapes' */ @Test - public void shapesTest() { + void shapesTest() { // TODO: test shapes } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumArraysTest.java index bd426ae14b51..4a755b0d4425 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumArraysTest.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 EnumArrays */ -public class EnumArraysTest { +class EnumArraysTest { private final EnumArrays model = new EnumArrays(); /** * Model tests for EnumArrays */ @Test - public void testEnumArrays() { + void testEnumArrays() { // TODO: test EnumArrays } @@ -43,7 +43,7 @@ public void testEnumArrays() { * Test the property 'justSymbol' */ @Test - public void justSymbolTest() { + void justSymbolTest() { // TODO: test justSymbol } @@ -51,7 +51,7 @@ public void justSymbolTest() { * Test the property 'arrayEnum' */ @Test - public void arrayEnumTest() { + void arrayEnumTest() { // TODO: test arrayEnum } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumClassTest.java index 19518a5f665b..48aa1a737fce 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumClass */ -public class EnumClassTest { +class EnumClassTest { /** * Model tests for EnumClass */ @Test - public void testEnumClass() { + void testEnumClass() { // TODO: test EnumClass } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumTestTest.java index 8522172bdfcb..1b2d233cb96f 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnumDefaultValue; import org.openapitools.client.model.OuterEnumInteger; @@ -30,18 +31,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumTest */ -public class EnumTestTest { +class EnumTestTest { private final EnumTest model = new EnumTest(); /** * Model tests for EnumTest */ @Test - public void testEnumTest() { + void testEnumTest() { // TODO: test EnumTest } @@ -49,7 +49,7 @@ public void testEnumTest() { * Test the property 'enumString' */ @Test - public void enumStringTest() { + void enumStringTest() { // TODO: test enumString } @@ -57,7 +57,7 @@ public void enumStringTest() { * Test the property 'enumStringRequired' */ @Test - public void enumStringRequiredTest() { + void enumStringRequiredTest() { // TODO: test enumStringRequired } @@ -65,15 +65,23 @@ public void enumStringRequiredTest() { * Test the property 'enumInteger' */ @Test - public void enumIntegerTest() { + void enumIntegerTest() { // TODO: test enumInteger } + /** + * Test the property 'enumIntegerOnly' + */ + @Test + void enumIntegerOnlyTest() { + // TODO: test enumIntegerOnly + } + /** * Test the property 'enumNumber' */ @Test - public void enumNumberTest() { + void enumNumberTest() { // TODO: test enumNumber } @@ -81,7 +89,7 @@ public void enumNumberTest() { * Test the property 'outerEnum' */ @Test - public void outerEnumTest() { + void outerEnumTest() { // TODO: test outerEnum } @@ -89,7 +97,7 @@ public void outerEnumTest() { * Test the property 'outerEnumInteger' */ @Test - public void outerEnumIntegerTest() { + void outerEnumIntegerTest() { // TODO: test outerEnumInteger } @@ -97,7 +105,7 @@ public void outerEnumIntegerTest() { * Test the property 'outerEnumDefaultValue' */ @Test - public void outerEnumDefaultValueTest() { + void outerEnumDefaultValueTest() { // TODO: test outerEnumDefaultValue } @@ -105,7 +113,7 @@ public void outerEnumDefaultValueTest() { * Test the property 'outerEnumIntegerDefaultValue' */ @Test - public void outerEnumIntegerDefaultValueTest() { + void outerEnumIntegerDefaultValueTest() { // TODO: test outerEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java index d6450f92d369..ca7aed0ce2e0 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java @@ -18,22 +18,22 @@ 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 EquilateralTriangle */ -public class EquilateralTriangleTest { +class EquilateralTriangleTest { private final EquilateralTriangle model = new EquilateralTriangle(); /** * Model tests for EquilateralTriangle */ @Test - public void testEquilateralTriangle() { + void testEquilateralTriangle() { // TODO: test EquilateralTriangle } @@ -41,7 +41,7 @@ public void testEquilateralTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java index 1792f6169d92..a4ce8f9df8a9 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; @@ -28,14 +29,14 @@ /** * Model tests for FakeBigDecimalMap200Response */ -public class FakeBigDecimalMap200ResponseTest { +class FakeBigDecimalMap200ResponseTest { private final FakeBigDecimalMap200Response model = new FakeBigDecimalMap200Response(); /** * Model tests for FakeBigDecimalMap200Response */ @Test - public void testFakeBigDecimalMap200Response() { + void testFakeBigDecimalMap200Response() { // TODO: test FakeBigDecimalMap200Response } @@ -43,7 +44,7 @@ public void testFakeBigDecimalMap200Response() { * Test the property 'someId' */ @Test - public void someIdTest() { + void someIdTest() { // TODO: test someId } @@ -51,7 +52,7 @@ public void someIdTest() { * Test the property 'someMap' */ @Test - public void someMapTest() { + void someMapTest() { // TODO: test someMap } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index 53b20d7bdd31..0048cb2c7497 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ModelFile; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FileSchemaTestClass */ -public class FileSchemaTestClassTest { +class FileSchemaTestClassTest { private final FileSchemaTestClass model = new FileSchemaTestClass(); /** * Model tests for FileSchemaTestClass */ @Test - public void testFileSchemaTestClass() { + void testFileSchemaTestClass() { // TODO: test FileSchemaTestClass } @@ -44,7 +44,7 @@ public void testFileSchemaTestClass() { * Test the property '_file' */ @Test - public void _fileTest() { + void _fileTest() { // TODO: test _file } @@ -52,7 +52,7 @@ public void _fileTest() { * Test the property 'files' */ @Test - public void filesTest() { + void filesTest() { // TODO: test files } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index 85c3e9a29e77..066c78ba255f 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -18,23 +18,23 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Foo; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FooGetDefaultResponse */ -public class FooGetDefaultResponseTest { +class FooGetDefaultResponseTest { private final FooGetDefaultResponse model = new FooGetDefaultResponse(); /** * Model tests for FooGetDefaultResponse */ @Test - public void testFooGetDefaultResponse() { + void testFooGetDefaultResponse() { // TODO: test FooGetDefaultResponse } @@ -42,7 +42,7 @@ public void testFooGetDefaultResponse() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooTest.java index b1825eb48eb9..50be3e8eb9d1 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FooTest.java @@ -18,22 +18,22 @@ 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 Foo */ -public class FooTest { +class FooTest { private final Foo model = new Foo(); /** * Model tests for Foo */ @Test - public void testFoo() { + void testFoo() { // TODO: test Foo } @@ -41,7 +41,7 @@ public void testFoo() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FormatTestTest.java index 2d1505241d81..3df7f506d43b 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,23 +22,23 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FormatTest */ -public class FormatTestTest { +class FormatTestTest { private final FormatTest model = new FormatTest(); /** * Model tests for FormatTest */ @Test - public void testFormatTest() { + void testFormatTest() { // TODO: test FormatTest } @@ -46,7 +46,7 @@ public void testFormatTest() { * Test the property 'integer' */ @Test - public void integerTest() { + void integerTest() { // TODO: test integer } @@ -54,7 +54,7 @@ public void integerTest() { * Test the property 'int32' */ @Test - public void int32Test() { + void int32Test() { // TODO: test int32 } @@ -62,7 +62,7 @@ public void int32Test() { * Test the property 'int64' */ @Test - public void int64Test() { + void int64Test() { // TODO: test int64 } @@ -70,7 +70,7 @@ public void int64Test() { * Test the property 'number' */ @Test - public void numberTest() { + void numberTest() { // TODO: test number } @@ -78,7 +78,7 @@ public void numberTest() { * Test the property '_float' */ @Test - public void _floatTest() { + void _floatTest() { // TODO: test _float } @@ -86,7 +86,7 @@ public void _floatTest() { * Test the property '_double' */ @Test - public void _doubleTest() { + void _doubleTest() { // TODO: test _double } @@ -94,7 +94,7 @@ public void _doubleTest() { * Test the property 'decimal' */ @Test - public void decimalTest() { + void decimalTest() { // TODO: test decimal } @@ -102,7 +102,7 @@ public void decimalTest() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } @@ -110,7 +110,7 @@ public void stringTest() { * Test the property '_byte' */ @Test - public void _byteTest() { + void _byteTest() { // TODO: test _byte } @@ -118,7 +118,7 @@ public void _byteTest() { * Test the property 'binary' */ @Test - public void binaryTest() { + void binaryTest() { // TODO: test binary } @@ -126,7 +126,7 @@ public void binaryTest() { * Test the property 'date' */ @Test - public void dateTest() { + void dateTest() { // TODO: test date } @@ -134,7 +134,7 @@ public void dateTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -142,7 +142,7 @@ public void dateTimeTest() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -150,7 +150,7 @@ public void uuidTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -158,7 +158,7 @@ public void passwordTest() { * Test the property 'patternWithDigits' */ @Test - public void patternWithDigitsTest() { + void patternWithDigitsTest() { // TODO: test patternWithDigits } @@ -166,7 +166,7 @@ public void patternWithDigitsTest() { * Test the property 'patternWithDigitsAndDelimiter' */ @Test - public void patternWithDigitsAndDelimiterTest() { + void patternWithDigitsAndDelimiterTest() { // TODO: test patternWithDigitsAndDelimiter } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitReqTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitReqTest.java index 59d4bcfc12b4..e1ef92e00114 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitReqTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitReqTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.AppleReq; import org.openapitools.client.model.BananaReq; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FruitReq */ -public class FruitReqTest { +class FruitReqTest { private final FruitReq model = new FruitReq(); /** * Model tests for FruitReq */ @Test - public void testFruitReq() { + void testFruitReq() { // TODO: test FruitReq } @@ -44,7 +44,7 @@ public void testFruitReq() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -52,7 +52,7 @@ public void cultivarTest() { * Test the property 'mealy' */ @Test - public void mealyTest() { + void mealyTest() { // TODO: test mealy } @@ -60,7 +60,7 @@ public void mealyTest() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } @@ -68,7 +68,7 @@ public void lengthCmTest() { * Test the property 'sweet' */ @Test - public void sweetTest() { + void sweetTest() { // TODO: test sweet } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitTest.java index e9153d8010a3..89d9c125d93d 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/FruitTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Fruit */ -public class FruitTest { +class FruitTest { private final Fruit model = new Fruit(); /** * Model tests for Fruit */ @Test - public void testFruit() { + void testFruit() { // TODO: test Fruit } @@ -44,7 +44,7 @@ public void testFruit() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -52,7 +52,7 @@ public void cultivarTest() { * Test the property 'origin' */ @Test - public void originTest() { + void originTest() { // TODO: test origin } @@ -60,7 +60,7 @@ public void originTest() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GmFruitTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GmFruitTest.java index 2625ac7b07cb..96062808d6de 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GmFruitTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GmFruitTest.java @@ -19,24 +19,24 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for GmFruit */ -public class GmFruitTest { +class GmFruitTest { private final GmFruit model = new GmFruit(); /** * Model tests for GmFruit */ @Test - public void testGmFruit() { + void testGmFruit() { // TODO: test GmFruit } @@ -44,7 +44,7 @@ public void testGmFruit() { * Test the property 'cultivar' */ @Test - public void cultivarTest() { + void cultivarTest() { // TODO: test cultivar } @@ -52,7 +52,7 @@ public void cultivarTest() { * Test the property 'origin' */ @Test - public void originTest() { + void originTest() { // TODO: test origin } @@ -60,7 +60,7 @@ public void originTest() { * Test the property 'lengthCm' */ @Test - public void lengthCmTest() { + void lengthCmTest() { // TODO: test lengthCm } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java index 7ba9aa57e8e8..83216e34a675 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java @@ -21,24 +21,22 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; -import org.openapitools.client.model.ParentPet; +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 GrandparentAnimal */ -public class GrandparentAnimalTest { +class GrandparentAnimalTest { private final GrandparentAnimal model = new GrandparentAnimal(); /** * Model tests for GrandparentAnimal */ @Test - public void testGrandparentAnimal() { + void testGrandparentAnimal() { // TODO: test GrandparentAnimal } @@ -46,7 +44,7 @@ public void testGrandparentAnimal() { * Test the property 'petType' */ @Test - public void petTypeTest() { + void petTypeTest() { // TODO: test petType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index 9a76d3c9534f..9d3b9a7b8bfe 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,22 +18,22 @@ 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 HasOnlyReadOnly */ -public class HasOnlyReadOnlyTest { +class HasOnlyReadOnlyTest { private final HasOnlyReadOnly model = new HasOnlyReadOnly(); /** * Model tests for HasOnlyReadOnly */ @Test - public void testHasOnlyReadOnly() { + void testHasOnlyReadOnly() { // TODO: test HasOnlyReadOnly } @@ -41,7 +41,7 @@ public void testHasOnlyReadOnly() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -49,7 +49,7 @@ public void barTest() { * Test the property 'foo' */ @Test - public void fooTest() { + void fooTest() { // TODO: test foo } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index d627568b70c9..7c4efd7dbe35 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -26,18 +27,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for HealthCheckResult */ -public class HealthCheckResultTest { +class HealthCheckResultTest { private final HealthCheckResult model = new HealthCheckResult(); /** * Model tests for HealthCheckResult */ @Test - public void testHealthCheckResult() { + void testHealthCheckResult() { // TODO: test HealthCheckResult } @@ -45,7 +45,7 @@ public void testHealthCheckResult() { * Test the property 'nullableMessage' */ @Test - public void nullableMessageTest() { + void nullableMessageTest() { // TODO: test nullableMessage } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java index 494aeb29719a..d3bda7c14fa4 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java @@ -18,22 +18,22 @@ 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 IsoscelesTriangle */ -public class IsoscelesTriangleTest { +class IsoscelesTriangleTest { private final IsoscelesTriangle model = new IsoscelesTriangle(); /** * Model tests for IsoscelesTriangle */ @Test - public void testIsoscelesTriangle() { + void testIsoscelesTriangle() { // TODO: test IsoscelesTriangle } @@ -41,7 +41,7 @@ public void testIsoscelesTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MammalTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MammalTest.java index ff3ec21df4b0..4c2efed46210 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MammalTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MammalTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Pig; import org.openapitools.client.model.Whale; import org.openapitools.client.model.Zebra; @@ -28,18 +29,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Mammal */ -public class MammalTest { +class MammalTest { private final Mammal model = new Mammal(); /** * Model tests for Mammal */ @Test - public void testMammal() { + void testMammal() { // TODO: test Mammal } @@ -47,7 +47,7 @@ public void testMammal() { * Test the property 'hasBaleen' */ @Test - public void hasBaleenTest() { + void hasBaleenTest() { // TODO: test hasBaleen } @@ -55,7 +55,7 @@ public void hasBaleenTest() { * Test the property 'hasTeeth' */ @Test - public void hasTeethTest() { + void hasTeethTest() { // TODO: test hasTeeth } @@ -63,7 +63,7 @@ public void hasTeethTest() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -71,7 +71,7 @@ public void classNameTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MapTestTest.java index c85527e8536a..1d919da9916b 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,24 +18,24 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MapTest */ -public class MapTestTest { +class MapTestTest { private final MapTest model = new MapTest(); /** * Model tests for MapTest */ @Test - public void testMapTest() { + void testMapTest() { // TODO: test MapTest } @@ -43,7 +43,7 @@ public void testMapTest() { * Test the property 'mapMapOfString' */ @Test - public void mapMapOfStringTest() { + void mapMapOfStringTest() { // TODO: test mapMapOfString } @@ -51,7 +51,7 @@ public void mapMapOfStringTest() { * Test the property 'mapOfEnumString' */ @Test - public void mapOfEnumStringTest() { + void mapOfEnumStringTest() { // TODO: test mapOfEnumString } @@ -59,7 +59,7 @@ public void mapOfEnumStringTest() { * Test the property 'directMap' */ @Test - public void directMapTest() { + void directMapTest() { // TODO: test directMap } @@ -67,7 +67,7 @@ public void directMapTest() { * Test the property 'indirectMap' */ @Test - public void indirectMapTest() { + void indirectMapTest() { // TODO: test indirectMap } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index c5f70f4c8f0c..d2fe9149d06a 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; @@ -27,18 +28,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ -public class MixedPropertiesAndAdditionalPropertiesClassTest { +class MixedPropertiesAndAdditionalPropertiesClassTest { private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass(); /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ @Test - public void testMixedPropertiesAndAdditionalPropertiesClass() { + void testMixedPropertiesAndAdditionalPropertiesClass() { // TODO: test MixedPropertiesAndAdditionalPropertiesClass } @@ -46,7 +46,7 @@ public void testMixedPropertiesAndAdditionalPropertiesClass() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -54,7 +54,7 @@ public void uuidTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -62,7 +62,7 @@ public void dateTimeTest() { * Test the property 'map' */ @Test - public void mapTest() { + void mapTest() { // TODO: test map } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 0952e6472d04..bf5bfd38df74 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,22 +18,22 @@ 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 Model200Response */ -public class Model200ResponseTest { +class Model200ResponseTest { private final Model200Response model = new Model200Response(); /** * Model tests for Model200Response */ @Test - public void testModel200Response() { + void testModel200Response() { // TODO: test Model200Response } @@ -41,7 +41,7 @@ public void testModel200Response() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -49,7 +49,7 @@ public void nameTest() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index d57f86800479..86f2f4ee0810 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,22 +18,22 @@ 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 ModelApiResponse */ -public class ModelApiResponseTest { +class ModelApiResponseTest { private final ModelApiResponse model = new ModelApiResponse(); /** * Model tests for ModelApiResponse */ @Test - public void testModelApiResponse() { + void testModelApiResponse() { // TODO: test ModelApiResponse } @@ -41,7 +41,7 @@ public void testModelApiResponse() { * Test the property 'code' */ @Test - public void codeTest() { + void codeTest() { // TODO: test code } @@ -49,7 +49,7 @@ public void codeTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -57,7 +57,7 @@ public void typeTest() { * Test the property 'message' */ @Test - public void messageTest() { + void messageTest() { // TODO: test message } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelFileTest.java index 4b2d71052119..24bd7a9597b1 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,22 +18,22 @@ 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 ModelFile */ -public class ModelFileTest { +class ModelFileTest { private final ModelFile model = new ModelFile(); /** * Model tests for ModelFile */ @Test - public void testModelFile() { + void testModelFile() { // TODO: test ModelFile } @@ -41,7 +41,7 @@ public void testModelFile() { * Test the property 'sourceURI' */ @Test - public void sourceURITest() { + void sourceURITest() { // TODO: test sourceURI } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelListTest.java index f39c6a118e39..77c4dabaf01d 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,22 +18,22 @@ 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 ModelList */ -public class ModelListTest { +class ModelListTest { private final ModelList model = new ModelList(); /** * Model tests for ModelList */ @Test - public void testModelList() { + void testModelList() { // TODO: test ModelList } @@ -41,7 +41,7 @@ public void testModelList() { * Test the property '_123list' */ @Test - public void _123listTest() { + void _123listTest() { // TODO: test _123list } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelReturnTest.java index a6968d2b87e8..4023c1a812dc 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,22 +18,22 @@ 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 ModelReturn */ -public class ModelReturnTest { +class ModelReturnTest { private final ModelReturn model = new ModelReturn(); /** * Model tests for ModelReturn */ @Test - public void testModelReturn() { + void testModelReturn() { // TODO: test ModelReturn } @@ -41,7 +41,7 @@ public void testModelReturn() { * Test the property '_return' */ @Test - public void _returnTest() { + void _returnTest() { // TODO: test _return } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NameTest.java index 39ff782a3ea4..65afaf42e84e 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,22 +18,22 @@ 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 Name */ -public class NameTest { +class NameTest { private final Name model = new Name(); /** * Model tests for Name */ @Test - public void testName() { + void testName() { // TODO: test Name } @@ -41,7 +41,7 @@ public void testName() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -49,7 +49,7 @@ public void nameTest() { * Test the property 'snakeCase' */ @Test - public void snakeCaseTest() { + void snakeCaseTest() { // TODO: test snakeCase } @@ -57,7 +57,7 @@ public void snakeCaseTest() { * Test the property 'property' */ @Test - public void propertyTest() { + void propertyTest() { // TODO: test property } @@ -65,7 +65,7 @@ public void propertyTest() { * Test the property '_123number' */ @Test - public void _123numberTest() { + void _123numberTest() { // TODO: test _123number } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableClassTest.java index 86e5a4e72498..d960ef76e5c3 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -22,6 +22,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -33,18 +34,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableClass */ -public class NullableClassTest { +class NullableClassTest { private final NullableClass model = new NullableClass(); /** * Model tests for NullableClass */ @Test - public void testNullableClass() { + void testNullableClass() { // TODO: test NullableClass } @@ -52,7 +52,7 @@ public void testNullableClass() { * Test the property 'integerProp' */ @Test - public void integerPropTest() { + void integerPropTest() { // TODO: test integerProp } @@ -60,7 +60,7 @@ public void integerPropTest() { * Test the property 'numberProp' */ @Test - public void numberPropTest() { + void numberPropTest() { // TODO: test numberProp } @@ -68,7 +68,7 @@ public void numberPropTest() { * Test the property 'booleanProp' */ @Test - public void booleanPropTest() { + void booleanPropTest() { // TODO: test booleanProp } @@ -76,7 +76,7 @@ public void booleanPropTest() { * Test the property 'stringProp' */ @Test - public void stringPropTest() { + void stringPropTest() { // TODO: test stringProp } @@ -84,7 +84,7 @@ public void stringPropTest() { * Test the property 'dateProp' */ @Test - public void datePropTest() { + void datePropTest() { // TODO: test dateProp } @@ -92,7 +92,7 @@ public void datePropTest() { * Test the property 'datetimeProp' */ @Test - public void datetimePropTest() { + void datetimePropTest() { // TODO: test datetimeProp } @@ -100,7 +100,7 @@ public void datetimePropTest() { * Test the property 'arrayNullableProp' */ @Test - public void arrayNullablePropTest() { + void arrayNullablePropTest() { // TODO: test arrayNullableProp } @@ -108,7 +108,7 @@ public void arrayNullablePropTest() { * Test the property 'arrayAndItemsNullableProp' */ @Test - public void arrayAndItemsNullablePropTest() { + void arrayAndItemsNullablePropTest() { // TODO: test arrayAndItemsNullableProp } @@ -116,7 +116,7 @@ public void arrayAndItemsNullablePropTest() { * Test the property 'arrayItemsNullable' */ @Test - public void arrayItemsNullableTest() { + void arrayItemsNullableTest() { // TODO: test arrayItemsNullable } @@ -124,7 +124,7 @@ public void arrayItemsNullableTest() { * Test the property 'objectNullableProp' */ @Test - public void objectNullablePropTest() { + void objectNullablePropTest() { // TODO: test objectNullableProp } @@ -132,7 +132,7 @@ public void objectNullablePropTest() { * Test the property 'objectAndItemsNullableProp' */ @Test - public void objectAndItemsNullablePropTest() { + void objectAndItemsNullablePropTest() { // TODO: test objectAndItemsNullableProp } @@ -140,7 +140,7 @@ public void objectAndItemsNullablePropTest() { * Test the property 'objectItemsNullable' */ @Test - public void objectItemsNullableTest() { + void objectItemsNullableTest() { // TODO: test objectItemsNullable } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableShapeTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableShapeTest.java index 387933e4ca83..2fd21ebc85a4 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableShapeTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NullableShapeTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableShape */ -public class NullableShapeTest { +class NullableShapeTest { private final NullableShape model = new NullableShape(); /** * Model tests for NullableShape */ @Test - public void testNullableShape() { + void testNullableShape() { // TODO: test NullableShape } @@ -46,7 +46,7 @@ public void testNullableShape() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } @@ -62,7 +62,7 @@ public void triangleTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 88a5503ccf97..8e77a542c749 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -19,22 +19,22 @@ 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 NumberOnly */ -public class NumberOnlyTest { +class NumberOnlyTest { private final NumberOnly model = new NumberOnly(); /** * Model tests for NumberOnly */ @Test - public void testNumberOnly() { + void testNumberOnly() { // TODO: test NumberOnly } @@ -42,7 +42,7 @@ public void testNumberOnly() { * Test the property 'justNumber' */ @Test - public void justNumberTest() { + void justNumberTest() { // TODO: test justNumber } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index 72978f65097d..aa755cf8cb48 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -20,24 +20,24 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeprecatedObject; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ObjectWithDeprecatedFields */ -public class ObjectWithDeprecatedFieldsTest { +class ObjectWithDeprecatedFieldsTest { private final ObjectWithDeprecatedFields model = new ObjectWithDeprecatedFields(); /** * Model tests for ObjectWithDeprecatedFields */ @Test - public void testObjectWithDeprecatedFields() { + void testObjectWithDeprecatedFields() { // TODO: test ObjectWithDeprecatedFields } @@ -45,7 +45,7 @@ public void testObjectWithDeprecatedFields() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -53,7 +53,7 @@ public void uuidTest() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -61,7 +61,7 @@ public void idTest() { * Test the property 'deprecatedRef' */ @Test - public void deprecatedRefTest() { + void deprecatedRefTest() { // TODO: test deprecatedRef } @@ -69,7 +69,7 @@ public void deprecatedRefTest() { * Test the property 'bars' */ @Test - public void barsTest() { + void barsTest() { // TODO: test bars } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OrderTest.java index 17f411d1ede9..3b40755326ff 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,22 +19,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +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 Order */ -public class OrderTest { +class OrderTest { private final Order model = new Order(); /** * Model tests for Order */ @Test - public void testOrder() { + void testOrder() { // TODO: test Order } @@ -42,7 +42,7 @@ public void testOrder() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -50,7 +50,7 @@ public void idTest() { * Test the property 'petId' */ @Test - public void petIdTest() { + void petIdTest() { // TODO: test petId } @@ -58,7 +58,7 @@ public void petIdTest() { * Test the property 'quantity' */ @Test - public void quantityTest() { + void quantityTest() { // TODO: test quantity } @@ -66,7 +66,7 @@ public void quantityTest() { * Test the property 'shipDate' */ @Test - public void shipDateTest() { + void shipDateTest() { // TODO: test shipDate } @@ -74,7 +74,7 @@ public void shipDateTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } @@ -82,7 +82,7 @@ public void statusTest() { * Test the property 'complete' */ @Test - public void completeTest() { + void completeTest() { // TODO: test complete } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 11d7eeac3b75..abd1e3c1fdfb 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -19,22 +19,22 @@ 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 OuterComposite */ -public class OuterCompositeTest { +class OuterCompositeTest { private final OuterComposite model = new OuterComposite(); /** * Model tests for OuterComposite */ @Test - public void testOuterComposite() { + void testOuterComposite() { // TODO: test OuterComposite } @@ -42,7 +42,7 @@ public void testOuterComposite() { * Test the property 'myNumber' */ @Test - public void myNumberTest() { + void myNumberTest() { // TODO: test myNumber } @@ -50,7 +50,7 @@ public void myNumberTest() { * Test the property 'myString' */ @Test - public void myStringTest() { + void myStringTest() { // TODO: test myString } @@ -58,7 +58,7 @@ public void myStringTest() { * Test the property 'myBoolean' */ @Test - public void myBooleanTest() { + void myBooleanTest() { // TODO: test myBoolean } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java index db6de4ebd34c..d818b23c7d53 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumDefaultValue */ -public class OuterEnumDefaultValueTest { +class OuterEnumDefaultValueTest { /** * Model tests for OuterEnumDefaultValue */ @Test - public void testOuterEnumDefaultValue() { + void testOuterEnumDefaultValue() { // TODO: test OuterEnumDefaultValue } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java index 44b97d47c2eb..1d7b3338bca2 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumIntegerDefaultValue */ -public class OuterEnumIntegerDefaultValueTest { +class OuterEnumIntegerDefaultValueTest { /** * Model tests for OuterEnumIntegerDefaultValue */ @Test - public void testOuterEnumIntegerDefaultValue() { + void testOuterEnumIntegerDefaultValue() { // TODO: test OuterEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java index 908c8ce7e21a..cacda46a76f4 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumInteger */ -public class OuterEnumIntegerTest { +class OuterEnumIntegerTest { /** * Model tests for OuterEnumInteger */ @Test - public void testOuterEnumInteger() { + void testOuterEnumInteger() { // TODO: test OuterEnumInteger } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumTest.java index f7293142020a..0333ee657a0f 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -17,16 +17,15 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnum */ -public class OuterEnumTest { +class OuterEnumTest { /** * Model tests for OuterEnum */ @Test - public void testOuterEnum() { + void testOuterEnum() { // TODO: test OuterEnum } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ParentPetTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ParentPetTest.java index cf712c8e3b8a..7361e9551213 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ParentPetTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ParentPetTest.java @@ -21,24 +21,23 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; +import java.util.Arrays; import org.openapitools.client.model.GrandparentAnimal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ParentPet */ -public class ParentPetTest { +class ParentPetTest { private final ParentPet model = new ParentPet(); /** * Model tests for ParentPet */ @Test - public void testParentPet() { + void testParentPet() { // TODO: test ParentPet } @@ -46,7 +45,7 @@ public void testParentPet() { * Test the property 'petType' */ @Test - public void petTypeTest() { + void petTypeTest() { // TODO: test petType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PetTest.java index a10e870d0fdc..4889ad6d7ae1 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PetTest.java @@ -18,29 +18,26 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.ArrayList; -import java.util.LinkedHashSet; +import java.util.Arrays; import java.util.List; -import java.util.Set; 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 } @@ -48,7 +45,7 @@ public void testPet() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -56,7 +53,7 @@ public void idTest() { * Test the property 'category' */ @Test - public void categoryTest() { + void categoryTest() { // TODO: test category } @@ -64,7 +61,7 @@ public void categoryTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -72,7 +69,7 @@ public void nameTest() { * Test the property 'photoUrls' */ @Test - public void photoUrlsTest() { + void photoUrlsTest() { // TODO: test photoUrls } @@ -80,7 +77,7 @@ public void photoUrlsTest() { * Test the property 'tags' */ @Test - public void tagsTest() { + void tagsTest() { // TODO: test tags } @@ -88,7 +85,7 @@ public void tagsTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PigTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PigTest.java index a877a11b87fc..7ca6bd3ed511 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PigTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/PigTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.BasquePig; import org.openapitools.client.model.DanishPig; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Pig */ -public class PigTest { +class PigTest { private final Pig model = new Pig(); /** * Model tests for Pig */ @Test - public void testPig() { + void testPig() { // TODO: test Pig } @@ -46,7 +46,7 @@ public void testPig() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java index 12b7e7a26b69..3fe968ead101 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java @@ -18,22 +18,22 @@ 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 QuadrilateralInterface */ -public class QuadrilateralInterfaceTest { +class QuadrilateralInterfaceTest { private final QuadrilateralInterface model = new QuadrilateralInterface(); /** * Model tests for QuadrilateralInterface */ @Test - public void testQuadrilateralInterface() { + void testQuadrilateralInterface() { // TODO: test QuadrilateralInterface } @@ -41,7 +41,7 @@ public void testQuadrilateralInterface() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralTest.java index 472f5cf4b1f8..6ad236af9122 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/QuadrilateralTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ComplexQuadrilateral; import org.openapitools.client.model.SimpleQuadrilateral; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Quadrilateral */ -public class QuadrilateralTest { +class QuadrilateralTest { private final Quadrilateral model = new Quadrilateral(); /** * Model tests for Quadrilateral */ @Test - public void testQuadrilateral() { + void testQuadrilateral() { // TODO: test Quadrilateral } @@ -46,7 +46,7 @@ public void testQuadrilateral() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index 11ab8eaf4fe1..4b6d19088328 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,22 +18,22 @@ 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 ReadOnlyFirst */ -public class ReadOnlyFirstTest { +class ReadOnlyFirstTest { private final ReadOnlyFirst model = new ReadOnlyFirst(); /** * Model tests for ReadOnlyFirst */ @Test - public void testReadOnlyFirst() { + void testReadOnlyFirst() { // TODO: test ReadOnlyFirst } @@ -41,7 +41,7 @@ public void testReadOnlyFirst() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -49,7 +49,7 @@ public void barTest() { * Test the property 'baz' */ @Test - public void bazTest() { + void bazTest() { // TODO: test baz } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java index 5f5d499da94d..885e8f211970 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java @@ -18,22 +18,22 @@ 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 ScaleneTriangle */ -public class ScaleneTriangleTest { +class ScaleneTriangleTest { private final ScaleneTriangle model = new ScaleneTriangle(); /** * Model tests for ScaleneTriangle */ @Test - public void testScaleneTriangle() { + void testScaleneTriangle() { // TODO: test ScaleneTriangle } @@ -41,7 +41,7 @@ public void testScaleneTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java index f7baab916ce7..08ba5fc84864 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java @@ -18,22 +18,22 @@ 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 ShapeInterface */ -public class ShapeInterfaceTest { +class ShapeInterfaceTest { private final ShapeInterface model = new ShapeInterface(); /** * Model tests for ShapeInterface */ @Test - public void testShapeInterface() { + void testShapeInterface() { // TODO: test ShapeInterface } @@ -41,7 +41,7 @@ public void testShapeInterface() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java index 93f71dcf9ea1..cf4924b2f73c 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ShapeOrNull */ -public class ShapeOrNullTest { +class ShapeOrNullTest { private final ShapeOrNull model = new ShapeOrNull(); /** * Model tests for ShapeOrNull */ @Test - public void testShapeOrNull() { + void testShapeOrNull() { // TODO: test ShapeOrNull } @@ -46,7 +46,7 @@ public void testShapeOrNull() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } @@ -62,7 +62,7 @@ public void triangleTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeTest.java index 43d7a99da4a7..d6f8771829fa 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ShapeTest.java @@ -21,24 +21,24 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Shape */ -public class ShapeTest { +class ShapeTest { private final Shape model = new Shape(); /** * Model tests for Shape */ @Test - public void testShape() { + void testShape() { // TODO: test Shape } @@ -46,7 +46,7 @@ public void testShape() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -54,7 +54,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } @@ -62,7 +62,7 @@ public void triangleTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java index d448e6d80b27..8ca309d9b760 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java @@ -18,22 +18,22 @@ 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 SimpleQuadrilateral */ -public class SimpleQuadrilateralTest { +class SimpleQuadrilateralTest { private final SimpleQuadrilateral model = new SimpleQuadrilateral(); /** * Model tests for SimpleQuadrilateral */ @Test - public void testSimpleQuadrilateral() { + void testSimpleQuadrilateral() { // TODO: test SimpleQuadrilateral } @@ -41,7 +41,7 @@ public void testSimpleQuadrilateral() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -49,7 +49,7 @@ public void shapeTypeTest() { * Test the property 'quadrilateralType' */ @Test - public void quadrilateralTypeTest() { + void quadrilateralTypeTest() { // TODO: test quadrilateralType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index c5d7ce076d6e..70a04f851d78 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,22 +18,22 @@ 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 SpecialModelName */ -public class SpecialModelNameTest { +class SpecialModelNameTest { private final SpecialModelName model = new SpecialModelName(); /** * Model tests for SpecialModelName */ @Test - public void testSpecialModelName() { + void testSpecialModelName() { // TODO: test SpecialModelName } @@ -41,8 +41,16 @@ public void testSpecialModelName() { * Test the property '$specialPropertyName' */ @Test - public void $specialPropertyNameTest() { + void $specialPropertyNameTest() { // TODO: test $specialPropertyName } + /** + * Test the property 'specialModelName' + */ + @Test + void specialModelNameTest() { + // TODO: test specialModelName + } + } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TagTest.java index 382a573036b9..94831ebad01c 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,22 +18,22 @@ 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 } @@ -41,7 +41,7 @@ public void testTag() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java index 8488ed25358d..4d0b44d5fc39 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java @@ -28,14 +28,14 @@ /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ -public class TestInlineFreeformAdditionalPropertiesRequestTest { +class TestInlineFreeformAdditionalPropertiesRequestTest { private final TestInlineFreeformAdditionalPropertiesRequest model = new TestInlineFreeformAdditionalPropertiesRequest(); /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ @Test - public void testTestInlineFreeformAdditionalPropertiesRequest() { + void testTestInlineFreeformAdditionalPropertiesRequest() { // TODO: test TestInlineFreeformAdditionalPropertiesRequest } @@ -43,7 +43,7 @@ public void testTestInlineFreeformAdditionalPropertiesRequest() { * Test the property 'someProperty' */ @Test - public void somePropertyTest() { + void somePropertyTest() { // TODO: test someProperty } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java index afb79ca5d419..dff83416b008 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java @@ -18,22 +18,22 @@ 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 TriangleInterface */ -public class TriangleInterfaceTest { +class TriangleInterfaceTest { private final TriangleInterface model = new TriangleInterface(); /** * Model tests for TriangleInterface */ @Test - public void testTriangleInterface() { + void testTriangleInterface() { // TODO: test TriangleInterface } @@ -41,7 +41,7 @@ public void testTriangleInterface() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleTest.java index d260c70f40f0..2723c3523174 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/TriangleTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.EquilateralTriangle; import org.openapitools.client.model.IsoscelesTriangle; import org.openapitools.client.model.ScaleneTriangle; @@ -28,18 +29,17 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Triangle */ -public class TriangleTest { +class TriangleTest { private final Triangle model = new Triangle(); /** * Model tests for Triangle */ @Test - public void testTriangle() { + void testTriangle() { // TODO: test Triangle } @@ -47,7 +47,7 @@ public void testTriangle() { * Test the property 'shapeType' */ @Test - public void shapeTypeTest() { + void shapeTypeTest() { // TODO: test shapeType } @@ -55,7 +55,7 @@ public void shapeTypeTest() { * Test the property 'triangleType' */ @Test - public void triangleTypeTest() { + void triangleTypeTest() { // TODO: test triangleType } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/UserTest.java index eccfbf5e1263..b65187667ebc 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,22 +18,26 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; +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 User */ -public class UserTest { +class UserTest { private final User model = new User(); /** * Model tests for User */ @Test - public void testUser() { + void testUser() { // TODO: test User } @@ -41,7 +45,7 @@ public void testUser() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +53,7 @@ public void idTest() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -57,7 +61,7 @@ public void usernameTest() { * Test the property 'firstName' */ @Test - public void firstNameTest() { + void firstNameTest() { // TODO: test firstName } @@ -65,7 +69,7 @@ public void firstNameTest() { * Test the property 'lastName' */ @Test - public void lastNameTest() { + void lastNameTest() { // TODO: test lastName } @@ -73,7 +77,7 @@ public void lastNameTest() { * Test the property 'email' */ @Test - public void emailTest() { + void emailTest() { // TODO: test email } @@ -81,7 +85,7 @@ public void emailTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -89,7 +93,7 @@ public void passwordTest() { * Test the property 'phone' */ @Test - public void phoneTest() { + void phoneTest() { // TODO: test phone } @@ -97,8 +101,40 @@ public void phoneTest() { * Test the property 'userStatus' */ @Test - public void userStatusTest() { + void userStatusTest() { // TODO: test userStatus } + /** + * Test the property 'objectWithNoDeclaredProps' + */ + @Test + void objectWithNoDeclaredPropsTest() { + // TODO: test objectWithNoDeclaredProps + } + + /** + * Test the property 'objectWithNoDeclaredPropsNullable' + */ + @Test + void objectWithNoDeclaredPropsNullableTest() { + // TODO: test objectWithNoDeclaredPropsNullable + } + + /** + * Test the property 'anyTypeProp' + */ + @Test + void anyTypePropTest() { + // TODO: test anyTypeProp + } + + /** + * Test the property 'anyTypePropNullable' + */ + @Test + void anyTypePropNullableTest() { + // TODO: test anyTypePropNullable + } + } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/WhaleTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/WhaleTest.java index 48f4f0715125..4d530c793a11 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/WhaleTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/WhaleTest.java @@ -18,22 +18,22 @@ 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 Whale */ -public class WhaleTest { +class WhaleTest { private final Whale model = new Whale(); /** * Model tests for Whale */ @Test - public void testWhale() { + void testWhale() { // TODO: test Whale } @@ -41,7 +41,7 @@ public void testWhale() { * Test the property 'hasBaleen' */ @Test - public void hasBaleenTest() { + void hasBaleenTest() { // TODO: test hasBaleen } @@ -49,7 +49,7 @@ public void hasBaleenTest() { * Test the property 'hasTeeth' */ @Test - public void hasTeethTest() { + void hasTeethTest() { // TODO: test hasTeeth } @@ -57,7 +57,7 @@ public void hasTeethTest() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ZebraTest.java b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ZebraTest.java index 3be21d660bb7..b3a41605b559 100644 --- a/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ZebraTest.java +++ b/samples/client/petstore/java/native/src/test/java/org/openapitools/client/model/ZebraTest.java @@ -18,24 +18,24 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Zebra */ -public class ZebraTest { +class ZebraTest { private final Zebra model = new Zebra(); /** * Model tests for Zebra */ @Test - public void testZebra() { + void testZebra() { // TODO: test Zebra } @@ -43,7 +43,7 @@ public void testZebra() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -51,7 +51,7 @@ public void typeTest() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/api/FakeApiTest.java index 097e64f0218d..aa4b626b191a 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -14,6 +14,10 @@ package org.openapitools.client.api; import org.openapitools.client.ApiException; +import org.openapitools.client.model.CodesEnum; +import org.openapitools.client.model.RefRefToPathLevelParameterOneofRefToOneofParameter; +import org.openapitools.client.model.RefToRefParameterAnyofRefToAnyofParameter; +import java.util.UUID; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -30,6 +34,101 @@ public class FakeApiTest { private final FakeApi api = new FakeApi(); + /** + * @throws ApiException if the Api call fails + */ + @Test + public void fakeInlineSchemaAnyofPath1GetTest() throws ApiException { + Object response = api.fakeInlineSchemaAnyofPath1Get(); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void fakeInlineSchemaAnyofPath2GetTest() throws ApiException { + Object response = api.fakeInlineSchemaAnyofPath2Get(); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void fakeInlineSchemaAnyofPath3GetTest() throws ApiException { + List response = api.fakeInlineSchemaAnyofPath3Get(); + // TODO: test validations + } + + /** + * op1 + * + * @throws ApiException if the Api call fails + */ + @Test + public void op1Test() throws ApiException { + Object response = api.op1(); + // TODO: test validations + } + + /** + * op2 + * + * @throws ApiException if the Api call fails + */ + @Test + public void op2Test() throws ApiException { + Object response = api.op2(); + // TODO: test validations + } + + /** + * op3 + * + * @throws ApiException if the Api call fails + */ + @Test + public void op3Test() throws ApiException { + List queryEnum = null; + api.op3(queryEnum); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void refToRefParameterTest() throws ApiException { + UUID refToUuid = null; + String response = api.refToRefParameter(refToUuid); + // TODO: test validations + } + + /** + * to test $ref to operation level parameters + * + * @throws ApiException if the Api call fails + */ + @Test + public void refToRefParameterAnyofTest() throws ApiException { + RefToRefParameterAnyofRefToAnyofParameter refToAnyof = null; + api.refToRefParameterAnyof(refToAnyof); + // TODO: test validations + } + + /** + * to test $ref to path level parameters + * + * @throws ApiException if the Api call fails + */ + @Test + public void refToRefParameterOneofTest() throws ApiException { + RefRefToPathLevelParameterOneofRefToOneofParameter refToOneof = null; + api.refToRefParameterOneof(refToOneof); + // TODO: test validations + } + /** * @throws ApiException if the Api call fails */ diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/AnyTypeTestTest.java b/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/AnyTypeTestTest.java index 98a31faf01ac..4f54c0a31379 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/AnyTypeTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/AnyTypeTestTest.java @@ -19,7 +19,9 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import org.openapitools.jackson.nullable.JsonNullable; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -46,4 +48,20 @@ public void anyTypePropertyTest() { // TODO: test anyTypeProperty } + /** + * Test the property 'arrayProp' + */ + @Test + public void arrayPropTest() { + // TODO: test arrayProp + } + + /** + * Test the property 'refArrayPrefixItems' + */ + @Test + public void refArrayPrefixItemsTest() { + // TODO: test refArrayPrefixItems + } + } diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/SelfReferenceAdditionalPropertiesTest.java b/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/SelfReferenceAdditionalPropertiesTest.java index 72739dfb84bf..eb077f686c3d 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/SelfReferenceAdditionalPropertiesTest.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/test/java/org/openapitools/client/model/SelfReferenceAdditionalPropertiesTest.java @@ -20,7 +20,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import org.openapitools.client.model.SelfReferenceAdditionalProperties; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/CategoryTest.java index 2582a39eec6d..0609d116a38d 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/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/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 209233fa8d3c..6018546d0531 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/ModelApiResponseTest.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 ModelApiResponse */ diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/OrderTest.java index f3563ff5bd58..bde30a7233dc 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/OrderTest.java @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/PetTest.java index a4e610582b11..1dbb74a230c4 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/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/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/TagTest.java index 144b14d5d805..0a89a2bc6f4d 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/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/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/UserTest.java index 91ddcaa612a0..42c042309ce1 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/test/java/org/openapitools/client/model/UserTest.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 User */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/ApiClientTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/ApiClientTest.java index cee7d2db8d57..1cee2c7f930e 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/ApiClientTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/ApiClientTest.java @@ -17,7 +17,7 @@ public class ApiClientTest { ApiClient apiClient; JSON json; - @Before + @BeforeEach public void setup() { apiClient = new ApiClient(); json = apiClient.getJSON(); @@ -82,7 +82,7 @@ public void testSelectHeaderContentType() { assertEquals("text/plain", apiClient.selectHeaderContentType(contentTypes)); contentTypes = new String[]{}; - assertEquals("application/json", apiClient.selectHeaderContentType(contentTypes)); + assertNull(apiClient.selectHeaderContentType(contentTypes)); } @Test @@ -342,8 +342,10 @@ public void testNewHttpClient() { /** * Tests the invariant that the HttpClient for the ApiClient must never be null */ - @Test(expected = NullPointerException.class) + @Test public void testNullHttpClient() { - apiClient.setHttpClient(null); + assertThrows(NullPointerException.class, () -> { + apiClient.setHttpClient(null); + }); } } diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/JSONTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/JSONTest.java index 192c7e2b132d..af3a1c746984 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/JSONTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/JSONTest.java @@ -9,6 +9,9 @@ import java.nio.charset.StandardCharsets; import java.text.DateFormat; import java.text.SimpleDateFormat; +import java.time.ZoneId; +import java.time.ZoneOffset; +import java.time.format.DateTimeFormatter; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; @@ -27,7 +30,7 @@ public class JSONTest { private JSON json = null; private Order order = null; - @Before + @BeforeEach public void setup() { apiClient = new ApiClient(); json = apiClient.getJSON(); @@ -127,7 +130,7 @@ public void testLocalDateTypeAdapter() { public void testDefaultDate() throws Exception { final DateTimeFormatter datetimeFormat = DateTimeFormatter.ISO_OFFSET_DATE_TIME; final String dateStr = "2015-11-07T14:11:05.267Z"; - order.setShipDate(datetimeFormat.parse(dateStr, OffsetDateTime.FROM)); + order.setShipDate(datetimeFormat.parse(dateStr, OffsetDateTime::from)); String str = json.serialize(order); Type type = new TypeToken() { }.getType(); @@ -139,7 +142,7 @@ public void testDefaultDate() throws Exception { public void testCustomDate() throws Exception { final DateTimeFormatter datetimeFormat = DateTimeFormatter.ISO_OFFSET_DATE_TIME.withZone(ZoneId.of("Etc/GMT+2")); final String dateStr = "2015-11-07T14:11:05-02:00"; - order.setShipDate(datetimeFormat.parse(dateStr, OffsetDateTime.FROM)); + order.setShipDate(datetimeFormat.parse(dateStr, OffsetDateTime::from)); String str = json.serialize(order); Type type = new TypeToken() { }.getType(); diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index 331e9a6b8aa8..759193160447 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -15,6 +15,7 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; +import java.util.UUID; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -40,8 +41,9 @@ public class AnotherFakeApiTest { */ @Test public void call123testSpecialTagsTest() throws ApiException { + UUID uuidTest = null; Client body = null; - Client response = api.call123testSpecialTags(body); + Client response = api.call123testSpecialTags(uuidTest, body); // TODO: test validations } diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/PetApiTest.java index 2aa8a1881336..6590a3d91bfd 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -50,7 +50,7 @@ public class PetApiTest { // In the circle.yml file, /etc/host is configured with an entry to resolve petstore.swagger.io to 127.0.0.1 private static String basePath = "http://petstore.swagger.io:80/v2"; - @Before + @BeforeEach public void setup() { // setup authentication ApiKeyAuth apiKeyAuth = (ApiKeyAuth) api.getApiClient().getAuthentication("api_key"); @@ -206,7 +206,8 @@ public void onDownloadProgress(long bytesRead, long contentLength, boolean done) } while (result.isEmpty()); assertNotNull(exception); assertEquals(404, exception.getCode()); - assertEquals("Not Found", exception.getMessage()); + String pattern = "^Message: Not Found\\RHTTP response code: 404\\RHTTP response body: .*\\RHTTP response headers: .*$"; + assertTrue(exception.getMessage().matches(pattern)); assertEquals("application/json", exception.getResponseHeaders().get("Content-Type").get(0)); api.deletePet(pet.getId(), null); } diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/ApiKeyAuthTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/ApiKeyAuthTest.java index ed669e94797b..6975dcc92ecc 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/ApiKeyAuthTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/ApiKeyAuthTest.java @@ -5,21 +5,21 @@ import java.util.Map; import java.util.List; +import org.openapitools.client.ApiException; import org.openapitools.client.Pair; import org.junit.jupiter.api.*; -import static org.junit.Assert.*; import static org.junit.jupiter.api.Assertions.*; public class ApiKeyAuthTest { @Test - public void testApplyToParamsInQuery() { + public void testApplyToParamsInQuery() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); ApiKeyAuth auth = new ApiKeyAuth("query", "api_key"); auth.setApiKey("my-api-key"); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); assertEquals(1, queryParams.size()); for (Pair queryParam : queryParams) { @@ -32,14 +32,14 @@ public void testApplyToParamsInQuery() { } @Test - public void testApplyToParamsInQueryWithNullValue() { + public void testApplyToParamsInQueryWithNullValue() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); ApiKeyAuth auth = new ApiKeyAuth("query", "api_key"); auth.setApiKey(null); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to parameters assertEquals(0, queryParams.size()); @@ -48,7 +48,7 @@ public void testApplyToParamsInQueryWithNullValue() { } @Test - public void testApplyToParamsInHeaderWithPrefix() { + public void testApplyToParamsInHeaderWithPrefix() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); @@ -56,7 +56,7 @@ public void testApplyToParamsInHeaderWithPrefix() { ApiKeyAuth auth = new ApiKeyAuth("header", "X-API-TOKEN"); auth.setApiKey("my-api-token"); auth.setApiKeyPrefix("Token"); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to query or cookie parameters assertEquals(0, queryParams.size()); @@ -66,7 +66,7 @@ public void testApplyToParamsInHeaderWithPrefix() { } @Test - public void testApplyToParamsInHeaderWithNullValue() { + public void testApplyToParamsInHeaderWithNullValue() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); @@ -74,7 +74,7 @@ public void testApplyToParamsInHeaderWithNullValue() { ApiKeyAuth auth = new ApiKeyAuth("header", "X-API-TOKEN"); auth.setApiKey(null); auth.setApiKeyPrefix("Token"); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to parameters assertEquals(0, queryParams.size()); @@ -83,7 +83,7 @@ public void testApplyToParamsInHeaderWithNullValue() { } @Test - public void testApplyToParamsInCookieWithPrefix() { + public void testApplyToParamsInCookieWithPrefix() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); @@ -91,7 +91,7 @@ public void testApplyToParamsInCookieWithPrefix() { ApiKeyAuth auth = new ApiKeyAuth("cookie", "X-API-TOKEN"); auth.setApiKey("my-api-token"); auth.setApiKeyPrefix("Token"); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to query or header parameters assertEquals(0, queryParams.size()); @@ -101,7 +101,7 @@ public void testApplyToParamsInCookieWithPrefix() { } @Test - public void testApplyToParamsInCookieWithNullValue() { + public void testApplyToParamsInCookieWithNullValue() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); @@ -109,7 +109,7 @@ public void testApplyToParamsInCookieWithNullValue() { ApiKeyAuth auth = new ApiKeyAuth("cookie", "X-API-TOKEN"); auth.setApiKey(null); auth.setApiKeyPrefix("Token"); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to parameters assertEquals(0, queryParams.size()); diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/HttpBasicAuthTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/HttpBasicAuthTest.java index 154dc61b352c..a09d0b869584 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/HttpBasicAuthTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/auth/HttpBasicAuthTest.java @@ -5,6 +5,7 @@ import java.util.Map; import java.util.List; +import org.openapitools.client.ApiException; import org.openapitools.client.Pair; import org.junit.jupiter.api.*; @@ -19,14 +20,14 @@ public void setup() { } @Test - public void testApplyToParams() { + public void testApplyToParams() throws ApiException { List queryParams = new ArrayList(); Map headerParams = new HashMap(); Map cookieParams = new HashMap(); auth.setUsername("my-username"); auth.setPassword("my-password"); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to query or cookie parameters assertEquals(0, queryParams.size()); @@ -38,7 +39,7 @@ public void testApplyToParams() { // null username should be treated as empty string auth.setUsername(null); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // the string below is base64-encoded result of ":my-password" with the "Basic " prefix expected = "Basic Om15LXBhc3N3b3Jk"; assertEquals(expected, headerParams.get("Authorization")); @@ -46,7 +47,7 @@ public void testApplyToParams() { // null password should be treated as empty string auth.setUsername("my-username"); auth.setPassword(null); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // the string below is base64-encoded result of "my-username:" with the "Basic " prefix expected = "Basic bXktdXNlcm5hbWU6"; assertEquals(expected, headerParams.get("Authorization")); @@ -56,7 +57,7 @@ public void testApplyToParams() { headerParams = new HashMap(); auth.setUsername(null); auth.setPassword(null); - auth.applyToParams(queryParams, headerParams, cookieParams); + auth.applyToParams(queryParams, headerParams, cookieParams, null, null, null); // no changes to parameters assertEquals(0, queryParams.size()); assertEquals(0, headerParams.size()); diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java index d6ddcfbe4559..9d069083792e 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java @@ -18,15 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesAnyType */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java index 63288bd12919..e9032c8b8b2f 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java @@ -18,16 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; +import java.util.Arrays; import java.util.List; -import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesArray */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java index 6ca84a09f7c6..aaa789af6dfc 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java @@ -18,15 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesBoolean */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 4018fbdf70e4..514cc9aebbb3 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,17 +18,15 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesClass */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java index d40d8056a4d4..219db0f97ed5 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java @@ -18,15 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesInteger */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java index 69cd113d7385..938a2fcf36d3 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java @@ -18,16 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; -import java.util.HashMap; -import java.util.Map; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesNumber */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java index 0a434005ef49..8f068a5bcce5 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java @@ -18,15 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; +import java.util.Arrays; import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesObject */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java index 250590a3dad9..ee6fa0c4a269 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java @@ -18,15 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesString */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AnimalTest.java index e9057af31c0b..f30075833858 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -18,16 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Animal */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index dc2a20f163d4..df7aa2de613e 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -19,13 +19,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -67,7 +66,7 @@ public void arrayArrayNumberTest() { model2.setArrayArrayNumber(new ArrayList>()); model2.getArrayArrayNumber().add(arrayArrayNumber2); - Assert.assertTrue(model2.equals(model)); + Assertions.assertTrue(model2.equals(model)); } } diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 71c5b2c49ae2..7121b15da89f 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -18,16 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; 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 ArrayOfNumberOnly */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayTestTest.java index ae7c9ae171ba..da72462ec73d 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -18,16 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ReadOnlyFirst; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayTest */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/BigCatTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/BigCatTest.java index e2f41cc959c9..06f152eace0e 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/BigCatTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/BigCatTest.java @@ -19,6 +19,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 4fbb4c7b201f..c3c69e049af7 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Capitalization */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CatTest.java index e67f6005c855..73309d4bec1f 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CatTest.java @@ -18,16 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.CatAllOf; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Cat */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CategoryTest.java index 52b230df4ff8..03f1c7ec1d53 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClassModelTest.java index 07c08313db8c..1666ebc79969 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ClassModel */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClientTest.java index f4d80128c975..140143b9573d 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Client */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/DogTest.java index 4bcd8e2c9eb0..844e3e06f5e1 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/DogTest.java @@ -18,15 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.DogAllOf; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Dog */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 77ee97144aeb..02954e6a6839 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumArraysTest.java @@ -18,15 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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 EnumArrays */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumClassTest.java index 88c982a61df2..bed8681219e8 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumClass */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumTestTest.java index 7a8beabe1412..05820f3bb1cb 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,14 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumTest */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index 2c11116e3af4..79eccbf4beef 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -18,16 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ModelFile; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FileSchemaTestClass */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FormatTestTest.java index e6300c4253b1..d9dfac4e1951 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -18,18 +18,16 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.File; import java.io.IOException; import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FormatTest */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index ac3d1a4d4d7f..f63bf66b1775 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for HasOnlyReadOnly */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MapTestTest.java index b29767eb7c41..0587a961b146 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import java.util.HashMap; -import java.util.List; import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MapTest */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index b4f447143948..1cc69bedcd83 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -18,19 +18,16 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; -import java.util.List; import java.util.Map; import java.util.UUID; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index a6660ce62365..01b44a53b4fa 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Model200Response */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 81a9bb5a4d7a..9480c9ee0ff7 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelApiResponse */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelFileTest.java index b55340ef6195..a84242272474 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelFile */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelListTest.java index dc7c6441885c..ea5a55185989 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelList */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelReturnTest.java index 7a55f2ab476f..10c7841ba3c1 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelReturn */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NameTest.java index 5dc7f515a443..52eae7974bc1 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Name */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 637d4887e312..774200c9f6bc 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -18,14 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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 NumberOnly */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OrderTest.java index 838191fecd07..adcfde4a33d0 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OrderTest.java @@ -18,14 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index a532cf086637..794328118065 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -18,14 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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 OuterComposite */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterEnumTest.java index 61cb88bb3dba..8ab11b65cbde 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnum */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/PetTest.java index 01395a956fc4..552828ac1f45 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/PetTest.java @@ -18,10 +18,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; @@ -30,7 +29,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Pet */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index 3b8a3f64b7dd..c4b3c2a8d09d 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ReadOnlyFirst */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 066348a3fc93..d12e6c66af71 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for SpecialModelName */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TagTest.java index ed6daf3602c6..6f38d0223841 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java index 4da5bca66e8e..8c431a664bda 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java @@ -18,16 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; 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 TypeHolderDefault */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java index 7adc92a265b0..65b2aa966eec 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java @@ -18,16 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; 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 TypeHolderExample */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/UserTest.java index 147067ea011d..b2787eee9731 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for User */ diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/XmlItemTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/XmlItemTest.java index 0baea8f4fee0..9f7762e5dd92 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/XmlItemTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/test/java/org/openapitools/client/model/XmlItemTest.java @@ -18,16 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; 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 XmlItem */ diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/CategoryTest.java index a7c58d0acbf4..0609d116a38d 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index ed1673bdc763..6018546d0531 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelApiResponse */ diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/OrderTest.java index 1b27fe89a42e..bde30a7233dc 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/OrderTest.java @@ -18,14 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/PetTest.java index 99c3d8911087..1dbb74a230c4 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/PetTest.java @@ -18,17 +18,15 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/TagTest.java index 49228a52bb70..0a89a2bc6f4d 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; 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/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/UserTest.java index 851b9cc57ac4..42c042309ce1 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,13 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for User */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/PetApiTest.java index 839d7d0bcd68..0b99fe9d3414 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -36,7 +36,7 @@ public class PetApiTest { /** * Add a new pet to the store * - * + * * * @throws ApiException if the Api call fails */ @@ -50,7 +50,7 @@ public void addPetTest() throws ApiException { /** * Deletes a pet * - * + * * * @throws ApiException if the Api call fails */ @@ -107,7 +107,7 @@ public void getPetByIdTest() throws ApiException { /** * Update an existing pet * - * + * * * @throws ApiException if the Api call fails */ @@ -121,7 +121,7 @@ public void updatePetTest() throws ApiException { /** * Updates a pet in the store with form data * - * + * * * @throws ApiException if the Api call fails */ @@ -137,7 +137,7 @@ public void updatePetWithFormTest() throws ApiException { /** * uploads an image * - * + * * * @throws ApiException if the Api call fails */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/StoreApiTest.java index dfcdd4e96aab..3ca20d0b210b 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -75,7 +75,7 @@ public void getOrderByIdTest() throws ApiException { /** * Place an order for a pet * - * + * * * @throws ApiException if the Api call fails */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/UserApiTest.java index 1a1c7cbb9c1b..a46743c4435d 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -49,7 +49,7 @@ public void createUserTest() throws ApiException { /** * Creates list of users with given input array * - * + * * * @throws ApiException if the Api call fails */ @@ -63,7 +63,7 @@ public void createUsersWithArrayInputTest() throws ApiException { /** * Creates list of users with given input array * - * + * * * @throws ApiException if the Api call fails */ @@ -91,7 +91,7 @@ public void deleteUserTest() throws ApiException { /** * Get user by user name * - * + * * * @throws ApiException if the Api call fails */ @@ -105,7 +105,7 @@ public void getUserByNameTest() throws ApiException { /** * Logs user into the system * - * + * * * @throws ApiException if the Api call fails */ @@ -120,7 +120,7 @@ public void loginUserTest() throws ApiException { /** * Logs out current logged in user session * - * + * * * @throws ApiException if the Api call fails */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/CategoryTest.java index 73416e348cf9..0609d116a38d 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -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/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 21c2af9c4dc6..6018546d0531 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -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 ModelApiResponse */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/OrderTest.java index d9ec70d5917a..bde30a7233dc 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/OrderTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetTest.java index 0b5860718dc5..1dbb74a230c4 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -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/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases1Test.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases1Test.java index 7df934573032..22d6e60cebd1 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases1Test.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases1Test.java @@ -20,6 +20,7 @@ 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; @@ -27,7 +28,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for PetWithRequiredNullableCases1 */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases2Test.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases2Test.java index b7cfb37f5f23..c2db3ed6f9c2 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases2Test.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/PetWithRequiredNullableCases2Test.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 PetWithRequiredNullableCases2 */ diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/TagTest.java index ed0fd58c06e4..0a89a2bc6f4d 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/TagTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -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/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/UserTest.java index 5dc70c6fa406..42c042309ce1 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/test/java/org/openapitools/client/model/UserTest.java @@ -3,7 +3,7 @@ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -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 User */ diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index 6fa396b48542..759193160447 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -15,8 +15,9 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -import org.junit.Test; -import org.junit.Ignore; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,26 +27,24 @@ /** * API tests for AnotherFakeApi */ -@Ignore +@Disabled public class AnotherFakeApiTest { private final AnotherFakeApi api = new AnotherFakeApi(); - /** * To test special tags * * To test special tags and operation ID starting with number * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void call123testSpecialTagsTest() throws ApiException { + UUID uuidTest = null; Client body = null; - Client response = api.call123testSpecialTags(body); - + Client response = api.call123testSpecialTags(uuidTest, body); // TODO: test validations } - + } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeApiTest.java index cbcadd005fd7..c5064962312c 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -23,8 +23,8 @@ import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.User; import org.openapitools.client.model.XmlItem; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -34,148 +34,116 @@ /** * API tests for FakeApi */ -@Ignore +@Disabled public class FakeApiTest { private final FakeApi api = new FakeApi(); - /** * creates an XmlItem * * this route creates an XmlItem * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createXmlItemTest() throws ApiException { XmlItem xmlItem = null; api.createXmlItem(xmlItem); - // TODO: test validations } - + /** - * - * * Test serialization of outer boolean types * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterBooleanSerializeTest() throws ApiException { Boolean body = null; Boolean response = api.fakeOuterBooleanSerialize(body); - // TODO: test validations } - + /** - * - * * Test serialization of object with outer number type * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterCompositeSerializeTest() throws ApiException { OuterComposite body = null; OuterComposite response = api.fakeOuterCompositeSerialize(body); - // TODO: test validations } - + /** - * - * * Test serialization of outer number types * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterNumberSerializeTest() throws ApiException { BigDecimal body = null; BigDecimal response = api.fakeOuterNumberSerialize(body); - // TODO: test validations } - + /** - * - * * Test serialization of outer string types * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void fakeOuterStringSerializeTest() throws ApiException { String body = null; String response = api.fakeOuterStringSerialize(body); - // TODO: test validations } - + /** - * - * * For this test, the body for this request much reference a schema named `File`. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testBodyWithFileSchemaTest() throws ApiException { FileSchemaTestClass body = null; api.testBodyWithFileSchema(body); - // TODO: test validations } - + /** - * - * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testBodyWithQueryParamsTest() throws ApiException { String query = null; User body = null; api.testBodyWithQueryParams(query, body); - // TODO: test validations } - + /** * To test \"client\" model * * To test \"client\" model * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testClientModelTest() throws ApiException { Client body = null; Client response = api.testClientModel(body); - // TODO: test validations } - + /** * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 * * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testEndpointParametersTest() throws ApiException { @@ -194,17 +162,15 @@ public void testEndpointParametersTest() throws ApiException { String password = null; String paramCallback = null; api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); - // TODO: test validations } - + /** * To test enum parameters * * To test enum parameters * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testEnumParametersTest() throws ApiException { @@ -217,17 +183,15 @@ public void testEnumParametersTest() throws ApiException { List enumFormStringArray = null; String enumFormString = null; api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); - // TODO: test validations } - + /** * Fake endpoint to test group parameters (optional) * * Fake endpoint to test group parameters (optional) * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testGroupParametersTest() throws ApiException { @@ -242,50 +206,38 @@ public void testGroupParametersTest() throws ApiException { .booleanGroup(booleanGroup) .int64Group(int64Group) .execute(); - // TODO: test validations } - + /** * test inline additionalProperties * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testInlineAdditionalPropertiesTest() throws ApiException { Map param = null; api.testInlineAdditionalProperties(param); - // TODO: test validations } - + /** * test json serialization of form data * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testJsonFormDataTest() throws ApiException { String param = null; String param2 = null; api.testJsonFormData(param, param2); - // TODO: test validations } - + /** - * - * * To test the collection format in query parameters * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testQueryParameterCollectionFormatTest() throws ApiException { @@ -295,8 +247,7 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { List url = null; List context = null; api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context); - // TODO: test validations } - + } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 96f3b24e18bb..4899dbeac98c 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,26 +26,23 @@ /** * API tests for FakeClassnameTags123Api */ -@Ignore +@Disabled public class FakeClassnameTags123ApiTest { private final FakeClassnameTags123Api api = new FakeClassnameTags123Api(); - /** * To test class name in snake case * * To test class name in snake case * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void testClassnameTest() throws ApiException { Client body = null; Client response = api.testClassname(body); - // TODO: test validations } - + } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/PetApiTest.java index 2c7aa5ad2d62..9c54e3b6ce2f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -18,8 +18,8 @@ import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; import java.util.Set; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -29,116 +29,94 @@ /** * API tests for PetApi */ -@Ignore +@Disabled public class PetApiTest { private final PetApi api = new PetApi(); - /** * Add a new pet to the store * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void addPetTest() throws ApiException { Pet body = null; api.addPet(body); - // TODO: test validations } - + /** * Deletes a pet * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void deletePetTest() throws ApiException { Long petId = null; String apiKey = null; api.deletePet(petId, apiKey); - // TODO: test validations } - + /** * Finds Pets by status * * Multiple status values can be provided with comma separated strings * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void findPetsByStatusTest() throws ApiException { List status = null; List response = api.findPetsByStatus(status); - // TODO: test validations } - + /** * Finds Pets by tags * * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void findPetsByTagsTest() throws ApiException { Set tags = null; Set response = api.findPetsByTags(tags); - // TODO: test validations } - + /** * Find pet by ID * * Returns a single pet * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getPetByIdTest() throws ApiException { Long petId = null; Pet response = api.getPetById(petId); - // TODO: test validations } - + /** * Update an existing pet * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void updatePetTest() throws ApiException { Pet body = null; api.updatePet(body); - // TODO: test validations } - + /** * Updates a pet in the store with form data * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void updatePetWithFormTest() throws ApiException { @@ -146,35 +124,27 @@ public void updatePetWithFormTest() throws ApiException { String name = null; String status = null; api.updatePetWithForm(petId, name, status); - // TODO: test validations } - + /** * uploads an image * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void uploadFileTest() throws ApiException { Long petId = null; String additionalMetadata = null; - File file = null; - ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file); - + File _file = null; + ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); // TODO: test validations } - + /** * uploads an image (required) * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void uploadFileWithRequiredFileTest() throws ApiException { @@ -182,8 +152,7 @@ public void uploadFileWithRequiredFileTest() throws ApiException { File requiredFile = null; String additionalMetadata = null; ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); - // TODO: test validations } - + } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/StoreApiTest.java index 856dc21442c8..b6d81a6c5800 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -15,8 +15,8 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,73 +26,62 @@ /** * API tests for StoreApi */ -@Ignore +@Disabled public class StoreApiTest { private final StoreApi api = new StoreApi(); - /** * Delete purchase order by ID * * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void deleteOrderTest() throws ApiException { String orderId = null; api.deleteOrder(orderId); - // TODO: test validations } - + /** * Returns pet inventories by status * * Returns a map of status codes to quantities * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getInventoryTest() throws ApiException { Map response = api.getInventory(); - // TODO: test validations } - + /** * Find purchase order by ID * * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getOrderByIdTest() throws ApiException { Long orderId = null; Order response = api.getOrderById(orderId); - // TODO: test validations } - + /** * Place an order for a pet * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void placeOrderTest() throws ApiException { Order body = null; Order response = api.placeOrder(body); - // TODO: test validations } - + } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/UserApiTest.java index c2feab9aea41..cb958423ece1 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -14,9 +14,10 @@ package org.openapitools.client.api; import org.openapitools.client.ApiException; +import java.time.OffsetDateTime; import org.openapitools.client.model.User; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,139 +27,112 @@ /** * API tests for UserApi */ -@Ignore +@Disabled public class UserApiTest { private final UserApi api = new UserApi(); - /** * Create user * * This can only be done by the logged in user. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createUserTest() throws ApiException { User body = null; api.createUser(body); - // TODO: test validations } - + /** * Creates list of users with given input array * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createUsersWithArrayInputTest() throws ApiException { List body = null; api.createUsersWithArrayInput(body); - // TODO: test validations } - + /** * Creates list of users with given input array * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void createUsersWithListInputTest() throws ApiException { List body = null; api.createUsersWithListInput(body); - // TODO: test validations } - + /** * Delete user * * This can only be done by the logged in user. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void deleteUserTest() throws ApiException { String username = null; api.deleteUser(username); - // TODO: test validations } - + /** * Get user by user name * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void getUserByNameTest() throws ApiException { String username = null; User response = api.getUserByName(username); - // TODO: test validations } - + /** * Logs user into the system * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void loginUserTest() throws ApiException { String username = null; String password = null; String response = api.loginUser(username, password); - // TODO: test validations } - + /** * Logs out current logged in user session * - * - * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void logoutUserTest() throws ApiException { api.logoutUser(); - // TODO: test validations } - + /** * Updated user * * This can only be done by the logged in user. * - * @throws ApiException - * if the Api call fails + * @throws ApiException if the Api call fails */ @Test public void updateUserTest() throws ApiException { String username = null; User body = null; api.updateUser(username, body); - // TODO: test validations } - + } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java index 5507437bbe46..9d069083792e 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java @@ -18,15 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesAnyType diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java index d770842e2c32..e9032c8b8b2f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java @@ -18,16 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; +import java.util.Arrays; import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesArray diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java index 17ad4aa94d87..aaa789af6dfc 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java @@ -18,15 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesBoolean diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 19f1a8fe7aab..514cc9aebbb3 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,17 +18,14 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesClass diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java index e6efde8fed97..219db0f97ed5 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java @@ -18,15 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesInteger diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java index 01433159e0f0..938a2fcf36d3 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java @@ -18,16 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; -import java.util.HashMap; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesNumber diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java index a307b7604d81..8f068a5bcce5 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java @@ -18,15 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; +import java.util.Arrays; import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesObject diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java index 6a66b95c7b46..ee6fa0c4a269 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java @@ -18,15 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for AdditionalPropertiesString diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AnimalTest.java index 340abc2587a1..f30075833858 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -18,16 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Animal diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index d0e66d293541..618a21c8a982 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ArrayOfArrayOfNumberOnly diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 9afc3397f46c..7121b15da89f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ArrayOfNumberOnly diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayTestTest.java index fab9a30565f3..da72462ec73d 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ReadOnlyFirst; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ArrayTest diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/BigCatTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/BigCatTest.java index e2f41cc959c9..06f152eace0e 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/BigCatTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/BigCatTest.java @@ -19,6 +19,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Cat; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CapitalizationTest.java index ced4f48eb5f9..c3c69e049af7 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Capitalization diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CatTest.java index ac7ac3c80f60..73309d4bec1f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CatTest.java @@ -18,16 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.BigCat; -import org.openapitools.client.model.CatAllOf; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Cat diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CategoryTest.java index a6efa6e1fbc6..03f1c7ec1d53 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +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/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClassModelTest.java index 1233feec65ec..1666ebc79969 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ClassModel diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClientTest.java index 456fab74c4d7..140143b9573d 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Client diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/DogTest.java index 124bc99c1f12..844e3e06f5e1 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/DogTest.java @@ -18,15 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Animal; -import org.openapitools.client.model.DogAllOf; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Dog diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumArraysTest.java index c25b05e9f0d1..02954e6a6839 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumArraysTest.java @@ -18,15 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; 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.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for EnumArrays diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumClassTest.java index 329454658e33..bed8681219e8 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -14,10 +14,8 @@ package org.openapitools.client.model; import com.google.gson.annotations.SerializedName; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for EnumClass diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumTestTest.java index 8b76ef556061..05820f3bb1cb 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,14 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for EnumTest diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index 0ca366212088..79eccbf4beef 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -18,15 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; 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.openapitools.client.model.ModelFile; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for FileSchemaTestClass @@ -43,11 +41,11 @@ public void testFileSchemaTestClass() { } /** - * Test the property 'file' + * Test the property '_file' */ @Test - public void fileTest() { - // TODO: test file + public void _fileTest() { + // TODO: test _file } /** diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FormatTestTest.java index 9c600e488b5f..d9dfac4e1951 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -18,18 +18,15 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.File; import java.io.IOException; import java.math.BigDecimal; -import java.util.UUID; import java.time.LocalDate; import java.time.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for FormatTest diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index 0272d7b80004..f63bf66b1775 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for HasOnlyReadOnly diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MapTestTest.java index f86a1303fc88..0587a961b146 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,16 +18,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.Arrays; import java.util.HashMap; -import java.util.List; import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for MapTest diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index 3a23e8217ba4..1cc69bedcd83 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -18,19 +18,15 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; -import java.util.List; import java.util.Map; import java.util.UUID; import org.openapitools.client.model.Animal; -import java.time.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index d81fa5a0f669..01b44a53b4fa 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Model200Response diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 91bd8fada260..9480c9ee0ff7 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ModelApiResponse diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelFileTest.java index 132012d4c387..a84242272474 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ModelFile diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelListTest.java index d3ed2075e9a4..ea5a55185989 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ModelList diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelReturnTest.java index f317fef485ea..10c7841ba3c1 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ModelReturn diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NameTest.java index 1ed41a0f80c7..52eae7974bc1 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Name diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 15b74f7ef8bf..774200c9f6bc 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -18,14 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for NumberOnly diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OrderTest.java index 8bad0b69dc3e..adcfde4a33d0 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OrderTest.java @@ -18,14 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.time.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Order diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 67ee59963636..794328118065 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -18,14 +18,11 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for OuterComposite diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterEnumTest.java index 220d40e83cbb..8ab11b65cbde 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -14,10 +14,8 @@ package org.openapitools.client.model; import com.google.gson.annotations.SerializedName; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for OuterEnum diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/PetTest.java index 8acfe87f62c1..552828ac1f45 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/PetTest.java @@ -18,19 +18,16 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.openapitools.client.model.Category; import org.openapitools.client.model.Tag; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for Pet diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index 2dc9cb2ae2cd..c4b3c2a8d09d 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for ReadOnlyFirst diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index bcf23eb3cbc8..d12e6c66af71 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for SpecialModelName diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TagTest.java index 83f536d2fa39..6f38d0223841 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +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/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java index ca08c6362ce1..8c431a664bda 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for TypeHolderDefault diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java index 763bccefe43d..65b2aa966eec 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for TypeHolderExample diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/UserTest.java index b3a76f61da53..b2787eee9731 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,13 +18,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for User diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/XmlItemTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/XmlItemTest.java index f9790cd7c6bd..9f7762e5dd92 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/XmlItemTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/test/java/org/openapitools/client/model/XmlItemTest.java @@ -18,16 +18,13 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Model tests for XmlItem diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java index 55ca413893fe..229060e12406 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import io.swagger.v3.oas.annotations.media.Schema; 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/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 63c93588f754..30bc466c4b62 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ModelApiResponse */ diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java index cff816437558..d23177e5be18 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java @@ -21,10 +21,10 @@ import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/PetTest.java index 3b8203bb37d3..96df06bd7fb4 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/PetTest.java @@ -21,13 +21,13 @@ import io.swagger.v3.oas.annotations.media.Schema; 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/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/TagTest.java index 9314dab84bb0..55188d073060 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/TagTest.java @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import io.swagger.v3.oas.annotations.media.Schema; 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/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/UserTest.java index 770a23cfc98d..d3986c107b9b 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/test/java/org/openapitools/client/model/UserTest.java @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for User */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index 0f49c5e2e01c..9f059948f816 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -2,23 +2,31 @@ * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * - * OpenAPI spec version: 1.0.0 - * + * The version of the OpenAPI document: 1.0.0 + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -package org.openapitools.client.api; +package org.openapitools.client.api; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; import org.openapitools.client.ApiException; +import java.math.BigDecimal; import org.openapitools.client.model.Client; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; -/** API tests for AnotherFakeApi */ +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for AnotherFakeApi + */ @Disabled public class AnotherFakeApiTest { @@ -27,15 +35,51 @@ public class AnotherFakeApiTest { /** * To test special tags * - *

To test special tags and operation ID starting with number + * To test special tags and operation ID starting with number * * @throws ApiException if the Api call fails */ @Test public void call123testSpecialTagsTest() throws ApiException { - Client body = null; - Client response = api.call123testSpecialTags(body); + Client client = null; + Client response = api.call123testSpecialTags(client); + // TODO: test validations + } + /** + * parameter array number default value + * + * @throws ApiException if the Api call fails + */ + @Test + public void getParameterArrayNumberTest() throws ApiException { + List array = null; + api.getParameterArrayNumber(array); // TODO: test validations } + + /** + * parameter string number + * + * @throws ApiException if the Api call fails + */ + @Test + public void getParameterStringNumberTest() throws ApiException { + BigDecimal stringNumber = null; + api.getParameterStringNumber(stringNumber); + // TODO: test validations + } + + /** + * null request body + * + * @throws ApiException if the Api call fails + */ + @Test + public void nullRequestBodyTest() throws ApiException { + String acceptLanguage = null; + api.nullRequestBody(acceptLanguage); + // TODO: test validations + } + } diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/DefaultApiTest.java index 2672798d71da..9dbc195b0857 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -14,6 +14,8 @@ package org.openapitools.client.api; import org.openapitools.client.ApiException; +import org.openapitools.client.model.FakeAnyOfWIthSameErasureGet200Response; +import org.openapitools.client.model.FakeOneOfWIthSameErasureGet200Response; import org.openapitools.client.model.FooGetDefaultResponse; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -31,6 +33,39 @@ public class DefaultApiTest { private final DefaultApi api = new DefaultApi(); + /** + * Test route, this shouldn't cause a compiler error + * + * @throws ApiException if the Api call fails + */ + @Test + public void fakeAnyOfWIthSameErasureGetTest() throws ApiException { + FakeAnyOfWIthSameErasureGet200Response response = api.fakeAnyOfWIthSameErasureGet(); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void fakeFreeFormQueryParametersGetTest() throws ApiException { + String fixed = null; + Object freeForm = null; + api.fakeFreeFormQueryParametersGet(fixed, freeForm); + // TODO: test validations + } + + /** + * Test route, this shouldn't cause a compiler error + * + * @throws ApiException if the Api call fails + */ + @Test + public void fakeOneOfWIthSameErasureGetTest() throws ApiException { + FakeOneOfWIthSameErasureGet200Response response = api.fakeOneOfWIthSameErasureGet(); + // TODO: test validations + } + /** * @throws ApiException if the Api call fails */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeApiTest.java index 9a44aacd233a..d02ae0d2a053 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -16,10 +16,13 @@ import org.openapitools.client.ApiException; import java.math.BigDecimal; import org.openapitools.client.model.Client; +import org.openapitools.client.model.FakeRefParameterPetIdParameter; import java.io.File; import org.openapitools.client.model.FileSchemaTestClass; +import org.openapitools.client.model.FreeFormObjectTestClass; import org.openapitools.client.model.HealthCheckResult; import java.time.LocalDate; +import org.openapitools.client.model.ModelApiResponse; import java.time.OffsetDateTime; import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterEnum; @@ -41,6 +44,17 @@ public class FakeApiTest { private final FakeApi api = new FakeApi(); + /** + * Get a free form object or Json string + * + * @throws ApiException if the Api call fails + */ + @Test + public void fakeGetFreeFormObjectGetTest() throws ApiException { + FreeFormObjectTestClass response = api.fakeGetFreeFormObjectGet(); + // TODO: test validations + } + /** * Test serialization of outer boolean types * @@ -89,6 +103,36 @@ public void fakeOuterStringSerializeTest() throws ApiException { // TODO: test validations } + /** + * fake reference parameter + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void fakeRefParameterTest() throws ApiException { + FakeRefParameterPetIdParameter petId = null; + api.fakeRefParameter(petId); + // TODO: test validations + } + + /** + * fake reference parameter + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void fakeUploadRefRequestBodiesTest() throws ApiException { + Long petId = null; + String additionalMetadata = null; + File _file = null; + ModelApiResponse response = api.fakeUploadRefRequestBodies(petId, additionalMetadata, _file); + // TODO: test validations + } + /** * Array of Enums * diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 3eb19491b9b0..aa1b824dd5a2 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -2,23 +2,30 @@ * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * - * OpenAPI spec version: 1.0.0 - * + * The version of the OpenAPI document: 1.0.0 + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -package org.openapitools.client.api; +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.Client; +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; -/** API tests for FakeClassnameTags123Api */ +/** + * API tests for FakeClassnameTags123Api + */ @Disabled public class FakeClassnameTags123ApiTest { @@ -27,15 +34,15 @@ public class FakeClassnameTags123ApiTest { /** * To test class name in snake case * - *

To test class name in snake case + * To test class name in snake case * * @throws ApiException if the Api call fails */ @Test public void testClassnameTest() throws ApiException { - Client body = null; - Client response = api.testClassname(body); - + Client client = null; + Client response = api.testClassname(client); // TODO: test validations } + } diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/StoreApiTest.java index b9c5785e5ca3..98354ba10c08 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -2,24 +2,30 @@ * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * - * OpenAPI spec version: 1.0.0 - * + * The version of the OpenAPI document: 1.0.0 + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -package org.openapitools.client.api; +package org.openapitools.client.api; -import java.util.Map; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; -/** API tests for StoreApi */ +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for StoreApi + */ @Disabled public class StoreApiTest { @@ -28,8 +34,7 @@ public class StoreApiTest { /** * Delete purchase order by ID * - *

For valid response try integer IDs with value < 1000. Anything above 1000 or - * nonintegers will generate API errors + * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors * * @throws ApiException if the Api call fails */ @@ -37,29 +42,26 @@ public class StoreApiTest { public void deleteOrderTest() throws ApiException { String orderId = null; api.deleteOrder(orderId); - // TODO: test validations } /** * Returns pet inventories by status * - *

Returns a map of status codes to quantities + * Returns a map of status codes to quantities * * @throws ApiException if the Api call fails */ @Test public void getInventoryTest() throws ApiException { Map response = api.getInventory(); - // TODO: test validations } /** * Find purchase order by ID * - *

For valid response try integer IDs with value <= 5 or > 10. Other values will - * generated exceptions + * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions * * @throws ApiException if the Api call fails */ @@ -67,20 +69,21 @@ public void getInventoryTest() throws ApiException { public void getOrderByIdTest() throws ApiException { Long orderId = null; Order response = api.getOrderById(orderId); - // TODO: test validations } /** * Place an order for a pet * + * + * * @throws ApiException if the Api call fails */ @Test public void placeOrderTest() throws ApiException { - Order body = null; - Order response = api.placeOrder(body); - + Order order = null; + Order response = api.placeOrder(order); // TODO: test validations } + } diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/UserApiTest.java index 50a958f2fd01..aa9aff49b4df 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -2,24 +2,31 @@ * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * - * OpenAPI spec version: 1.0.0 - * + * The version of the OpenAPI document: 1.0.0 + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -package org.openapitools.client.api; +package org.openapitools.client.api; -import java.util.List; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; import org.openapitools.client.ApiException; +import java.time.OffsetDateTime; import org.openapitools.client.model.User; +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; -/** API tests for UserApi */ +/** + * API tests for UserApi + */ @Disabled public class UserApiTest { @@ -28,48 +35,49 @@ public class UserApiTest { /** * Create user * - *

This can only be done by the logged in user. + * This can only be done by the logged in user. * * @throws ApiException if the Api call fails */ @Test public void createUserTest() throws ApiException { - User body = null; - api.createUser(body); - + User user = null; + api.createUser(user); // TODO: test validations } /** * Creates list of users with given input array * + * + * * @throws ApiException if the Api call fails */ @Test public void createUsersWithArrayInputTest() throws ApiException { - List body = null; - api.createUsersWithArrayInput(body); - + List user = null; + api.createUsersWithArrayInput(user); // TODO: test validations } /** * Creates list of users with given input array * + * + * * @throws ApiException if the Api call fails */ @Test public void createUsersWithListInputTest() throws ApiException { - List body = null; - api.createUsersWithListInput(body); - + List user = null; + api.createUsersWithListInput(user); // TODO: test validations } /** * Delete user * - *

This can only be done by the logged in user. + * This can only be done by the logged in user. * * @throws ApiException if the Api call fails */ @@ -77,26 +85,28 @@ public void createUsersWithListInputTest() throws ApiException { public void deleteUserTest() throws ApiException { String username = null; api.deleteUser(username); - // TODO: test validations } /** * Get user by user name * + * + * * @throws ApiException if the Api call fails */ @Test public void getUserByNameTest() throws ApiException { String username = null; User response = api.getUserByName(username); - // TODO: test validations } /** * Logs user into the system * + * + * * @throws ApiException if the Api call fails */ @Test @@ -104,35 +114,35 @@ public void loginUserTest() throws ApiException { String username = null; String password = null; String response = api.loginUser(username, password); - // TODO: test validations } /** * Logs out current logged in user session * + * + * * @throws ApiException if the Api call fails */ @Test public void logoutUserTest() throws ApiException { api.logoutUser(); - // TODO: test validations } /** * Updated user * - *

This can only be done by the logged in user. + * This can only be done by the logged in user. * * @throws ApiException if the Api call fails */ @Test public void updateUserTest() throws ApiException { String username = null; - User body = null; - api.updateUser(username, body); - + User user = null; + api.updateUser(username, user); // TODO: test validations } + } diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 074e6add3cc7..4d17345a18e7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -19,13 +19,13 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.openapitools.jackson.nullable.JsonNullable; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for AdditionalPropertiesClass */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AllOfModelArrayAnyOfTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AllOfModelArrayAnyOfTest.java index 15cde8b947b5..b34067d86460 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AllOfModelArrayAnyOfTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AllOfModelArrayAnyOfTest.java @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; +import org.openapitools.client.model.AllOfModelArrayAnyOfAllOfAttributes; import org.openapitools.client.model.AllOfModelArrayAnyOfAllOfLinkListColumn1; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -62,4 +63,12 @@ public void linkListColumn1Test() { // TODO: test linkListColumn1 } + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + } diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AnimalTest.java index cc4678583018..f30075833858 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -19,12 +19,10 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Animal */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleReqTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleReqTest.java index 772c2ac24bf3..ab1caf49d1bb 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleReqTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleReqTest.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 AppleReq */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleTest.java index 1b9fd1706d46..0cde246f3dd8 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/AppleTest.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 Apple */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInnerTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInnerTest.java index 15817f98e222..0be94bcc3466 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInnerTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInnerTest.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 ArrayOfInlineAllOfArrayAllofDogPropertyInner */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfTest.java index c887d6b4bc39..385ead61ffe5 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfInlineAllOfTest.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.ArrayOfInlineAllOfArrayAllofDogPropertyInner; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayOfInlineAllOf */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 8eb0bf5acd59..7121b15da89f 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -21,11 +21,11 @@ import java.io.IOException; import java.math.BigDecimal; 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 ArrayOfNumberOnly */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 63a98fbeff6d..da72462ec73d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ArrayTestTest.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.ReadOnlyFirst; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ArrayTest */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaReqTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaReqTest.java index 30568207995f..cf02d90b8c2c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaReqTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaReqTest.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 BananaReq */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaTest.java index 10f407730718..889087a653d4 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BananaTest.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 Banana */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BasquePigTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BasquePigTest.java index 0d9eec8e0f0b..b4e3ebde1882 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BasquePigTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/BasquePigTest.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 BasquePig */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 51745e8a2214..c3c69e049af7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CapitalizationTest.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 Capitalization */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CatTest.java index 23ab7c6c9045..f635d58df928 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CatTest.java @@ -19,11 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; +import java.util.Map; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Cat */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java index 30e7328449c0..03f1c7ec1d53 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/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/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClassModelTest.java index 0e6956b33269..1666ebc79969 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClassModelTest.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 ClassModel */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClientTest.java index 22c1e8596146..140143b9573d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ClientTest.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 Client */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java index c544a3da00cb..ae249afb2a59 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.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 ComplexQuadrilateral */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DanishPigTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DanishPigTest.java index 2a265236c260..f1a269899574 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DanishPigTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DanishPigTest.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 DanishPig */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index bf3e5f6e21da..1b298f1bd159 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.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 DeprecatedObject */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DogTest.java index 99c282235ce9..844e3e06f5e1 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DogTest.java @@ -19,11 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Dog */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DrawingTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DrawingTest.java index 8232c871009b..d6834d1985e3 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DrawingTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/DrawingTest.java @@ -20,6 +20,7 @@ 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.Fruit; import org.openapitools.client.model.NullableShape; @@ -29,7 +30,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Drawing */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 9ca44c3d5e53..02954e6a6839 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumArraysTest.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 EnumArrays */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumClassTest.java index 88c982a61df2..bed8681219e8 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumClass */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumStringDiscriminatorTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumStringDiscriminatorTest.java index 9d4c8e553954..ef8bbbfac3f2 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumStringDiscriminatorTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumStringDiscriminatorTest.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 EnumStringDiscriminator */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumTestTest.java index 79bd51ad8532..320df9ad3ebf 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -19,6 +19,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnumDefaultValue; import org.openapitools.client.model.OuterEnumInteger; @@ -27,7 +28,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for EnumTest */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java index edd7afe14210..181c439fa18c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.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 EquilateralTriangle */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index 75af6c26a264..79eccbf4beef 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.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.ModelFile; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FileSchemaTestClass */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index 4e9ebc39952c..83fc00cea450 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -19,11 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Foo; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FooGetDefaultResponse */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooTest.java index 562b545ffb65..8dd27992bc1c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FooTest.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 Foo */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FormatTestTest.java index 9e091ac1614d..e2b6ed61d88b 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -23,11 +23,11 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FormatTest */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitReqTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitReqTest.java index 95ea123b1399..d4bdb5f312ff 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitReqTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitReqTest.java @@ -20,12 +20,12 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.AppleReq; import org.openapitools.client.model.BananaReq; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for FruitReq */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitTest.java index bd7cd5827a4b..bc4e5e54130d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/FruitTest.java @@ -20,12 +20,12 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Fruit */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GmFruitTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GmFruitTest.java index 03b9a54d490a..68c8179498de 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GmFruitTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GmFruitTest.java @@ -20,12 +20,12 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for GmFruit */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java index dccfda8c772d..8247ad12829b 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java @@ -19,11 +19,10 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; -import org.openapitools.client.model.ParentPet; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for GrandparentAnimal */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index 12879ebf3951..f63bf66b1775 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.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 HasOnlyReadOnly */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index c424fb717e8e..a6e06e3dbd8c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -19,11 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for HealthCheckResult */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java index b45919dadadd..728d1af34f26 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.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 IsoscelesTriangle */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MammalTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MammalTest.java index a2682988c72e..af5250405311 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MammalTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MammalTest.java @@ -19,13 +19,13 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Pig; import org.openapitools.client.model.Whale; import org.openapitools.client.model.Zebra; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Mammal */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MapTestTest.java index f2515c398b94..0587a961b146 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -19,12 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MapTest */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index 03df28593f69..1cc69bedcd83 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; @@ -27,7 +28,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index aa3d6381861b..01b44a53b4fa 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/Model200ResponseTest.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 Model200Response */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 3f61010629ae..9480c9ee0ff7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelApiResponseTest.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 ModelApiResponse */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelFileTest.java index 5e868346f88d..a84242272474 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelFileTest.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 ModelFile */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelListTest.java index 8ec190bf5446..ea5a55185989 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelListTest.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 ModelList */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelReturnTest.java index dae92f89a6c4..10c7841ba3c1 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ModelReturnTest.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 ModelReturn */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NameTest.java index 7086457d5cf7..52eae7974bc1 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NameTest.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 Name */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NewPetTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NewPetTest.java index 60bf0e74410b..dc4188473fd2 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NewPetTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NewPetTest.java @@ -50,6 +50,22 @@ public void idTest() { // TODO: test id } + /** + * Test the property 'categoryRefToInlineAllofString' + */ + @Test + public void categoryRefToInlineAllofStringTest() { + // TODO: test categoryRefToInlineAllofString + } + + /** + * Test the property 'categoryInlineAllofString' + */ + @Test + public void categoryInlineAllofStringTest() { + // TODO: test categoryInlineAllofString + } + /** * Test the property 'categoryInlineAllof' */ @@ -66,6 +82,22 @@ public void categoryAllOfRefTest() { // TODO: test categoryAllOfRef } + /** + * Test the property 'categoryAllOfRefDescription' + */ + @Test + public void categoryAllOfRefDescriptionTest() { + // TODO: test categoryAllOfRefDescription + } + + /** + * Test the property 'categoryAllOfRefDescriptionReadonly' + */ + @Test + public void categoryAllOfRefDescriptionReadonlyTest() { + // TODO: test categoryAllOfRefDescriptionReadonly + } + /** * Test the property 'name' */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableClassTest.java index 1f72849e9f2e..0a0595ca0e65 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -23,6 +23,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -30,7 +31,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableClass */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableShapeTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableShapeTest.java index 0026a5188e53..dbc420fae72d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableShapeTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NullableShapeTest.java @@ -19,12 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for NullableShape */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index b01e135a260c..774200c9f6bc 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/NumberOnlyTest.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 NumberOnly */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index 0f59cf5baec5..452495e83d31 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -21,12 +21,12 @@ import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeprecatedObject; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ObjectWithDeprecatedFields */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OrderTest.java index 9dff581d403e..adcfde4a33d0 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OrderTest.java @@ -20,10 +20,10 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Order */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 3b6aa4c90338..794328118065 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterCompositeTest.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 OuterComposite */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java index 57ed09918adc..6b324784e1d6 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumDefaultValue */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java index 70cae81500e3..ffb20a97973b 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumIntegerDefaultValue */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java index fc666e9da3bb..be0665bb740e 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnumInteger */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumTest.java index 61cb88bb3dba..8ab11b65cbde 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for OuterEnum */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ParentPetTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ParentPetTest.java index 02011765f760..226366f49666 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ParentPetTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ParentPetTest.java @@ -19,11 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.GrandparentAnimal; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ParentPet */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetRefTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetRefTest.java index cbad73a0cdec..a47d91415890 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetRefTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetRefTest.java @@ -19,7 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; +import org.openapitools.client.model.Category; +import org.openapitools.client.model.Tag; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -37,6 +41,46 @@ public void testPetRef() { // TODO: test PetRef } + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'category' + */ + @Test + public void categoryTest() { + // TODO: test category + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'photoUrls' + */ + @Test + public void photoUrlsTest() { + // TODO: test photoUrls + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + /** * Test the property 'status' */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetWithRequiredTagsTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetWithRequiredTagsTest.java index e511e57ccd11..a338a337dc6d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetWithRequiredTagsTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetWithRequiredTagsTest.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 PetWithRequiredTags */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PigTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PigTest.java index c9682283bf91..43341a064965 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PigTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PigTest.java @@ -19,12 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.BasquePig; import org.openapitools.client.model.DanishPig; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Pig */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java index ef395cadb635..09636aa063b8 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.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 QuadrilateralInterface */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralTest.java index ff4674d4cd38..9615c3cddbee 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/QuadrilateralTest.java @@ -19,12 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.ComplexQuadrilateral; import org.openapitools.client.model.SimpleQuadrilateral; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Quadrilateral */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index 28bbe600c7f3..c4b3c2a8d09d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.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 ReadOnlyFirst */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java index 38716e473983..eaa8c5949fb2 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.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 ScaleneTriangle */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java index bd20c12251af..5ca1df738506 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.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 ShapeInterface */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java index 0164b509cfd8..c6897d03888f 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java @@ -19,12 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for ShapeOrNull */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeTest.java index 3343750c59c1..90dcd3533662 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ShapeTest.java @@ -19,12 +19,12 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Shape */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java index b794d1cf052c..4479450f2a90 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.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 SimpleQuadrilateral */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index a61cb4663f26..49c1845b64ca 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/SpecialModelNameTest.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 SpecialModelName */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java index 4642d1e931d2..6f38d0223841 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/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/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java index 832f887bcf92..51c68d94db47 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.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 TriangleInterface */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleTest.java index 26267f88100a..92acf4e566cb 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/TriangleTest.java @@ -19,13 +19,13 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.client.model.EquilateralTriangle; import org.openapitools.client.model.IsoscelesTriangle; import org.openapitools.client.model.ScaleneTriangle; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for Triangle */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/UserTest.java index 225980e83662..eea5bbb3866d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/UserTest.java @@ -19,11 +19,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - /** * Model tests for User */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ValueTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ValueTest.java index 2d375187d814..69a85d2116cc 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ValueTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ValueTest.java @@ -13,6 +13,7 @@ package org.openapitools.client.model; +import java.util.List; import org.openapitools.client.model.Scalar; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/WhaleTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/WhaleTest.java index 5ef53c4ee1c9..97bcae4987b4 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/WhaleTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/WhaleTest.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 Whale */ diff --git a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ZebraTest.java b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ZebraTest.java index a893fca3fe31..73aa9b2b4e7a 100644 --- a/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ZebraTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/ZebraTest.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 Zebra */ diff --git a/samples/client/petstore/java/restclient-nullable-arrays/pom.xml b/samples/client/petstore/java/restclient-nullable-arrays/pom.xml index e744bf677ff9..e3cbc88733eb 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/pom.xml +++ b/samples/client/petstore/java/restclient-nullable-arrays/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/petstore/java/restclient-swagger2/pom.xml b/samples/client/petstore/java/restclient-swagger2/pom.xml index fd0cc38e229a..5ec46d119590 100644 --- a/samples/client/petstore/java/restclient-swagger2/pom.xml +++ b/samples/client/petstore/java/restclient-swagger2/pom.xml @@ -66,7 +66,7 @@ -Xms512m -Xmx1500m methods - pertest + false true @@ -276,12 +276,6 @@ ${junit-version} test - - org.junit.platform - junit-platform-runner - ${junit-platform-runner.version} - test - UTF-8 @@ -293,6 +287,5 @@ 2.1.1 3.0.2 5.10.2 - 1.10.0 diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml b/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml index b76cf6c2dd24..05566ac5820e 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/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/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index f17f97c4def1..9960e0bec21f 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -14,8 +14,8 @@ package org.openapitools.client.api; import org.openapitools.client.model.Client; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,7 +26,7 @@ /** * API tests for AnotherFakeApi */ -@Ignore +@Disabled public class AnotherFakeApiTest { private final AnotherFakeApi api = new AnotherFakeApi(); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/DefaultApiTest.java index be7d082abc61..6a143cec05bd 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -14,8 +14,8 @@ package org.openapitools.client.api; import org.openapitools.client.model.FooGetDefaultResponse; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,7 +26,7 @@ /** * API tests for DefaultApi */ -@Ignore +@Disabled public class DefaultApiTest { private final DefaultApi api = new DefaultApi(); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeApiTest.java index fd55e7b08a6e..232d5f66bdf0 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -28,8 +28,8 @@ import org.openapitools.client.model.Pet; import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -40,7 +40,7 @@ /** * API tests for FakeApi */ -@Ignore +@Disabled public class FakeApiTest { private final FakeApi api = new FakeApi(); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 9b9e18fb2339..b5902a7bafa6 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -14,8 +14,8 @@ package org.openapitools.client.api; import org.openapitools.client.model.Client; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,7 +26,7 @@ /** * API tests for FakeClassnameTags123Api */ -@Ignore +@Disabled public class FakeClassnameTags123ApiTest { private final FakeClassnameTags123Api api = new FakeClassnameTags123Api(); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/PetApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/PetApiTest.java index 005740d942a3..ad5e55343b73 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/PetApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/PetApiTest.java @@ -17,8 +17,8 @@ import org.openapitools.client.model.ModelApiResponse; import org.openapitools.client.model.Pet; import java.util.Set; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -29,7 +29,7 @@ /** * API tests for PetApi */ -@Ignore +@Disabled public class PetApiTest { private final PetApi api = new PetApi(); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/StoreApiTest.java index 682b18f0b1d3..323ed1ee3403 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -14,8 +14,8 @@ package org.openapitools.client.api; import org.openapitools.client.model.Order; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -26,7 +26,7 @@ /** * API tests for StoreApi */ -@Ignore +@Disabled public class StoreApiTest { private final StoreApi api = new StoreApi(); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/UserApiTest.java index a0323a123514..8d57a6b24a94 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -15,8 +15,8 @@ import java.time.OffsetDateTime; import org.openapitools.client.model.User; -import org.junit.Test; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; @@ -27,7 +27,7 @@ /** * API tests for UserApi */ -@Ignore +@Disabled public class UserApiTest { private final UserApi api = new UserApi(); diff --git a/samples/client/petstore/java/restclient/pom.xml b/samples/client/petstore/java/restclient/pom.xml index ff4d29f2afad..9d5369c46fb4 100644 --- a/samples/client/petstore/java/restclient/pom.xml +++ b/samples/client/petstore/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/petstore/java/resteasy/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java index bfa256f1e32b..7fd5c073edf2 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java @@ -15,9 +15,9 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -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 AnotherFakeApi */ -public class AnotherFakeApiTest { +class AnotherFakeApiTest { private final AnotherFakeApi api = new AnotherFakeApi(); @@ -42,7 +42,7 @@ public class AnotherFakeApiTest { * if the Api call fails */ @Test - public void call123testSpecialTagsTest() throws ApiException { + void call123testSpecialTagsTest() throws ApiException { // //Client client = null; // diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/DefaultApiTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/DefaultApiTest.java index a4c30f626ba8..961c9d29c28d 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/DefaultApiTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/DefaultApiTest.java @@ -15,9 +15,9 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.FooGetDefaultResponse; -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 DefaultApi */ -public class DefaultApiTest { +class DefaultApiTest { private final DefaultApi api = new DefaultApi(); @@ -38,7 +38,7 @@ public class DefaultApiTest { * if the Api call fails */ @Test - public void fooGetTest() throws ApiException { + void fooGetTest() throws ApiException { // //FooGetDefaultResponse response = api.fooGet(); diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeApiTest.java index 168aeba61642..86c6e1ed9a06 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -15,6 +15,7 @@ import org.openapitools.client.ApiException; import java.math.BigDecimal; +import org.openapitools.client.model.ChildWithNullable; import org.openapitools.client.model.Client; import org.openapitools.client.model.EnumClass; import org.openapitools.client.model.FakeBigDecimalMap200Response; @@ -26,10 +27,11 @@ import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterObjectWithEnumProperty; import org.openapitools.client.model.Pet; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; -import org.junit.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; @@ -41,7 +43,7 @@ /** * API tests for FakeApi */ -public class FakeApiTest { +class FakeApiTest { private final FakeApi api = new FakeApi(); @@ -52,7 +54,7 @@ public class FakeApiTest { * if the Api call fails */ @Test - public void fakeBigDecimalMapTest() throws ApiException { + void fakeBigDecimalMapTest() throws ApiException { // //FakeBigDecimalMap200Response response = api.fakeBigDecimalMap(); @@ -65,7 +67,7 @@ public void fakeBigDecimalMapTest() throws ApiException { * if the Api call fails */ @Test - public void fakeHealthGetTest() throws ApiException { + void fakeHealthGetTest() throws ApiException { // //HealthCheckResult response = api.fakeHealthGet(); @@ -78,7 +80,7 @@ public void fakeHealthGetTest() throws ApiException { * if the Api call fails */ @Test - public void fakeHttpSignatureTestTest() throws ApiException { + void fakeHttpSignatureTestTest() throws ApiException { // //Pet pet = null; // @@ -97,7 +99,7 @@ public void fakeHttpSignatureTestTest() throws ApiException { * if the Api call fails */ @Test - public void fakeOuterBooleanSerializeTest() throws ApiException { + void fakeOuterBooleanSerializeTest() throws ApiException { // //Boolean body = null; // @@ -112,7 +114,7 @@ public void fakeOuterBooleanSerializeTest() throws ApiException { * if the Api call fails */ @Test - public void fakeOuterCompositeSerializeTest() throws ApiException { + void fakeOuterCompositeSerializeTest() throws ApiException { // //OuterComposite outerComposite = null; // @@ -127,7 +129,7 @@ public void fakeOuterCompositeSerializeTest() throws ApiException { * if the Api call fails */ @Test - public void fakeOuterNumberSerializeTest() throws ApiException { + void fakeOuterNumberSerializeTest() throws ApiException { // //BigDecimal body = null; // @@ -142,7 +144,7 @@ public void fakeOuterNumberSerializeTest() throws ApiException { * if the Api call fails */ @Test - public void fakeOuterStringSerializeTest() throws ApiException { + void fakeOuterStringSerializeTest() throws ApiException { // //String body = null; // @@ -157,7 +159,7 @@ public void fakeOuterStringSerializeTest() throws ApiException { * if the Api call fails */ @Test - public void fakePropertyEnumIntegerSerializeTest() throws ApiException { + void fakePropertyEnumIntegerSerializeTest() throws ApiException { // //OuterObjectWithEnumProperty outerObjectWithEnumProperty = null; // @@ -165,6 +167,23 @@ public void fakePropertyEnumIntegerSerializeTest() throws ApiException { // TODO: test validations } + /** + * test referenced additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + void testAdditionalPropertiesReferenceTest() throws ApiException { + // + //Map requestBody = null; + // + //api.testAdditionalPropertiesReference(requestBody); + + // TODO: test validations + } /** * For this test, the body has to be a binary file. * @@ -172,7 +191,7 @@ public void fakePropertyEnumIntegerSerializeTest() throws ApiException { * if the Api call fails */ @Test - public void testBodyWithBinaryTest() throws ApiException { + void testBodyWithBinaryTest() throws ApiException { // //File body = null; // @@ -187,7 +206,7 @@ public void testBodyWithBinaryTest() throws ApiException { * if the Api call fails */ @Test - public void testBodyWithFileSchemaTest() throws ApiException { + void testBodyWithFileSchemaTest() throws ApiException { // //FileSchemaTestClass fileSchemaTestClass = null; // @@ -200,7 +219,7 @@ public void testBodyWithFileSchemaTest() throws ApiException { * if the Api call fails */ @Test - public void testBodyWithQueryParamsTest() throws ApiException { + void testBodyWithQueryParamsTest() throws ApiException { // //String query = null; // @@ -219,7 +238,7 @@ public void testBodyWithQueryParamsTest() throws ApiException { * if the Api call fails */ @Test - public void testClientModelTest() throws ApiException { + void testClientModelTest() throws ApiException { // //Client client = null; // @@ -236,7 +255,7 @@ public void testClientModelTest() throws ApiException { * if the Api call fails */ @Test - public void testEndpointParametersTest() throws ApiException { + void testEndpointParametersTest() throws ApiException { // //BigDecimal number = null; // @@ -279,7 +298,7 @@ public void testEndpointParametersTest() throws ApiException { * if the Api call fails */ @Test - public void testEnumParametersTest() throws ApiException { + void testEnumParametersTest() throws ApiException { // //List enumHeaderStringArray = null; // @@ -312,7 +331,7 @@ public void testEnumParametersTest() throws ApiException { * if the Api call fails */ @Test - public void testGroupParametersTest() throws ApiException { + void testGroupParametersTest() throws ApiException { // //Integer requiredStringGroup = null; // @@ -339,7 +358,7 @@ public void testGroupParametersTest() throws ApiException { * if the Api call fails */ @Test - public void testInlineAdditionalPropertiesTest() throws ApiException { + void testInlineAdditionalPropertiesTest() throws ApiException { // //Map requestBody = null; // @@ -347,6 +366,23 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { // TODO: test validations } + /** + * test inline free-form additionalProperties + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + void testInlineFreeformAdditionalPropertiesTest() throws ApiException { + // + //TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + // + //api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + + // TODO: test validations + } /** * test json serialization of form data * @@ -356,7 +392,7 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { * if the Api call fails */ @Test - public void testJsonFormDataTest() throws ApiException { + void testJsonFormDataTest() throws ApiException { // //String param = null; // @@ -366,6 +402,23 @@ public void testJsonFormDataTest() throws ApiException { // TODO: test validations } + /** + * test nullable parent property + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + void testNullableTest() throws ApiException { + // + //ChildWithNullable childWithNullable = null; + // + //api.testNullable(childWithNullable); + + // TODO: test validations + } /** * To test the collection format in query parameters * @@ -373,7 +426,7 @@ public void testJsonFormDataTest() throws ApiException { * if the Api call fails */ @Test - public void testQueryParameterCollectionFormatTest() throws ApiException { + void testQueryParameterCollectionFormatTest() throws ApiException { // //List pipe = null; // @@ -391,6 +444,23 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { // //api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language); + // TODO: test validations + } + /** + * test referenced string map + * + * + * + * @throws ApiException + * if the Api call fails + */ + @Test + void testStringMapReferenceTest() throws ApiException { + // + //Map requestBody = null; + // + //api.testStringMapReference(requestBody); + // TODO: test validations } } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java index 631ee0453c3c..7c52ad99bb8f 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java @@ -15,9 +15,9 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Client; -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 FakeClassnameTags123Api */ -public class FakeClassnameTags123ApiTest { +class FakeClassnameTags123ApiTest { private final FakeClassnameTags123Api api = new FakeClassnameTags123Api(); @@ -42,7 +42,7 @@ public class FakeClassnameTags123ApiTest { * if the Api call fails */ @Test - public void testClassnameTest() throws ApiException { + void testClassnameTest() throws ApiException { // //Client client = null; // diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/StoreApiTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/StoreApiTest.java index 049b5387a8ee..68fa3939e5a3 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/StoreApiTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/StoreApiTest.java @@ -15,9 +15,9 @@ import org.openapitools.client.ApiException; import org.openapitools.client.model.Order; -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 StoreApi */ -public class StoreApiTest { +class StoreApiTest { private final StoreApi api = new StoreApi(); @@ -42,7 +42,7 @@ public class StoreApiTest { * if the Api call fails */ @Test - public void deleteOrderTest() throws ApiException { + void deleteOrderTest() throws ApiException { // //String orderId = null; // @@ -59,7 +59,7 @@ public void deleteOrderTest() throws ApiException { * if the Api call fails */ @Test - public void getInventoryTest() throws ApiException { + void getInventoryTest() throws ApiException { // //Map response = api.getInventory(); @@ -74,7 +74,7 @@ public void getInventoryTest() throws ApiException { * if the Api call fails */ @Test - public void getOrderByIdTest() throws ApiException { + void getOrderByIdTest() throws ApiException { // //Long orderId = null; // @@ -91,7 +91,7 @@ public void getOrderByIdTest() throws ApiException { * if the Api call fails */ @Test - public void placeOrderTest() throws ApiException { + void placeOrderTest() throws ApiException { // //Order order = null; // diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/UserApiTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/UserApiTest.java index f4a9f3878228..d4da5c1c0d6e 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/UserApiTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/api/UserApiTest.java @@ -16,9 +16,9 @@ import org.openapitools.client.ApiException; import java.time.OffsetDateTime; import org.openapitools.client.model.User; -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; @@ -30,7 +30,7 @@ /** * API tests for UserApi */ -public class UserApiTest { +class UserApiTest { private final UserApi api = new UserApi(); @@ -43,7 +43,7 @@ public class UserApiTest { * if the Api call fails */ @Test - public void createUserTest() throws ApiException { + void createUserTest() throws ApiException { // //User user = null; // @@ -60,7 +60,7 @@ public void createUserTest() throws ApiException { * if the Api call fails */ @Test - public void createUsersWithArrayInputTest() throws ApiException { + void createUsersWithArrayInputTest() throws ApiException { // //List user = null; // @@ -77,7 +77,7 @@ public void createUsersWithArrayInputTest() throws ApiException { * if the Api call fails */ @Test - public void createUsersWithListInputTest() throws ApiException { + void createUsersWithListInputTest() throws ApiException { // //List user = null; // @@ -94,7 +94,7 @@ public void createUsersWithListInputTest() throws ApiException { * if the Api call fails */ @Test - public void deleteUserTest() throws ApiException { + void deleteUserTest() throws ApiException { // //String username = null; // @@ -111,7 +111,7 @@ public void deleteUserTest() throws ApiException { * if the Api call fails */ @Test - public void getUserByNameTest() throws ApiException { + void getUserByNameTest() throws ApiException { // //String username = null; // @@ -128,7 +128,7 @@ public void getUserByNameTest() throws ApiException { * if the Api call fails */ @Test - public void loginUserTest() throws ApiException { + void loginUserTest() throws ApiException { // //String username = null; // @@ -147,7 +147,7 @@ public void loginUserTest() throws ApiException { * if the Api call fails */ @Test - public void logoutUserTest() throws ApiException { + void logoutUserTest() throws ApiException { // //api.logoutUser(); @@ -162,7 +162,7 @@ public void logoutUserTest() throws ApiException { * if the Api call fails */ @Test - public void updateUserTest() throws ApiException { + void updateUserTest() throws ApiException { // //String username = null; // diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 787d688e130c..6bdecfe07c92 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -27,14 +27,14 @@ /** * Model tests for AdditionalPropertiesClass */ -public class AdditionalPropertiesClassTest { +class AdditionalPropertiesClassTest { private final AdditionalPropertiesClass model = new AdditionalPropertiesClass(); /** * Model tests for AdditionalPropertiesClass */ @Test - public void testAdditionalPropertiesClass() { + void testAdditionalPropertiesClass() { // TODO: test AdditionalPropertiesClass } @@ -42,7 +42,7 @@ public void testAdditionalPropertiesClass() { * Test the property 'mapProperty' */ @Test - public void mapPropertyTest() { + void mapPropertyTest() { // TODO: test mapProperty } @@ -50,7 +50,7 @@ public void mapPropertyTest() { * Test the property 'mapOfMapProperty' */ @Test - public void mapOfMapPropertyTest() { + void mapOfMapPropertyTest() { // TODO: test mapOfMapProperty } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java index 3f04e91bf130..f4b06d323d63 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java @@ -26,14 +26,14 @@ /** * Model tests for AllOfWithSingleRef */ -public class AllOfWithSingleRefTest { +class AllOfWithSingleRefTest { private final AllOfWithSingleRef model = new AllOfWithSingleRef(); /** * Model tests for AllOfWithSingleRef */ @Test - public void testAllOfWithSingleRef() { + void testAllOfWithSingleRef() { // TODO: test AllOfWithSingleRef } @@ -41,7 +41,7 @@ public void testAllOfWithSingleRef() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -49,7 +49,7 @@ public void usernameTest() { * Test the property 'singleRefType' */ @Test - public void singleRefTypeTest() { + void singleRefTypeTest() { // TODO: test singleRefType } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AnimalTest.java index f461e8aee76b..24776d3cb515 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -28,14 +28,14 @@ /** * Model tests for Animal */ -public class AnimalTest { +class AnimalTest { private final Animal model = new Animal(); /** * Model tests for Animal */ @Test - public void testAnimal() { + void testAnimal() { // TODO: test Animal } @@ -43,7 +43,7 @@ public void testAnimal() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -51,7 +51,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index a58ead431986..6bbe877044db 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -29,14 +29,14 @@ /** * Model tests for ArrayOfArrayOfNumberOnly */ -public class ArrayOfArrayOfNumberOnlyTest { +class ArrayOfArrayOfNumberOnlyTest { private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly(); /** * Model tests for ArrayOfArrayOfNumberOnly */ @Test - public void testArrayOfArrayOfNumberOnly() { + void testArrayOfArrayOfNumberOnly() { // TODO: test ArrayOfArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfArrayOfNumberOnly() { * Test the property 'arrayArrayNumber' */ @Test - public void arrayArrayNumberTest() { + void arrayArrayNumberTest() { // TODO: test arrayArrayNumber } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 02ec7e7c56b5..eaf908bb1ab7 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -29,14 +29,14 @@ /** * Model tests for ArrayOfNumberOnly */ -public class ArrayOfNumberOnlyTest { +class ArrayOfNumberOnlyTest { private final ArrayOfNumberOnly model = new ArrayOfNumberOnly(); /** * Model tests for ArrayOfNumberOnly */ @Test - public void testArrayOfNumberOnly() { + void testArrayOfNumberOnly() { // TODO: test ArrayOfNumberOnly } @@ -44,7 +44,7 @@ public void testArrayOfNumberOnly() { * Test the property 'arrayNumber' */ @Test - public void arrayNumberTest() { + void arrayNumberTest() { // TODO: test arrayNumber } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayTestTest.java index ab92570feca3..99c6bcf53601 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ArrayTestTest.java @@ -29,14 +29,14 @@ /** * Model tests for ArrayTest */ -public class ArrayTestTest { +class ArrayTestTest { private final ArrayTest model = new ArrayTest(); /** * Model tests for ArrayTest */ @Test - public void testArrayTest() { + void testArrayTest() { // TODO: test ArrayTest } @@ -44,7 +44,7 @@ public void testArrayTest() { * Test the property 'arrayOfString' */ @Test - public void arrayOfStringTest() { + void arrayOfStringTest() { // TODO: test arrayOfString } @@ -52,7 +52,7 @@ public void arrayOfStringTest() { * Test the property 'arrayArrayOfInteger' */ @Test - public void arrayArrayOfIntegerTest() { + void arrayArrayOfIntegerTest() { // TODO: test arrayArrayOfInteger } @@ -60,7 +60,7 @@ public void arrayArrayOfIntegerTest() { * Test the property 'arrayArrayOfModel' */ @Test - public void arrayArrayOfModelTest() { + void arrayArrayOfModelTest() { // TODO: test arrayArrayOfModel } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CapitalizationTest.java index d6017d040975..a0217acd1f20 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -25,14 +25,14 @@ /** * Model tests for Capitalization */ -public class CapitalizationTest { +class CapitalizationTest { private final Capitalization model = new Capitalization(); /** * Model tests for Capitalization */ @Test - public void testCapitalization() { + void testCapitalization() { // TODO: test Capitalization } @@ -40,7 +40,7 @@ public void testCapitalization() { * Test the property 'smallCamel' */ @Test - public void smallCamelTest() { + void smallCamelTest() { // TODO: test smallCamel } @@ -48,7 +48,7 @@ public void smallCamelTest() { * Test the property 'capitalCamel' */ @Test - public void capitalCamelTest() { + void capitalCamelTest() { // TODO: test capitalCamel } @@ -56,7 +56,7 @@ public void capitalCamelTest() { * Test the property 'smallSnake' */ @Test - public void smallSnakeTest() { + void smallSnakeTest() { // TODO: test smallSnake } @@ -64,7 +64,7 @@ public void smallSnakeTest() { * Test the property 'capitalSnake' */ @Test - public void capitalSnakeTest() { + void capitalSnakeTest() { // TODO: test capitalSnake } @@ -72,7 +72,7 @@ public void capitalSnakeTest() { * Test the property 'scAETHFlowPoints' */ @Test - public void scAETHFlowPointsTest() { + void scAETHFlowPointsTest() { // TODO: test scAETHFlowPoints } @@ -80,7 +80,7 @@ public void scAETHFlowPointsTest() { * Test the property 'ATT_NAME' */ @Test - public void ATT_NAMETest() { + void ATT_NAMETest() { // TODO: test ATT_NAME } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CatTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CatTest.java index 5a63409b79dd..1b389a075be0 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CatTest.java @@ -29,14 +29,14 @@ /** * Model tests for Cat */ -public class CatTest { +class CatTest { private final Cat model = new Cat(); /** * Model tests for Cat */ @Test - public void testCat() { + void testCat() { // TODO: test Cat } @@ -44,7 +44,7 @@ public void testCat() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -52,7 +52,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -60,7 +60,7 @@ public void colorTest() { * Test the property 'declawed' */ @Test - public void declawedTest() { + void declawedTest() { // TODO: test declawed } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java index d4909139f429..22fcbd7f3ccb 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/client/petstore/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/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java index a109c6f71758..a89d26497bc3 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java @@ -30,14 +30,14 @@ /** * Model tests for ChildWithNullable */ -public class ChildWithNullableTest { +class ChildWithNullableTest { private final ChildWithNullable model = new ChildWithNullable(); /** * Model tests for ChildWithNullable */ @Test - public void testChildWithNullable() { + void testChildWithNullable() { // TODO: test ChildWithNullable } @@ -45,7 +45,7 @@ public void testChildWithNullable() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -53,7 +53,7 @@ public void typeTest() { * Test the property 'nullableProperty' */ @Test - public void nullablePropertyTest() { + void nullablePropertyTest() { // TODO: test nullableProperty } @@ -61,7 +61,7 @@ public void nullablePropertyTest() { * Test the property 'otherProperty' */ @Test - public void otherPropertyTest() { + void otherPropertyTest() { // TODO: test otherProperty } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClassModelTest.java index 7213ea0482b6..6ef5c744fbcb 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -25,14 +25,14 @@ /** * Model tests for ClassModel */ -public class ClassModelTest { +class ClassModelTest { private final ClassModel model = new ClassModel(); /** * Model tests for ClassModel */ @Test - public void testClassModel() { + void testClassModel() { // TODO: test ClassModel } @@ -40,7 +40,7 @@ public void testClassModel() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClientTest.java index 94dc977fcb38..8028f11bc2b9 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ClientTest.java @@ -25,14 +25,14 @@ /** * Model tests for Client */ -public class ClientTest { +class ClientTest { private final Client model = new Client(); /** * Model tests for Client */ @Test - public void testClient() { + void testClient() { // TODO: test Client } @@ -40,7 +40,7 @@ public void testClient() { * Test the property 'client' */ @Test - public void clientTest() { + void clientTest() { // TODO: test client } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index ef13089e92aa..b04c2097b209 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java @@ -25,14 +25,14 @@ /** * Model tests for DeprecatedObject */ -public class DeprecatedObjectTest { +class DeprecatedObjectTest { private final DeprecatedObject model = new DeprecatedObject(); /** * Model tests for DeprecatedObject */ @Test - public void testDeprecatedObject() { + void testDeprecatedObject() { // TODO: test DeprecatedObject } @@ -40,7 +40,7 @@ public void testDeprecatedObject() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DogTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DogTest.java index 8e8013c6108a..b2a12ab4c5e0 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/DogTest.java @@ -29,14 +29,14 @@ /** * Model tests for Dog */ -public class DogTest { +class DogTest { private final Dog model = new Dog(); /** * Model tests for Dog */ @Test - public void testDog() { + void testDog() { // TODO: test Dog } @@ -44,7 +44,7 @@ public void testDog() { * Test the property 'className' */ @Test - public void classNameTest() { + void classNameTest() { // TODO: test className } @@ -52,7 +52,7 @@ public void classNameTest() { * Test the property 'color' */ @Test - public void colorTest() { + void colorTest() { // TODO: test color } @@ -60,7 +60,7 @@ public void colorTest() { * Test the property 'breed' */ @Test - public void breedTest() { + void breedTest() { // TODO: test breed } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 64a0a0adc232..4a755b0d4425 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumArraysTest.java @@ -28,14 +28,14 @@ /** * Model tests for EnumArrays */ -public class EnumArraysTest { +class EnumArraysTest { private final EnumArrays model = new EnumArrays(); /** * Model tests for EnumArrays */ @Test - public void testEnumArrays() { + void testEnumArrays() { // TODO: test EnumArrays } @@ -43,7 +43,7 @@ public void testEnumArrays() { * Test the property 'justSymbol' */ @Test - public void justSymbolTest() { + void justSymbolTest() { // TODO: test justSymbol } @@ -51,7 +51,7 @@ public void justSymbolTest() { * Test the property 'arrayEnum' */ @Test - public void arrayEnumTest() { + void arrayEnumTest() { // TODO: test arrayEnum } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumClassTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumClassTest.java index ae6973ba6378..48aa1a737fce 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumClassTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumClassTest.java @@ -20,12 +20,12 @@ /** * Model tests for EnumClass */ -public class EnumClassTest { +class EnumClassTest { /** * Model tests for EnumClass */ @Test - public void testEnumClass() { + void testEnumClass() { // TODO: test EnumClass } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumTestTest.java index a737a20f6c97..1e65944cbdc9 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -33,14 +33,14 @@ /** * Model tests for EnumTest */ -public class EnumTestTest { +class EnumTestTest { private final EnumTest model = new EnumTest(); /** * Model tests for EnumTest */ @Test - public void testEnumTest() { + void testEnumTest() { // TODO: test EnumTest } @@ -48,7 +48,7 @@ public void testEnumTest() { * Test the property 'enumString' */ @Test - public void enumStringTest() { + void enumStringTest() { // TODO: test enumString } @@ -56,7 +56,7 @@ public void enumStringTest() { * Test the property 'enumStringRequired' */ @Test - public void enumStringRequiredTest() { + void enumStringRequiredTest() { // TODO: test enumStringRequired } @@ -64,7 +64,7 @@ public void enumStringRequiredTest() { * Test the property 'enumInteger' */ @Test - public void enumIntegerTest() { + void enumIntegerTest() { // TODO: test enumInteger } @@ -72,7 +72,7 @@ public void enumIntegerTest() { * Test the property 'enumNumber' */ @Test - public void enumNumberTest() { + void enumNumberTest() { // TODO: test enumNumber } @@ -80,7 +80,7 @@ public void enumNumberTest() { * Test the property 'outerEnum' */ @Test - public void outerEnumTest() { + void outerEnumTest() { // TODO: test outerEnum } @@ -88,7 +88,7 @@ public void outerEnumTest() { * Test the property 'outerEnumInteger' */ @Test - public void outerEnumIntegerTest() { + void outerEnumIntegerTest() { // TODO: test outerEnumInteger } @@ -96,7 +96,7 @@ public void outerEnumIntegerTest() { * Test the property 'outerEnumDefaultValue' */ @Test - public void outerEnumDefaultValueTest() { + void outerEnumDefaultValueTest() { // TODO: test outerEnumDefaultValue } @@ -104,7 +104,7 @@ public void outerEnumDefaultValueTest() { * Test the property 'outerEnumIntegerDefaultValue' */ @Test - public void outerEnumIntegerDefaultValueTest() { + void outerEnumIntegerDefaultValueTest() { // TODO: test outerEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java index 1792f6169d92..3250ad91974c 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java @@ -28,14 +28,14 @@ /** * Model tests for FakeBigDecimalMap200Response */ -public class FakeBigDecimalMap200ResponseTest { +class FakeBigDecimalMap200ResponseTest { private final FakeBigDecimalMap200Response model = new FakeBigDecimalMap200Response(); /** * Model tests for FakeBigDecimalMap200Response */ @Test - public void testFakeBigDecimalMap200Response() { + void testFakeBigDecimalMap200Response() { // TODO: test FakeBigDecimalMap200Response } @@ -43,7 +43,7 @@ public void testFakeBigDecimalMap200Response() { * Test the property 'someId' */ @Test - public void someIdTest() { + void someIdTest() { // TODO: test someId } @@ -51,7 +51,7 @@ public void someIdTest() { * Test the property 'someMap' */ @Test - public void someMapTest() { + void someMapTest() { // TODO: test someMap } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index e346751e1b99..0048cb2c7497 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java @@ -29,14 +29,14 @@ /** * Model tests for FileSchemaTestClass */ -public class FileSchemaTestClassTest { +class FileSchemaTestClassTest { private final FileSchemaTestClass model = new FileSchemaTestClass(); /** * Model tests for FileSchemaTestClass */ @Test - public void testFileSchemaTestClass() { + void testFileSchemaTestClass() { // TODO: test FileSchemaTestClass } @@ -44,7 +44,7 @@ public void testFileSchemaTestClass() { * Test the property '_file' */ @Test - public void _fileTest() { + void _fileTest() { // TODO: test _file } @@ -52,7 +52,7 @@ public void _fileTest() { * Test the property 'files' */ @Test - public void filesTest() { + void filesTest() { // TODO: test files } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index c1db998eb2d2..81bc69c9a7b4 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -26,14 +26,14 @@ /** * Model tests for FooGetDefaultResponse */ -public class FooGetDefaultResponseTest { +class FooGetDefaultResponseTest { private final FooGetDefaultResponse model = new FooGetDefaultResponse(); /** * Model tests for FooGetDefaultResponse */ @Test - public void testFooGetDefaultResponse() { + void testFooGetDefaultResponse() { // TODO: test FooGetDefaultResponse } @@ -41,7 +41,7 @@ public void testFooGetDefaultResponse() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooTest.java index ece58545bfd3..a9e2c8c126e1 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FooTest.java @@ -25,14 +25,14 @@ /** * Model tests for Foo */ -public class FooTest { +class FooTest { private final Foo model = new Foo(); /** * Model tests for Foo */ @Test - public void testFoo() { + void testFoo() { // TODO: test Foo } @@ -40,7 +40,7 @@ public void testFoo() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FormatTestTest.java index d5ee3bc731da..38a39e1c0ca1 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -30,14 +30,14 @@ /** * Model tests for FormatTest */ -public class FormatTestTest { +class FormatTestTest { private final FormatTest model = new FormatTest(); /** * Model tests for FormatTest */ @Test - public void testFormatTest() { + void testFormatTest() { // TODO: test FormatTest } @@ -45,7 +45,7 @@ public void testFormatTest() { * Test the property 'integer' */ @Test - public void integerTest() { + void integerTest() { // TODO: test integer } @@ -53,7 +53,7 @@ public void integerTest() { * Test the property 'int32' */ @Test - public void int32Test() { + void int32Test() { // TODO: test int32 } @@ -61,7 +61,7 @@ public void int32Test() { * Test the property 'int64' */ @Test - public void int64Test() { + void int64Test() { // TODO: test int64 } @@ -69,7 +69,7 @@ public void int64Test() { * Test the property 'number' */ @Test - public void numberTest() { + void numberTest() { // TODO: test number } @@ -77,7 +77,7 @@ public void numberTest() { * Test the property '_float' */ @Test - public void _floatTest() { + void _floatTest() { // TODO: test _float } @@ -85,7 +85,7 @@ public void _floatTest() { * Test the property '_double' */ @Test - public void _doubleTest() { + void _doubleTest() { // TODO: test _double } @@ -93,7 +93,7 @@ public void _doubleTest() { * Test the property 'decimal' */ @Test - public void decimalTest() { + void decimalTest() { // TODO: test decimal } @@ -101,7 +101,7 @@ public void decimalTest() { * Test the property 'string' */ @Test - public void stringTest() { + void stringTest() { // TODO: test string } @@ -109,7 +109,7 @@ public void stringTest() { * Test the property '_byte' */ @Test - public void _byteTest() { + void _byteTest() { // TODO: test _byte } @@ -117,7 +117,7 @@ public void _byteTest() { * Test the property 'binary' */ @Test - public void binaryTest() { + void binaryTest() { // TODO: test binary } @@ -125,7 +125,7 @@ public void binaryTest() { * Test the property 'date' */ @Test - public void dateTest() { + void dateTest() { // TODO: test date } @@ -133,7 +133,7 @@ public void dateTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -141,7 +141,7 @@ public void dateTimeTest() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -149,7 +149,7 @@ public void uuidTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -157,7 +157,7 @@ public void passwordTest() { * Test the property 'patternWithDigits' */ @Test - public void patternWithDigitsTest() { + void patternWithDigitsTest() { // TODO: test patternWithDigits } @@ -165,7 +165,7 @@ public void patternWithDigitsTest() { * Test the property 'patternWithDigitsAndDelimiter' */ @Test - public void patternWithDigitsAndDelimiterTest() { + void patternWithDigitsAndDelimiterTest() { // TODO: test patternWithDigitsAndDelimiter } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index b408ad1c4c04..908f0aff6ed7 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -25,14 +25,14 @@ /** * Model tests for HasOnlyReadOnly */ -public class HasOnlyReadOnlyTest { +class HasOnlyReadOnlyTest { private final HasOnlyReadOnly model = new HasOnlyReadOnly(); /** * Model tests for HasOnlyReadOnly */ @Test - public void testHasOnlyReadOnly() { + void testHasOnlyReadOnly() { // TODO: test HasOnlyReadOnly } @@ -40,7 +40,7 @@ public void testHasOnlyReadOnly() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -48,7 +48,7 @@ public void barTest() { * Test the property 'foo' */ @Test - public void fooTest() { + void fooTest() { // TODO: test foo } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index 638820e3bb70..0f45c2fcd5ba 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -29,14 +29,14 @@ /** * Model tests for HealthCheckResult */ -public class HealthCheckResultTest { +class HealthCheckResultTest { private final HealthCheckResult model = new HealthCheckResult(); /** * Model tests for HealthCheckResult */ @Test - public void testHealthCheckResult() { + void testHealthCheckResult() { // TODO: test HealthCheckResult } @@ -44,7 +44,7 @@ public void testHealthCheckResult() { * Test the property 'nullableMessage' */ @Test - public void nullableMessageTest() { + void nullableMessageTest() { // TODO: test nullableMessage } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MapTestTest.java index cbe8b3bfddc4..3752c5ba31fd 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -27,14 +27,14 @@ /** * Model tests for MapTest */ -public class MapTestTest { +class MapTestTest { private final MapTest model = new MapTest(); /** * Model tests for MapTest */ @Test - public void testMapTest() { + void testMapTest() { // TODO: test MapTest } @@ -42,7 +42,7 @@ public void testMapTest() { * Test the property 'mapMapOfString' */ @Test - public void mapMapOfStringTest() { + void mapMapOfStringTest() { // TODO: test mapMapOfString } @@ -50,7 +50,7 @@ public void mapMapOfStringTest() { * Test the property 'mapOfEnumString' */ @Test - public void mapOfEnumStringTest() { + void mapOfEnumStringTest() { // TODO: test mapOfEnumString } @@ -58,7 +58,7 @@ public void mapOfEnumStringTest() { * Test the property 'directMap' */ @Test - public void directMapTest() { + void directMapTest() { // TODO: test directMap } @@ -66,7 +66,7 @@ public void directMapTest() { * Test the property 'indirectMap' */ @Test - public void indirectMapTest() { + void indirectMapTest() { // TODO: test indirectMap } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index 2c9924c2e73b..0f47e193af8d 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -30,14 +30,14 @@ /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ -public class MixedPropertiesAndAdditionalPropertiesClassTest { +class MixedPropertiesAndAdditionalPropertiesClassTest { private final MixedPropertiesAndAdditionalPropertiesClass model = new MixedPropertiesAndAdditionalPropertiesClass(); /** * Model tests for MixedPropertiesAndAdditionalPropertiesClass */ @Test - public void testMixedPropertiesAndAdditionalPropertiesClass() { + void testMixedPropertiesAndAdditionalPropertiesClass() { // TODO: test MixedPropertiesAndAdditionalPropertiesClass } @@ -45,7 +45,7 @@ public void testMixedPropertiesAndAdditionalPropertiesClass() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -53,7 +53,7 @@ public void uuidTest() { * Test the property 'dateTime' */ @Test - public void dateTimeTest() { + void dateTimeTest() { // TODO: test dateTime } @@ -61,7 +61,7 @@ public void dateTimeTest() { * Test the property 'map' */ @Test - public void mapTest() { + void mapTest() { // TODO: test map } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index b1bbea4045b1..5743b70142b8 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -25,14 +25,14 @@ /** * Model tests for Model200Response */ -public class Model200ResponseTest { +class Model200ResponseTest { private final Model200Response model = new Model200Response(); /** * Model tests for Model200Response */ @Test - public void testModel200Response() { + void testModel200Response() { // TODO: test Model200Response } @@ -40,7 +40,7 @@ public void testModel200Response() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -48,7 +48,7 @@ public void nameTest() { * Test the property 'propertyClass' */ @Test - public void propertyClassTest() { + void propertyClassTest() { // TODO: test propertyClass } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 972a351b1295..436e4abd59e3 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -25,14 +25,14 @@ /** * Model tests for ModelApiResponse */ -public class ModelApiResponseTest { +class ModelApiResponseTest { private final ModelApiResponse model = new ModelApiResponse(); /** * Model tests for ModelApiResponse */ @Test - public void testModelApiResponse() { + void testModelApiResponse() { // TODO: test ModelApiResponse } @@ -40,7 +40,7 @@ public void testModelApiResponse() { * Test the property 'code' */ @Test - public void codeTest() { + void codeTest() { // TODO: test code } @@ -48,7 +48,7 @@ public void codeTest() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -56,7 +56,7 @@ public void typeTest() { * Test the property 'message' */ @Test - public void messageTest() { + void messageTest() { // TODO: test message } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelFileTest.java index 97053c1ebd8e..f128d7b9ac2e 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -25,14 +25,14 @@ /** * Model tests for ModelFile */ -public class ModelFileTest { +class ModelFileTest { private final ModelFile model = new ModelFile(); /** * Model tests for ModelFile */ @Test - public void testModelFile() { + void testModelFile() { // TODO: test ModelFile } @@ -40,7 +40,7 @@ public void testModelFile() { * Test the property 'sourceURI' */ @Test - public void sourceURITest() { + void sourceURITest() { // TODO: test sourceURI } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelListTest.java index 71a14983d090..92273f48d239 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -25,14 +25,14 @@ /** * Model tests for ModelList */ -public class ModelListTest { +class ModelListTest { private final ModelList model = new ModelList(); /** * Model tests for ModelList */ @Test - public void testModelList() { + void testModelList() { // TODO: test ModelList } @@ -40,7 +40,7 @@ public void testModelList() { * Test the property '_123list' */ @Test - public void _123listTest() { + void _123listTest() { // TODO: test _123list } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelReturnTest.java index cad3f081c54a..1c5337654cd4 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -25,14 +25,14 @@ /** * Model tests for ModelReturn */ -public class ModelReturnTest { +class ModelReturnTest { private final ModelReturn model = new ModelReturn(); /** * Model tests for ModelReturn */ @Test - public void testModelReturn() { + void testModelReturn() { // TODO: test ModelReturn } @@ -40,7 +40,7 @@ public void testModelReturn() { * Test the property '_return' */ @Test - public void _returnTest() { + void _returnTest() { // TODO: test _return } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NameTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NameTest.java index 9dafc643a8bb..1a6aa18fa20d 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NameTest.java @@ -25,14 +25,14 @@ /** * Model tests for Name */ -public class NameTest { +class NameTest { private final Name model = new Name(); /** * Model tests for Name */ @Test - public void testName() { + void testName() { // TODO: test Name } @@ -40,7 +40,7 @@ public void testName() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -48,7 +48,7 @@ public void nameTest() { * Test the property 'snakeCase' */ @Test - public void snakeCaseTest() { + void snakeCaseTest() { // TODO: test snakeCase } @@ -56,7 +56,7 @@ public void snakeCaseTest() { * Test the property 'property' */ @Test - public void propertyTest() { + void propertyTest() { // TODO: test property } @@ -64,7 +64,7 @@ public void propertyTest() { * Test the property '_123number' */ @Test - public void _123numberTest() { + void _123numberTest() { // TODO: test _123number } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NullableClassTest.java index 7d30912d4c86..d960ef76e5c3 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -37,14 +37,14 @@ /** * Model tests for NullableClass */ -public class NullableClassTest { +class NullableClassTest { private final NullableClass model = new NullableClass(); /** * Model tests for NullableClass */ @Test - public void testNullableClass() { + void testNullableClass() { // TODO: test NullableClass } @@ -52,7 +52,7 @@ public void testNullableClass() { * Test the property 'integerProp' */ @Test - public void integerPropTest() { + void integerPropTest() { // TODO: test integerProp } @@ -60,7 +60,7 @@ public void integerPropTest() { * Test the property 'numberProp' */ @Test - public void numberPropTest() { + void numberPropTest() { // TODO: test numberProp } @@ -68,7 +68,7 @@ public void numberPropTest() { * Test the property 'booleanProp' */ @Test - public void booleanPropTest() { + void booleanPropTest() { // TODO: test booleanProp } @@ -76,7 +76,7 @@ public void booleanPropTest() { * Test the property 'stringProp' */ @Test - public void stringPropTest() { + void stringPropTest() { // TODO: test stringProp } @@ -84,7 +84,7 @@ public void stringPropTest() { * Test the property 'dateProp' */ @Test - public void datePropTest() { + void datePropTest() { // TODO: test dateProp } @@ -92,7 +92,7 @@ public void datePropTest() { * Test the property 'datetimeProp' */ @Test - public void datetimePropTest() { + void datetimePropTest() { // TODO: test datetimeProp } @@ -100,7 +100,7 @@ public void datetimePropTest() { * Test the property 'arrayNullableProp' */ @Test - public void arrayNullablePropTest() { + void arrayNullablePropTest() { // TODO: test arrayNullableProp } @@ -108,7 +108,7 @@ public void arrayNullablePropTest() { * Test the property 'arrayAndItemsNullableProp' */ @Test - public void arrayAndItemsNullablePropTest() { + void arrayAndItemsNullablePropTest() { // TODO: test arrayAndItemsNullableProp } @@ -116,7 +116,7 @@ public void arrayAndItemsNullablePropTest() { * Test the property 'arrayItemsNullable' */ @Test - public void arrayItemsNullableTest() { + void arrayItemsNullableTest() { // TODO: test arrayItemsNullable } @@ -124,7 +124,7 @@ public void arrayItemsNullableTest() { * Test the property 'objectNullableProp' */ @Test - public void objectNullablePropTest() { + void objectNullablePropTest() { // TODO: test objectNullableProp } @@ -132,7 +132,7 @@ public void objectNullablePropTest() { * Test the property 'objectAndItemsNullableProp' */ @Test - public void objectAndItemsNullablePropTest() { + void objectAndItemsNullablePropTest() { // TODO: test objectAndItemsNullableProp } @@ -140,7 +140,7 @@ public void objectAndItemsNullablePropTest() { * Test the property 'objectItemsNullable' */ @Test - public void objectItemsNullableTest() { + void objectItemsNullableTest() { // TODO: test objectItemsNullable } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 46d3b1b334d5..8623386a5e95 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -26,14 +26,14 @@ /** * Model tests for NumberOnly */ -public class NumberOnlyTest { +class NumberOnlyTest { private final NumberOnly model = new NumberOnly(); /** * Model tests for NumberOnly */ @Test - public void testNumberOnly() { + void testNumberOnly() { // TODO: test NumberOnly } @@ -41,7 +41,7 @@ public void testNumberOnly() { * Test the property 'justNumber' */ @Test - public void justNumberTest() { + void justNumberTest() { // TODO: test justNumber } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index a58269e7c3b7..aa755cf8cb48 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -30,14 +30,14 @@ /** * Model tests for ObjectWithDeprecatedFields */ -public class ObjectWithDeprecatedFieldsTest { +class ObjectWithDeprecatedFieldsTest { private final ObjectWithDeprecatedFields model = new ObjectWithDeprecatedFields(); /** * Model tests for ObjectWithDeprecatedFields */ @Test - public void testObjectWithDeprecatedFields() { + void testObjectWithDeprecatedFields() { // TODO: test ObjectWithDeprecatedFields } @@ -45,7 +45,7 @@ public void testObjectWithDeprecatedFields() { * Test the property 'uuid' */ @Test - public void uuidTest() { + void uuidTest() { // TODO: test uuid } @@ -53,7 +53,7 @@ public void uuidTest() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -61,7 +61,7 @@ public void idTest() { * Test the property 'deprecatedRef' */ @Test - public void deprecatedRefTest() { + void deprecatedRefTest() { // TODO: test deprecatedRef } @@ -69,7 +69,7 @@ public void deprecatedRefTest() { * Test the property 'bars' */ @Test - public void barsTest() { + void barsTest() { // TODO: test bars } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OrderTest.java index 915233936f17..670c2535646b 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OrderTest.java @@ -26,14 +26,14 @@ /** * Model tests for Order */ -public class OrderTest { +class OrderTest { private final Order model = new Order(); /** * Model tests for Order */ @Test - public void testOrder() { + void testOrder() { // TODO: test Order } @@ -41,7 +41,7 @@ public void testOrder() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -49,7 +49,7 @@ public void idTest() { * Test the property 'petId' */ @Test - public void petIdTest() { + void petIdTest() { // TODO: test petId } @@ -57,7 +57,7 @@ public void petIdTest() { * Test the property 'quantity' */ @Test - public void quantityTest() { + void quantityTest() { // TODO: test quantity } @@ -65,7 +65,7 @@ public void quantityTest() { * Test the property 'shipDate' */ @Test - public void shipDateTest() { + void shipDateTest() { // TODO: test shipDate } @@ -73,7 +73,7 @@ public void shipDateTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } @@ -81,7 +81,7 @@ public void statusTest() { * Test the property 'complete' */ @Test - public void completeTest() { + void completeTest() { // TODO: test complete } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 4106235863ab..870a977da944 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -26,14 +26,14 @@ /** * Model tests for OuterComposite */ -public class OuterCompositeTest { +class OuterCompositeTest { private final OuterComposite model = new OuterComposite(); /** * Model tests for OuterComposite */ @Test - public void testOuterComposite() { + void testOuterComposite() { // TODO: test OuterComposite } @@ -41,7 +41,7 @@ public void testOuterComposite() { * Test the property 'myNumber' */ @Test - public void myNumberTest() { + void myNumberTest() { // TODO: test myNumber } @@ -49,7 +49,7 @@ public void myNumberTest() { * Test the property 'myString' */ @Test - public void myStringTest() { + void myStringTest() { // TODO: test myString } @@ -57,7 +57,7 @@ public void myStringTest() { * Test the property 'myBoolean' */ @Test - public void myBooleanTest() { + void myBooleanTest() { // TODO: test myBoolean } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java index 31fc4a3cab28..d818b23c7d53 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java @@ -20,12 +20,12 @@ /** * Model tests for OuterEnumDefaultValue */ -public class OuterEnumDefaultValueTest { +class OuterEnumDefaultValueTest { /** * Model tests for OuterEnumDefaultValue */ @Test - public void testOuterEnumDefaultValue() { + void testOuterEnumDefaultValue() { // TODO: test OuterEnumDefaultValue } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java index 41a2e5a97ce5..1d7b3338bca2 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java @@ -20,12 +20,12 @@ /** * Model tests for OuterEnumIntegerDefaultValue */ -public class OuterEnumIntegerDefaultValueTest { +class OuterEnumIntegerDefaultValueTest { /** * Model tests for OuterEnumIntegerDefaultValue */ @Test - public void testOuterEnumIntegerDefaultValue() { + void testOuterEnumIntegerDefaultValue() { // TODO: test OuterEnumIntegerDefaultValue } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java index 2f25518a1b18..cacda46a76f4 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java @@ -20,12 +20,12 @@ /** * Model tests for OuterEnumInteger */ -public class OuterEnumIntegerTest { +class OuterEnumIntegerTest { /** * Model tests for OuterEnumInteger */ @Test - public void testOuterEnumInteger() { + void testOuterEnumInteger() { // TODO: test OuterEnumInteger } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumTest.java index 4b4689794b92..0333ee657a0f 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterEnumTest.java @@ -20,12 +20,12 @@ /** * Model tests for OuterEnum */ -public class OuterEnumTest { +class OuterEnumTest { /** * Model tests for OuterEnum */ @Test - public void testOuterEnum() { + void testOuterEnum() { // TODO: test OuterEnum } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java index 569e16247e6c..ac7169192a50 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java @@ -26,14 +26,14 @@ /** * Model tests for OuterObjectWithEnumProperty */ -public class OuterObjectWithEnumPropertyTest { +class OuterObjectWithEnumPropertyTest { private final OuterObjectWithEnumProperty model = new OuterObjectWithEnumProperty(); /** * Model tests for OuterObjectWithEnumProperty */ @Test - public void testOuterObjectWithEnumProperty() { + void testOuterObjectWithEnumProperty() { // TODO: test OuterObjectWithEnumProperty } @@ -41,7 +41,7 @@ public void testOuterObjectWithEnumProperty() { * Test the property 'value' */ @Test - public void valueTest() { + void valueTest() { // TODO: test value } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java index 828d360428ed..2e4de5618065 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java @@ -32,14 +32,14 @@ /** * Model tests for ParentWithNullable */ -public class ParentWithNullableTest { +class ParentWithNullableTest { private final ParentWithNullable model = new ParentWithNullable(); /** * Model tests for ParentWithNullable */ @Test - public void testParentWithNullable() { + void testParentWithNullable() { // TODO: test ParentWithNullable } @@ -47,7 +47,7 @@ public void testParentWithNullable() { * Test the property 'type' */ @Test - public void typeTest() { + void typeTest() { // TODO: test type } @@ -55,7 +55,7 @@ public void typeTest() { * Test the property 'nullableProperty' */ @Test - public void nullablePropertyTest() { + void nullablePropertyTest() { // TODO: test nullableProperty } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java index 51c0563373c4..2e4303f1e4b5 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/PetTest.java @@ -33,14 +33,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 } @@ -48,7 +48,7 @@ public void testPet() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -56,7 +56,7 @@ public void idTest() { * Test the property 'category' */ @Test - public void categoryTest() { + void categoryTest() { // TODO: test category } @@ -64,7 +64,7 @@ public void categoryTest() { * Test the property 'name' */ @Test - public void nameTest() { + void nameTest() { // TODO: test name } @@ -72,7 +72,7 @@ public void nameTest() { * Test the property 'photoUrls' */ @Test - public void photoUrlsTest() { + void photoUrlsTest() { // TODO: test photoUrls } @@ -80,7 +80,7 @@ public void photoUrlsTest() { * Test the property 'tags' */ @Test - public void tagsTest() { + void tagsTest() { // TODO: test tags } @@ -88,7 +88,7 @@ public void tagsTest() { * Test the property 'status' */ @Test - public void statusTest() { + void statusTest() { // TODO: test status } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index e98895945790..c56da4290fa9 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -25,14 +25,14 @@ /** * Model tests for ReadOnlyFirst */ -public class ReadOnlyFirstTest { +class ReadOnlyFirstTest { private final ReadOnlyFirst model = new ReadOnlyFirst(); /** * Model tests for ReadOnlyFirst */ @Test - public void testReadOnlyFirst() { + void testReadOnlyFirst() { // TODO: test ReadOnlyFirst } @@ -40,7 +40,7 @@ public void testReadOnlyFirst() { * Test the property 'bar' */ @Test - public void barTest() { + void barTest() { // TODO: test bar } @@ -48,7 +48,7 @@ public void barTest() { * Test the property 'baz' */ @Test - public void bazTest() { + void bazTest() { // TODO: test baz } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java index bdcda63a5129..476e4ca161b4 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java @@ -20,12 +20,12 @@ /** * Model tests for SingleRefType */ -public class SingleRefTypeTest { +class SingleRefTypeTest { /** * Model tests for SingleRefType */ @Test - public void testSingleRefType() { + void testSingleRefType() { // TODO: test SingleRefType } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 3fe4051508d0..9501cf722d66 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -25,14 +25,14 @@ /** * Model tests for SpecialModelName */ -public class SpecialModelNameTest { +class SpecialModelNameTest { private final SpecialModelName model = new SpecialModelName(); /** * Model tests for SpecialModelName */ @Test - public void testSpecialModelName() { + void testSpecialModelName() { // TODO: test SpecialModelName } @@ -40,7 +40,7 @@ public void testSpecialModelName() { * Test the property '$specialPropertyName' */ @Test - public void $specialPropertyNameTest() { + void $specialPropertyNameTest() { // TODO: test $specialPropertyName } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java index ef31f21248b0..dc9cf9742efa 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/client/petstore/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/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java index 8e5a4ba75d27..edb986ca550f 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java @@ -27,14 +27,14 @@ /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ -public class TestInlineFreeformAdditionalPropertiesRequestTest { +class TestInlineFreeformAdditionalPropertiesRequestTest { private final TestInlineFreeformAdditionalPropertiesRequest model = new TestInlineFreeformAdditionalPropertiesRequest(); /** * Model tests for TestInlineFreeformAdditionalPropertiesRequest */ @Test - public void testTestInlineFreeformAdditionalPropertiesRequest() { + void testTestInlineFreeformAdditionalPropertiesRequest() { // TODO: test TestInlineFreeformAdditionalPropertiesRequest } @@ -42,7 +42,7 @@ public void testTestInlineFreeformAdditionalPropertiesRequest() { * Test the property 'someProperty' */ @Test - public void somePropertyTest() { + void somePropertyTest() { // TODO: test someProperty } diff --git a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/UserTest.java b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/UserTest.java index 819e2d8f7610..69d274133b97 100644 --- a/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/client/petstore/java/resteasy/src/test/java/org/openapitools/client/model/UserTest.java @@ -25,14 +25,14 @@ /** * Model tests for User */ -public class UserTest { +class UserTest { private final User model = new User(); /** * Model tests for User */ @Test - public void testUser() { + void testUser() { // TODO: test User } @@ -40,7 +40,7 @@ public void testUser() { * Test the property 'id' */ @Test - public void idTest() { + void idTest() { // TODO: test id } @@ -48,7 +48,7 @@ public void idTest() { * Test the property 'username' */ @Test - public void usernameTest() { + void usernameTest() { // TODO: test username } @@ -56,7 +56,7 @@ public void usernameTest() { * Test the property 'firstName' */ @Test - public void firstNameTest() { + void firstNameTest() { // TODO: test firstName } @@ -64,7 +64,7 @@ public void firstNameTest() { * Test the property 'lastName' */ @Test - public void lastNameTest() { + void lastNameTest() { // TODO: test lastName } @@ -72,7 +72,7 @@ public void lastNameTest() { * Test the property 'email' */ @Test - public void emailTest() { + void emailTest() { // TODO: test email } @@ -80,7 +80,7 @@ public void emailTest() { * Test the property 'password' */ @Test - public void passwordTest() { + void passwordTest() { // TODO: test password } @@ -88,7 +88,7 @@ public void passwordTest() { * Test the property 'phone' */ @Test - public void phoneTest() { + void phoneTest() { // TODO: test phone } @@ -96,7 +96,7 @@ public void phoneTest() { * Test the property 'userStatus' */ @Test - public void userStatusTest() { + void userStatusTest() { // TODO: test userStatus } diff --git a/samples/client/petstore/java/resttemplate-jakarta/pom.xml b/samples/client/petstore/java/resttemplate-jakarta/pom.xml index 4c6f3e894381..16707917a47b 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/pom.xml +++ b/samples/client/petstore/java/resttemplate-jakarta/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/petstore/java/resttemplate-swagger1/pom.xml b/samples/client/petstore/java/resttemplate-swagger1/pom.xml index da5f1d42eca8..855a156b17c3 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/pom.xml +++ b/samples/client/petstore/java/resttemplate-swagger1/pom.xml @@ -66,7 +66,7 @@ -Xms512m -Xmx1500m methods - pertest + false true @@ -276,12 +276,6 @@ ${junit-version} test - - org.junit.platform - junit-platform-runner - ${junit-platform-runner.version} - test - UTF-8 @@ -293,6 +287,5 @@ 1.3.5 2.0.2 5.10.2 - 1.10.0 diff --git a/samples/client/petstore/java/resttemplate-swagger2/pom.xml b/samples/client/petstore/java/resttemplate-swagger2/pom.xml index dab9814c6c99..b57e6754caf9 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/pom.xml +++ b/samples/client/petstore/java/resttemplate-swagger2/pom.xml @@ -66,7 +66,7 @@ -Xms512m -Xmx1500m methods - pertest + false true @@ -276,12 +276,6 @@ ${junit-version} test - - org.junit.platform - junit-platform-runner - ${junit-platform-runner.version} - test - UTF-8 @@ -293,6 +287,5 @@ 1.3.5 2.0.2 5.10.2 - 1.10.0 diff --git a/samples/client/petstore/java/resttemplate-withXml/pom.xml b/samples/client/petstore/java/resttemplate-withXml/pom.xml index 473667b8ed93..668051eb02cb 100644 --- a/samples/client/petstore/java/resttemplate-withXml/pom.xml +++ b/samples/client/petstore/java/resttemplate-withXml/pom.xml @@ -66,7 +66,7 @@ -Xms512m -Xmx1500m methods - pertest + false true @@ -283,12 +283,6 @@ ${junit-version} test - - org.junit.platform - junit-platform-runner - ${junit-platform-runner.version} - test - UTF-8 @@ -299,6 +293,5 @@ 1.3.5 2.0.2 5.10.2 - 1.10.0 diff --git a/samples/client/petstore/java/resttemplate/pom.xml b/samples/client/petstore/java/resttemplate/pom.xml index dd2d23b6cc02..f6f67584ae9a 100644 --- a/samples/client/petstore/java/resttemplate/pom.xml +++ b/samples/client/petstore/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/petstore/javascript-apollo/test/api/FakeApi.spec.js b/samples/client/petstore/javascript-apollo/test/api/FakeApi.spec.js index 9ecfa421cb6b..92db6213a7d2 100644 --- a/samples/client/petstore/javascript-apollo/test/api/FakeApi.spec.js +++ b/samples/client/petstore/javascript-apollo/test/api/FakeApi.spec.js @@ -118,6 +118,16 @@ done(); }); }); + describe('testAdditionalPropertiesReference', function() { + it('should call testAdditionalPropertiesReference successfully', function(done) { + //uncomment below and update the code to test testAdditionalPropertiesReference + //instance.testAdditionalPropertiesReference(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('testBodyWithBinary', function() { it('should call testBodyWithBinary successfully', function(done) { //uncomment below and update the code to test testBodyWithBinary @@ -198,6 +208,16 @@ done(); }); }); + describe('testInlineFreeformAdditionalProperties', function() { + it('should call testInlineFreeformAdditionalProperties successfully', function(done) { + //uncomment below and update the code to test testInlineFreeformAdditionalProperties + //instance.testInlineFreeformAdditionalProperties(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('testJsonFormData', function() { it('should call testJsonFormData successfully', function(done) { //uncomment below and update the code to test testJsonFormData @@ -218,6 +238,16 @@ done(); }); }); + describe('testStringMapReference', function() { + it('should call testStringMapReference successfully', function(done) { + //uncomment below and update the code to test testStringMapReference + //instance.testStringMapReference(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); }); })); diff --git a/samples/client/petstore/javascript-es6/test/api/FakeApi.spec.js b/samples/client/petstore/javascript-es6/test/api/FakeApi.spec.js index 9ecfa421cb6b..92db6213a7d2 100644 --- a/samples/client/petstore/javascript-es6/test/api/FakeApi.spec.js +++ b/samples/client/petstore/javascript-es6/test/api/FakeApi.spec.js @@ -118,6 +118,16 @@ done(); }); }); + describe('testAdditionalPropertiesReference', function() { + it('should call testAdditionalPropertiesReference successfully', function(done) { + //uncomment below and update the code to test testAdditionalPropertiesReference + //instance.testAdditionalPropertiesReference(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('testBodyWithBinary', function() { it('should call testBodyWithBinary successfully', function(done) { //uncomment below and update the code to test testBodyWithBinary @@ -198,6 +208,16 @@ done(); }); }); + describe('testInlineFreeformAdditionalProperties', function() { + it('should call testInlineFreeformAdditionalProperties successfully', function(done) { + //uncomment below and update the code to test testInlineFreeformAdditionalProperties + //instance.testInlineFreeformAdditionalProperties(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('testJsonFormData', function() { it('should call testJsonFormData successfully', function(done) { //uncomment below and update the code to test testJsonFormData @@ -218,6 +238,16 @@ done(); }); }); + describe('testStringMapReference', function() { + it('should call testStringMapReference successfully', function(done) { + //uncomment below and update the code to test testStringMapReference + //instance.testStringMapReference(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); }); })); diff --git a/samples/client/petstore/javascript-es6/test/model/Color.spec.js b/samples/client/petstore/javascript-es6/test/model/Color.spec.js index f203fe44d256..c079e6e51113 100644 --- a/samples/client/petstore/javascript-es6/test/model/Color.spec.js +++ b/samples/client/petstore/javascript-es6/test/model/Color.spec.js @@ -28,7 +28,7 @@ var instance; beforeEach(function() { - //instance = new OpenApiPetstore.Color('#00FF00'); + instance = new OpenApiPetstore.Color(); }); var getProperty = function(object, getter, property) { diff --git a/samples/client/petstore/javascript-promise-es6/test/api/FakeApi.spec.js b/samples/client/petstore/javascript-promise-es6/test/api/FakeApi.spec.js index 9ecfa421cb6b..92db6213a7d2 100644 --- a/samples/client/petstore/javascript-promise-es6/test/api/FakeApi.spec.js +++ b/samples/client/petstore/javascript-promise-es6/test/api/FakeApi.spec.js @@ -118,6 +118,16 @@ done(); }); }); + describe('testAdditionalPropertiesReference', function() { + it('should call testAdditionalPropertiesReference successfully', function(done) { + //uncomment below and update the code to test testAdditionalPropertiesReference + //instance.testAdditionalPropertiesReference(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('testBodyWithBinary', function() { it('should call testBodyWithBinary successfully', function(done) { //uncomment below and update the code to test testBodyWithBinary @@ -198,6 +208,16 @@ done(); }); }); + describe('testInlineFreeformAdditionalProperties', function() { + it('should call testInlineFreeformAdditionalProperties successfully', function(done) { + //uncomment below and update the code to test testInlineFreeformAdditionalProperties + //instance.testInlineFreeformAdditionalProperties(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('testJsonFormData', function() { it('should call testJsonFormData successfully', function(done) { //uncomment below and update the code to test testJsonFormData @@ -218,6 +238,16 @@ done(); }); }); + describe('testStringMapReference', function() { + it('should call testStringMapReference successfully', function(done) { + //uncomment below and update the code to test testStringMapReference + //instance.testStringMapReference(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); }); })); diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/PetApiTest.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/PetApiTest.java index bb976e895224..5fc4823c1c74 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/PetApiTest.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/PetApiTest.java @@ -41,23 +41,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for PetApi + * API tests for PetApi */ public class PetApiTest { private PetApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", PetApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -73,8 +73,8 @@ public void addPetTest() { //api.addPet(body); // TODO: test validations - - + + } /** @@ -90,8 +90,8 @@ public void deletePetTest() { //api.deletePet(petId, apiKey); // TODO: test validations - - + + } /** @@ -108,8 +108,8 @@ public void findPetsByStatusTest() { //List response = api.findPetsByStatus(status); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -126,8 +126,8 @@ public void findPetsByTagsTest() { //List response = api.findPetsByTags(tags); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -144,8 +144,8 @@ public void getPetByIdTest() { //Pet response = api.getPetById(petId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -160,8 +160,8 @@ public void updatePetTest() { //api.updatePet(body); // TODO: test validations - - + + } /** @@ -178,8 +178,8 @@ public void updatePetWithFormTest() { //api.updatePetWithForm(petId, name, status); // TODO: test validations - - + + } /** @@ -192,12 +192,12 @@ public void updatePetWithFormTest() { public void uploadFileTest() { Long petId = null; String additionalMetadata = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment file = null; - //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file); + File _file = null; + //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/StoreApiTest.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/StoreApiTest.java index b87dbe2c578b..b5c96c77b9bd 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/StoreApiTest.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/StoreApiTest.java @@ -39,23 +39,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for StoreApi + * API tests for StoreApi */ public class StoreApiTest { private StoreApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", StoreApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -73,8 +73,8 @@ public void deleteOrderTest() { //api.deleteOrder(orderId); // TODO: test validations - - + + } /** @@ -90,8 +90,8 @@ public void getInventoryTest() { //Map response = api.getInventory(); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -108,8 +108,8 @@ public void getOrderByIdTest() { //Order response = api.getOrderById(orderId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -124,8 +124,8 @@ public void placeOrderTest() { //Order response = api.placeOrder(body); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/UserApiTest.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/UserApiTest.java index 811ace5aebba..0825dbb0f6e7 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/UserApiTest.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/test/java/org/openapitools/api/UserApiTest.java @@ -13,6 +13,7 @@ package org.openapitools.api; +import java.util.Date; import org.openapitools.model.User; import org.junit.Test; import org.junit.Before; @@ -39,23 +40,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for UserApi + * API tests for UserApi */ public class UserApiTest { private UserApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", UserApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -73,8 +74,8 @@ public void createUserTest() { //api.createUser(body); // TODO: test validations - - + + } /** @@ -89,8 +90,8 @@ public void createUsersWithArrayInputTest() { //api.createUsersWithArrayInput(body); // TODO: test validations - - + + } /** @@ -105,8 +106,8 @@ public void createUsersWithListInputTest() { //api.createUsersWithListInput(body); // TODO: test validations - - + + } /** @@ -123,8 +124,8 @@ public void deleteUserTest() { //api.deleteUser(username); // TODO: test validations - - + + } /** @@ -139,8 +140,8 @@ public void getUserByNameTest() { //User response = api.getUserByName(username); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -156,8 +157,8 @@ public void loginUserTest() { //String response = api.loginUser(username, password); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -171,8 +172,8 @@ public void logoutUserTest() { //api.logoutUser(); // TODO: test validations - - + + } /** @@ -190,8 +191,8 @@ public void updateUserTest() { //api.updateUser(username, body); // TODO: test validations - - + + } } diff --git a/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/PetApiTest.java b/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/PetApiTest.java index 48eec50eebe8..5fc4823c1c74 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/PetApiTest.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/PetApiTest.java @@ -2,24 +2,12 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -53,23 +41,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for PetApi + * API tests for PetApi */ public class PetApiTest { private PetApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", PetApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -85,8 +73,8 @@ public void addPetTest() { //api.addPet(body); // TODO: test validations - - + + } /** @@ -102,8 +90,8 @@ public void deletePetTest() { //api.deletePet(petId, apiKey); // TODO: test validations - - + + } /** @@ -120,8 +108,8 @@ public void findPetsByStatusTest() { //List response = api.findPetsByStatus(status); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -138,8 +126,8 @@ public void findPetsByTagsTest() { //List response = api.findPetsByTags(tags); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -156,8 +144,8 @@ public void getPetByIdTest() { //Pet response = api.getPetById(petId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -172,8 +160,8 @@ public void updatePetTest() { //api.updatePet(body); // TODO: test validations - - + + } /** @@ -190,8 +178,8 @@ public void updatePetWithFormTest() { //api.updatePetWithForm(petId, name, status); // TODO: test validations - - + + } /** @@ -204,12 +192,12 @@ public void updatePetWithFormTest() { public void uploadFileTest() { Long petId = null; String additionalMetadata = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment file = null; - //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file); + File _file = null; + //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/StoreApiTest.java b/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/StoreApiTest.java index 537e5da2200f..b5c96c77b9bd 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/StoreApiTest.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/StoreApiTest.java @@ -2,24 +2,12 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -51,23 +39,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for StoreApi + * API tests for StoreApi */ public class StoreApiTest { private StoreApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", StoreApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -85,8 +73,8 @@ public void deleteOrderTest() { //api.deleteOrder(orderId); // TODO: test validations - - + + } /** @@ -102,8 +90,8 @@ public void getInventoryTest() { //Map response = api.getInventory(); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -120,8 +108,8 @@ public void getOrderByIdTest() { //Order response = api.getOrderById(orderId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -136,8 +124,8 @@ public void placeOrderTest() { //Order response = api.placeOrder(body); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/UserApiTest.java b/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/UserApiTest.java index 4d2852447d9e..0825dbb0f6e7 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/UserApiTest.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/test/java/org/openapitools/api/UserApiTest.java @@ -2,29 +2,18 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ package org.openapitools.api; +import java.util.Date; import org.openapitools.model.User; import org.junit.Test; import org.junit.Before; @@ -51,23 +40,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for UserApi + * API tests for UserApi */ public class UserApiTest { private UserApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", UserApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -85,8 +74,8 @@ public void createUserTest() { //api.createUser(body); // TODO: test validations - - + + } /** @@ -101,8 +90,8 @@ public void createUsersWithArrayInputTest() { //api.createUsersWithArrayInput(body); // TODO: test validations - - + + } /** @@ -117,8 +106,8 @@ public void createUsersWithListInputTest() { //api.createUsersWithListInput(body); // TODO: test validations - - + + } /** @@ -135,8 +124,8 @@ public void deleteUserTest() { //api.deleteUser(username); // TODO: test validations - - + + } /** @@ -151,8 +140,8 @@ public void getUserByNameTest() { //User response = api.getUserByName(username); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -168,8 +157,8 @@ public void loginUserTest() { //String response = api.loginUser(username, password); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -183,8 +172,8 @@ public void logoutUserTest() { //api.logoutUser(); // TODO: test validations - - + + } /** @@ -202,8 +191,8 @@ public void updateUserTest() { //api.updateUser(username, body); // TODO: test validations - - + + } } diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserTest.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserTest.kt index 843c31fa0ead..8a4b74f609a6 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserTest.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserTest.kt @@ -25,18 +25,18 @@ class ApiUserTest : ShouldSpec() { // uncomment below to create an instance of ApiUser //val modelInstance = ApiUser() - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - // to test the property `username` should("test username") { // uncomment below to test the property //modelInstance.username shouldBe ("TODO") } + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + // to test the property `firstName` should("test firstName") { // uncomment below to test the property diff --git a/samples/client/petstore/kotlin-string/src/test/kotlin/org/openapitools/client/apis/PetApiTest.kt b/samples/client/petstore/kotlin-string/src/test/kotlin/org/openapitools/client/apis/PetApiTest.kt index 346fbb852ca6..0d0c3547695d 100644 --- a/samples/client/petstore/kotlin-string/src/test/kotlin/org/openapitools/client/apis/PetApiTest.kt +++ b/samples/client/petstore/kotlin-string/src/test/kotlin/org/openapitools/client/apis/PetApiTest.kt @@ -87,7 +87,7 @@ class PetApiTest : ShouldSpec() { // uncomment below to test uploadFile //val petId : kotlin.Long = 789 // kotlin.Long | ID of pet to update //val additionalMetadata : kotlin.String = additionalMetadata_example // kotlin.String | Additional data to pass to server - //val file : java.io.File = BINARY_DATA_HERE // java.io.File | file to upload + //val file : kotlin.ByteArray = BINARY_DATA_HERE // kotlin.ByteArray | file to upload //val result : ModelApiResponse = apiInstance.uploadFile(petId, additionalMetadata, file) //result shouldBe ("TODO") } diff --git a/samples/client/petstore/lua/spec/api_response_spec.lua b/samples/client/petstore/lua/spec/api_response_spec.lua index 3d463e6f9be4..774af1c57e0b 100644 --- a/samples/client/petstore/lua/spec/api_response_spec.lua +++ b/samples/client/petstore/lua/spec/api_response_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/category_spec.lua b/samples/client/petstore/lua/spec/category_spec.lua index 411832b5f3d4..27132dd3d336 100644 --- a/samples/client/petstore/lua/spec/category_spec.lua +++ b/samples/client/petstore/lua/spec/category_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/order_spec.lua b/samples/client/petstore/lua/spec/order_spec.lua index 2dc80e00692a..86aaacf5b878 100644 --- a/samples/client/petstore/lua/spec/order_spec.lua +++ b/samples/client/petstore/lua/spec/order_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/pet_api_spec.lua b/samples/client/petstore/lua/spec/pet_api_spec.lua index fc7c09ad1f90..88d4c5a36183 100644 --- a/samples/client/petstore/lua/spec/pet_api_spec.lua +++ b/samples/client/petstore/lua/spec/pet_api_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/pet_spec.lua b/samples/client/petstore/lua/spec/pet_spec.lua index 88581e108286..b0ae36abd6c5 100644 --- a/samples/client/petstore/lua/spec/pet_spec.lua +++ b/samples/client/petstore/lua/spec/pet_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/store_api_spec.lua b/samples/client/petstore/lua/spec/store_api_spec.lua index dca897654964..85527d8e329d 100644 --- a/samples/client/petstore/lua/spec/store_api_spec.lua +++ b/samples/client/petstore/lua/spec/store_api_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/tag_spec.lua b/samples/client/petstore/lua/spec/tag_spec.lua index c23d5de3ef29..0b8e91592805 100644 --- a/samples/client/petstore/lua/spec/tag_spec.lua +++ b/samples/client/petstore/lua/spec/tag_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/user_api_spec.lua b/samples/client/petstore/lua/spec/user_api_spec.lua index eae858d3e001..a94faa2fdf12 100644 --- a/samples/client/petstore/lua/spec/user_api_spec.lua +++ b/samples/client/petstore/lua/spec/user_api_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] diff --git a/samples/client/petstore/lua/spec/user_spec.lua b/samples/client/petstore/lua/spec/user_spec.lua index 17d97e2f455f..29c09b6d80ef 100644 --- a/samples/client/petstore/lua/spec/user_spec.lua +++ b/samples/client/petstore/lua/spec/user_spec.lua @@ -1,9 +1,9 @@ --[[ OpenAPI Petstore - + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. - - OpenAPI spec version: 1.0.0 + + The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech ]] @@ -58,8 +58,8 @@ describe("user", function() end) end) - -- unit tests for the property 'phone' - describe("property phone test", function() + -- unit tests for the property 'mobile' + describe("property mobile test", function() it("should work", function() -- TODO assertion here: http://olivinelabs.com/busted/#asserts end) diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/AnotherFakeApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/AnotherFakeApiTest.php index d41d0bfbea86..0ccde4e65a79 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/AnotherFakeApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/AnotherFakeApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/DefaultApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/DefaultApiTest.php index 7e8c0ef73d8b..bac0ba5f9e9d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/DefaultApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/DefaultApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeApiTest.php index b4552d738ec9..9e160f61ff68 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** @@ -81,6 +81,18 @@ public function testFakeBigDecimalMap() self::markTestIncomplete('Not implemented'); } + /** + * Test case for fakeEnumEndpoint + * + * test endpoint with enum parameter. + * + */ + public function testFakeEnumEndpoint() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for fakeHealthGet * diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeClassnameTags123ApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeClassnameTags123ApiTest.php index c7da744a9111..5f07e196cf53 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeClassnameTags123ApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/FakeClassnameTags123ApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/PetApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/PetApiTest.php index 561564337259..bdd0a55f1100 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/PetApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/PetApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/StoreApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/StoreApiTest.php index b28dbd2c9786..ed48f586d714 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/StoreApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/StoreApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/UserApiTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/UserApiTest.php index d8499404a950..a0c070e6bfc6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/UserApiTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Api/UserApiTest.php @@ -15,7 +15,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AdditionalPropertiesClassTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AdditionalPropertiesClassTest.php index a697735c4862..5bb122cfafb5 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AdditionalPropertiesClassTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AdditionalPropertiesClassTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AllOfWithSingleRefTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AllOfWithSingleRefTest.php index ea744ff2fe33..e2d6cae88ef4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AllOfWithSingleRefTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AllOfWithSingleRefTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AnimalTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AnimalTest.php index 747fbc352bf3..fbcf6c62c9d9 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AnimalTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/AnimalTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ApiResponseTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ApiResponseTest.php index 839b82063d6f..9b85d9c438ea 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ApiResponseTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ApiResponseTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfArrayOfNumberOnlyTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfArrayOfNumberOnlyTest.php index 2b505898c802..6ef0f0bd61ea 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfArrayOfNumberOnlyTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfArrayOfNumberOnlyTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfNumberOnlyTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfNumberOnlyTest.php index 63e7028df37d..d8b714cf04f1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfNumberOnlyTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayOfNumberOnlyTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayTestTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayTestTest.php index a11d64914b73..db27d393a5e8 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayTestTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ArrayTestTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CapitalizationTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CapitalizationTest.php index 1fe968fb4a54..2f33dc0061cc 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CapitalizationTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CapitalizationTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CatTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CatTest.php index 2be2d9177f02..fbf42805d445 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CatTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CatTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CategoryTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CategoryTest.php index 46dade34b6ca..03ca767ac080 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CategoryTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/CategoryTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ChildWithNullableTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ChildWithNullableTest.php index 45dbbbe0d572..432efa2e3260 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ChildWithNullableTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ChildWithNullableTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClassModelTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClassModelTest.php index 61bc306d8f1e..2c1ba13eaaf8 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClassModelTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClassModelTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClientTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClientTest.php index 447b3e33ad12..f1f08356855a 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClientTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ClientTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DeprecatedObjectTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DeprecatedObjectTest.php index 66853f4e7b65..b3e4ced8abf3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DeprecatedObjectTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DeprecatedObjectTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DogTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DogTest.php index 3de80308f3e2..b67ac0f2e21e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DogTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/DogTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumArraysTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumArraysTest.php index 2522422cbdea..74cc6d9737b1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumArraysTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumArraysTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumClassTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumClassTest.php index 6d71c616f227..07611c3f5574 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumClassTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumClassTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumTestTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumTestTest.php index 7f7957795379..dcc809901882 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumTestTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumTestTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumWithNameAndDescriptionTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumWithNameAndDescriptionTest.php index 3b5c2cb11257..e2c2940c193e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumWithNameAndDescriptionTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/EnumWithNameAndDescriptionTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FakeBigDecimalMap200ResponseTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FakeBigDecimalMap200ResponseTest.php index 5dd7c2216d6a..07548319aaf4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FakeBigDecimalMap200ResponseTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FakeBigDecimalMap200ResponseTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileSchemaTestClassTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileSchemaTestClassTest.php index 3204feec1582..26a81f10e7e0 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileSchemaTestClassTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileSchemaTestClassTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileTest.php index 793d00f475c0..9619f869584e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FileTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooGetDefaultResponseTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooGetDefaultResponseTest.php index 948c663f5c15..90d9aadfcf3b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooGetDefaultResponseTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooGetDefaultResponseTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooTest.php index 746f76887abf..ccf4052188ae 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FooTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FormatTestTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FormatTestTest.php index aa2a9a74ddee..0e9627d58b15 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FormatTestTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/FormatTestTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HasOnlyReadOnlyTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HasOnlyReadOnlyTest.php index 53ed37481143..86e5f0469c7e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HasOnlyReadOnlyTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HasOnlyReadOnlyTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HealthCheckResultTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HealthCheckResultTest.php index 863055b0f16c..d94729b5681e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HealthCheckResultTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/HealthCheckResultTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MapTestTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MapTestTest.php index bee8213801cf..52c995d8003b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MapTestTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MapTestTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php index d8ad392b2d1f..e57a2479df1b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/Model200ResponseTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/Model200ResponseTest.php index e8d429fdd4ab..511296ca4aaf 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/Model200ResponseTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/Model200ResponseTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelListTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelListTest.php index 5f54074db0a8..6c1b3804d44f 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelListTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelListTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelReturnTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelReturnTest.php index 31d6f7777d98..5995d37756b5 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelReturnTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ModelReturnTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NameTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NameTest.php index c662b457806f..92991e0cb489 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NameTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NameTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NullableClassTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NullableClassTest.php index 9f13b486d2bd..0dddc304e487 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NullableClassTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NullableClassTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NumberOnlyTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NumberOnlyTest.php index ebe12df2228d..9320fe0200f2 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NumberOnlyTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/NumberOnlyTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ObjectWithDeprecatedFieldsTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ObjectWithDeprecatedFieldsTest.php index a8dd2ca6b5a8..a59d3dda9ad9 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ObjectWithDeprecatedFieldsTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ObjectWithDeprecatedFieldsTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OrderTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OrderTest.php index 63b7ba920ce6..de05b4f75993 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OrderTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OrderTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterCompositeTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterCompositeTest.php index 7a200f33a921..2d62aa1f6e8d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterCompositeTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterCompositeTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumDefaultValueTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumDefaultValueTest.php index 27ad52dd0022..092c5c43074a 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumDefaultValueTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumDefaultValueTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerDefaultValueTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerDefaultValueTest.php index 945256fbd80f..61d904adcf3f 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerDefaultValueTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerDefaultValueTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerTest.php index cea3d5e448d2..fc5a7863774f 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumIntegerTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumTest.php index 8892f2abd8bc..00a47d0cb4a4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterEnumTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterObjectWithEnumPropertyTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterObjectWithEnumPropertyTest.php index d14cb2820790..dc8766b9741d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterObjectWithEnumPropertyTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/OuterObjectWithEnumPropertyTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ParentWithNullableTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ParentWithNullableTest.php index d8ef5fc5281c..816c4f61fc8f 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ParentWithNullableTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ParentWithNullableTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/PetTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/PetTest.php index 36fd67c0cc8e..4b7eaaf1bef3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/PetTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/PetTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ReadOnlyFirstTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ReadOnlyFirstTest.php index 084db5df3bfd..6db6604e1d68 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ReadOnlyFirstTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/ReadOnlyFirstTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SingleRefTypeTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SingleRefTypeTest.php index 375f3e4c0ec6..fb3282e73b84 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SingleRefTypeTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SingleRefTypeTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SpecialModelNameTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SpecialModelNameTest.php index 6331b8f0ddf0..51d360bfd3a1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SpecialModelNameTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/SpecialModelNameTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TagTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TagTest.php index 12a7d64bf28c..c93b8c5ad6fc 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TagTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TagTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php index 1c5a8764cd9e..67cee4b71578 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/UserTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/UserTest.php index 8aa8522a5472..450d7e01f2d2 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/UserTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/tests/Model/UserTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * @generated Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/AnotherFakeApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/AnotherFakeApiTest.php index 15f07c38c7ad..5d035e8208a3 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/AnotherFakeApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/AnotherFakeApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/DefaultApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/DefaultApiTest.php index 8bd61e48e055..1c5ea9403145 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/DefaultApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/DefaultApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeApiTest.php index 11951a3a552f..2918a1b7f878 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** @@ -71,6 +71,30 @@ public static function tearDownAfterClass(): void { } + /** + * Test case for fakeBigDecimalMap + * + * . + * + */ + public function testFakeBigDecimalMap() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + + /** + * Test case for fakeEnumEndpoint + * + * test endpoint with enum parameter. + * + */ + public function testFakeEnumEndpoint() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for fakeHealthGet * @@ -155,6 +179,30 @@ public function testFakePropertyEnumIntegerSerialize() self::markTestIncomplete('Not implemented'); } + /** + * Test case for getParameterNameMapping + * + * parameter name mapping test. + * + */ + public function testGetParameterNameMapping() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + + /** + * Test case for testAdditionalPropertiesReference + * + * test referenced additionalProperties. + * + */ + public function testTestAdditionalPropertiesReference() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for testBodyWithBinary * @@ -251,6 +299,18 @@ public function testTestInlineAdditionalProperties() self::markTestIncomplete('Not implemented'); } + /** + * Test case for testInlineFreeformAdditionalProperties + * + * test inline free-form additionalProperties. + * + */ + public function testTestInlineFreeformAdditionalProperties() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for testJsonFormData * @@ -274,4 +334,16 @@ public function testTestQueryParameterCollectionFormat() // TODO: implement self::markTestIncomplete('Not implemented'); } + + /** + * Test case for testStringMapReference + * + * test referenced string map. + * + */ + public function testTestStringMapReference() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } } diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeClassnameTags123ApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeClassnameTags123ApiTest.php index d99c19cb845b..bab512f28a83 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeClassnameTags123ApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/FakeClassnameTags123ApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/PetApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/PetApiTest.php index 3466c1d21741..daeb96730442 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/PetApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/PetApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/StoreApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/StoreApiTest.php index 5fd0bd8c0908..38b93d07611f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/StoreApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/StoreApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Api/UserApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Api/UserApiTest.php index ecea69378a82..8850d12a935c 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Api/UserApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Api/UserApiTest.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/AdditionalPropertiesClassTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/AdditionalPropertiesClassTest.php index 5b2fc51309b2..98c535f87a85 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/AdditionalPropertiesClassTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/AdditionalPropertiesClassTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/AllOfWithSingleRefTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/AllOfWithSingleRefTest.php index 6eeeb7fa71d9..09fbfc05bb3b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/AllOfWithSingleRefTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/AllOfWithSingleRefTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/AnimalTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/AnimalTest.php index 4040a5a5f221..70608f492a7b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/AnimalTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/AnimalTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ApiResponseTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ApiResponseTest.php index 3bdad8846d07..e57704a8da0d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ApiResponseTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ApiResponseTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfArrayOfNumberOnlyTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfArrayOfNumberOnlyTest.php index 7ce7afd41e92..404ade8322df 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfArrayOfNumberOnlyTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfArrayOfNumberOnlyTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfNumberOnlyTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfNumberOnlyTest.php index bf326be7eb35..212bc03b752f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfNumberOnlyTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayOfNumberOnlyTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayTestTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayTestTest.php index 8871cd0fc405..4555438b716d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayTestTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ArrayTestTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/CapitalizationTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/CapitalizationTest.php index 601ef2e260c4..acd19eba4426 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/CapitalizationTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/CapitalizationTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/CatTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/CatTest.php index bf7e9e5e14f4..376356239785 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/CatTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/CatTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/CategoryTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/CategoryTest.php index d9fd9d5fc007..5c69416f3c3f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/CategoryTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/CategoryTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClassModelTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClassModelTest.php index d35f207a07d0..79768819ca3d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClassModelTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClassModelTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClientTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClientTest.php index 5693b81eafcd..f39901bcacf2 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClientTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ClientTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/DeprecatedObjectTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/DeprecatedObjectTest.php index 900cac8c2cbb..05c4fa424a06 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/DeprecatedObjectTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/DeprecatedObjectTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/DogTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/DogTest.php index 79e3e8a98f84..a41be933ed81 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/DogTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/DogTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumArraysTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumArraysTest.php index dc3d33741e11..2096704f5449 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumArraysTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumArraysTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumClassTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumClassTest.php index a1ca2e7d284b..59fd66fab99a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumClassTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumClassTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumTestTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumTestTest.php index 6303bf4f06b4..62a012b6f279 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumTestTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumTestTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumWithNameAndDescriptionTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumWithNameAndDescriptionTest.php index e3c7e6991ea9..dcdeec9d99e0 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumWithNameAndDescriptionTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/EnumWithNameAndDescriptionTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FakeBigDecimalMap200ResponseTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FakeBigDecimalMap200ResponseTest.php index 63439f46a9d0..fa2c4c9269bc 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FakeBigDecimalMap200ResponseTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FakeBigDecimalMap200ResponseTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileSchemaTestClassTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileSchemaTestClassTest.php index 3c49e3a65c7c..c54f880ba7c3 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileSchemaTestClassTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileSchemaTestClassTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileTest.php index 64b29dcd6b10..0ccbfb0b0aa1 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FileTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooGetDefaultResponseTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooGetDefaultResponseTest.php index a1f689961a3d..1ee83eedb6b9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooGetDefaultResponseTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooGetDefaultResponseTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooTest.php index 7c0a87e384e4..3ab1afa63a55 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FooTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FormatTestTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FormatTestTest.php index 79893a6083a0..6d053b7cc6ac 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/FormatTestTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/FormatTestTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/HasOnlyReadOnlyTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/HasOnlyReadOnlyTest.php index 4858b0bb0666..22ca1fb5f4bf 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/HasOnlyReadOnlyTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/HasOnlyReadOnlyTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/HealthCheckResultTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/HealthCheckResultTest.php index 97c97742b1de..f2302d119e3b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/HealthCheckResultTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/HealthCheckResultTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/MapTestTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/MapTestTest.php index 4b079dce7524..90d3078b17c8 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/MapTestTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/MapTestTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php index 595060801c85..50172c489932 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/Model200ResponseTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/Model200ResponseTest.php index 99b32582a0be..f84183708b78 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/Model200ResponseTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/Model200ResponseTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelListTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelListTest.php index 2bdd4595bd02..73c624e18a9c 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelListTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelListTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelReturnTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelReturnTest.php index f9390a7ba96c..90dea585eaf6 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelReturnTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ModelReturnTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/NameTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/NameTest.php index 0c2fa5f8babf..8909403dd166 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/NameTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/NameTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/NullableClassTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/NullableClassTest.php index 98a85272da06..a9d7a5175527 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/NullableClassTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/NullableClassTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/NumberOnlyTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/NumberOnlyTest.php index 85aab557c32b..6f90edb980a3 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/NumberOnlyTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/NumberOnlyTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ObjectWithDeprecatedFieldsTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ObjectWithDeprecatedFieldsTest.php index e7bde9e82271..4570d831ab6b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ObjectWithDeprecatedFieldsTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ObjectWithDeprecatedFieldsTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OrderTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OrderTest.php index ed14957b5c0d..d899498dcc24 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OrderTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OrderTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterCompositeTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterCompositeTest.php index 23abf10c0eb4..208158dabcd9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterCompositeTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterCompositeTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumDefaultValueTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumDefaultValueTest.php index 003d79f5fbbd..b887dbbd85ce 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumDefaultValueTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumDefaultValueTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerDefaultValueTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerDefaultValueTest.php index f7ddfb27575f..b92be15b1d43 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerDefaultValueTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerDefaultValueTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerTest.php index cab5d97d1531..048cc0916a06 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumIntegerTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumTest.php index 9c74db356630..30030d470822 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterEnumTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterObjectWithEnumPropertyTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterObjectWithEnumPropertyTest.php index d6a8ff6408e6..81a25b39d9d7 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterObjectWithEnumPropertyTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/OuterObjectWithEnumPropertyTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/PetTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/PetTest.php index d76e6fc4cf96..5ec91146aae0 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/PetTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/PetTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/PropertyNameMappingTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/PropertyNameMappingTest.php index 9f0037ad763c..9ff6f7983f35 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/PropertyNameMappingTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/PropertyNameMappingTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ReadOnlyFirstTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ReadOnlyFirstTest.php index f1f87f9cf10c..5f6ef42c05e9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/ReadOnlyFirstTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/ReadOnlyFirstTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/SingleRefTypeTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/SingleRefTypeTest.php index 1cf69fb05cf9..c8a441710111 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/SingleRefTypeTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/SingleRefTypeTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/SpecialModelNameTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/SpecialModelNameTest.php index fe191e59d086..d975eda44193 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/SpecialModelNameTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/SpecialModelNameTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/TagTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/TagTest.php index 423b446011a1..f38e1d921d88 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/TagTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/TagTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php index 43059adc83ec..49503d91c675 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.0.1-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/OpenAPIClient-php/test/Model/UserTest.php b/samples/client/petstore/php/OpenAPIClient-php/test/Model/UserTest.php index f972a7db31c9..ea73afd09f95 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/test/Model/UserTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/test/Model/UserTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.1.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/psr-18/test/Api/AnotherFakeApiTest.php b/samples/client/petstore/php/psr-18/test/Api/AnotherFakeApiTest.php index eb638f8ee6a2..5d035e8208a3 100644 --- a/samples/client/petstore/php/psr-18/test/Api/AnotherFakeApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/AnotherFakeApiTest.php @@ -16,7 +16,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Api/DefaultApiTest.php b/samples/client/petstore/php/psr-18/test/Api/DefaultApiTest.php index cbcb57a46b74..1c5ea9403145 100644 --- a/samples/client/petstore/php/psr-18/test/Api/DefaultApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/DefaultApiTest.php @@ -16,7 +16,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Api/FakeApiTest.php b/samples/client/petstore/php/psr-18/test/Api/FakeApiTest.php index 2c1552967dfc..2918a1b7f878 100644 --- a/samples/client/petstore/php/psr-18/test/Api/FakeApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/FakeApiTest.php @@ -16,7 +16,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 */ /** @@ -83,6 +83,18 @@ public function testFakeBigDecimalMap() self::markTestIncomplete('Not implemented'); } + /** + * Test case for fakeEnumEndpoint + * + * test endpoint with enum parameter. + * + */ + public function testFakeEnumEndpoint() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for fakeHealthGet * @@ -179,6 +191,18 @@ public function testGetParameterNameMapping() self::markTestIncomplete('Not implemented'); } + /** + * Test case for testAdditionalPropertiesReference + * + * test referenced additionalProperties. + * + */ + public function testTestAdditionalPropertiesReference() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for testBodyWithBinary * @@ -275,6 +299,18 @@ public function testTestInlineAdditionalProperties() self::markTestIncomplete('Not implemented'); } + /** + * Test case for testInlineFreeformAdditionalProperties + * + * test inline free-form additionalProperties. + * + */ + public function testTestInlineFreeformAdditionalProperties() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for testJsonFormData * @@ -298,4 +334,16 @@ public function testTestQueryParameterCollectionFormat() // TODO: implement self::markTestIncomplete('Not implemented'); } + + /** + * Test case for testStringMapReference + * + * test referenced string map. + * + */ + public function testTestStringMapReference() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } } diff --git a/samples/client/petstore/php/psr-18/test/Api/FakeClassnameTags123ApiTest.php b/samples/client/petstore/php/psr-18/test/Api/FakeClassnameTags123ApiTest.php index a2cdce2f6eba..bab512f28a83 100644 --- a/samples/client/petstore/php/psr-18/test/Api/FakeClassnameTags123ApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/FakeClassnameTags123ApiTest.php @@ -16,7 +16,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Api/PetApiTest.php b/samples/client/petstore/php/psr-18/test/Api/PetApiTest.php index 9e449b563be6..daeb96730442 100644 --- a/samples/client/petstore/php/psr-18/test/Api/PetApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/PetApiTest.php @@ -16,7 +16,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Api/StoreApiTest.php b/samples/client/petstore/php/psr-18/test/Api/StoreApiTest.php index d2d83940ef27..38b93d07611f 100644 --- a/samples/client/petstore/php/psr-18/test/Api/StoreApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/StoreApiTest.php @@ -16,7 +16,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Api/UserApiTest.php b/samples/client/petstore/php/psr-18/test/Api/UserApiTest.php index cb45027ed4aa..8850d12a935c 100644 --- a/samples/client/petstore/php/psr-18/test/Api/UserApiTest.php +++ b/samples/client/petstore/php/psr-18/test/Api/UserApiTest.php @@ -16,7 +16,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/AdditionalPropertiesClassTest.php b/samples/client/petstore/php/psr-18/test/Model/AdditionalPropertiesClassTest.php index 287808971e41..98c535f87a85 100644 --- a/samples/client/petstore/php/psr-18/test/Model/AdditionalPropertiesClassTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/AdditionalPropertiesClassTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/AllOfWithSingleRefTest.php b/samples/client/petstore/php/psr-18/test/Model/AllOfWithSingleRefTest.php index 6eeeb7fa71d9..09fbfc05bb3b 100644 --- a/samples/client/petstore/php/psr-18/test/Model/AllOfWithSingleRefTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/AllOfWithSingleRefTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/AnimalTest.php b/samples/client/petstore/php/psr-18/test/Model/AnimalTest.php index bc3710a28824..70608f492a7b 100644 --- a/samples/client/petstore/php/psr-18/test/Model/AnimalTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/AnimalTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ApiResponseTest.php b/samples/client/petstore/php/psr-18/test/Model/ApiResponseTest.php index 3e8b301e397d..e57704a8da0d 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ApiResponseTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ApiResponseTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ArrayOfArrayOfNumberOnlyTest.php b/samples/client/petstore/php/psr-18/test/Model/ArrayOfArrayOfNumberOnlyTest.php index 3f534fc3dca0..404ade8322df 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ArrayOfArrayOfNumberOnlyTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ArrayOfArrayOfNumberOnlyTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ArrayOfNumberOnlyTest.php b/samples/client/petstore/php/psr-18/test/Model/ArrayOfNumberOnlyTest.php index 0a6c7d2c1649..212bc03b752f 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ArrayOfNumberOnlyTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ArrayOfNumberOnlyTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ArrayTestTest.php b/samples/client/petstore/php/psr-18/test/Model/ArrayTestTest.php index fc366d625e2a..4555438b716d 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ArrayTestTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ArrayTestTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/CapitalizationTest.php b/samples/client/petstore/php/psr-18/test/Model/CapitalizationTest.php index 62d10d5099bc..acd19eba4426 100644 --- a/samples/client/petstore/php/psr-18/test/Model/CapitalizationTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/CapitalizationTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/CatTest.php b/samples/client/petstore/php/psr-18/test/Model/CatTest.php index 29ce99288d88..376356239785 100644 --- a/samples/client/petstore/php/psr-18/test/Model/CatTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/CatTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/CategoryTest.php b/samples/client/petstore/php/psr-18/test/Model/CategoryTest.php index fad932a31981..5c69416f3c3f 100644 --- a/samples/client/petstore/php/psr-18/test/Model/CategoryTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/CategoryTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ClassModelTest.php b/samples/client/petstore/php/psr-18/test/Model/ClassModelTest.php index 2b59c4f09b02..79768819ca3d 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ClassModelTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ClassModelTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ClientTest.php b/samples/client/petstore/php/psr-18/test/Model/ClientTest.php index acba1853268b..f39901bcacf2 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ClientTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ClientTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/DeprecatedObjectTest.php b/samples/client/petstore/php/psr-18/test/Model/DeprecatedObjectTest.php index a780bdf3d800..05c4fa424a06 100644 --- a/samples/client/petstore/php/psr-18/test/Model/DeprecatedObjectTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/DeprecatedObjectTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/DogTest.php b/samples/client/petstore/php/psr-18/test/Model/DogTest.php index 41e2d8ebdad4..a41be933ed81 100644 --- a/samples/client/petstore/php/psr-18/test/Model/DogTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/DogTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/EnumArraysTest.php b/samples/client/petstore/php/psr-18/test/Model/EnumArraysTest.php index aa99f21b5952..2096704f5449 100644 --- a/samples/client/petstore/php/psr-18/test/Model/EnumArraysTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/EnumArraysTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/EnumClassTest.php b/samples/client/petstore/php/psr-18/test/Model/EnumClassTest.php index 9a63b11e5346..59fd66fab99a 100644 --- a/samples/client/petstore/php/psr-18/test/Model/EnumClassTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/EnumClassTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/EnumTestTest.php b/samples/client/petstore/php/psr-18/test/Model/EnumTestTest.php index 853e73b67ac4..62a012b6f279 100644 --- a/samples/client/petstore/php/psr-18/test/Model/EnumTestTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/EnumTestTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/EnumWithNameAndDescriptionTest.php b/samples/client/petstore/php/psr-18/test/Model/EnumWithNameAndDescriptionTest.php index e3c7e6991ea9..dcdeec9d99e0 100644 --- a/samples/client/petstore/php/psr-18/test/Model/EnumWithNameAndDescriptionTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/EnumWithNameAndDescriptionTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * Generator version: 7.9.0-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/FakeBigDecimalMap200ResponseTest.php b/samples/client/petstore/php/psr-18/test/Model/FakeBigDecimalMap200ResponseTest.php index 63439f46a9d0..fa2c4c9269bc 100644 --- a/samples/client/petstore/php/psr-18/test/Model/FakeBigDecimalMap200ResponseTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/FakeBigDecimalMap200ResponseTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/FileSchemaTestClassTest.php b/samples/client/petstore/php/psr-18/test/Model/FileSchemaTestClassTest.php index 4351f64b3578..c54f880ba7c3 100644 --- a/samples/client/petstore/php/psr-18/test/Model/FileSchemaTestClassTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/FileSchemaTestClassTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/FileTest.php b/samples/client/petstore/php/psr-18/test/Model/FileTest.php index eb8ca4f2d106..0ccbfb0b0aa1 100644 --- a/samples/client/petstore/php/psr-18/test/Model/FileTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/FileTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/FooGetDefaultResponseTest.php b/samples/client/petstore/php/psr-18/test/Model/FooGetDefaultResponseTest.php index f76c720e4a55..1ee83eedb6b9 100644 --- a/samples/client/petstore/php/psr-18/test/Model/FooGetDefaultResponseTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/FooGetDefaultResponseTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/FooTest.php b/samples/client/petstore/php/psr-18/test/Model/FooTest.php index b2a6c807ab17..3ab1afa63a55 100644 --- a/samples/client/petstore/php/psr-18/test/Model/FooTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/FooTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/FormatTestTest.php b/samples/client/petstore/php/psr-18/test/Model/FormatTestTest.php index 296a4aaa9537..6d053b7cc6ac 100644 --- a/samples/client/petstore/php/psr-18/test/Model/FormatTestTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/FormatTestTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/HasOnlyReadOnlyTest.php b/samples/client/petstore/php/psr-18/test/Model/HasOnlyReadOnlyTest.php index c08dc5609c77..22ca1fb5f4bf 100644 --- a/samples/client/petstore/php/psr-18/test/Model/HasOnlyReadOnlyTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/HasOnlyReadOnlyTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/HealthCheckResultTest.php b/samples/client/petstore/php/psr-18/test/Model/HealthCheckResultTest.php index 930fe240ed8a..f2302d119e3b 100644 --- a/samples/client/petstore/php/psr-18/test/Model/HealthCheckResultTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/HealthCheckResultTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/MapTestTest.php b/samples/client/petstore/php/psr-18/test/Model/MapTestTest.php index c15b0fd42872..90d3078b17c8 100644 --- a/samples/client/petstore/php/psr-18/test/Model/MapTestTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/MapTestTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php b/samples/client/petstore/php/psr-18/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php index 6663f28c6dfe..50172c489932 100644 --- a/samples/client/petstore/php/psr-18/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/Model200ResponseTest.php b/samples/client/petstore/php/psr-18/test/Model/Model200ResponseTest.php index ab2dd5ae1aa9..f84183708b78 100644 --- a/samples/client/petstore/php/psr-18/test/Model/Model200ResponseTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/Model200ResponseTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ModelListTest.php b/samples/client/petstore/php/psr-18/test/Model/ModelListTest.php index 0abf86225faa..73c624e18a9c 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ModelListTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ModelListTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ModelReturnTest.php b/samples/client/petstore/php/psr-18/test/Model/ModelReturnTest.php index b1c010fe76b8..90dea585eaf6 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ModelReturnTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ModelReturnTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/NameTest.php b/samples/client/petstore/php/psr-18/test/Model/NameTest.php index 1b503949370c..8909403dd166 100644 --- a/samples/client/petstore/php/psr-18/test/Model/NameTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/NameTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/NullableClassTest.php b/samples/client/petstore/php/psr-18/test/Model/NullableClassTest.php index 176ac7e1259a..a9d7a5175527 100644 --- a/samples/client/petstore/php/psr-18/test/Model/NullableClassTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/NullableClassTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/NumberOnlyTest.php b/samples/client/petstore/php/psr-18/test/Model/NumberOnlyTest.php index 47b21b7f5a72..6f90edb980a3 100644 --- a/samples/client/petstore/php/psr-18/test/Model/NumberOnlyTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/NumberOnlyTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ObjectWithDeprecatedFieldsTest.php b/samples/client/petstore/php/psr-18/test/Model/ObjectWithDeprecatedFieldsTest.php index 6676fce1e840..4570d831ab6b 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ObjectWithDeprecatedFieldsTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ObjectWithDeprecatedFieldsTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OrderTest.php b/samples/client/petstore/php/psr-18/test/Model/OrderTest.php index 7b462a84240d..d899498dcc24 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OrderTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OrderTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OuterCompositeTest.php b/samples/client/petstore/php/psr-18/test/Model/OuterCompositeTest.php index 1ba7ddfd532e..208158dabcd9 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OuterCompositeTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OuterCompositeTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OuterEnumDefaultValueTest.php b/samples/client/petstore/php/psr-18/test/Model/OuterEnumDefaultValueTest.php index 8d49246a231e..b887dbbd85ce 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OuterEnumDefaultValueTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OuterEnumDefaultValueTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerDefaultValueTest.php b/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerDefaultValueTest.php index ccfe76e7e360..b92be15b1d43 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerDefaultValueTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerDefaultValueTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerTest.php b/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerTest.php index 41a52eaf7ccc..048cc0916a06 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OuterEnumIntegerTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OuterEnumTest.php b/samples/client/petstore/php/psr-18/test/Model/OuterEnumTest.php index 92161a25ec0c..30030d470822 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OuterEnumTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OuterEnumTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/OuterObjectWithEnumPropertyTest.php b/samples/client/petstore/php/psr-18/test/Model/OuterObjectWithEnumPropertyTest.php index 830121ff2f33..81a25b39d9d7 100644 --- a/samples/client/petstore/php/psr-18/test/Model/OuterObjectWithEnumPropertyTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/OuterObjectWithEnumPropertyTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/PetTest.php b/samples/client/petstore/php/psr-18/test/Model/PetTest.php index 5ebf4bf5c559..5ec91146aae0 100644 --- a/samples/client/petstore/php/psr-18/test/Model/PetTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/PetTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/PropertyNameMappingTest.php b/samples/client/petstore/php/psr-18/test/Model/PropertyNameMappingTest.php index 9f0037ad763c..9ff6f7983f35 100644 --- a/samples/client/petstore/php/psr-18/test/Model/PropertyNameMappingTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/PropertyNameMappingTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/ReadOnlyFirstTest.php b/samples/client/petstore/php/psr-18/test/Model/ReadOnlyFirstTest.php index 712317972ce5..5f6ef42c05e9 100644 --- a/samples/client/petstore/php/psr-18/test/Model/ReadOnlyFirstTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/ReadOnlyFirstTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/SingleRefTypeTest.php b/samples/client/petstore/php/psr-18/test/Model/SingleRefTypeTest.php index 2a7ad6b5bd9f..c8a441710111 100644 --- a/samples/client/petstore/php/psr-18/test/Model/SingleRefTypeTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/SingleRefTypeTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/SpecialModelNameTest.php b/samples/client/petstore/php/psr-18/test/Model/SpecialModelNameTest.php index 6a71585f7f9c..d975eda44193 100644 --- a/samples/client/petstore/php/psr-18/test/Model/SpecialModelNameTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/SpecialModelNameTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/TagTest.php b/samples/client/petstore/php/psr-18/test/Model/TagTest.php index a3cf97687a92..f38e1d921d88 100644 --- a/samples/client/petstore/php/psr-18/test/Model/TagTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/TagTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php b/samples/client/petstore/php/psr-18/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php index 43059adc83ec..49503d91c675 100644 --- a/samples/client/petstore/php/psr-18/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/TestInlineFreeformAdditionalPropertiesRequestTest.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.0.1-SNAPSHOT + * Generator version: 7.11.0-SNAPSHOT */ /** diff --git a/samples/client/petstore/php/psr-18/test/Model/UserTest.php b/samples/client/petstore/php/psr-18/test/Model/UserTest.php index 3ddf40d669db..ea73afd09f95 100644 --- a/samples/client/petstore/php/psr-18/test/Model/UserTest.php +++ b/samples/client/petstore/php/psr-18/test/Model/UserTest.php @@ -17,7 +17,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 */ /** diff --git a/samples/client/petstore/powershell/tests/Api/PSFakeApi.Tests.ps1 b/samples/client/petstore/powershell/tests/Api/PSFakeApi.Tests.ps1 index 1900eab70f81..cfe3d3e3c4cf 100644 --- a/samples/client/petstore/powershell/tests/Api/PSFakeApi.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Api/PSFakeApi.Tests.ps1 @@ -54,6 +54,14 @@ Describe -tag 'PSPetstore' -name 'PSPSFakeApi' { } } + Context 'Test-PSAdditionalPropertiesReference' { + It 'Test Test-PSAdditionalPropertiesReference' { + #$TestResult = Test-PSAdditionalPropertiesReference -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + Context 'Test-PSBodyWithFileSchema' { It 'Test Test-PSBodyWithFileSchema' { #$TestResult = Test-PSBodyWithFileSchema -FileSchemaTestClass "TEST_VALUE" @@ -110,6 +118,14 @@ Describe -tag 'PSPetstore' -name 'PSPSFakeApi' { } } + Context 'Test-PSInlineFreeformAdditionalProperties' { + It 'Test Test-PSInlineFreeformAdditionalProperties' { + #$TestResult = Test-PSInlineFreeformAdditionalProperties -TestInlineFreeformAdditionalPropertiesRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + Context 'Test-PSJsonFormData' { It 'Test Test-PSJsonFormData' { #$TestResult = Test-PSJsonFormData -Param "TEST_VALUE" -Param2 "TEST_VALUE" @@ -126,4 +142,12 @@ Describe -tag 'PSPetstore' -name 'PSPSFakeApi' { } } + Context 'Test-PSStringMapReference' { + It 'Test Test-PSStringMapReference' { + #$TestResult = Test-PSStringMapReference -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + } diff --git a/samples/client/petstore/powershell/tests/Api/PSPetApi.Tests.ps1 b/samples/client/petstore/powershell/tests/Api/PSPetApi.Tests.ps1 index 89fba4eed997..1135a5e35eac 100644 --- a/samples/client/petstore/powershell/tests/Api/PSPetApi.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Api/PSPetApi.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # @@ -70,4 +70,12 @@ Describe -tag 'PSPetstore' -name 'PSPSPetApi' { } } + Context 'Invoke-PSUploadFileWithRequiredFile' { + It 'Test Invoke-PSUploadFileWithRequiredFile' { + #$TestResult = Invoke-PSUploadFileWithRequiredFile -PetId "TEST_VALUE" -RequiredFile "TEST_VALUE" -AdditionalMetadata "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + } diff --git a/samples/client/petstore/powershell/tests/Api/PSStoreApi.Tests.ps1 b/samples/client/petstore/powershell/tests/Api/PSStoreApi.Tests.ps1 index 509019fe2ef9..4022668e26ec 100644 --- a/samples/client/petstore/powershell/tests/Api/PSStoreApi.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Api/PSStoreApi.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Api/PSUserApi.Tests.ps1 b/samples/client/petstore/powershell/tests/Api/PSUserApi.Tests.ps1 index 21978edb37f3..0d032178918b 100644 --- a/samples/client/petstore/powershell/tests/Api/PSUserApi.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Api/PSUserApi.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Model/ApiResponse.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/ApiResponse.Tests.ps1 index 792526347142..b2de8f846705 100644 --- a/samples/client/petstore/powershell/tests/Model/ApiResponse.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/ApiResponse.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Model/Category.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/Category.Tests.ps1 index b4782f412b40..faaff2b19380 100644 --- a/samples/client/petstore/powershell/tests/Model/Category.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/Category.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Model/EnumTest.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/EnumTest.Tests.ps1 index e7f1a863029b..4a22a9b45c8b 100644 --- a/samples/client/petstore/powershell/tests/Model/EnumTest.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/EnumTest.Tests.ps1 @@ -9,7 +9,7 @@ Describe -tag 'PSPetstore' -name 'PSEnumTest' { Context 'PSEnumTest' { It 'Initialize-PSEnumTest' { # a simple test to create an object - #$NewObject = Initialize-PSEnumTest -EnumString "TEST_VALUE" -EnumStringRequired "TEST_VALUE" -EnumInteger "TEST_VALUE" -EnumIntegerOnly "TEST_VALUE" -EnumNumber "TEST_VALUE" -OuterEnum "TEST_VALUE" -OuterEnumInteger "TEST_VALUE" -OuterEnumDefaultValue "TEST_VALUE" -OuterEnumIntegerDefaultValue "TEST_VALUE" + #$NewObject = Initialize-PSEnumTest -EnumString "TEST_VALUE" -EnumStringRequired "TEST_VALUE" -EnumInteger "TEST_VALUE" -EnumIntegerOnly "TEST_VALUE" -EnumNumber "TEST_VALUE" -OuterEnum "TEST_VALUE" #$NewObject | Should -BeOfType EnumTest #$NewObject.property | Should -Be 0 } diff --git a/samples/client/petstore/powershell/tests/Model/ObjectWithDeprecatedFields.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/ObjectWithDeprecatedFields.Tests.ps1 index 10ae61483760..985fc50f4f84 100644 --- a/samples/client/petstore/powershell/tests/Model/ObjectWithDeprecatedFields.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/ObjectWithDeprecatedFields.Tests.ps1 @@ -9,7 +9,7 @@ Describe -tag 'PSPetstore' -name 'PSObjectWithDeprecatedFields' { Context 'PSObjectWithDeprecatedFields' { It 'Initialize-PSObjectWithDeprecatedFields' { # a simple test to create an object - #$NewObject = Initialize-PSObjectWithDeprecatedFields -Uuid "TEST_VALUE" -Id "TEST_VALUE" -DeprecatedRef "TEST_VALUE" -Bars "TEST_VALUE" + #$NewObject = Initialize-PSObjectWithDeprecatedFields -Uuid "TEST_VALUE" -Id "TEST_VALUE" -DeprecatedRef "TEST_VALUE" -Bars "TEST_VALUE" -SomethingElse "TEST_VALUE" #$NewObject | Should -BeOfType ObjectWithDeprecatedFields #$NewObject.property | Should -Be 0 } diff --git a/samples/client/petstore/powershell/tests/Model/Order.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/Order.Tests.ps1 index 5bf036e01fa2..5710b6b99dd9 100644 --- a/samples/client/petstore/powershell/tests/Model/Order.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/Order.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Model/Pet.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/Pet.Tests.ps1 index 1f6e189b8365..7d82d10caae1 100644 --- a/samples/client/petstore/powershell/tests/Model/Pet.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/Pet.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Model/Tag.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/Tag.Tests.ps1 index ae168f27dc79..36516e8264f7 100644 --- a/samples/client/petstore/powershell/tests/Model/Tag.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/Tag.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # diff --git a/samples/client/petstore/powershell/tests/Model/User.Tests.ps1 b/samples/client/petstore/powershell/tests/Model/User.Tests.ps1 index 1c9f4d6dee40..df1cff9be009 100644 --- a/samples/client/petstore/powershell/tests/Model/User.Tests.ps1 +++ b/samples/client/petstore/powershell/tests/Model/User.Tests.ps1 @@ -1,6 +1,6 @@ # # OpenAPI Petstore -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \ # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # @@ -9,7 +9,7 @@ Describe -tag 'PSPetstore' -name 'PSUser' { Context 'PSUser' { It 'Initialize-PSUser' { # a simple test to create an object - #$NewObject = Initialize-PSUser -Id "TEST_VALUE" -Username "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Password "TEST_VALUE" -Phone "TEST_VALUE" -UserStatus "TEST_VALUE" + #$NewObject = Initialize-PSUser -Id "TEST_VALUE" -Username "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Password "TEST_VALUE" -Phone "TEST_VALUE" -UserStatus "TEST_VALUE" -ObjectWithNoDeclaredProps "TEST_VALUE" -ObjectWithNoDeclaredPropsNullable "TEST_VALUE" -AnyTypeProp "TEST_VALUE" -AnyTypePropNullable "TEST_VALUE" #$NewObject | Should -BeOfType User #$NewObject.property | Should -Be 0 } diff --git a/samples/client/petstore/ruby-autoload/spec/api/another_fake_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/another_fake_api_spec.rb index 1343b2a9cc66..4db2cbc9d00f 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/another_fake_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/another_fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-autoload/spec/api/default_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/default_api_spec.rb index f453852b8c08..fc1db9dae748 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/default_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/default_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-autoload/spec/api/fake_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/fake_api_spec.rb index 45df141292bd..4fb9b347337a 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/fake_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -32,6 +32,16 @@ end end + # unit tests for fake_big_decimal_map + # for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + # @param [Hash] opts the optional parameters + # @return [FakeBigDecimalMap200Response] + describe 'fake_big_decimal_map 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 fake_health_get # Health check endpoint # @param [Hash] opts the optional parameters @@ -110,6 +120,18 @@ end end + # unit tests for test_additional_properties_reference + # test referenced additionalProperties + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_additional_properties_reference 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_body_with_binary # For this test, the body has to be a binary file. # @param body image to upload @@ -123,7 +145,7 @@ # unit tests for test_body_with_file_schema # For this test, the body for this request must reference a schema named `File`. - # @param file_schema_test_class + # @param file_schema_test_class # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_file_schema test' do @@ -133,8 +155,8 @@ end # unit tests for test_body_with_query_params - # @param query - # @param user + # @param query + # @param user # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_query_params test' do @@ -156,8 +178,8 @@ end # unit tests for test_endpoint_parameters - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 # @param number None # @param double None # @param pattern_without_delimiter None @@ -190,7 +212,7 @@ # @option opts [String] :enum_query_string Query parameter enum test (string) # @option opts [Integer] :enum_query_integer Query parameter enum test (double) # @option opts [Float] :enum_query_double Query parameter enum test (double) - # @option opts [Array] :enum_query_model_array + # @option opts [Array] :enum_query_model_array # @option opts [Array] :enum_form_string_array Form parameter enum test (string array) # @option opts [String] :enum_form_string Form parameter enum test (string) # @return [nil] @@ -219,7 +241,7 @@ # unit tests for test_inline_additional_properties # test inline additionalProperties - # + # # @param request_body request body # @param [Hash] opts the optional parameters # @return [nil] @@ -229,9 +251,21 @@ end end + # unit tests for test_inline_freeform_additional_properties + # test inline free-form additionalProperties + # + # @param test_inline_freeform_additional_properties_request request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_inline_freeform_additional_properties 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_json_form_data # test json serialization of form data - # + # # @param param field1 # @param param2 field2 # @param [Hash] opts the optional parameters @@ -242,16 +276,28 @@ end end + # unit tests for test_nullable + # test nullable parent property + # + # @param child_with_nullable request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_nullable 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_parameter_collection_format # To test the collection format in query parameters - # @param pipe - # @param ioutil - # @param http - # @param url - # @param context - # @param allow_empty + # @param pipe + # @param ioutil + # @param http + # @param url + # @param context + # @param allow_empty # @param [Hash] opts the optional parameters - # @option opts [Hash] :language + # @option opts [Hash] :language # @return [nil] describe 'test_query_parameter_collection_format test' do it 'should work' do @@ -259,4 +305,16 @@ end end + # unit tests for test_string_map_reference + # test referenced string map + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_string_map_reference 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/petstore/ruby-autoload/spec/api/fake_classname_tags123_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/fake_classname_tags123_api_spec.rb index 8daabe80f4e5..afb4cda40bd4 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/fake_classname_tags123_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/fake_classname_tags123_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-autoload/spec/api/pet_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/pet_api_spec.rb index ab4a3e7122f2..cf65f21d62c7 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/pet_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/pet_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,7 +34,7 @@ # unit tests for add_pet # Add a new pet to the store - # + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -46,10 +46,10 @@ # unit tests for delete_pet # Deletes a pet - # + # # @param pet_id Pet id to delete # @param [Hash] opts the optional parameters - # @option opts [String] :api_key + # @option opts [String] :api_key # @return [nil] describe 'delete_pet test' do it 'should work' do @@ -95,7 +95,7 @@ # unit tests for update_pet # Update an existing pet - # + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -107,7 +107,7 @@ # unit tests for update_pet_with_form # Updates a pet in the store with form data - # + # # @param pet_id ID of pet that needs to be updated # @param [Hash] opts the optional parameters # @option opts [String] :name Updated name of the pet @@ -121,7 +121,7 @@ # unit tests for upload_file # uploads an image - # + # # @param pet_id ID of pet to update # @param [Hash] opts the optional parameters # @option opts [String] :additional_metadata Additional data to pass to server @@ -135,7 +135,7 @@ # unit tests for upload_file_with_required_file # uploads an image (required) - # + # # @param pet_id ID of pet to update # @param required_file file to upload # @param [Hash] opts the optional parameters diff --git a/samples/client/petstore/ruby-autoload/spec/api/store_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/store_api_spec.rb index 5c06e5ca1026..e1b4ac45bce8 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/store_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/store_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -69,7 +69,7 @@ # 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/ruby-autoload/spec/api/user_api_spec.rb b/samples/client/petstore/ruby-autoload/spec/api/user_api_spec.rb index 52d890147719..d12e6a0d20ab 100644 --- a/samples/client/petstore/ruby-autoload/spec/api/user_api_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/api/user_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -46,7 +46,7 @@ # 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] @@ -58,7 +58,7 @@ # 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] @@ -82,7 +82,7 @@ # 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] @@ -94,7 +94,7 @@ # 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 @@ -107,7 +107,7 @@ # 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/ruby-autoload/spec/models/additional_properties_class_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/additional_properties_class_spec.rb index d3438441833d..52c6b4c9522c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of AdditionalPropertiesClass' do it 'should create an instance of AdditionalPropertiesClass' do - expect(instance).to be_instance_of(Petstore::AdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AdditionalPropertiesClass) end end + describe 'test attribute "map_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/all_of_with_single_ref_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/all_of_with_single_ref_spec.rb index f13ef665f5d8..890830a8460d 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/all_of_with_single_ref_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/all_of_with_single_ref_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of AllOfWithSingleRef' do it 'should create an instance of AllOfWithSingleRef' do - expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) end end + describe 'test attribute "username"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/animal_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/animal_spec.rb index ae94f3ac820b..1ee72ce7ab15 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/animal_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/animal_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Animal' do it 'should create an instance of Animal' do - expect(instance).to be_instance_of(Petstore::Animal) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Animal) end end + describe 'test attribute "class_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/api_response_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/api_response_spec.rb index bd991b2ae5f9..ed6b223f1359 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/api_response_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/api_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ApiResponse' do it 'should create an instance of ApiResponse' do - expect(instance).to be_instance_of(Petstore::ApiResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ApiResponse) end end + describe 'test attribute "code"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/array_of_array_of_number_only_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/array_of_array_of_number_only_spec.rb index ea3a61f3b813..fd0fa9306d59 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/array_of_array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/array_of_array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ArrayOfArrayOfNumberOnly' do it 'should create an instance of ArrayOfArrayOfNumberOnly' do - expect(instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) end end + describe 'test attribute "array_array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/array_of_number_only_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/array_of_number_only_spec.rb index da9a4775f144..b77ec009649c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ArrayOfNumberOnly' do it 'should create an instance of ArrayOfNumberOnly' do - expect(instance).to be_instance_of(Petstore::ArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfNumberOnly) end end + describe 'test attribute "array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/array_test_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/array_test_spec.rb index 9d443b1caded..0ccba22d9a04 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/array_test_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/array_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ArrayTest' do it 'should create an instance of ArrayTest' do - expect(instance).to be_instance_of(Petstore::ArrayTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayTest) end end + describe 'test attribute "array_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/capitalization_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/capitalization_spec.rb index 0fd4c21411f6..7d4e8b9ea06c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/capitalization_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/capitalization_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Capitalization' do it 'should create an instance of Capitalization' do - expect(instance).to be_instance_of(Petstore::Capitalization) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Capitalization) end end + describe 'test attribute "small_camel"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/cat_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/cat_spec.rb index 06dc81c184ca..9f09d5fbaf83 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/cat_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/cat_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Cat' do it 'should create an instance of Cat' do - expect(instance).to be_instance_of(Petstore::Cat) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Cat) end end + describe 'test attribute "declawed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/category_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/category_spec.rb index d701e19b29ed..522c20bd3b09 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/category_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/category_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Category' do it 'should create an instance of Category' do - expect(instance).to be_instance_of(Petstore::Category) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Category) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/child_with_nullable_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/child_with_nullable_spec.rb index 2858c0502dbb..f86837bbbb91 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/child_with_nullable_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/child_with_nullable_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ChildWithNullable' do it 'should create an instance of ChildWithNullable' do - expect(instance).to be_instance_of(Petstore::ChildWithNullable) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ChildWithNullable) end end + describe 'test attribute "other_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/class_model_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/class_model_spec.rb index 415895ec06cc..d1affa000236 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/class_model_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/class_model_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ClassModel' do it 'should create an instance of ClassModel' do - expect(instance).to be_instance_of(Petstore::ClassModel) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ClassModel) end end + describe 'test attribute "_class"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/client_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/client_spec.rb index 09abf9c08ba0..b747d7b47ba8 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/client_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/client_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Client' do it 'should create an instance of Client' do - expect(instance).to be_instance_of(Petstore::Client) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Client) end end + describe 'test attribute "client"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/deprecated_object_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/deprecated_object_spec.rb index ba3b7d46fe89..832e48f0fdc1 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/deprecated_object_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/deprecated_object_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of DeprecatedObject' do it 'should create an instance of DeprecatedObject' do - expect(instance).to be_instance_of(Petstore::DeprecatedObject) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::DeprecatedObject) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/dog_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/dog_spec.rb index 782e471b0a34..fd446c30fee4 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/dog_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/dog_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Dog' do it 'should create an instance of Dog' do - expect(instance).to be_instance_of(Petstore::Dog) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Dog) end end + describe 'test attribute "breed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/enum_arrays_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/enum_arrays_spec.rb index badee6e1398b..615041859d8b 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/enum_arrays_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/enum_arrays_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of EnumArrays' do it 'should create an instance of EnumArrays' do - expect(instance).to be_instance_of(Petstore::EnumArrays) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumArrays) end end + describe 'test attribute "just_symbol"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/enum_class_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/enum_class_spec.rb index 0cdc3dc890de..094873fa960c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/enum_class_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/enum_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of EnumClass' do it 'should create an instance of EnumClass' do - expect(instance).to be_instance_of(Petstore::EnumClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumClass) end end + end diff --git a/samples/client/petstore/ruby-autoload/spec/models/enum_test_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/enum_test_spec.rb index 4872de907ada..e7d00c78711c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/enum_test_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/enum_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of EnumTest' do it 'should create an instance of EnumTest' do - expect(instance).to be_instance_of(Petstore::EnumTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumTest) end end + describe 'test attribute "enum_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/fake_big_decimal_map200_response_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/fake_big_decimal_map200_response_spec.rb index a1b4a6c4641f..d41e455a4517 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/fake_big_decimal_map200_response_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/fake_big_decimal_map200_response_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of FakeBigDecimalMap200Response' do it 'should create an instance of FakeBigDecimalMap200Response' do - expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) end end + describe 'test attribute "some_id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/file_schema_test_class_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/file_schema_test_class_spec.rb index 38c34f9c50cb..cc6535c3688f 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/file_schema_test_class_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/file_schema_test_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of FileSchemaTestClass' do it 'should create an instance of FileSchemaTestClass' do - expect(instance).to be_instance_of(Petstore::FileSchemaTestClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FileSchemaTestClass) end end + describe 'test attribute "file"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/file_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/file_spec.rb index 7d857e0f8356..8ba1f89c5c00 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/file_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/file_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of File' do it 'should create an instance of File' do - expect(instance).to be_instance_of(Petstore::File) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::File) end end + describe 'test attribute "source_uri"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/foo_get_default_response_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/foo_get_default_response_spec.rb index d6f85f77b516..22d9bc8dc5ed 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/foo_get_default_response_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/foo_get_default_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of FooGetDefaultResponse' do it 'should create an instance of FooGetDefaultResponse' do - expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) end end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/foo_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/foo_spec.rb index a6021d760b41..6b4b4f559484 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/foo_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/foo_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Foo' do it 'should create an instance of Foo' do - expect(instance).to be_instance_of(Petstore::Foo) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Foo) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/format_test_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/format_test_spec.rb index 4ed014c36174..c1a318014e95 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/format_test_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/format_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -18,18 +18,15 @@ # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe Petstore::FormatTest do - let(:instance) { Petstore::FormatTest.new({ - number: 65, - byte: '1234356', - date: Date.parse('2007-12-03T10:15:30+01:00'), - password: 'password123' - }) } + let(:instance) { Petstore::FormatTest.new } describe 'test an instance of FormatTest' do it 'should create an instance of FormatTest' do - expect(instance).to be_instance_of(Petstore::FormatTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FormatTest) end end + describe 'test attribute "integer"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/has_only_read_only_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/has_only_read_only_spec.rb index 0a0abcf5047f..543f72a9e865 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/has_only_read_only_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/has_only_read_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of HasOnlyReadOnly' do it 'should create an instance of HasOnlyReadOnly' do - expect(instance).to be_instance_of(Petstore::HasOnlyReadOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HasOnlyReadOnly) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/health_check_result_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/health_check_result_spec.rb index 6145f63bef84..797d914e363c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/health_check_result_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/health_check_result_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of HealthCheckResult' do it 'should create an instance of HealthCheckResult' do - expect(instance).to be_instance_of(Petstore::HealthCheckResult) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HealthCheckResult) end end + describe 'test attribute "nullable_message"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/list_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/list_spec.rb index 7c8d0e30b9f3..d08f9daee56e 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/list_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/list_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of List' do it 'should create an instance of List' do - expect(instance).to be_instance_of(Petstore::List) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::List) end end + describe 'test attribute "_123_list"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/map_test_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/map_test_spec.rb index 3fa64927bc8f..e4840c2a4816 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/map_test_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/map_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of MapTest' do it 'should create an instance of MapTest' do - expect(instance).to be_instance_of(Petstore::MapTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MapTest) end end + describe 'test attribute "map_map_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/mixed_properties_and_additional_properties_class_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/mixed_properties_and_additional_properties_class_spec.rb index b92861268130..fe265ae70279 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/mixed_properties_and_additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/mixed_properties_and_additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of MixedPropertiesAndAdditionalPropertiesClass' do it 'should create an instance of MixedPropertiesAndAdditionalPropertiesClass' do - expect(instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/model200_response_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/model200_response_spec.rb index b8ca5a4d37ab..061281a8c1c5 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/model200_response_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/model200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Model200Response' do it 'should create an instance of Model200Response' do - expect(instance).to be_instance_of(Petstore::Model200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Model200Response) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/model_return_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/model_return_spec.rb index 0c02c25d3362..bbcd3f0d5fcd 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/model_return_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/model_return_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ModelReturn' do it 'should create an instance of ModelReturn' do - expect(instance).to be_instance_of(Petstore::ModelReturn) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ModelReturn) end end + describe 'test attribute "_return"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/name_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/name_spec.rb index d7c62387e6bf..4ffe903deff4 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/name_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Name' do it 'should create an instance of Name' do - expect(instance).to be_instance_of(Petstore::Name) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Name) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/nullable_class_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/nullable_class_spec.rb index 5fb93182e06f..28d85a223408 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/nullable_class_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/nullable_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of NullableClass' do it 'should create an instance of NullableClass' do - expect(instance).to be_instance_of(Petstore::NullableClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NullableClass) end end + describe 'test attribute "integer_prop"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/number_only_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/number_only_spec.rb index 7c98ce3f4048..1907d9638a71 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/number_only_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of NumberOnly' do it 'should create an instance of NumberOnly' do - expect(instance).to be_instance_of(Petstore::NumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NumberOnly) end end + describe 'test attribute "just_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/object_with_deprecated_fields_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/object_with_deprecated_fields_spec.rb index ea6fa4915b56..69fced6f0c19 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/object_with_deprecated_fields_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/object_with_deprecated_fields_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ObjectWithDeprecatedFields' do it 'should create an instance of ObjectWithDeprecatedFields' do - expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/order_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/order_spec.rb index 6de4d11801d7..beb1893b114e 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/order_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/order_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Order' do it 'should create an instance of Order' do - expect(instance).to be_instance_of(Petstore::Order) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Order) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/outer_composite_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/outer_composite_spec.rb index eda7fd2942fd..832939d3e24a 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/outer_composite_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/outer_composite_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of OuterComposite' do it 'should create an instance of OuterComposite' do - expect(instance).to be_instance_of(Petstore::OuterComposite) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterComposite) end end + describe 'test attribute "my_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_default_value_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_default_value_spec.rb index 4b48a9f6a6c9..c8c66b84884d 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_default_value_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of OuterEnumDefaultValue' do it 'should create an instance of OuterEnumDefaultValue' do - expect(instance).to be_instance_of(Petstore::OuterEnumDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumDefaultValue) end end + end diff --git a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_default_value_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_default_value_spec.rb index 1ae37781452a..91f477b156e6 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_default_value_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of OuterEnumIntegerDefaultValue' do it 'should create an instance of OuterEnumIntegerDefaultValue' do - expect(instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) end end + end diff --git a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_spec.rb index 11c0c903ce44..98141a4b64f2 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_integer_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of OuterEnumInteger' do it 'should create an instance of OuterEnumInteger' do - expect(instance).to be_instance_of(Petstore::OuterEnumInteger) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumInteger) end end + end diff --git a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_spec.rb index ef02b0f406ee..06e00d35afec 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/outer_enum_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/outer_enum_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of OuterEnum' do it 'should create an instance of OuterEnum' do - expect(instance).to be_instance_of(Petstore::OuterEnum) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnum) end end + end diff --git a/samples/client/petstore/ruby-autoload/spec/models/outer_object_with_enum_property_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/outer_object_with_enum_property_spec.rb index a2ee31a7fd7d..69ecd157eb6c 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/outer_object_with_enum_property_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/outer_object_with_enum_property_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of OuterObjectWithEnumProperty' do it 'should create an instance of OuterObjectWithEnumProperty' do - expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) end end + describe 'test attribute "value"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/parent_with_nullable_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/parent_with_nullable_spec.rb index 763820497048..a12e06f7e265 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/parent_with_nullable_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/parent_with_nullable_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ParentWithNullable' do it 'should create an instance of ParentWithNullable' do - expect(instance).to be_instance_of(Petstore::ParentWithNullable) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ParentWithNullable) end end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/pet_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/pet_spec.rb index 6f7a9f9df7bd..d56bbb9cc2de 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/pet_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/pet_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -18,13 +18,15 @@ # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe Petstore::Pet do - let(:instance) { Petstore::Pet.new({ name: 'Kitty', photo_urls: ['www.photo-url.test'] }) } + let(:instance) { Petstore::Pet.new } describe 'test an instance of Pet' do it 'should create an instance of Pet' do - expect(instance).to be_instance_of(Petstore::Pet) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Pet) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/read_only_first_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/read_only_first_spec.rb index 6f24ff8b8a36..e35fe201e39a 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/read_only_first_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/read_only_first_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ReadOnlyFirst' do it 'should create an instance of ReadOnlyFirst' do - expect(instance).to be_instance_of(Petstore::ReadOnlyFirst) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ReadOnlyFirst) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/single_ref_type_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/single_ref_type_spec.rb index 7cf871f27e65..0cdc540e563a 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/single_ref_type_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/single_ref_type_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of SingleRefType' do it 'should create an instance of SingleRefType' do - expect(instance).to be_instance_of(Petstore::SingleRefType) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SingleRefType) end end + end diff --git a/samples/client/petstore/ruby-autoload/spec/models/special_model_name_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/special_model_name_spec.rb index a3bedaa162de..25926fd381a7 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/special_model_name_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/special_model_name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of SpecialModelName' do it 'should create an instance of SpecialModelName' do - expect(instance).to be_instance_of(Petstore::SpecialModelName) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SpecialModelName) end end + describe 'test attribute "special_property_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/tag_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/tag_spec.rb index 4da8e4d48f7e..359fc8c0b761 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/tag_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/tag_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of Tag' do it 'should create an instance of Tag' do - expect(instance).to be_instance_of(Petstore::Tag) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Tag) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/test_inline_freeform_additional_properties_request_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/test_inline_freeform_additional_properties_request_spec.rb index 2508babe7272..8cda9ab078b2 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/test_inline_freeform_additional_properties_request_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/test_inline_freeform_additional_properties_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of TestInlineFreeformAdditionalPropertiesRequest' do it 'should create an instance of TestInlineFreeformAdditionalPropertiesRequest' do - expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) end end + describe 'test attribute "some_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-autoload/spec/models/user_spec.rb b/samples/client/petstore/ruby-autoload/spec/models/user_spec.rb index ec6864f1c8c3..b07fb462fba1 100644 --- a/samples/client/petstore/ruby-autoload/spec/models/user_spec.rb +++ b/samples/client/petstore/ruby-autoload/spec/models/user_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of User' do it 'should create an instance of User' do - expect(instance).to be_instance_of(Petstore::User) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::User) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/api/another_fake_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/another_fake_api_spec.rb index c4ae33b8e94a..4db2cbc9d00f 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/another_fake_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/another_fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-faraday/spec/api/default_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/default_api_spec.rb index a4c4123b2f47..fc1db9dae748 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/default_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/default_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,7 +34,7 @@ # unit tests for foo_get # @param [Hash] opts the optional parameters - # @return [InlineResponseDefault] + # @return [FooGetDefaultResponse] describe 'foo_get test' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/api/fake_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/fake_api_spec.rb index 659c054e04d6..4fb9b347337a 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/fake_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -32,6 +32,16 @@ end end + # unit tests for fake_big_decimal_map + # for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + # @param [Hash] opts the optional parameters + # @return [FakeBigDecimalMap200Response] + describe 'fake_big_decimal_map 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 fake_health_get # Health check endpoint # @param [Hash] opts the optional parameters @@ -99,9 +109,43 @@ end end + # unit tests for fake_property_enum_integer_serialize + # Test serialization of enum (int) properties with examples + # @param outer_object_with_enum_property Input enum (int) as post body + # @param [Hash] opts the optional parameters + # @return [OuterObjectWithEnumProperty] + describe 'fake_property_enum_integer_serialize 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_additional_properties_reference + # test referenced additionalProperties + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_additional_properties_reference 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_body_with_binary + # For this test, the body has to be a binary file. + # @param body image to upload + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_body_with_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_body_with_file_schema - # For this test, the body for this request much reference a schema named `File`. - # @param file_schema_test_class + # For this test, the body for this request must reference a schema named `File`. + # @param file_schema_test_class # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_file_schema test' do @@ -111,8 +155,8 @@ end # unit tests for test_body_with_query_params - # @param query - # @param user + # @param query + # @param user # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_query_params test' do @@ -134,8 +178,8 @@ end # unit tests for test_endpoint_parameters - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 # @param number None # @param double None # @param pattern_without_delimiter None @@ -148,7 +192,7 @@ # @option opts [String] :string None # @option opts [File] :binary None # @option opts [Date] :date None - # @option opts [DateTime] :date_time None + # @option opts [Time] :date_time None # @option opts [String] :password None # @option opts [String] :callback None # @return [nil] @@ -168,6 +212,7 @@ # @option opts [String] :enum_query_string Query parameter enum test (string) # @option opts [Integer] :enum_query_integer Query parameter enum test (double) # @option opts [Float] :enum_query_double Query parameter enum test (double) + # @option opts [Array] :enum_query_model_array # @option opts [Array] :enum_form_string_array Form parameter enum test (string array) # @option opts [String] :enum_form_string Form parameter enum test (string) # @return [nil] @@ -196,6 +241,7 @@ # unit tests for test_inline_additional_properties # test inline additionalProperties + # # @param request_body request body # @param [Hash] opts the optional parameters # @return [nil] @@ -205,8 +251,21 @@ end end + # unit tests for test_inline_freeform_additional_properties + # test inline free-form additionalProperties + # + # @param test_inline_freeform_additional_properties_request request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_inline_freeform_additional_properties 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_json_form_data # test json serialization of form data + # # @param param field1 # @param param2 field2 # @param [Hash] opts the optional parameters @@ -217,14 +276,28 @@ end end + # unit tests for test_nullable + # test nullable parent property + # + # @param child_with_nullable request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_nullable 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_parameter_collection_format # To test the collection format in query parameters - # @param pipe - # @param ioutil - # @param http - # @param url - # @param context + # @param pipe + # @param ioutil + # @param http + # @param url + # @param context + # @param allow_empty # @param [Hash] opts the optional parameters + # @option opts [Hash] :language # @return [nil] describe 'test_query_parameter_collection_format test' do it 'should work' do @@ -232,4 +305,16 @@ end end + # unit tests for test_string_map_reference + # test referenced string map + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_string_map_reference 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/petstore/ruby-faraday/spec/api/fake_classname_tags123_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/fake_classname_tags123_api_spec.rb index e102683e57ea..afb4cda40bd4 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/fake_classname_tags123_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/fake_classname_tags123_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-faraday/spec/api/pet_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/pet_api_spec.rb index f20fc2c623b5..cf65f21d62c7 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/pet_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/pet_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,6 +34,7 @@ # unit tests for add_pet # Add a new pet to the store + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -45,9 +46,10 @@ # unit tests for delete_pet # Deletes a pet + # # @param pet_id Pet id to delete # @param [Hash] opts the optional parameters - # @option opts [String] :api_key + # @option opts [String] :api_key # @return [nil] describe 'delete_pet test' do it 'should work' do @@ -93,6 +95,7 @@ # unit tests for update_pet # Update an existing pet + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -104,6 +107,7 @@ # unit tests for update_pet_with_form # Updates a pet in the store with form data + # # @param pet_id ID of pet that needs to be updated # @param [Hash] opts the optional parameters # @option opts [String] :name Updated name of the pet @@ -117,6 +121,7 @@ # unit tests for upload_file # uploads an image + # # @param pet_id ID of pet to update # @param [Hash] opts the optional parameters # @option opts [String] :additional_metadata Additional data to pass to server @@ -130,6 +135,7 @@ # unit tests for upload_file_with_required_file # uploads an image (required) + # # @param pet_id ID of pet to update # @param required_file file to upload # @param [Hash] opts the optional parameters diff --git a/samples/client/petstore/ruby-faraday/spec/api/store_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/store_api_spec.rb index 7ef3b058dd7e..e1b4ac45bce8 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/store_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/store_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -69,6 +69,7 @@ # 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/ruby-faraday/spec/api/user_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb index d534f5198612..d12e6a0d20ab 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -46,6 +46,7 @@ # 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] @@ -57,6 +58,7 @@ # 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] @@ -80,6 +82,7 @@ # 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] @@ -91,6 +94,7 @@ # 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 @@ -103,6 +107,7 @@ # 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/ruby-faraday/spec/models/additional_properties_class_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/additional_properties_class_spec.rb index 2cfb6c671496..52c6b4c9522c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::AdditionalPropertiesClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'AdditionalPropertiesClass' do - before do - # run before each test - @instance = Petstore::AdditionalPropertiesClass.new - end - - after do - # run after each test - end +describe Petstore::AdditionalPropertiesClass do + let(:instance) { Petstore::AdditionalPropertiesClass.new } describe 'test an instance of AdditionalPropertiesClass' do it 'should create an instance of AdditionalPropertiesClass' do - expect(@instance).to be_instance_of(Petstore::AdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AdditionalPropertiesClass) end end + describe 'test attribute "map_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/all_of_with_single_ref_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/all_of_with_single_ref_spec.rb index f13ef665f5d8..890830a8460d 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/all_of_with_single_ref_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/all_of_with_single_ref_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of AllOfWithSingleRef' do it 'should create an instance of AllOfWithSingleRef' do - expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) end end + describe 'test attribute "username"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/animal_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/animal_spec.rb index 2bb034b310ff..1ee72ce7ab15 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/animal_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/animal_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Animal # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Animal' do - before do - # run before each test - @instance = Petstore::Animal.new - end - - after do - # run after each test - end +describe Petstore::Animal do + let(:instance) { Petstore::Animal.new } describe 'test an instance of Animal' do it 'should create an instance of Animal' do - expect(@instance).to be_instance_of(Petstore::Animal) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Animal) end end + describe 'test attribute "class_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/api_response_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/api_response_spec.rb index 267301460d95..ed6b223f1359 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/api_response_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/api_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ApiResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ApiResponse' do - before do - # run before each test - @instance = Petstore::ApiResponse.new - end - - after do - # run after each test - end +describe Petstore::ApiResponse do + let(:instance) { Petstore::ApiResponse.new } describe 'test an instance of ApiResponse' do it 'should create an instance of ApiResponse' do - expect(@instance).to be_instance_of(Petstore::ApiResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ApiResponse) end end + describe 'test attribute "code"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/array_of_array_of_number_only_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/array_of_array_of_number_only_spec.rb index 78f4a08761a1..fd0fa9306d59 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/array_of_array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/array_of_array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayOfArrayOfNumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayOfArrayOfNumberOnly' do - before do - # run before each test - @instance = Petstore::ArrayOfArrayOfNumberOnly.new - end - - after do - # run after each test - end +describe Petstore::ArrayOfArrayOfNumberOnly do + let(:instance) { Petstore::ArrayOfArrayOfNumberOnly.new } describe 'test an instance of ArrayOfArrayOfNumberOnly' do it 'should create an instance of ArrayOfArrayOfNumberOnly' do - expect(@instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) end end + describe 'test attribute "array_array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/array_of_number_only_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/array_of_number_only_spec.rb index 3e2ea611ecad..b77ec009649c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayOfNumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayOfNumberOnly' do - before do - # run before each test - @instance = Petstore::ArrayOfNumberOnly.new - end - - after do - # run after each test - end +describe Petstore::ArrayOfNumberOnly do + let(:instance) { Petstore::ArrayOfNumberOnly.new } describe 'test an instance of ArrayOfNumberOnly' do it 'should create an instance of ArrayOfNumberOnly' do - expect(@instance).to be_instance_of(Petstore::ArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfNumberOnly) end end + describe 'test attribute "array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/array_test_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/array_test_spec.rb index 4633c0d8f3d6..0ccba22d9a04 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/array_test_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/array_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayTest' do - before do - # run before each test - @instance = Petstore::ArrayTest.new - end - - after do - # run after each test - end +describe Petstore::ArrayTest do + let(:instance) { Petstore::ArrayTest.new } describe 'test an instance of ArrayTest' do it 'should create an instance of ArrayTest' do - expect(@instance).to be_instance_of(Petstore::ArrayTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayTest) end end + describe 'test attribute "array_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/capitalization_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/capitalization_spec.rb index 025a0c5b09c0..7d4e8b9ea06c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/capitalization_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/capitalization_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Capitalization # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Capitalization' do - before do - # run before each test - @instance = Petstore::Capitalization.new - end - - after do - # run after each test - end +describe Petstore::Capitalization do + let(:instance) { Petstore::Capitalization.new } describe 'test an instance of Capitalization' do it 'should create an instance of Capitalization' do - expect(@instance).to be_instance_of(Petstore::Capitalization) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Capitalization) end end + describe 'test attribute "small_camel"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/cat_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/cat_spec.rb index 3007a05924f6..9f09d5fbaf83 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/cat_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/cat_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Cat # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Cat' do - before do - # run before each test - @instance = Petstore::Cat.new - end - - after do - # run after each test - end +describe Petstore::Cat do + let(:instance) { Petstore::Cat.new } describe 'test an instance of Cat' do it 'should create an instance of Cat' do - expect(@instance).to be_instance_of(Petstore::Cat) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Cat) end end + describe 'test attribute "declawed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/category_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/category_spec.rb index aa9fb18d97f8..522c20bd3b09 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/category_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/category_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Category # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Category' do - before do - # run before each test - @instance = Petstore::Category.new - end - - after do - # run after each test - end +describe Petstore::Category do + let(:instance) { Petstore::Category.new } describe 'test an instance of Category' do it 'should create an instance of Category' do - expect(@instance).to be_instance_of(Petstore::Category) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Category) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/child_with_nullable_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/child_with_nullable_spec.rb index 2858c0502dbb..f86837bbbb91 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/child_with_nullable_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/child_with_nullable_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ChildWithNullable' do it 'should create an instance of ChildWithNullable' do - expect(instance).to be_instance_of(Petstore::ChildWithNullable) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ChildWithNullable) end end + describe 'test attribute "other_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/class_model_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/class_model_spec.rb index e5cadd24dad2..d1affa000236 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/class_model_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/class_model_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ClassModel # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ClassModel' do - before do - # run before each test - @instance = Petstore::ClassModel.new - end - - after do - # run after each test - end +describe Petstore::ClassModel do + let(:instance) { Petstore::ClassModel.new } describe 'test an instance of ClassModel' do it 'should create an instance of ClassModel' do - expect(@instance).to be_instance_of(Petstore::ClassModel) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ClassModel) end end + describe 'test attribute "_class"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/client_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/client_spec.rb index ef798f27dad5..b747d7b47ba8 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/client_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/client_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Client # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Client' do - before do - # run before each test - @instance = Petstore::Client.new - end - - after do - # run after each test - end +describe Petstore::Client do + let(:instance) { Petstore::Client.new } describe 'test an instance of Client' do it 'should create an instance of Client' do - expect(@instance).to be_instance_of(Petstore::Client) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Client) end end + describe 'test attribute "client"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/deprecated_object_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/deprecated_object_spec.rb index 244cae374649..832e48f0fdc1 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/deprecated_object_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/deprecated_object_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of DeprecatedObject' do it 'should create an instance of DeprecatedObject' do - expect(instance).to be_instance_of(Petstore::DeprecatedObject) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::DeprecatedObject) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/dog_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/dog_spec.rb index 4263bda06f12..fd446c30fee4 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/dog_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/dog_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Dog # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Dog' do - before do - # run before each test - @instance = Petstore::Dog.new - end - - after do - # run after each test - end +describe Petstore::Dog do + let(:instance) { Petstore::Dog.new } describe 'test an instance of Dog' do it 'should create an instance of Dog' do - expect(@instance).to be_instance_of(Petstore::Dog) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Dog) end end + describe 'test attribute "breed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/enum_arrays_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/enum_arrays_spec.rb index a839505446d9..615041859d8b 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/enum_arrays_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/enum_arrays_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,27 +17,22 @@ # Unit tests for Petstore::EnumArrays # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumArrays' do - before do - # run before each test - @instance = Petstore::EnumArrays.new - end - - after do - # run after each test - end +describe Petstore::EnumArrays do + let(:instance) { Petstore::EnumArrays.new } describe 'test an instance of EnumArrays' do it 'should create an instance of EnumArrays' do - expect(@instance).to be_instance_of(Petstore::EnumArrays) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumArrays) end end + describe 'test attribute "just_symbol"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', [">=", "$"]) # validator.allowable_values.each do |value| - # expect { @instance.just_symbol = value }.not_to raise_error + # expect { instance.just_symbol = value }.not_to raise_error # end end end @@ -47,7 +42,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array', ["fish", "crab"]) # validator.allowable_values.each do |value| - # expect { @instance.array_enum = value }.not_to raise_error + # expect { instance.array_enum = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-faraday/spec/models/enum_class_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/enum_class_spec.rb index 29fcd05aa750..094873fa960c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/enum_class_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/enum_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::EnumClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumClass' do - before do - # run before each test - @instance = Petstore::EnumClass.new - end - - after do - # run after each test - end +describe Petstore::EnumClass do + let(:instance) { Petstore::EnumClass.new } describe 'test an instance of EnumClass' do it 'should create an instance of EnumClass' do - expect(@instance).to be_instance_of(Petstore::EnumClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumClass) end end + end diff --git a/samples/client/petstore/ruby-faraday/spec/models/enum_test_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/enum_test_spec.rb index 0235c261aa47..e7d00c78711c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/enum_test_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/enum_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,27 +17,22 @@ # Unit tests for Petstore::EnumTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumTest' do - before do - # run before each test - @instance = Petstore::EnumTest.new - end - - after do - # run after each test - end +describe Petstore::EnumTest do + let(:instance) { Petstore::EnumTest.new } describe 'test an instance of EnumTest' do it 'should create an instance of EnumTest' do - expect(@instance).to be_instance_of(Petstore::EnumTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumTest) end end + describe 'test attribute "enum_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UPPER", "lower", ""]) # validator.allowable_values.each do |value| - # expect { @instance.enum_string = value }.not_to raise_error + # expect { instance.enum_string = value }.not_to raise_error # end end end @@ -47,7 +42,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UPPER", "lower", ""]) # validator.allowable_values.each do |value| - # expect { @instance.enum_string_required = value }.not_to raise_error + # expect { instance.enum_string_required = value }.not_to raise_error # end end end @@ -57,7 +52,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', [1, -1]) # validator.allowable_values.each do |value| - # expect { @instance.enum_integer = value }.not_to raise_error + # expect { instance.enum_integer = value }.not_to raise_error # end end end @@ -67,7 +62,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Float', [1.1, -1.2]) # validator.allowable_values.each do |value| - # expect { @instance.enum_number = value }.not_to raise_error + # expect { instance.enum_number = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-faraday/spec/models/fake_big_decimal_map200_response_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/fake_big_decimal_map200_response_spec.rb index a1b4a6c4641f..d41e455a4517 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/fake_big_decimal_map200_response_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/fake_big_decimal_map200_response_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of FakeBigDecimalMap200Response' do it 'should create an instance of FakeBigDecimalMap200Response' do - expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) end end + describe 'test attribute "some_id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/file_schema_test_class_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/file_schema_test_class_spec.rb index 4c8d3f9d80a4..cc6535c3688f 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/file_schema_test_class_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/file_schema_test_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::FileSchemaTestClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'FileSchemaTestClass' do - before do - # run before each test - @instance = Petstore::FileSchemaTestClass.new - end - - after do - # run after each test - end +describe Petstore::FileSchemaTestClass do + let(:instance) { Petstore::FileSchemaTestClass.new } describe 'test an instance of FileSchemaTestClass' do it 'should create an instance of FileSchemaTestClass' do - expect(@instance).to be_instance_of(Petstore::FileSchemaTestClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FileSchemaTestClass) end end + describe 'test attribute "file"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/file_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/file_spec.rb index 0afb47c7a962..8ba1f89c5c00 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/file_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/file_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::File # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'File' do - before do - # run before each test - @instance = Petstore::File.new - end - - after do - # run after each test - end +describe Petstore::File do + let(:instance) { Petstore::File.new } describe 'test an instance of File' do it 'should create an instance of File' do - expect(@instance).to be_instance_of(Petstore::File) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::File) end end + describe 'test attribute "source_uri"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/foo_get_default_response_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/foo_get_default_response_spec.rb index 3ce38971bc30..22d9bc8dc5ed 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/foo_get_default_response_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/foo_get_default_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of FooGetDefaultResponse' do it 'should create an instance of FooGetDefaultResponse' do - expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) end end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/foo_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/foo_spec.rb index fc54b3ac92f6..6b4b4f559484 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/foo_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/foo_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Foo # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Foo' do - before do - # run before each test - @instance = Petstore::Foo.new - end - - after do - # run after each test - end +describe Petstore::Foo do + let(:instance) { Petstore::Foo.new } describe 'test an instance of Foo' do it 'should create an instance of Foo' do - expect(@instance).to be_instance_of(Petstore::Foo) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Foo) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/format_test_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/format_test_spec.rb index c6408011fbc5..c1a318014e95 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/format_test_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/format_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,26 +17,16 @@ # Unit tests for Petstore::FormatTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'FormatTest' do - before do - # run before each test - @instance = Petstore::FormatTest.new({ - number: 65, - byte: '1234356', - date: Date.parse('2007-12-03T10:15:30+01:00'), - password: 'password123' - }) - end - - after do - # run after each test - end +describe Petstore::FormatTest do + let(:instance) { Petstore::FormatTest.new } describe 'test an instance of FormatTest' do it 'should create an instance of FormatTest' do - expect(@instance).to be_instance_of(Petstore::FormatTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FormatTest) end end + describe 'test attribute "integer"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -73,6 +63,12 @@ end end + describe 'test attribute "decimal"' do + it 'should work' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ + end + end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/has_only_read_only_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/has_only_read_only_spec.rb index 5630b1cf97d2..543f72a9e865 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/has_only_read_only_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/has_only_read_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::HasOnlyReadOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'HasOnlyReadOnly' do - before do - # run before each test - @instance = Petstore::HasOnlyReadOnly.new - end - - after do - # run after each test - end +describe Petstore::HasOnlyReadOnly do + let(:instance) { Petstore::HasOnlyReadOnly.new } describe 'test an instance of HasOnlyReadOnly' do it 'should create an instance of HasOnlyReadOnly' do - expect(@instance).to be_instance_of(Petstore::HasOnlyReadOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HasOnlyReadOnly) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/health_check_result_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/health_check_result_spec.rb index 797ee9704d3f..797d914e363c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/health_check_result_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/health_check_result_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::HealthCheckResult # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'HealthCheckResult' do - before do - # run before each test - @instance = Petstore::HealthCheckResult.new - end - - after do - # run after each test - end +describe Petstore::HealthCheckResult do + let(:instance) { Petstore::HealthCheckResult.new } describe 'test an instance of HealthCheckResult' do it 'should create an instance of HealthCheckResult' do - expect(@instance).to be_instance_of(Petstore::HealthCheckResult) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HealthCheckResult) end end + describe 'test attribute "nullable_message"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/list_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/list_spec.rb index 88716e869424..d08f9daee56e 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/list_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/list_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::List # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'List' do - before do - # run before each test - @instance = Petstore::List.new - end - - after do - # run after each test - end +describe Petstore::List do + let(:instance) { Petstore::List.new } describe 'test an instance of List' do it 'should create an instance of List' do - expect(@instance).to be_instance_of(Petstore::List) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::List) end end + describe 'test attribute "_123_list"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/map_test_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/map_test_spec.rb index 012b9cc251f7..e4840c2a4816 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/map_test_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/map_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::MapTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MapTest' do - before do - # run before each test - @instance = Petstore::MapTest.new - end - - after do - # run after each test - end +describe Petstore::MapTest do + let(:instance) { Petstore::MapTest.new } describe 'test an instance of MapTest' do it 'should create an instance of MapTest' do - expect(@instance).to be_instance_of(Petstore::MapTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MapTest) end end + describe 'test attribute "map_map_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -43,7 +38,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Hash', ["UPPER", "lower"]) # validator.allowable_values.each do |value| - # expect { @instance.map_of_enum_string = value }.not_to raise_error + # expect { instance.map_of_enum_string = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-faraday/spec/models/mixed_properties_and_additional_properties_class_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/mixed_properties_and_additional_properties_class_spec.rb index f58460e50e0c..fe265ae70279 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/mixed_properties_and_additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/mixed_properties_and_additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::MixedPropertiesAndAdditionalPropertiesClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MixedPropertiesAndAdditionalPropertiesClass' do - before do - # run before each test - @instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new - end - - after do - # run after each test - end +describe Petstore::MixedPropertiesAndAdditionalPropertiesClass do + let(:instance) { Petstore::MixedPropertiesAndAdditionalPropertiesClass.new } describe 'test an instance of MixedPropertiesAndAdditionalPropertiesClass' do it 'should create an instance of MixedPropertiesAndAdditionalPropertiesClass' do - expect(@instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/model200_response_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/model200_response_spec.rb index 245390ee6c09..061281a8c1c5 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/model200_response_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/model200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Model200Response # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Model200Response' do - before do - # run before each test - @instance = Petstore::Model200Response.new - end - - after do - # run after each test - end +describe Petstore::Model200Response do + let(:instance) { Petstore::Model200Response.new } describe 'test an instance of Model200Response' do it 'should create an instance of Model200Response' do - expect(@instance).to be_instance_of(Petstore::Model200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Model200Response) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/model_return_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/model_return_spec.rb index 5881f54839af..bbcd3f0d5fcd 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/model_return_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/model_return_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ModelReturn # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ModelReturn' do - before do - # run before each test - @instance = Petstore::ModelReturn.new - end - - after do - # run after each test - end +describe Petstore::ModelReturn do + let(:instance) { Petstore::ModelReturn.new } describe 'test an instance of ModelReturn' do it 'should create an instance of ModelReturn' do - expect(@instance).to be_instance_of(Petstore::ModelReturn) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ModelReturn) end end + describe 'test attribute "_return"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/name_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/name_spec.rb index 1edec1a94632..4ffe903deff4 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/name_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Name # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Name' do - before do - # run before each test - @instance = Petstore::Name.new - end - - after do - # run after each test - end +describe Petstore::Name do + let(:instance) { Petstore::Name.new } describe 'test an instance of Name' do it 'should create an instance of Name' do - expect(@instance).to be_instance_of(Petstore::Name) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Name) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/nullable_class_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/nullable_class_spec.rb index 5507799a0aae..28d85a223408 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/nullable_class_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/nullable_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::NullableClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'NullableClass' do - before do - # run before each test - @instance = Petstore::NullableClass.new - end - - after do - # run after each test - end +describe Petstore::NullableClass do + let(:instance) { Petstore::NullableClass.new } describe 'test an instance of NullableClass' do it 'should create an instance of NullableClass' do - expect(@instance).to be_instance_of(Petstore::NullableClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NullableClass) end end + describe 'test attribute "integer_prop"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/number_only_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/number_only_spec.rb index 2ecc4260dda8..1907d9638a71 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/number_only_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::NumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'NumberOnly' do - before do - # run before each test - @instance = Petstore::NumberOnly.new - end - - after do - # run after each test - end +describe Petstore::NumberOnly do + let(:instance) { Petstore::NumberOnly.new } describe 'test an instance of NumberOnly' do it 'should create an instance of NumberOnly' do - expect(@instance).to be_instance_of(Petstore::NumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NumberOnly) end end + describe 'test attribute "just_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/object_with_deprecated_fields_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/object_with_deprecated_fields_spec.rb index d6372aa68b57..69fced6f0c19 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/object_with_deprecated_fields_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/object_with_deprecated_fields_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ObjectWithDeprecatedFields' do it 'should create an instance of ObjectWithDeprecatedFields' do - expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/order_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/order_spec.rb index e7a9dea74da1..beb1893b114e 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/order_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/order_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Order # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Order' do - before do - # run before each test - @instance = Petstore::Order.new - end - - after do - # run after each test - end +describe Petstore::Order do + let(:instance) { Petstore::Order.new } describe 'test an instance of Order' do it 'should create an instance of Order' do - expect(@instance).to be_instance_of(Petstore::Order) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Order) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -61,7 +56,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["placed", "approved", "delivered"]) # validator.allowable_values.each do |value| - # expect { @instance.status = value }.not_to raise_error + # expect { instance.status = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-faraday/spec/models/outer_composite_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/outer_composite_spec.rb index ad4053e2c4a0..832939d3e24a 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/outer_composite_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/outer_composite_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::OuterComposite # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterComposite' do - before do - # run before each test - @instance = Petstore::OuterComposite.new - end - - after do - # run after each test - end +describe Petstore::OuterComposite do + let(:instance) { Petstore::OuterComposite.new } describe 'test an instance of OuterComposite' do it 'should create an instance of OuterComposite' do - expect(@instance).to be_instance_of(Petstore::OuterComposite) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterComposite) end end + describe 'test attribute "my_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_default_value_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_default_value_spec.rb index 7bd96a7abaf4..c8c66b84884d 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_default_value_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumDefaultValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumDefaultValue' do - before do - # run before each test - @instance = Petstore::OuterEnumDefaultValue.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumDefaultValue do + let(:instance) { Petstore::OuterEnumDefaultValue.new } describe 'test an instance of OuterEnumDefaultValue' do it 'should create an instance of OuterEnumDefaultValue' do - expect(@instance).to be_instance_of(Petstore::OuterEnumDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumDefaultValue) end end + end diff --git a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_default_value_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_default_value_spec.rb index 48a94827e568..91f477b156e6 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_default_value_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumIntegerDefaultValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumIntegerDefaultValue' do - before do - # run before each test - @instance = Petstore::OuterEnumIntegerDefaultValue.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumIntegerDefaultValue do + let(:instance) { Petstore::OuterEnumIntegerDefaultValue.new } describe 'test an instance of OuterEnumIntegerDefaultValue' do it 'should create an instance of OuterEnumIntegerDefaultValue' do - expect(@instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) end end + end diff --git a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_spec.rb index a0ac4c81f077..98141a4b64f2 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_integer_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumInteger # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumInteger' do - before do - # run before each test - @instance = Petstore::OuterEnumInteger.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumInteger do + let(:instance) { Petstore::OuterEnumInteger.new } describe 'test an instance of OuterEnumInteger' do it 'should create an instance of OuterEnumInteger' do - expect(@instance).to be_instance_of(Petstore::OuterEnumInteger) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumInteger) end end + end diff --git a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_spec.rb index ea9762da93bf..06e00d35afec 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/outer_enum_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/outer_enum_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnum # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnum' do - before do - # run before each test - @instance = Petstore::OuterEnum.new - end - - after do - # run after each test - end +describe Petstore::OuterEnum do + let(:instance) { Petstore::OuterEnum.new } describe 'test an instance of OuterEnum' do it 'should create an instance of OuterEnum' do - expect(@instance).to be_instance_of(Petstore::OuterEnum) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnum) end end + end diff --git a/samples/client/petstore/ruby-faraday/spec/models/outer_object_with_enum_property_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/outer_object_with_enum_property_spec.rb index 1a590a78b29a..69ecd157eb6c 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/outer_object_with_enum_property_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/outer_object_with_enum_property_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of OuterObjectWithEnumProperty' do it 'should create an instance of OuterObjectWithEnumProperty' do - expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) end end + describe 'test attribute "value"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/parent_with_nullable_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/parent_with_nullable_spec.rb index 763820497048..a12e06f7e265 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/parent_with_nullable_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/parent_with_nullable_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ParentWithNullable' do it 'should create an instance of ParentWithNullable' do - expect(instance).to be_instance_of(Petstore::ParentWithNullable) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ParentWithNullable) end end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/pet_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/pet_spec.rb index 08a4e8f61c98..d56bbb9cc2de 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/pet_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/pet_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Pet # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Pet' do - before do - # run before each test - @instance = Petstore::Pet.new({ name: 'Kitty', photo_urls: ['www.photo-url.test'] }) - end - - after do - # run after each test - end +describe Petstore::Pet do + let(:instance) { Petstore::Pet.new } describe 'test an instance of Pet' do it 'should create an instance of Pet' do - expect(@instance).to be_instance_of(Petstore::Pet) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Pet) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -67,7 +62,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["available", "pending", "sold"]) # validator.allowable_values.each do |value| - # expect { @instance.status = value }.not_to raise_error + # expect { instance.status = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-faraday/spec/models/read_only_first_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/read_only_first_spec.rb index 036dd5581eed..e35fe201e39a 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/read_only_first_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/read_only_first_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ReadOnlyFirst # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ReadOnlyFirst' do - before do - # run before each test - @instance = Petstore::ReadOnlyFirst.new - end - - after do - # run after each test - end +describe Petstore::ReadOnlyFirst do + let(:instance) { Petstore::ReadOnlyFirst.new } describe 'test an instance of ReadOnlyFirst' do it 'should create an instance of ReadOnlyFirst' do - expect(@instance).to be_instance_of(Petstore::ReadOnlyFirst) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ReadOnlyFirst) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/single_ref_type_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/single_ref_type_spec.rb index 7686eb34d2dc..0cdc540e563a 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/single_ref_type_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/single_ref_type_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of SingleRefType' do it 'should create an instance of SingleRefType' do - expect(instance).to be_instance_of(Petstore::SingleRefType) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SingleRefType) end end + end diff --git a/samples/client/petstore/ruby-faraday/spec/models/special_model_name_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/special_model_name_spec.rb index 78555f967cc6..25926fd381a7 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/special_model_name_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/special_model_name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::SpecialModelName # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'SpecialModelName' do - before do - # run before each test - @instance = Petstore::SpecialModelName.new - end - - after do - # run after each test - end +describe Petstore::SpecialModelName do + let(:instance) { Petstore::SpecialModelName.new } describe 'test an instance of SpecialModelName' do it 'should create an instance of SpecialModelName' do - expect(@instance).to be_instance_of(Petstore::SpecialModelName) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SpecialModelName) end end + describe 'test attribute "special_property_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/tag_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/tag_spec.rb index e791cb35e149..359fc8c0b761 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/tag_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/tag_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Tag # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Tag' do - before do - # run before each test - @instance = Petstore::Tag.new - end - - after do - # run after each test - end +describe Petstore::Tag do + let(:instance) { Petstore::Tag.new } describe 'test an instance of Tag' do it 'should create an instance of Tag' do - expect(@instance).to be_instance_of(Petstore::Tag) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Tag) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/test_inline_freeform_additional_properties_request_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/test_inline_freeform_additional_properties_request_spec.rb index 2508babe7272..8cda9ab078b2 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/test_inline_freeform_additional_properties_request_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/test_inline_freeform_additional_properties_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of TestInlineFreeformAdditionalPropertiesRequest' do it 'should create an instance of TestInlineFreeformAdditionalPropertiesRequest' do - expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) end end + describe 'test attribute "some_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-faraday/spec/models/user_spec.rb b/samples/client/petstore/ruby-faraday/spec/models/user_spec.rb index 9d162c5d9993..b07fb462fba1 100644 --- a/samples/client/petstore/ruby-faraday/spec/models/user_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/models/user_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::User # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'User' do - before do - # run before each test - @instance = Petstore::User.new - end - - after do - # run after each test - end +describe Petstore::User do + let(:instance) { Petstore::User.new } describe 'test an instance of User' do it 'should create an instance of User' do - expect(@instance).to be_instance_of(Petstore::User) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::User) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/api/another_fake_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/another_fake_api_spec.rb index c4ae33b8e94a..4db2cbc9d00f 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/another_fake_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/another_fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-httpx/spec/api/default_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/default_api_spec.rb index a4c4123b2f47..fc1db9dae748 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/default_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/default_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,7 +34,7 @@ # unit tests for foo_get # @param [Hash] opts the optional parameters - # @return [InlineResponseDefault] + # @return [FooGetDefaultResponse] describe 'foo_get test' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/api/fake_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/fake_api_spec.rb index 659c054e04d6..e8caebf4e6ef 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/fake_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -32,6 +32,16 @@ end end + # unit tests for fake_big_decimal_map + # for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + # @param [Hash] opts the optional parameters + # @return [FakeBigDecimalMap200Response] + describe 'fake_big_decimal_map 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 fake_health_get # Health check endpoint # @param [Hash] opts the optional parameters @@ -99,9 +109,57 @@ end end + # unit tests for fake_property_enum_integer_serialize + # Test serialization of enum (int) properties with examples + # @param outer_object_with_enum_property Input enum (int) as post body + # @param [Hash] opts the optional parameters + # @return [OuterObjectWithEnumProperty] + describe 'fake_property_enum_integer_serialize 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 get_parameter_name_mapping + # parameter name mapping test + # @param _type _type + # @param type type + # @param type_ type_ + # @param http_debug_option http debug option (to test parameter naming option) + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'get_parameter_name_mapping 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_additional_properties_reference + # test referenced additionalProperties + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_additional_properties_reference 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_body_with_binary + # For this test, the body has to be a binary file. + # @param body image to upload + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_body_with_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_body_with_file_schema - # For this test, the body for this request much reference a schema named `File`. - # @param file_schema_test_class + # For this test, the body for this request must reference a schema named `File`. + # @param file_schema_test_class # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_file_schema test' do @@ -111,8 +169,8 @@ end # unit tests for test_body_with_query_params - # @param query - # @param user + # @param query + # @param user # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_query_params test' do @@ -134,8 +192,8 @@ end # unit tests for test_endpoint_parameters - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 # @param number None # @param double None # @param pattern_without_delimiter None @@ -148,7 +206,7 @@ # @option opts [String] :string None # @option opts [File] :binary None # @option opts [Date] :date None - # @option opts [DateTime] :date_time None + # @option opts [Time] :date_time None # @option opts [String] :password None # @option opts [String] :callback None # @return [nil] @@ -168,6 +226,7 @@ # @option opts [String] :enum_query_string Query parameter enum test (string) # @option opts [Integer] :enum_query_integer Query parameter enum test (double) # @option opts [Float] :enum_query_double Query parameter enum test (double) + # @option opts [Array] :enum_query_model_array # @option opts [Array] :enum_form_string_array Form parameter enum test (string array) # @option opts [String] :enum_form_string Form parameter enum test (string) # @return [nil] @@ -196,6 +255,7 @@ # unit tests for test_inline_additional_properties # test inline additionalProperties + # # @param request_body request body # @param [Hash] opts the optional parameters # @return [nil] @@ -205,8 +265,21 @@ end end + # unit tests for test_inline_freeform_additional_properties + # test inline free-form additionalProperties + # + # @param test_inline_freeform_additional_properties_request request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_inline_freeform_additional_properties 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_json_form_data # test json serialization of form data + # # @param param field1 # @param param2 field2 # @param [Hash] opts the optional parameters @@ -219,12 +292,14 @@ # unit tests for test_query_parameter_collection_format # To test the collection format in query parameters - # @param pipe - # @param ioutil - # @param http - # @param url - # @param context + # @param pipe + # @param ioutil + # @param http + # @param url + # @param context + # @param allow_empty # @param [Hash] opts the optional parameters + # @option opts [Hash] :language # @return [nil] describe 'test_query_parameter_collection_format test' do it 'should work' do @@ -232,4 +307,16 @@ end end + # unit tests for test_string_map_reference + # test referenced string map + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_string_map_reference 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/petstore/ruby-httpx/spec/api/fake_classname_tags123_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/fake_classname_tags123_api_spec.rb index e102683e57ea..afb4cda40bd4 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/fake_classname_tags123_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/fake_classname_tags123_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-httpx/spec/api/pet_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/pet_api_spec.rb index f20fc2c623b5..cf65f21d62c7 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/pet_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/pet_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,6 +34,7 @@ # unit tests for add_pet # Add a new pet to the store + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -45,9 +46,10 @@ # unit tests for delete_pet # Deletes a pet + # # @param pet_id Pet id to delete # @param [Hash] opts the optional parameters - # @option opts [String] :api_key + # @option opts [String] :api_key # @return [nil] describe 'delete_pet test' do it 'should work' do @@ -93,6 +95,7 @@ # unit tests for update_pet # Update an existing pet + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -104,6 +107,7 @@ # unit tests for update_pet_with_form # Updates a pet in the store with form data + # # @param pet_id ID of pet that needs to be updated # @param [Hash] opts the optional parameters # @option opts [String] :name Updated name of the pet @@ -117,6 +121,7 @@ # unit tests for upload_file # uploads an image + # # @param pet_id ID of pet to update # @param [Hash] opts the optional parameters # @option opts [String] :additional_metadata Additional data to pass to server @@ -130,6 +135,7 @@ # unit tests for upload_file_with_required_file # uploads an image (required) + # # @param pet_id ID of pet to update # @param required_file file to upload # @param [Hash] opts the optional parameters diff --git a/samples/client/petstore/ruby-httpx/spec/api/store_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/store_api_spec.rb index 7ef3b058dd7e..e1b4ac45bce8 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/store_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/store_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -69,6 +69,7 @@ # 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/ruby-httpx/spec/api/user_api_spec.rb b/samples/client/petstore/ruby-httpx/spec/api/user_api_spec.rb index d534f5198612..d12e6a0d20ab 100644 --- a/samples/client/petstore/ruby-httpx/spec/api/user_api_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/api/user_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -46,6 +46,7 @@ # 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] @@ -57,6 +58,7 @@ # 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] @@ -80,6 +82,7 @@ # 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] @@ -91,6 +94,7 @@ # 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 @@ -103,6 +107,7 @@ # 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/ruby-httpx/spec/models/additional_properties_class_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/additional_properties_class_spec.rb index 2cfb6c671496..52c6b4c9522c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::AdditionalPropertiesClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'AdditionalPropertiesClass' do - before do - # run before each test - @instance = Petstore::AdditionalPropertiesClass.new - end - - after do - # run after each test - end +describe Petstore::AdditionalPropertiesClass do + let(:instance) { Petstore::AdditionalPropertiesClass.new } describe 'test an instance of AdditionalPropertiesClass' do it 'should create an instance of AdditionalPropertiesClass' do - expect(@instance).to be_instance_of(Petstore::AdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AdditionalPropertiesClass) end end + describe 'test attribute "map_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/all_of_with_single_ref_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/all_of_with_single_ref_spec.rb index f13ef665f5d8..890830a8460d 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/all_of_with_single_ref_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/all_of_with_single_ref_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of AllOfWithSingleRef' do it 'should create an instance of AllOfWithSingleRef' do - expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) end end + describe 'test attribute "username"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/animal_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/animal_spec.rb index 2bb034b310ff..1ee72ce7ab15 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/animal_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/animal_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Animal # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Animal' do - before do - # run before each test - @instance = Petstore::Animal.new - end - - after do - # run after each test - end +describe Petstore::Animal do + let(:instance) { Petstore::Animal.new } describe 'test an instance of Animal' do it 'should create an instance of Animal' do - expect(@instance).to be_instance_of(Petstore::Animal) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Animal) end end + describe 'test attribute "class_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/api_response_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/api_response_spec.rb index 267301460d95..ed6b223f1359 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/api_response_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/api_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ApiResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ApiResponse' do - before do - # run before each test - @instance = Petstore::ApiResponse.new - end - - after do - # run after each test - end +describe Petstore::ApiResponse do + let(:instance) { Petstore::ApiResponse.new } describe 'test an instance of ApiResponse' do it 'should create an instance of ApiResponse' do - expect(@instance).to be_instance_of(Petstore::ApiResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ApiResponse) end end + describe 'test attribute "code"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/array_of_array_of_number_only_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/array_of_array_of_number_only_spec.rb index 78f4a08761a1..fd0fa9306d59 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/array_of_array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/array_of_array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayOfArrayOfNumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayOfArrayOfNumberOnly' do - before do - # run before each test - @instance = Petstore::ArrayOfArrayOfNumberOnly.new - end - - after do - # run after each test - end +describe Petstore::ArrayOfArrayOfNumberOnly do + let(:instance) { Petstore::ArrayOfArrayOfNumberOnly.new } describe 'test an instance of ArrayOfArrayOfNumberOnly' do it 'should create an instance of ArrayOfArrayOfNumberOnly' do - expect(@instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) end end + describe 'test attribute "array_array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/array_of_number_only_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/array_of_number_only_spec.rb index 3e2ea611ecad..b77ec009649c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayOfNumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayOfNumberOnly' do - before do - # run before each test - @instance = Petstore::ArrayOfNumberOnly.new - end - - after do - # run after each test - end +describe Petstore::ArrayOfNumberOnly do + let(:instance) { Petstore::ArrayOfNumberOnly.new } describe 'test an instance of ArrayOfNumberOnly' do it 'should create an instance of ArrayOfNumberOnly' do - expect(@instance).to be_instance_of(Petstore::ArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfNumberOnly) end end + describe 'test attribute "array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/array_test_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/array_test_spec.rb index 4633c0d8f3d6..0ccba22d9a04 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/array_test_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/array_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayTest' do - before do - # run before each test - @instance = Petstore::ArrayTest.new - end - - after do - # run after each test - end +describe Petstore::ArrayTest do + let(:instance) { Petstore::ArrayTest.new } describe 'test an instance of ArrayTest' do it 'should create an instance of ArrayTest' do - expect(@instance).to be_instance_of(Petstore::ArrayTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayTest) end end + describe 'test attribute "array_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/capitalization_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/capitalization_spec.rb index 025a0c5b09c0..7d4e8b9ea06c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/capitalization_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/capitalization_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Capitalization # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Capitalization' do - before do - # run before each test - @instance = Petstore::Capitalization.new - end - - after do - # run after each test - end +describe Petstore::Capitalization do + let(:instance) { Petstore::Capitalization.new } describe 'test an instance of Capitalization' do it 'should create an instance of Capitalization' do - expect(@instance).to be_instance_of(Petstore::Capitalization) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Capitalization) end end + describe 'test attribute "small_camel"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/cat_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/cat_spec.rb index 3007a05924f6..9f09d5fbaf83 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/cat_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/cat_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Cat # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Cat' do - before do - # run before each test - @instance = Petstore::Cat.new - end - - after do - # run after each test - end +describe Petstore::Cat do + let(:instance) { Petstore::Cat.new } describe 'test an instance of Cat' do it 'should create an instance of Cat' do - expect(@instance).to be_instance_of(Petstore::Cat) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Cat) end end + describe 'test attribute "declawed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/category_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/category_spec.rb index aa9fb18d97f8..522c20bd3b09 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/category_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/category_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Category # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Category' do - before do - # run before each test - @instance = Petstore::Category.new - end - - after do - # run after each test - end +describe Petstore::Category do + let(:instance) { Petstore::Category.new } describe 'test an instance of Category' do it 'should create an instance of Category' do - expect(@instance).to be_instance_of(Petstore::Category) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Category) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/class_model_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/class_model_spec.rb index e5cadd24dad2..d1affa000236 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/class_model_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/class_model_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ClassModel # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ClassModel' do - before do - # run before each test - @instance = Petstore::ClassModel.new - end - - after do - # run after each test - end +describe Petstore::ClassModel do + let(:instance) { Petstore::ClassModel.new } describe 'test an instance of ClassModel' do it 'should create an instance of ClassModel' do - expect(@instance).to be_instance_of(Petstore::ClassModel) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ClassModel) end end + describe 'test attribute "_class"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/client_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/client_spec.rb index ef798f27dad5..b747d7b47ba8 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/client_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/client_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Client # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Client' do - before do - # run before each test - @instance = Petstore::Client.new - end - - after do - # run after each test - end +describe Petstore::Client do + let(:instance) { Petstore::Client.new } describe 'test an instance of Client' do it 'should create an instance of Client' do - expect(@instance).to be_instance_of(Petstore::Client) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Client) end end + describe 'test attribute "client"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/cow_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/cow_spec.rb index e1cf66c03ac0..080344a8ca91 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/cow_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/cow_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-httpx/spec/models/deprecated_object_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/deprecated_object_spec.rb index 244cae374649..832e48f0fdc1 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/deprecated_object_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/deprecated_object_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of DeprecatedObject' do it 'should create an instance of DeprecatedObject' do - expect(instance).to be_instance_of(Petstore::DeprecatedObject) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::DeprecatedObject) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/dog_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/dog_spec.rb index 4263bda06f12..fd446c30fee4 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/dog_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/dog_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Dog # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Dog' do - before do - # run before each test - @instance = Petstore::Dog.new - end - - after do - # run after each test - end +describe Petstore::Dog do + let(:instance) { Petstore::Dog.new } describe 'test an instance of Dog' do it 'should create an instance of Dog' do - expect(@instance).to be_instance_of(Petstore::Dog) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Dog) end end + describe 'test attribute "breed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/enum_arrays_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/enum_arrays_spec.rb index a839505446d9..615041859d8b 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/enum_arrays_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/enum_arrays_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,27 +17,22 @@ # Unit tests for Petstore::EnumArrays # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumArrays' do - before do - # run before each test - @instance = Petstore::EnumArrays.new - end - - after do - # run after each test - end +describe Petstore::EnumArrays do + let(:instance) { Petstore::EnumArrays.new } describe 'test an instance of EnumArrays' do it 'should create an instance of EnumArrays' do - expect(@instance).to be_instance_of(Petstore::EnumArrays) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumArrays) end end + describe 'test attribute "just_symbol"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', [">=", "$"]) # validator.allowable_values.each do |value| - # expect { @instance.just_symbol = value }.not_to raise_error + # expect { instance.just_symbol = value }.not_to raise_error # end end end @@ -47,7 +42,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array', ["fish", "crab"]) # validator.allowable_values.each do |value| - # expect { @instance.array_enum = value }.not_to raise_error + # expect { instance.array_enum = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/enum_class_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/enum_class_spec.rb index 29fcd05aa750..094873fa960c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/enum_class_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/enum_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::EnumClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumClass' do - before do - # run before each test - @instance = Petstore::EnumClass.new - end - - after do - # run after each test - end +describe Petstore::EnumClass do + let(:instance) { Petstore::EnumClass.new } describe 'test an instance of EnumClass' do it 'should create an instance of EnumClass' do - expect(@instance).to be_instance_of(Petstore::EnumClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumClass) end end + end diff --git a/samples/client/petstore/ruby-httpx/spec/models/enum_test_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/enum_test_spec.rb index 0235c261aa47..e7d00c78711c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/enum_test_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/enum_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,27 +17,22 @@ # Unit tests for Petstore::EnumTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumTest' do - before do - # run before each test - @instance = Petstore::EnumTest.new - end - - after do - # run after each test - end +describe Petstore::EnumTest do + let(:instance) { Petstore::EnumTest.new } describe 'test an instance of EnumTest' do it 'should create an instance of EnumTest' do - expect(@instance).to be_instance_of(Petstore::EnumTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumTest) end end + describe 'test attribute "enum_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UPPER", "lower", ""]) # validator.allowable_values.each do |value| - # expect { @instance.enum_string = value }.not_to raise_error + # expect { instance.enum_string = value }.not_to raise_error # end end end @@ -47,7 +42,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UPPER", "lower", ""]) # validator.allowable_values.each do |value| - # expect { @instance.enum_string_required = value }.not_to raise_error + # expect { instance.enum_string_required = value }.not_to raise_error # end end end @@ -57,7 +52,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', [1, -1]) # validator.allowable_values.each do |value| - # expect { @instance.enum_integer = value }.not_to raise_error + # expect { instance.enum_integer = value }.not_to raise_error # end end end @@ -67,7 +62,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Float', [1.1, -1.2]) # validator.allowable_values.each do |value| - # expect { @instance.enum_number = value }.not_to raise_error + # expect { instance.enum_number = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/fake_big_decimal_map200_response_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/fake_big_decimal_map200_response_spec.rb index a1b4a6c4641f..d41e455a4517 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/fake_big_decimal_map200_response_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/fake_big_decimal_map200_response_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of FakeBigDecimalMap200Response' do it 'should create an instance of FakeBigDecimalMap200Response' do - expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) end end + describe 'test attribute "some_id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/file_schema_test_class_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/file_schema_test_class_spec.rb index 4c8d3f9d80a4..cc6535c3688f 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/file_schema_test_class_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/file_schema_test_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::FileSchemaTestClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'FileSchemaTestClass' do - before do - # run before each test - @instance = Petstore::FileSchemaTestClass.new - end - - after do - # run after each test - end +describe Petstore::FileSchemaTestClass do + let(:instance) { Petstore::FileSchemaTestClass.new } describe 'test an instance of FileSchemaTestClass' do it 'should create an instance of FileSchemaTestClass' do - expect(@instance).to be_instance_of(Petstore::FileSchemaTestClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FileSchemaTestClass) end end + describe 'test attribute "file"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/file_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/file_spec.rb index 0afb47c7a962..8ba1f89c5c00 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/file_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/file_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::File # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'File' do - before do - # run before each test - @instance = Petstore::File.new - end - - after do - # run after each test - end +describe Petstore::File do + let(:instance) { Petstore::File.new } describe 'test an instance of File' do it 'should create an instance of File' do - expect(@instance).to be_instance_of(Petstore::File) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::File) end end + describe 'test attribute "source_uri"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/foo_get_default_response_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/foo_get_default_response_spec.rb index 3ce38971bc30..22d9bc8dc5ed 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/foo_get_default_response_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/foo_get_default_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of FooGetDefaultResponse' do it 'should create an instance of FooGetDefaultResponse' do - expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) end end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/foo_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/foo_spec.rb index fc54b3ac92f6..6b4b4f559484 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/foo_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/foo_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Foo # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Foo' do - before do - # run before each test - @instance = Petstore::Foo.new - end - - after do - # run after each test - end +describe Petstore::Foo do + let(:instance) { Petstore::Foo.new } describe 'test an instance of Foo' do it 'should create an instance of Foo' do - expect(@instance).to be_instance_of(Petstore::Foo) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Foo) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/format_test_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/format_test_spec.rb index c6408011fbc5..c1a318014e95 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/format_test_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/format_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,26 +17,16 @@ # Unit tests for Petstore::FormatTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'FormatTest' do - before do - # run before each test - @instance = Petstore::FormatTest.new({ - number: 65, - byte: '1234356', - date: Date.parse('2007-12-03T10:15:30+01:00'), - password: 'password123' - }) - end - - after do - # run after each test - end +describe Petstore::FormatTest do + let(:instance) { Petstore::FormatTest.new } describe 'test an instance of FormatTest' do it 'should create an instance of FormatTest' do - expect(@instance).to be_instance_of(Petstore::FormatTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FormatTest) end end + describe 'test attribute "integer"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -73,6 +63,12 @@ end end + describe 'test attribute "decimal"' do + it 'should work' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ + end + end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/has_only_read_only_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/has_only_read_only_spec.rb index 5630b1cf97d2..543f72a9e865 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/has_only_read_only_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/has_only_read_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::HasOnlyReadOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'HasOnlyReadOnly' do - before do - # run before each test - @instance = Petstore::HasOnlyReadOnly.new - end - - after do - # run after each test - end +describe Petstore::HasOnlyReadOnly do + let(:instance) { Petstore::HasOnlyReadOnly.new } describe 'test an instance of HasOnlyReadOnly' do it 'should create an instance of HasOnlyReadOnly' do - expect(@instance).to be_instance_of(Petstore::HasOnlyReadOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HasOnlyReadOnly) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/health_check_result_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/health_check_result_spec.rb index 797ee9704d3f..797d914e363c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/health_check_result_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/health_check_result_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::HealthCheckResult # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'HealthCheckResult' do - before do - # run before each test - @instance = Petstore::HealthCheckResult.new - end - - after do - # run after each test - end +describe Petstore::HealthCheckResult do + let(:instance) { Petstore::HealthCheckResult.new } describe 'test an instance of HealthCheckResult' do it 'should create an instance of HealthCheckResult' do - expect(@instance).to be_instance_of(Petstore::HealthCheckResult) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HealthCheckResult) end end + describe 'test attribute "nullable_message"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/list_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/list_spec.rb index 88716e869424..d08f9daee56e 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/list_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/list_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::List # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'List' do - before do - # run before each test - @instance = Petstore::List.new - end - - after do - # run after each test - end +describe Petstore::List do + let(:instance) { Petstore::List.new } describe 'test an instance of List' do it 'should create an instance of List' do - expect(@instance).to be_instance_of(Petstore::List) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::List) end end + describe 'test attribute "_123_list"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/mamal_with_enum_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/mamal_with_enum_spec.rb index 95002b49ea45..5622e5ed8622 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/mamal_with_enum_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/mamal_with_enum_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby-httpx/spec/models/mammal_anyof_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/mammal_anyof_spec.rb index 878c48c246ae..1e102dfd5510 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/mammal_anyof_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/mammal_anyof_spec.rb @@ -6,7 +6,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 =end diff --git a/samples/client/petstore/ruby-httpx/spec/models/mammal_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/mammal_spec.rb index eae8ec5c09f9..c35f9ae013f5 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/mammal_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/mammal_spec.rb @@ -6,7 +6,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 =end @@ -32,6 +32,7 @@ describe '.build' do it 'returns the correct model' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/mammal_without_discriminator_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/mammal_without_discriminator_spec.rb index 08dcbeb8b5a8..db9194889406 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/mammal_without_discriminator_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/mammal_without_discriminator_spec.rb @@ -6,7 +6,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 =end @@ -26,6 +26,7 @@ describe '.build' do it 'returns the correct model' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/map_test_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/map_test_spec.rb index 012b9cc251f7..e4840c2a4816 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/map_test_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/map_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::MapTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MapTest' do - before do - # run before each test - @instance = Petstore::MapTest.new - end - - after do - # run after each test - end +describe Petstore::MapTest do + let(:instance) { Petstore::MapTest.new } describe 'test an instance of MapTest' do it 'should create an instance of MapTest' do - expect(@instance).to be_instance_of(Petstore::MapTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MapTest) end end + describe 'test attribute "map_map_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -43,7 +38,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Hash', ["UPPER", "lower"]) # validator.allowable_values.each do |value| - # expect { @instance.map_of_enum_string = value }.not_to raise_error + # expect { instance.map_of_enum_string = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/mixed_properties_and_additional_properties_class_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/mixed_properties_and_additional_properties_class_spec.rb index f58460e50e0c..fe265ae70279 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/mixed_properties_and_additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/mixed_properties_and_additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::MixedPropertiesAndAdditionalPropertiesClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MixedPropertiesAndAdditionalPropertiesClass' do - before do - # run before each test - @instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new - end - - after do - # run after each test - end +describe Petstore::MixedPropertiesAndAdditionalPropertiesClass do + let(:instance) { Petstore::MixedPropertiesAndAdditionalPropertiesClass.new } describe 'test an instance of MixedPropertiesAndAdditionalPropertiesClass' do it 'should create an instance of MixedPropertiesAndAdditionalPropertiesClass' do - expect(@instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/model200_response_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/model200_response_spec.rb index 245390ee6c09..061281a8c1c5 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/model200_response_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/model200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Model200Response # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Model200Response' do - before do - # run before each test - @instance = Petstore::Model200Response.new - end - - after do - # run after each test - end +describe Petstore::Model200Response do + let(:instance) { Petstore::Model200Response.new } describe 'test an instance of Model200Response' do it 'should create an instance of Model200Response' do - expect(@instance).to be_instance_of(Petstore::Model200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Model200Response) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/model_return_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/model_return_spec.rb index 5881f54839af..bbcd3f0d5fcd 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/model_return_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/model_return_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ModelReturn # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ModelReturn' do - before do - # run before each test - @instance = Petstore::ModelReturn.new - end - - after do - # run after each test - end +describe Petstore::ModelReturn do + let(:instance) { Petstore::ModelReturn.new } describe 'test an instance of ModelReturn' do it 'should create an instance of ModelReturn' do - expect(@instance).to be_instance_of(Petstore::ModelReturn) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ModelReturn) end end + describe 'test attribute "_return"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/name_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/name_spec.rb index 1edec1a94632..4ffe903deff4 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/name_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Name # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Name' do - before do - # run before each test - @instance = Petstore::Name.new - end - - after do - # run after each test - end +describe Petstore::Name do + let(:instance) { Petstore::Name.new } describe 'test an instance of Name' do it 'should create an instance of Name' do - expect(@instance).to be_instance_of(Petstore::Name) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Name) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/nullable_class_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/nullable_class_spec.rb index 5507799a0aae..28d85a223408 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/nullable_class_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/nullable_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::NullableClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'NullableClass' do - before do - # run before each test - @instance = Petstore::NullableClass.new - end - - after do - # run after each test - end +describe Petstore::NullableClass do + let(:instance) { Petstore::NullableClass.new } describe 'test an instance of NullableClass' do it 'should create an instance of NullableClass' do - expect(@instance).to be_instance_of(Petstore::NullableClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NullableClass) end end + describe 'test attribute "integer_prop"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/number_only_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/number_only_spec.rb index 2ecc4260dda8..1907d9638a71 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/number_only_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::NumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'NumberOnly' do - before do - # run before each test - @instance = Petstore::NumberOnly.new - end - - after do - # run after each test - end +describe Petstore::NumberOnly do + let(:instance) { Petstore::NumberOnly.new } describe 'test an instance of NumberOnly' do it 'should create an instance of NumberOnly' do - expect(@instance).to be_instance_of(Petstore::NumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NumberOnly) end end + describe 'test attribute "just_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/object_with_deprecated_fields_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/object_with_deprecated_fields_spec.rb index d6372aa68b57..69fced6f0c19 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/object_with_deprecated_fields_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/object_with_deprecated_fields_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ObjectWithDeprecatedFields' do it 'should create an instance of ObjectWithDeprecatedFields' do - expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/order_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/order_spec.rb index e7a9dea74da1..beb1893b114e 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/order_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/order_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Order # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Order' do - before do - # run before each test - @instance = Petstore::Order.new - end - - after do - # run after each test - end +describe Petstore::Order do + let(:instance) { Petstore::Order.new } describe 'test an instance of Order' do it 'should create an instance of Order' do - expect(@instance).to be_instance_of(Petstore::Order) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Order) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -61,7 +56,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["placed", "approved", "delivered"]) # validator.allowable_values.each do |value| - # expect { @instance.status = value }.not_to raise_error + # expect { instance.status = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/outer_composite_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/outer_composite_spec.rb index ad4053e2c4a0..832939d3e24a 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/outer_composite_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/outer_composite_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::OuterComposite # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterComposite' do - before do - # run before each test - @instance = Petstore::OuterComposite.new - end - - after do - # run after each test - end +describe Petstore::OuterComposite do + let(:instance) { Petstore::OuterComposite.new } describe 'test an instance of OuterComposite' do it 'should create an instance of OuterComposite' do - expect(@instance).to be_instance_of(Petstore::OuterComposite) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterComposite) end end + describe 'test attribute "my_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_default_value_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_default_value_spec.rb index 7bd96a7abaf4..c8c66b84884d 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_default_value_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumDefaultValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumDefaultValue' do - before do - # run before each test - @instance = Petstore::OuterEnumDefaultValue.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumDefaultValue do + let(:instance) { Petstore::OuterEnumDefaultValue.new } describe 'test an instance of OuterEnumDefaultValue' do it 'should create an instance of OuterEnumDefaultValue' do - expect(@instance).to be_instance_of(Petstore::OuterEnumDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumDefaultValue) end end + end diff --git a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_default_value_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_default_value_spec.rb index 48a94827e568..91f477b156e6 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_default_value_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumIntegerDefaultValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumIntegerDefaultValue' do - before do - # run before each test - @instance = Petstore::OuterEnumIntegerDefaultValue.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumIntegerDefaultValue do + let(:instance) { Petstore::OuterEnumIntegerDefaultValue.new } describe 'test an instance of OuterEnumIntegerDefaultValue' do it 'should create an instance of OuterEnumIntegerDefaultValue' do - expect(@instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) end end + end diff --git a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_spec.rb index a0ac4c81f077..98141a4b64f2 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_integer_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumInteger # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumInteger' do - before do - # run before each test - @instance = Petstore::OuterEnumInteger.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumInteger do + let(:instance) { Petstore::OuterEnumInteger.new } describe 'test an instance of OuterEnumInteger' do it 'should create an instance of OuterEnumInteger' do - expect(@instance).to be_instance_of(Petstore::OuterEnumInteger) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumInteger) end end + end diff --git a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_spec.rb index ea9762da93bf..06e00d35afec 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/outer_enum_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/outer_enum_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnum # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnum' do - before do - # run before each test - @instance = Petstore::OuterEnum.new - end - - after do - # run after each test - end +describe Petstore::OuterEnum do + let(:instance) { Petstore::OuterEnum.new } describe 'test an instance of OuterEnum' do it 'should create an instance of OuterEnum' do - expect(@instance).to be_instance_of(Petstore::OuterEnum) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnum) end end + end diff --git a/samples/client/petstore/ruby-httpx/spec/models/outer_object_with_enum_property_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/outer_object_with_enum_property_spec.rb index 1a590a78b29a..69ecd157eb6c 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/outer_object_with_enum_property_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/outer_object_with_enum_property_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of OuterObjectWithEnumProperty' do it 'should create an instance of OuterObjectWithEnumProperty' do - expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) end end + describe 'test attribute "value"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/pet_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/pet_spec.rb index 08a4e8f61c98..d56bbb9cc2de 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/pet_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/pet_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Pet # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Pet' do - before do - # run before each test - @instance = Petstore::Pet.new({ name: 'Kitty', photo_urls: ['www.photo-url.test'] }) - end - - after do - # run after each test - end +describe Petstore::Pet do + let(:instance) { Petstore::Pet.new } describe 'test an instance of Pet' do it 'should create an instance of Pet' do - expect(@instance).to be_instance_of(Petstore::Pet) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Pet) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -67,7 +62,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["available", "pending", "sold"]) # validator.allowable_values.each do |value| - # expect { @instance.status = value }.not_to raise_error + # expect { instance.status = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby-httpx/spec/models/property_name_mapping_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/property_name_mapping_spec.rb index 09dfcb8218bd..edeeebeb52d7 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/property_name_mapping_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/property_name_mapping_spec.rb @@ -6,7 +6,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 =end @@ -22,16 +22,18 @@ describe 'test an instance of PropertyNameMapping' do it 'should create an instance of PropertyNameMapping' do - expect(instance).to be_instance_of(Petstore::PropertyNameMapping) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::PropertyNameMapping) end end + describe 'test attribute "http_debug_operation"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end - describe 'test attribute "underscore_type"' do + describe 'test attribute "_type"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end @@ -43,7 +45,7 @@ end end - describe 'test attribute "type_with_underscore"' do + describe 'test attribute "type_"' 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/petstore/ruby-httpx/spec/models/read_only_first_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/read_only_first_spec.rb index 036dd5581eed..e35fe201e39a 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/read_only_first_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/read_only_first_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ReadOnlyFirst # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ReadOnlyFirst' do - before do - # run before each test - @instance = Petstore::ReadOnlyFirst.new - end - - after do - # run after each test - end +describe Petstore::ReadOnlyFirst do + let(:instance) { Petstore::ReadOnlyFirst.new } describe 'test an instance of ReadOnlyFirst' do it 'should create an instance of ReadOnlyFirst' do - expect(@instance).to be_instance_of(Petstore::ReadOnlyFirst) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ReadOnlyFirst) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/single_ref_type_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/single_ref_type_spec.rb index 7686eb34d2dc..0cdc540e563a 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/single_ref_type_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/single_ref_type_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of SingleRefType' do it 'should create an instance of SingleRefType' do - expect(instance).to be_instance_of(Petstore::SingleRefType) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SingleRefType) end end + end diff --git a/samples/client/petstore/ruby-httpx/spec/models/special_model_name_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/special_model_name_spec.rb index 78555f967cc6..25926fd381a7 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/special_model_name_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/special_model_name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::SpecialModelName # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'SpecialModelName' do - before do - # run before each test - @instance = Petstore::SpecialModelName.new - end - - after do - # run after each test - end +describe Petstore::SpecialModelName do + let(:instance) { Petstore::SpecialModelName.new } describe 'test an instance of SpecialModelName' do it 'should create an instance of SpecialModelName' do - expect(@instance).to be_instance_of(Petstore::SpecialModelName) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SpecialModelName) end end + describe 'test attribute "special_property_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/tag_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/tag_spec.rb index e791cb35e149..359fc8c0b761 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/tag_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/tag_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Tag # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Tag' do - before do - # run before each test - @instance = Petstore::Tag.new - end - - after do - # run after each test - end +describe Petstore::Tag do + let(:instance) { Petstore::Tag.new } describe 'test an instance of Tag' do it 'should create an instance of Tag' do - expect(@instance).to be_instance_of(Petstore::Tag) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Tag) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/test_inline_freeform_additional_properties_request_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/test_inline_freeform_additional_properties_request_spec.rb index 2508babe7272..8cda9ab078b2 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/test_inline_freeform_additional_properties_request_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/test_inline_freeform_additional_properties_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of TestInlineFreeformAdditionalPropertiesRequest' do it 'should create an instance of TestInlineFreeformAdditionalPropertiesRequest' do - expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) end end + describe 'test attribute "some_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/user_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/user_spec.rb index 9d162c5d9993..b07fb462fba1 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/user_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/user_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::User # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'User' do - before do - # run before each test - @instance = Petstore::User.new - end - - after do - # run after each test - end +describe Petstore::User do + let(:instance) { Petstore::User.new } describe 'test an instance of User' do it 'should create an instance of User' do - expect(@instance).to be_instance_of(Petstore::User) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::User) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby-httpx/spec/models/whale_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/whale_spec.rb index 55bfc0a659bb..8446b930349e 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/whale_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/whale_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of Whale' do it 'should create an instance of Whale' do - expect(instance).to be_instance_of(Petstore::Whale) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Whale) end end + describe 'test attribute "has_baleen"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -37,7 +39,7 @@ end end - describe 'test attribute "class_name"' do + describe 'test attribute "classname"' 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/petstore/ruby-httpx/spec/models/zebra_spec.rb b/samples/client/petstore/ruby-httpx/spec/models/zebra_spec.rb index 1076f9d907aa..0313104f4e7a 100644 --- a/samples/client/petstore/ruby-httpx/spec/models/zebra_spec.rb +++ b/samples/client/petstore/ruby-httpx/spec/models/zebra_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of Zebra' do it 'should create an instance of Zebra' do - expect(instance).to be_instance_of(Petstore::Zebra) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Zebra) end end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -35,7 +37,7 @@ end end - describe 'test attribute "class_name"' do + describe 'test attribute "classname"' 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/petstore/ruby/spec/api/another_fake_api_spec.rb b/samples/client/petstore/ruby/spec/api/another_fake_api_spec.rb index c4ae33b8e94a..4db2cbc9d00f 100644 --- a/samples/client/petstore/ruby/spec/api/another_fake_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/another_fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby/spec/api/default_api_spec.rb b/samples/client/petstore/ruby/spec/api/default_api_spec.rb index a4c4123b2f47..fc1db9dae748 100644 --- a/samples/client/petstore/ruby/spec/api/default_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/default_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,7 +34,7 @@ # unit tests for foo_get # @param [Hash] opts the optional parameters - # @return [InlineResponseDefault] + # @return [FooGetDefaultResponse] describe 'foo_get test' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/api/fake_api_spec.rb b/samples/client/petstore/ruby/spec/api/fake_api_spec.rb index 659c054e04d6..843d84fc0217 100644 --- a/samples/client/petstore/ruby/spec/api/fake_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/fake_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -32,6 +32,16 @@ end end + # unit tests for fake_big_decimal_map + # for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + # @param [Hash] opts the optional parameters + # @return [FakeBigDecimalMap200Response] + describe 'fake_big_decimal_map 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 fake_health_get # Health check endpoint # @param [Hash] opts the optional parameters @@ -99,9 +109,57 @@ end end + # unit tests for fake_property_enum_integer_serialize + # Test serialization of enum (int) properties with examples + # @param outer_object_with_enum_property Input enum (int) as post body + # @param [Hash] opts the optional parameters + # @return [OuterObjectWithEnumProperty] + describe 'fake_property_enum_integer_serialize 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 get_parameter_name_mapping + # parameter name mapping test + # @param underscore_type _type + # @param type type + # @param type_with_underscore type_ + # @param http_debug_option http debug option (to test parameter naming option) + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'get_parameter_name_mapping 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_additional_properties_reference + # test referenced additionalProperties + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_additional_properties_reference 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_body_with_binary + # For this test, the body has to be a binary file. + # @param body image to upload + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_body_with_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_body_with_file_schema - # For this test, the body for this request much reference a schema named `File`. - # @param file_schema_test_class + # For this test, the body for this request must reference a schema named `File`. + # @param file_schema_test_class # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_file_schema test' do @@ -111,8 +169,8 @@ end # unit tests for test_body_with_query_params - # @param query - # @param user + # @param query + # @param user # @param [Hash] opts the optional parameters # @return [nil] describe 'test_body_with_query_params test' do @@ -134,8 +192,8 @@ end # unit tests for test_endpoint_parameters - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 - # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 + # Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 # @param number None # @param double None # @param pattern_without_delimiter None @@ -148,7 +206,7 @@ # @option opts [String] :string None # @option opts [File] :binary None # @option opts [Date] :date None - # @option opts [DateTime] :date_time None + # @option opts [Time] :date_time None # @option opts [String] :password None # @option opts [String] :callback None # @return [nil] @@ -168,6 +226,7 @@ # @option opts [String] :enum_query_string Query parameter enum test (string) # @option opts [Integer] :enum_query_integer Query parameter enum test (double) # @option opts [Float] :enum_query_double Query parameter enum test (double) + # @option opts [Array] :enum_query_model_array # @option opts [Array] :enum_form_string_array Form parameter enum test (string array) # @option opts [String] :enum_form_string Form parameter enum test (string) # @return [nil] @@ -196,6 +255,7 @@ # unit tests for test_inline_additional_properties # test inline additionalProperties + # # @param request_body request body # @param [Hash] opts the optional parameters # @return [nil] @@ -205,8 +265,21 @@ end end + # unit tests for test_inline_freeform_additional_properties + # test inline free-form additionalProperties + # + # @param test_inline_freeform_additional_properties_request request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_inline_freeform_additional_properties 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_json_form_data # test json serialization of form data + # # @param param field1 # @param param2 field2 # @param [Hash] opts the optional parameters @@ -219,12 +292,14 @@ # unit tests for test_query_parameter_collection_format # To test the collection format in query parameters - # @param pipe - # @param ioutil - # @param http - # @param url - # @param context + # @param pipe + # @param ioutil + # @param http + # @param url + # @param context + # @param allow_empty # @param [Hash] opts the optional parameters + # @option opts [Hash] :language # @return [nil] describe 'test_query_parameter_collection_format test' do it 'should work' do @@ -232,4 +307,16 @@ end end + # unit tests for test_string_map_reference + # test referenced string map + # + # @param request_body request body + # @param [Hash] opts the optional parameters + # @return [nil] + describe 'test_string_map_reference 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/petstore/ruby/spec/api/fake_classname_tags123_api_spec.rb b/samples/client/petstore/ruby/spec/api/fake_classname_tags123_api_spec.rb index e102683e57ea..afb4cda40bd4 100644 --- a/samples/client/petstore/ruby/spec/api/fake_classname_tags123_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/fake_classname_tags123_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby/spec/api/pet_api_spec.rb b/samples/client/petstore/ruby/spec/api/pet_api_spec.rb index f20fc2c623b5..cf65f21d62c7 100644 --- a/samples/client/petstore/ruby/spec/api/pet_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/pet_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -34,6 +34,7 @@ # unit tests for add_pet # Add a new pet to the store + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -45,9 +46,10 @@ # unit tests for delete_pet # Deletes a pet + # # @param pet_id Pet id to delete # @param [Hash] opts the optional parameters - # @option opts [String] :api_key + # @option opts [String] :api_key # @return [nil] describe 'delete_pet test' do it 'should work' do @@ -93,6 +95,7 @@ # unit tests for update_pet # Update an existing pet + # # @param pet Pet object that needs to be added to the store # @param [Hash] opts the optional parameters # @return [nil] @@ -104,6 +107,7 @@ # unit tests for update_pet_with_form # Updates a pet in the store with form data + # # @param pet_id ID of pet that needs to be updated # @param [Hash] opts the optional parameters # @option opts [String] :name Updated name of the pet @@ -117,6 +121,7 @@ # unit tests for upload_file # uploads an image + # # @param pet_id ID of pet to update # @param [Hash] opts the optional parameters # @option opts [String] :additional_metadata Additional data to pass to server @@ -130,6 +135,7 @@ # unit tests for upload_file_with_required_file # uploads an image (required) + # # @param pet_id ID of pet to update # @param required_file file to upload # @param [Hash] opts the optional parameters diff --git a/samples/client/petstore/ruby/spec/api/store_api_spec.rb b/samples/client/petstore/ruby/spec/api/store_api_spec.rb index 7ef3b058dd7e..e1b4ac45bce8 100644 --- a/samples/client/petstore/ruby/spec/api/store_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/store_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -69,6 +69,7 @@ # 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/ruby/spec/api/user_api_spec.rb b/samples/client/petstore/ruby/spec/api/user_api_spec.rb index d534f5198612..d12e6a0d20ab 100644 --- a/samples/client/petstore/ruby/spec/api/user_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/user_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -46,6 +46,7 @@ # 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] @@ -57,6 +58,7 @@ # 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] @@ -80,6 +82,7 @@ # 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] @@ -91,6 +94,7 @@ # 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 @@ -103,6 +107,7 @@ # 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/ruby/spec/models/additional_properties_class_spec.rb b/samples/client/petstore/ruby/spec/models/additional_properties_class_spec.rb index 2cfb6c671496..52c6b4c9522c 100644 --- a/samples/client/petstore/ruby/spec/models/additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby/spec/models/additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::AdditionalPropertiesClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'AdditionalPropertiesClass' do - before do - # run before each test - @instance = Petstore::AdditionalPropertiesClass.new - end - - after do - # run after each test - end +describe Petstore::AdditionalPropertiesClass do + let(:instance) { Petstore::AdditionalPropertiesClass.new } describe 'test an instance of AdditionalPropertiesClass' do it 'should create an instance of AdditionalPropertiesClass' do - expect(@instance).to be_instance_of(Petstore::AdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AdditionalPropertiesClass) end end + describe 'test attribute "map_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/all_of_with_single_ref_spec.rb b/samples/client/petstore/ruby/spec/models/all_of_with_single_ref_spec.rb index f13ef665f5d8..890830a8460d 100644 --- a/samples/client/petstore/ruby/spec/models/all_of_with_single_ref_spec.rb +++ b/samples/client/petstore/ruby/spec/models/all_of_with_single_ref_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of AllOfWithSingleRef' do it 'should create an instance of AllOfWithSingleRef' do - expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::AllOfWithSingleRef) end end + describe 'test attribute "username"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/animal_spec.rb b/samples/client/petstore/ruby/spec/models/animal_spec.rb index 2bb034b310ff..1ee72ce7ab15 100644 --- a/samples/client/petstore/ruby/spec/models/animal_spec.rb +++ b/samples/client/petstore/ruby/spec/models/animal_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Animal # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Animal' do - before do - # run before each test - @instance = Petstore::Animal.new - end - - after do - # run after each test - end +describe Petstore::Animal do + let(:instance) { Petstore::Animal.new } describe 'test an instance of Animal' do it 'should create an instance of Animal' do - expect(@instance).to be_instance_of(Petstore::Animal) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Animal) end end + describe 'test attribute "class_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/api_response_spec.rb b/samples/client/petstore/ruby/spec/models/api_response_spec.rb index 267301460d95..ed6b223f1359 100644 --- a/samples/client/petstore/ruby/spec/models/api_response_spec.rb +++ b/samples/client/petstore/ruby/spec/models/api_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ApiResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ApiResponse' do - before do - # run before each test - @instance = Petstore::ApiResponse.new - end - - after do - # run after each test - end +describe Petstore::ApiResponse do + let(:instance) { Petstore::ApiResponse.new } describe 'test an instance of ApiResponse' do it 'should create an instance of ApiResponse' do - expect(@instance).to be_instance_of(Petstore::ApiResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ApiResponse) end end + describe 'test attribute "code"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/array_of_array_of_number_only_spec.rb b/samples/client/petstore/ruby/spec/models/array_of_array_of_number_only_spec.rb index 78f4a08761a1..fd0fa9306d59 100644 --- a/samples/client/petstore/ruby/spec/models/array_of_array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby/spec/models/array_of_array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayOfArrayOfNumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayOfArrayOfNumberOnly' do - before do - # run before each test - @instance = Petstore::ArrayOfArrayOfNumberOnly.new - end - - after do - # run after each test - end +describe Petstore::ArrayOfArrayOfNumberOnly do + let(:instance) { Petstore::ArrayOfArrayOfNumberOnly.new } describe 'test an instance of ArrayOfArrayOfNumberOnly' do it 'should create an instance of ArrayOfArrayOfNumberOnly' do - expect(@instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfArrayOfNumberOnly) end end + describe 'test attribute "array_array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/array_of_number_only_spec.rb b/samples/client/petstore/ruby/spec/models/array_of_number_only_spec.rb index 3e2ea611ecad..b77ec009649c 100644 --- a/samples/client/petstore/ruby/spec/models/array_of_number_only_spec.rb +++ b/samples/client/petstore/ruby/spec/models/array_of_number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayOfNumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayOfNumberOnly' do - before do - # run before each test - @instance = Petstore::ArrayOfNumberOnly.new - end - - after do - # run after each test - end +describe Petstore::ArrayOfNumberOnly do + let(:instance) { Petstore::ArrayOfNumberOnly.new } describe 'test an instance of ArrayOfNumberOnly' do it 'should create an instance of ArrayOfNumberOnly' do - expect(@instance).to be_instance_of(Petstore::ArrayOfNumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayOfNumberOnly) end end + describe 'test attribute "array_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/array_test_spec.rb b/samples/client/petstore/ruby/spec/models/array_test_spec.rb index 4633c0d8f3d6..0ccba22d9a04 100644 --- a/samples/client/petstore/ruby/spec/models/array_test_spec.rb +++ b/samples/client/petstore/ruby/spec/models/array_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ArrayTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayTest' do - before do - # run before each test - @instance = Petstore::ArrayTest.new - end - - after do - # run after each test - end +describe Petstore::ArrayTest do + let(:instance) { Petstore::ArrayTest.new } describe 'test an instance of ArrayTest' do it 'should create an instance of ArrayTest' do - expect(@instance).to be_instance_of(Petstore::ArrayTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayTest) end end + describe 'test attribute "array_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/capitalization_spec.rb b/samples/client/petstore/ruby/spec/models/capitalization_spec.rb index 025a0c5b09c0..7d4e8b9ea06c 100644 --- a/samples/client/petstore/ruby/spec/models/capitalization_spec.rb +++ b/samples/client/petstore/ruby/spec/models/capitalization_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Capitalization # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Capitalization' do - before do - # run before each test - @instance = Petstore::Capitalization.new - end - - after do - # run after each test - end +describe Petstore::Capitalization do + let(:instance) { Petstore::Capitalization.new } describe 'test an instance of Capitalization' do it 'should create an instance of Capitalization' do - expect(@instance).to be_instance_of(Petstore::Capitalization) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Capitalization) end end + describe 'test attribute "small_camel"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/cat_spec.rb b/samples/client/petstore/ruby/spec/models/cat_spec.rb index 3007a05924f6..9f09d5fbaf83 100644 --- a/samples/client/petstore/ruby/spec/models/cat_spec.rb +++ b/samples/client/petstore/ruby/spec/models/cat_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Cat # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Cat' do - before do - # run before each test - @instance = Petstore::Cat.new - end - - after do - # run after each test - end +describe Petstore::Cat do + let(:instance) { Petstore::Cat.new } describe 'test an instance of Cat' do it 'should create an instance of Cat' do - expect(@instance).to be_instance_of(Petstore::Cat) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Cat) end end + describe 'test attribute "declawed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/category_spec.rb b/samples/client/petstore/ruby/spec/models/category_spec.rb index aa9fb18d97f8..522c20bd3b09 100644 --- a/samples/client/petstore/ruby/spec/models/category_spec.rb +++ b/samples/client/petstore/ruby/spec/models/category_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Category # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Category' do - before do - # run before each test - @instance = Petstore::Category.new - end - - after do - # run after each test - end +describe Petstore::Category do + let(:instance) { Petstore::Category.new } describe 'test an instance of Category' do it 'should create an instance of Category' do - expect(@instance).to be_instance_of(Petstore::Category) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Category) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/class_model_spec.rb b/samples/client/petstore/ruby/spec/models/class_model_spec.rb index e5cadd24dad2..d1affa000236 100644 --- a/samples/client/petstore/ruby/spec/models/class_model_spec.rb +++ b/samples/client/petstore/ruby/spec/models/class_model_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ClassModel # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ClassModel' do - before do - # run before each test - @instance = Petstore::ClassModel.new - end - - after do - # run after each test - end +describe Petstore::ClassModel do + let(:instance) { Petstore::ClassModel.new } describe 'test an instance of ClassModel' do it 'should create an instance of ClassModel' do - expect(@instance).to be_instance_of(Petstore::ClassModel) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ClassModel) end end + describe 'test attribute "_class"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/client_spec.rb b/samples/client/petstore/ruby/spec/models/client_spec.rb index ef798f27dad5..b747d7b47ba8 100644 --- a/samples/client/petstore/ruby/spec/models/client_spec.rb +++ b/samples/client/petstore/ruby/spec/models/client_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Client # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Client' do - before do - # run before each test - @instance = Petstore::Client.new - end - - after do - # run after each test - end +describe Petstore::Client do + let(:instance) { Petstore::Client.new } describe 'test an instance of Client' do it 'should create an instance of Client' do - expect(@instance).to be_instance_of(Petstore::Client) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Client) end end + describe 'test attribute "client"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/cow_spec.rb b/samples/client/petstore/ruby/spec/models/cow_spec.rb index e1cf66c03ac0..080344a8ca91 100644 --- a/samples/client/petstore/ruby/spec/models/cow_spec.rb +++ b/samples/client/petstore/ruby/spec/models/cow_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/client/petstore/ruby/spec/models/deprecated_object_spec.rb b/samples/client/petstore/ruby/spec/models/deprecated_object_spec.rb index 244cae374649..832e48f0fdc1 100644 --- a/samples/client/petstore/ruby/spec/models/deprecated_object_spec.rb +++ b/samples/client/petstore/ruby/spec/models/deprecated_object_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of DeprecatedObject' do it 'should create an instance of DeprecatedObject' do - expect(instance).to be_instance_of(Petstore::DeprecatedObject) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::DeprecatedObject) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/dog_spec.rb b/samples/client/petstore/ruby/spec/models/dog_spec.rb index 4263bda06f12..fd446c30fee4 100644 --- a/samples/client/petstore/ruby/spec/models/dog_spec.rb +++ b/samples/client/petstore/ruby/spec/models/dog_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Dog # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Dog' do - before do - # run before each test - @instance = Petstore::Dog.new - end - - after do - # run after each test - end +describe Petstore::Dog do + let(:instance) { Petstore::Dog.new } describe 'test an instance of Dog' do it 'should create an instance of Dog' do - expect(@instance).to be_instance_of(Petstore::Dog) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Dog) end end + describe 'test attribute "breed"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/enum_arrays_spec.rb b/samples/client/petstore/ruby/spec/models/enum_arrays_spec.rb index a839505446d9..615041859d8b 100644 --- a/samples/client/petstore/ruby/spec/models/enum_arrays_spec.rb +++ b/samples/client/petstore/ruby/spec/models/enum_arrays_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,27 +17,22 @@ # Unit tests for Petstore::EnumArrays # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumArrays' do - before do - # run before each test - @instance = Petstore::EnumArrays.new - end - - after do - # run after each test - end +describe Petstore::EnumArrays do + let(:instance) { Petstore::EnumArrays.new } describe 'test an instance of EnumArrays' do it 'should create an instance of EnumArrays' do - expect(@instance).to be_instance_of(Petstore::EnumArrays) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumArrays) end end + describe 'test attribute "just_symbol"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', [">=", "$"]) # validator.allowable_values.each do |value| - # expect { @instance.just_symbol = value }.not_to raise_error + # expect { instance.just_symbol = value }.not_to raise_error # end end end @@ -47,7 +42,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array', ["fish", "crab"]) # validator.allowable_values.each do |value| - # expect { @instance.array_enum = value }.not_to raise_error + # expect { instance.array_enum = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby/spec/models/enum_class_spec.rb b/samples/client/petstore/ruby/spec/models/enum_class_spec.rb index 29fcd05aa750..094873fa960c 100644 --- a/samples/client/petstore/ruby/spec/models/enum_class_spec.rb +++ b/samples/client/petstore/ruby/spec/models/enum_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::EnumClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumClass' do - before do - # run before each test - @instance = Petstore::EnumClass.new - end - - after do - # run after each test - end +describe Petstore::EnumClass do + let(:instance) { Petstore::EnumClass.new } describe 'test an instance of EnumClass' do it 'should create an instance of EnumClass' do - expect(@instance).to be_instance_of(Petstore::EnumClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumClass) end end + end diff --git a/samples/client/petstore/ruby/spec/models/enum_test_spec.rb b/samples/client/petstore/ruby/spec/models/enum_test_spec.rb index 0235c261aa47..e7d00c78711c 100644 --- a/samples/client/petstore/ruby/spec/models/enum_test_spec.rb +++ b/samples/client/petstore/ruby/spec/models/enum_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,27 +17,22 @@ # Unit tests for Petstore::EnumTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'EnumTest' do - before do - # run before each test - @instance = Petstore::EnumTest.new - end - - after do - # run after each test - end +describe Petstore::EnumTest do + let(:instance) { Petstore::EnumTest.new } describe 'test an instance of EnumTest' do it 'should create an instance of EnumTest' do - expect(@instance).to be_instance_of(Petstore::EnumTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::EnumTest) end end + describe 'test attribute "enum_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UPPER", "lower", ""]) # validator.allowable_values.each do |value| - # expect { @instance.enum_string = value }.not_to raise_error + # expect { instance.enum_string = value }.not_to raise_error # end end end @@ -47,7 +42,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UPPER", "lower", ""]) # validator.allowable_values.each do |value| - # expect { @instance.enum_string_required = value }.not_to raise_error + # expect { instance.enum_string_required = value }.not_to raise_error # end end end @@ -57,7 +52,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', [1, -1]) # validator.allowable_values.each do |value| - # expect { @instance.enum_integer = value }.not_to raise_error + # expect { instance.enum_integer = value }.not_to raise_error # end end end @@ -67,7 +62,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Float', [1.1, -1.2]) # validator.allowable_values.each do |value| - # expect { @instance.enum_number = value }.not_to raise_error + # expect { instance.enum_number = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby/spec/models/fake_big_decimal_map200_response_spec.rb b/samples/client/petstore/ruby/spec/models/fake_big_decimal_map200_response_spec.rb index a1b4a6c4641f..d41e455a4517 100644 --- a/samples/client/petstore/ruby/spec/models/fake_big_decimal_map200_response_spec.rb +++ b/samples/client/petstore/ruby/spec/models/fake_big_decimal_map200_response_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of FakeBigDecimalMap200Response' do it 'should create an instance of FakeBigDecimalMap200Response' do - expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FakeBigDecimalMap200Response) end end + describe 'test attribute "some_id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/file_schema_test_class_spec.rb b/samples/client/petstore/ruby/spec/models/file_schema_test_class_spec.rb index 4c8d3f9d80a4..cc6535c3688f 100644 --- a/samples/client/petstore/ruby/spec/models/file_schema_test_class_spec.rb +++ b/samples/client/petstore/ruby/spec/models/file_schema_test_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::FileSchemaTestClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'FileSchemaTestClass' do - before do - # run before each test - @instance = Petstore::FileSchemaTestClass.new - end - - after do - # run after each test - end +describe Petstore::FileSchemaTestClass do + let(:instance) { Petstore::FileSchemaTestClass.new } describe 'test an instance of FileSchemaTestClass' do it 'should create an instance of FileSchemaTestClass' do - expect(@instance).to be_instance_of(Petstore::FileSchemaTestClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FileSchemaTestClass) end end + describe 'test attribute "file"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/file_spec.rb b/samples/client/petstore/ruby/spec/models/file_spec.rb index 0afb47c7a962..8ba1f89c5c00 100644 --- a/samples/client/petstore/ruby/spec/models/file_spec.rb +++ b/samples/client/petstore/ruby/spec/models/file_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::File # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'File' do - before do - # run before each test - @instance = Petstore::File.new - end - - after do - # run after each test - end +describe Petstore::File do + let(:instance) { Petstore::File.new } describe 'test an instance of File' do it 'should create an instance of File' do - expect(@instance).to be_instance_of(Petstore::File) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::File) end end + describe 'test attribute "source_uri"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/foo_get_default_response_spec.rb b/samples/client/petstore/ruby/spec/models/foo_get_default_response_spec.rb index 3ce38971bc30..22d9bc8dc5ed 100644 --- a/samples/client/petstore/ruby/spec/models/foo_get_default_response_spec.rb +++ b/samples/client/petstore/ruby/spec/models/foo_get_default_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of FooGetDefaultResponse' do it 'should create an instance of FooGetDefaultResponse' do - expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FooGetDefaultResponse) end end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/foo_spec.rb b/samples/client/petstore/ruby/spec/models/foo_spec.rb index fc54b3ac92f6..6b4b4f559484 100644 --- a/samples/client/petstore/ruby/spec/models/foo_spec.rb +++ b/samples/client/petstore/ruby/spec/models/foo_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Foo # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Foo' do - before do - # run before each test - @instance = Petstore::Foo.new - end - - after do - # run after each test - end +describe Petstore::Foo do + let(:instance) { Petstore::Foo.new } describe 'test an instance of Foo' do it 'should create an instance of Foo' do - expect(@instance).to be_instance_of(Petstore::Foo) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Foo) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/format_test_spec.rb b/samples/client/petstore/ruby/spec/models/format_test_spec.rb index c6408011fbc5..c1a318014e95 100644 --- a/samples/client/petstore/ruby/spec/models/format_test_spec.rb +++ b/samples/client/petstore/ruby/spec/models/format_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,26 +17,16 @@ # Unit tests for Petstore::FormatTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'FormatTest' do - before do - # run before each test - @instance = Petstore::FormatTest.new({ - number: 65, - byte: '1234356', - date: Date.parse('2007-12-03T10:15:30+01:00'), - password: 'password123' - }) - end - - after do - # run after each test - end +describe Petstore::FormatTest do + let(:instance) { Petstore::FormatTest.new } describe 'test an instance of FormatTest' do it 'should create an instance of FormatTest' do - expect(@instance).to be_instance_of(Petstore::FormatTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::FormatTest) end end + describe 'test attribute "integer"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -73,6 +63,12 @@ end end + describe 'test attribute "decimal"' do + it 'should work' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ + end + end + describe 'test attribute "string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/has_only_read_only_spec.rb b/samples/client/petstore/ruby/spec/models/has_only_read_only_spec.rb index 5630b1cf97d2..543f72a9e865 100644 --- a/samples/client/petstore/ruby/spec/models/has_only_read_only_spec.rb +++ b/samples/client/petstore/ruby/spec/models/has_only_read_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::HasOnlyReadOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'HasOnlyReadOnly' do - before do - # run before each test - @instance = Petstore::HasOnlyReadOnly.new - end - - after do - # run after each test - end +describe Petstore::HasOnlyReadOnly do + let(:instance) { Petstore::HasOnlyReadOnly.new } describe 'test an instance of HasOnlyReadOnly' do it 'should create an instance of HasOnlyReadOnly' do - expect(@instance).to be_instance_of(Petstore::HasOnlyReadOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HasOnlyReadOnly) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/health_check_result_spec.rb b/samples/client/petstore/ruby/spec/models/health_check_result_spec.rb index 797ee9704d3f..797d914e363c 100644 --- a/samples/client/petstore/ruby/spec/models/health_check_result_spec.rb +++ b/samples/client/petstore/ruby/spec/models/health_check_result_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::HealthCheckResult # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'HealthCheckResult' do - before do - # run before each test - @instance = Petstore::HealthCheckResult.new - end - - after do - # run after each test - end +describe Petstore::HealthCheckResult do + let(:instance) { Petstore::HealthCheckResult.new } describe 'test an instance of HealthCheckResult' do it 'should create an instance of HealthCheckResult' do - expect(@instance).to be_instance_of(Petstore::HealthCheckResult) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::HealthCheckResult) end end + describe 'test attribute "nullable_message"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/list_spec.rb b/samples/client/petstore/ruby/spec/models/list_spec.rb index 88716e869424..d08f9daee56e 100644 --- a/samples/client/petstore/ruby/spec/models/list_spec.rb +++ b/samples/client/petstore/ruby/spec/models/list_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::List # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'List' do - before do - # run before each test - @instance = Petstore::List.new - end - - after do - # run after each test - end +describe Petstore::List do + let(:instance) { Petstore::List.new } describe 'test an instance of List' do it 'should create an instance of List' do - expect(@instance).to be_instance_of(Petstore::List) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::List) end end + describe 'test attribute "_123_list"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/mammal_anyof_spec.rb b/samples/client/petstore/ruby/spec/models/mammal_anyof_spec.rb index 878c48c246ae..1e102dfd5510 100644 --- a/samples/client/petstore/ruby/spec/models/mammal_anyof_spec.rb +++ b/samples/client/petstore/ruby/spec/models/mammal_anyof_spec.rb @@ -6,7 +6,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 =end diff --git a/samples/client/petstore/ruby/spec/models/mammal_spec.rb b/samples/client/petstore/ruby/spec/models/mammal_spec.rb index eae8ec5c09f9..c35f9ae013f5 100644 --- a/samples/client/petstore/ruby/spec/models/mammal_spec.rb +++ b/samples/client/petstore/ruby/spec/models/mammal_spec.rb @@ -6,7 +6,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 =end @@ -32,6 +32,7 @@ describe '.build' do it 'returns the correct model' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end diff --git a/samples/client/petstore/ruby/spec/models/mammal_without_discriminator_spec.rb b/samples/client/petstore/ruby/spec/models/mammal_without_discriminator_spec.rb index 08dcbeb8b5a8..db9194889406 100644 --- a/samples/client/petstore/ruby/spec/models/mammal_without_discriminator_spec.rb +++ b/samples/client/petstore/ruby/spec/models/mammal_without_discriminator_spec.rb @@ -6,7 +6,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 =end @@ -26,6 +26,7 @@ describe '.build' do it 'returns the correct model' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end diff --git a/samples/client/petstore/ruby/spec/models/map_test_spec.rb b/samples/client/petstore/ruby/spec/models/map_test_spec.rb index 012b9cc251f7..e4840c2a4816 100644 --- a/samples/client/petstore/ruby/spec/models/map_test_spec.rb +++ b/samples/client/petstore/ruby/spec/models/map_test_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::MapTest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MapTest' do - before do - # run before each test - @instance = Petstore::MapTest.new - end - - after do - # run after each test - end +describe Petstore::MapTest do + let(:instance) { Petstore::MapTest.new } describe 'test an instance of MapTest' do it 'should create an instance of MapTest' do - expect(@instance).to be_instance_of(Petstore::MapTest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MapTest) end end + describe 'test attribute "map_map_of_string"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -43,7 +38,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Hash', ["UPPER", "lower"]) # validator.allowable_values.each do |value| - # expect { @instance.map_of_enum_string = value }.not_to raise_error + # expect { instance.map_of_enum_string = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby/spec/models/mixed_properties_and_additional_properties_class_spec.rb b/samples/client/petstore/ruby/spec/models/mixed_properties_and_additional_properties_class_spec.rb index f58460e50e0c..fe265ae70279 100644 --- a/samples/client/petstore/ruby/spec/models/mixed_properties_and_additional_properties_class_spec.rb +++ b/samples/client/petstore/ruby/spec/models/mixed_properties_and_additional_properties_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::MixedPropertiesAndAdditionalPropertiesClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MixedPropertiesAndAdditionalPropertiesClass' do - before do - # run before each test - @instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new - end - - after do - # run after each test - end +describe Petstore::MixedPropertiesAndAdditionalPropertiesClass do + let(:instance) { Petstore::MixedPropertiesAndAdditionalPropertiesClass.new } describe 'test an instance of MixedPropertiesAndAdditionalPropertiesClass' do it 'should create an instance of MixedPropertiesAndAdditionalPropertiesClass' do - expect(@instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MixedPropertiesAndAdditionalPropertiesClass) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/model200_response_spec.rb b/samples/client/petstore/ruby/spec/models/model200_response_spec.rb index 245390ee6c09..061281a8c1c5 100644 --- a/samples/client/petstore/ruby/spec/models/model200_response_spec.rb +++ b/samples/client/petstore/ruby/spec/models/model200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Model200Response # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Model200Response' do - before do - # run before each test - @instance = Petstore::Model200Response.new - end - - after do - # run after each test - end +describe Petstore::Model200Response do + let(:instance) { Petstore::Model200Response.new } describe 'test an instance of Model200Response' do it 'should create an instance of Model200Response' do - expect(@instance).to be_instance_of(Petstore::Model200Response) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Model200Response) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/model_return_spec.rb b/samples/client/petstore/ruby/spec/models/model_return_spec.rb index 5881f54839af..bbcd3f0d5fcd 100644 --- a/samples/client/petstore/ruby/spec/models/model_return_spec.rb +++ b/samples/client/petstore/ruby/spec/models/model_return_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ModelReturn # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ModelReturn' do - before do - # run before each test - @instance = Petstore::ModelReturn.new - end - - after do - # run after each test - end +describe Petstore::ModelReturn do + let(:instance) { Petstore::ModelReturn.new } describe 'test an instance of ModelReturn' do it 'should create an instance of ModelReturn' do - expect(@instance).to be_instance_of(Petstore::ModelReturn) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ModelReturn) end end + describe 'test attribute "_return"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/name_spec.rb b/samples/client/petstore/ruby/spec/models/name_spec.rb index 1edec1a94632..4ffe903deff4 100644 --- a/samples/client/petstore/ruby/spec/models/name_spec.rb +++ b/samples/client/petstore/ruby/spec/models/name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Name # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Name' do - before do - # run before each test - @instance = Petstore::Name.new - end - - after do - # run after each test - end +describe Petstore::Name do + let(:instance) { Petstore::Name.new } describe 'test an instance of Name' do it 'should create an instance of Name' do - expect(@instance).to be_instance_of(Petstore::Name) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Name) end end + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/nullable_class_spec.rb b/samples/client/petstore/ruby/spec/models/nullable_class_spec.rb index 5507799a0aae..28d85a223408 100644 --- a/samples/client/petstore/ruby/spec/models/nullable_class_spec.rb +++ b/samples/client/petstore/ruby/spec/models/nullable_class_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::NullableClass # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'NullableClass' do - before do - # run before each test - @instance = Petstore::NullableClass.new - end - - after do - # run after each test - end +describe Petstore::NullableClass do + let(:instance) { Petstore::NullableClass.new } describe 'test an instance of NullableClass' do it 'should create an instance of NullableClass' do - expect(@instance).to be_instance_of(Petstore::NullableClass) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NullableClass) end end + describe 'test attribute "integer_prop"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/number_only_spec.rb b/samples/client/petstore/ruby/spec/models/number_only_spec.rb index 2ecc4260dda8..1907d9638a71 100644 --- a/samples/client/petstore/ruby/spec/models/number_only_spec.rb +++ b/samples/client/petstore/ruby/spec/models/number_only_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::NumberOnly # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'NumberOnly' do - before do - # run before each test - @instance = Petstore::NumberOnly.new - end - - after do - # run after each test - end +describe Petstore::NumberOnly do + let(:instance) { Petstore::NumberOnly.new } describe 'test an instance of NumberOnly' do it 'should create an instance of NumberOnly' do - expect(@instance).to be_instance_of(Petstore::NumberOnly) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::NumberOnly) end end + describe 'test attribute "just_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/object_with_deprecated_fields_spec.rb b/samples/client/petstore/ruby/spec/models/object_with_deprecated_fields_spec.rb index d6372aa68b57..69fced6f0c19 100644 --- a/samples/client/petstore/ruby/spec/models/object_with_deprecated_fields_spec.rb +++ b/samples/client/petstore/ruby/spec/models/object_with_deprecated_fields_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of ObjectWithDeprecatedFields' do it 'should create an instance of ObjectWithDeprecatedFields' do - expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ObjectWithDeprecatedFields) end end + describe 'test attribute "uuid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/order_spec.rb b/samples/client/petstore/ruby/spec/models/order_spec.rb index e7a9dea74da1..beb1893b114e 100644 --- a/samples/client/petstore/ruby/spec/models/order_spec.rb +++ b/samples/client/petstore/ruby/spec/models/order_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Order # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Order' do - before do - # run before each test - @instance = Petstore::Order.new - end - - after do - # run after each test - end +describe Petstore::Order do + let(:instance) { Petstore::Order.new } describe 'test an instance of Order' do it 'should create an instance of Order' do - expect(@instance).to be_instance_of(Petstore::Order) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Order) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -61,7 +56,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["placed", "approved", "delivered"]) # validator.allowable_values.each do |value| - # expect { @instance.status = value }.not_to raise_error + # expect { instance.status = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby/spec/models/outer_composite_spec.rb b/samples/client/petstore/ruby/spec/models/outer_composite_spec.rb index ad4053e2c4a0..832939d3e24a 100644 --- a/samples/client/petstore/ruby/spec/models/outer_composite_spec.rb +++ b/samples/client/petstore/ruby/spec/models/outer_composite_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::OuterComposite # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterComposite' do - before do - # run before each test - @instance = Petstore::OuterComposite.new - end - - after do - # run after each test - end +describe Petstore::OuterComposite do + let(:instance) { Petstore::OuterComposite.new } describe 'test an instance of OuterComposite' do it 'should create an instance of OuterComposite' do - expect(@instance).to be_instance_of(Petstore::OuterComposite) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterComposite) end end + describe 'test attribute "my_number"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/outer_enum_default_value_spec.rb b/samples/client/petstore/ruby/spec/models/outer_enum_default_value_spec.rb index 7bd96a7abaf4..c8c66b84884d 100644 --- a/samples/client/petstore/ruby/spec/models/outer_enum_default_value_spec.rb +++ b/samples/client/petstore/ruby/spec/models/outer_enum_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumDefaultValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumDefaultValue' do - before do - # run before each test - @instance = Petstore::OuterEnumDefaultValue.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumDefaultValue do + let(:instance) { Petstore::OuterEnumDefaultValue.new } describe 'test an instance of OuterEnumDefaultValue' do it 'should create an instance of OuterEnumDefaultValue' do - expect(@instance).to be_instance_of(Petstore::OuterEnumDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumDefaultValue) end end + end diff --git a/samples/client/petstore/ruby/spec/models/outer_enum_integer_default_value_spec.rb b/samples/client/petstore/ruby/spec/models/outer_enum_integer_default_value_spec.rb index 48a94827e568..91f477b156e6 100644 --- a/samples/client/petstore/ruby/spec/models/outer_enum_integer_default_value_spec.rb +++ b/samples/client/petstore/ruby/spec/models/outer_enum_integer_default_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumIntegerDefaultValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumIntegerDefaultValue' do - before do - # run before each test - @instance = Petstore::OuterEnumIntegerDefaultValue.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumIntegerDefaultValue do + let(:instance) { Petstore::OuterEnumIntegerDefaultValue.new } describe 'test an instance of OuterEnumIntegerDefaultValue' do it 'should create an instance of OuterEnumIntegerDefaultValue' do - expect(@instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumIntegerDefaultValue) end end + end diff --git a/samples/client/petstore/ruby/spec/models/outer_enum_integer_spec.rb b/samples/client/petstore/ruby/spec/models/outer_enum_integer_spec.rb index a0ac4c81f077..98141a4b64f2 100644 --- a/samples/client/petstore/ruby/spec/models/outer_enum_integer_spec.rb +++ b/samples/client/petstore/ruby/spec/models/outer_enum_integer_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnumInteger # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnumInteger' do - before do - # run before each test - @instance = Petstore::OuterEnumInteger.new - end - - after do - # run after each test - end +describe Petstore::OuterEnumInteger do + let(:instance) { Petstore::OuterEnumInteger.new } describe 'test an instance of OuterEnumInteger' do it 'should create an instance of OuterEnumInteger' do - expect(@instance).to be_instance_of(Petstore::OuterEnumInteger) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnumInteger) end end + end diff --git a/samples/client/petstore/ruby/spec/models/outer_enum_spec.rb b/samples/client/petstore/ruby/spec/models/outer_enum_spec.rb index ea9762da93bf..06e00d35afec 100644 --- a/samples/client/petstore/ruby/spec/models/outer_enum_spec.rb +++ b/samples/client/petstore/ruby/spec/models/outer_enum_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::OuterEnum # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'OuterEnum' do - before do - # run before each test - @instance = Petstore::OuterEnum.new - end - - after do - # run after each test - end +describe Petstore::OuterEnum do + let(:instance) { Petstore::OuterEnum.new } describe 'test an instance of OuterEnum' do it 'should create an instance of OuterEnum' do - expect(@instance).to be_instance_of(Petstore::OuterEnum) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterEnum) end end + end diff --git a/samples/client/petstore/ruby/spec/models/outer_object_with_enum_property_spec.rb b/samples/client/petstore/ruby/spec/models/outer_object_with_enum_property_spec.rb index 1a590a78b29a..69ecd157eb6c 100644 --- a/samples/client/petstore/ruby/spec/models/outer_object_with_enum_property_spec.rb +++ b/samples/client/petstore/ruby/spec/models/outer_object_with_enum_property_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of OuterObjectWithEnumProperty' do it 'should create an instance of OuterObjectWithEnumProperty' do - expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::OuterObjectWithEnumProperty) end end + describe 'test attribute "value"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/pet_spec.rb b/samples/client/petstore/ruby/spec/models/pet_spec.rb index 08a4e8f61c98..d56bbb9cc2de 100644 --- a/samples/client/petstore/ruby/spec/models/pet_spec.rb +++ b/samples/client/petstore/ruby/spec/models/pet_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Pet # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Pet' do - before do - # run before each test - @instance = Petstore::Pet.new({ name: 'Kitty', photo_urls: ['www.photo-url.test'] }) - end - - after do - # run after each test - end +describe Petstore::Pet do + let(:instance) { Petstore::Pet.new } describe 'test an instance of Pet' do it 'should create an instance of Pet' do - expect(@instance).to be_instance_of(Petstore::Pet) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Pet) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -67,7 +62,7 @@ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["available", "pending", "sold"]) # validator.allowable_values.each do |value| - # expect { @instance.status = value }.not_to raise_error + # expect { instance.status = value }.not_to raise_error # end end end diff --git a/samples/client/petstore/ruby/spec/models/property_name_mapping_spec.rb b/samples/client/petstore/ruby/spec/models/property_name_mapping_spec.rb index 09dfcb8218bd..8347f6aa9d57 100644 --- a/samples/client/petstore/ruby/spec/models/property_name_mapping_spec.rb +++ b/samples/client/petstore/ruby/spec/models/property_name_mapping_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of PropertyNameMapping' do it 'should create an instance of PropertyNameMapping' do - expect(instance).to be_instance_of(Petstore::PropertyNameMapping) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::PropertyNameMapping) end end + describe 'test attribute "http_debug_operation"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/read_only_first_spec.rb b/samples/client/petstore/ruby/spec/models/read_only_first_spec.rb index 036dd5581eed..e35fe201e39a 100644 --- a/samples/client/petstore/ruby/spec/models/read_only_first_spec.rb +++ b/samples/client/petstore/ruby/spec/models/read_only_first_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::ReadOnlyFirst # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ReadOnlyFirst' do - before do - # run before each test - @instance = Petstore::ReadOnlyFirst.new - end - - after do - # run after each test - end +describe Petstore::ReadOnlyFirst do + let(:instance) { Petstore::ReadOnlyFirst.new } describe 'test an instance of ReadOnlyFirst' do it 'should create an instance of ReadOnlyFirst' do - expect(@instance).to be_instance_of(Petstore::ReadOnlyFirst) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ReadOnlyFirst) end end + describe 'test attribute "bar"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/single_ref_type_spec.rb b/samples/client/petstore/ruby/spec/models/single_ref_type_spec.rb index 7686eb34d2dc..0cdc540e563a 100644 --- a/samples/client/petstore/ruby/spec/models/single_ref_type_spec.rb +++ b/samples/client/petstore/ruby/spec/models/single_ref_type_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,7 +22,9 @@ describe 'test an instance of SingleRefType' do it 'should create an instance of SingleRefType' do - expect(instance).to be_instance_of(Petstore::SingleRefType) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SingleRefType) end end + end diff --git a/samples/client/petstore/ruby/spec/models/special_model_name_spec.rb b/samples/client/petstore/ruby/spec/models/special_model_name_spec.rb index 78555f967cc6..25926fd381a7 100644 --- a/samples/client/petstore/ruby/spec/models/special_model_name_spec.rb +++ b/samples/client/petstore/ruby/spec/models/special_model_name_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::SpecialModelName # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'SpecialModelName' do - before do - # run before each test - @instance = Petstore::SpecialModelName.new - end - - after do - # run after each test - end +describe Petstore::SpecialModelName do + let(:instance) { Petstore::SpecialModelName.new } describe 'test an instance of SpecialModelName' do it 'should create an instance of SpecialModelName' do - expect(@instance).to be_instance_of(Petstore::SpecialModelName) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::SpecialModelName) end end + describe 'test attribute "special_property_name"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/tag_spec.rb b/samples/client/petstore/ruby/spec/models/tag_spec.rb index e791cb35e149..359fc8c0b761 100644 --- a/samples/client/petstore/ruby/spec/models/tag_spec.rb +++ b/samples/client/petstore/ruby/spec/models/tag_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::Tag # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'Tag' do - before do - # run before each test - @instance = Petstore::Tag.new - end - - after do - # run after each test - end +describe Petstore::Tag do + let(:instance) { Petstore::Tag.new } describe 'test an instance of Tag' do it 'should create an instance of Tag' do - expect(@instance).to be_instance_of(Petstore::Tag) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Tag) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/test_inline_freeform_additional_properties_request_spec.rb b/samples/client/petstore/ruby/spec/models/test_inline_freeform_additional_properties_request_spec.rb index 2508babe7272..8cda9ab078b2 100644 --- a/samples/client/petstore/ruby/spec/models/test_inline_freeform_additional_properties_request_spec.rb +++ b/samples/client/petstore/ruby/spec/models/test_inline_freeform_additional_properties_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.0.1-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -22,9 +22,11 @@ describe 'test an instance of TestInlineFreeformAdditionalPropertiesRequest' do it 'should create an instance of TestInlineFreeformAdditionalPropertiesRequest' do - expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::TestInlineFreeformAdditionalPropertiesRequest) end end + describe 'test attribute "some_property"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/user_spec.rb b/samples/client/petstore/ruby/spec/models/user_spec.rb index 9d162c5d9993..b07fb462fba1 100644 --- a/samples/client/petstore/ruby/spec/models/user_spec.rb +++ b/samples/client/petstore/ruby/spec/models/user_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,21 +17,16 @@ # Unit tests for Petstore::User # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'User' do - before do - # run before each test - @instance = Petstore::User.new - end - - after do - # run after each test - end +describe Petstore::User do + let(:instance) { Petstore::User.new } describe 'test an instance of User' do it 'should create an instance of User' do - expect(@instance).to be_instance_of(Petstore::User) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::User) end end + describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ diff --git a/samples/client/petstore/ruby/spec/models/whale_spec.rb b/samples/client/petstore/ruby/spec/models/whale_spec.rb index 55bfc0a659bb..8446b930349e 100644 --- a/samples/client/petstore/ruby/spec/models/whale_spec.rb +++ b/samples/client/petstore/ruby/spec/models/whale_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of Whale' do it 'should create an instance of Whale' do - expect(instance).to be_instance_of(Petstore::Whale) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Whale) end end + describe 'test attribute "has_baleen"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -37,7 +39,7 @@ end end - describe 'test attribute "class_name"' do + describe 'test attribute "classname"' 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/petstore/ruby/spec/models/zebra_spec.rb b/samples/client/petstore/ruby/spec/models/zebra_spec.rb index 1076f9d907aa..0313104f4e7a 100644 --- a/samples/client/petstore/ruby/spec/models/zebra_spec.rb +++ b/samples/client/petstore/ruby/spec/models/zebra_spec.rb @@ -6,7 +6,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 =end @@ -22,9 +22,11 @@ describe 'test an instance of Zebra' do it 'should create an instance of Zebra' do - expect(instance).to be_instance_of(Petstore::Zebra) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::Zebra) end end + describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ @@ -35,7 +37,7 @@ end end - describe 'test attribute "class_name"' do + describe 'test attribute "classname"' 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/petstore/zapier/samples/PetApi.js b/samples/client/petstore/zapier/samples/PetApi.js index 3ef6e6adfab1..4ee563f1c226 100644 --- a/samples/client/petstore/zapier/samples/PetApi.js +++ b/samples/client/petstore/zapier/samples/PetApi.js @@ -1,4 +1,4 @@ -module.export = { +module.exports = { "PetSample": { data: {} }, "PetSample": diff --git a/samples/client/petstore/zapier/samples/StoreApi.js b/samples/client/petstore/zapier/samples/StoreApi.js index c948e814e305..c7b521298bcd 100644 --- a/samples/client/petstore/zapier/samples/StoreApi.js +++ b/samples/client/petstore/zapier/samples/StoreApi.js @@ -1,4 +1,4 @@ -module.export = { +module.exports = { "OrderSample": { data: {} }, "OrderSample": diff --git a/samples/client/petstore/zapier/samples/UserApi.js b/samples/client/petstore/zapier/samples/UserApi.js index 8053c81b88d5..6e904dbe4c66 100644 --- a/samples/client/petstore/zapier/samples/UserApi.js +++ b/samples/client/petstore/zapier/samples/UserApi.js @@ -1,4 +1,4 @@ -module.export = { +module.exports = { "UserSample": { data: {} }, } diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/test/api_usage_test.go b/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/test/api_usage_test.go index 7aa3f68f51ff..ef553cf40665 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/test/api_usage_test.go +++ b/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/test/api_usage_test.go @@ -1,7 +1,7 @@ /* OpenAPI Extension x-auth-id-alias -Testing UsageApiService +Testing UsageAPIService */ @@ -10,64 +10,64 @@ Testing UsageApiService package x_auth_id_alias import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "./openapi" + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) -func Test_x_auth_id_alias_UsageApiService(t *testing.T) { +func Test_x_auth_id_alias_UsageAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test UsageApiService AnyKey", func(t *testing.T) { + t.Run("Test UsageAPIService AnyKey", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UsageApi.AnyKey(context.Background()).Execute() + resp, httpRes, err := apiClient.UsageAPI.AnyKey(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UsageApiService BothKeys", func(t *testing.T) { + t.Run("Test UsageAPIService BothKeys", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UsageApi.BothKeys(context.Background()).Execute() + resp, httpRes, err := apiClient.UsageAPI.BothKeys(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UsageApiService KeyInHeader", func(t *testing.T) { + t.Run("Test UsageAPIService KeyInHeader", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UsageApi.KeyInHeader(context.Background()).Execute() + resp, httpRes, err := apiClient.UsageAPI.KeyInHeader(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) - t.Run("Test UsageApiService KeyInQuery", func(t *testing.T) { + t.Run("Test UsageAPIService KeyInQuery", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.UsageApi.KeyInQuery(context.Background()).Execute() + resp, httpRes, err := apiClient.UsageAPI.KeyInQuery(context.Background()).Execute() - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) - }) + }) } diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/spec/api/usage_api_spec.rb b/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/spec/api/usage_api_spec.rb index ab8053f36628..9e770d3f6e0b 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/spec/api/usage_api_spec.rb +++ b/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/spec/api/usage_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/openapi3/client/features/dynamic-servers/ruby/spec/api/usage_api_spec.rb b/samples/openapi3/client/features/dynamic-servers/ruby/spec/api/usage_api_spec.rb index efb2b641fe67..29024157f0f8 100644 --- a/samples/openapi3/client/features/dynamic-servers/ruby/spec/api/usage_api_spec.rb +++ b/samples/openapi3/client/features/dynamic-servers/ruby/spec/api/usage_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end diff --git a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/api/usage_api_spec.rb b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/api/usage_api_spec.rb index 1c84555f3903..6500360225a0 100644 --- a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/api/usage_api_spec.rb +++ b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/api/usage_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -36,7 +36,7 @@ # Use alias to array # Use alias to array # @param [Hash] opts the optional parameters - # @option opts [ArrayAlias] :array_alias + # @option opts [ArrayAlias] :array_alias # @return [Object] describe 'array test' do it 'should work' do @@ -48,7 +48,7 @@ # Use alias to map # Use alias to map # @param [Hash] opts the optional parameters - # @option opts [MapAlias] :map_alias + # @option opts [MapAlias] :map_alias # @return [Object] describe 'map test' do it 'should work' do diff --git a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/array_alias_spec.rb b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/array_alias_spec.rb index 39af6c1c60e2..136c661acdec 100644 --- a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/array_alias_spec.rb +++ b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/array_alias_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::ArrayAlias # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'ArrayAlias' do - before do - # run before each test - @instance = Petstore::ArrayAlias.new - end - - after do - # run after each test - end +describe Petstore::ArrayAlias do + let(:instance) { Petstore::ArrayAlias.new } describe 'test an instance of ArrayAlias' do it 'should create an instance of ArrayAlias' do - expect(@instance).to be_instance_of(Petstore::ArrayAlias) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::ArrayAlias) end end + end diff --git a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/map_alias_spec.rb b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/map_alias_spec.rb index bb64ef4a24f0..37cf1599dde3 100644 --- a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/map_alias_spec.rb +++ b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/spec/models/map_alias_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT +Generator version: 7.11.0-SNAPSHOT =end @@ -17,19 +17,14 @@ # Unit tests for Petstore::MapAlias # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate -describe 'MapAlias' do - before do - # run before each test - @instance = Petstore::MapAlias.new - end - - after do - # run after each test - end +describe Petstore::MapAlias do + let(:instance) { Petstore::MapAlias.new } describe 'test an instance of MapAlias' do it 'should create an instance of MapAlias' do - expect(@instance).to be_instance_of(Petstore::MapAlias) + # uncomment below to test the instance creation + #expect(instance).to be_instance_of(Petstore::MapAlias) end end + end diff --git a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_or_value_test.dart b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_or_value_test.dart index c132ac09943b..1fed3cf553b0 100644 --- a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_or_value_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_or_value_test.dart @@ -7,18 +7,33 @@ void main() { // TODO add properties to the builder and call build() group(BarRefOrValue, () { - // Hyperlink reference - // String href - test('to test the property `href`', () async { - // TODO - }); - // unique identifier // String id test('to test the property `id`', () async { // TODO }); + // String barPropA + test('to test the property `barPropA`', () async { + // TODO + }); + + // String fooPropB + test('to test the property `fooPropB`', () async { + // TODO + }); + + // FooRefOrValue foo + test('to test the property `foo`', () async { + // TODO + }); + + // Hyperlink reference + // String href + test('to test the property `href`', () async { + // TODO + }); + // A URI to a JSON-Schema file that defines additional attributes and relationships // String atSchemaLocation test('to test the property `atSchemaLocation`', () async { @@ -37,5 +52,17 @@ void main() { // TODO }); + // Name of the related entity. + // String name + test('to test the property `name`', () async { + // TODO + }); + + // The actual type of the target instance when needed for disambiguation. + // String atReferredType + test('to test the property `atReferredType`', () async { + // TODO + }); + }); } diff --git a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_test.dart b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_test.dart index 9c410b2b5c54..7ab0c0f7f786 100644 --- a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/bar_ref_test.dart @@ -7,6 +7,18 @@ void main() { // TODO add properties to the builder and call build() group(BarRef, () { + // Name of the related entity. + // String name + test('to test the property `name`', () async { + // TODO + }); + + // The actual type of the target instance when needed for disambiguation. + // String atReferredType + test('to test the property `atReferredType`', () async { + // TODO + }); + // Hyperlink reference // String href test('to test the property `href`', () async { diff --git a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_or_value_test.dart b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_or_value_test.dart index 029d030e5e35..27b675578ccc 100644 --- a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_or_value_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_or_value_test.dart @@ -7,6 +7,16 @@ void main() { // TODO add properties to the builder and call build() group(FooRefOrValue, () { + // String fooPropA + test('to test the property `fooPropA`', () async { + // TODO + }); + + // String fooPropB + test('to test the property `fooPropB`', () async { + // TODO + }); + // Hyperlink reference // String href test('to test the property `href`', () async { @@ -37,5 +47,22 @@ void main() { // TODO }); + // String foorefPropA + test('to test the property `foorefPropA`', () async { + // TODO + }); + + // Name of the related entity. + // String name + test('to test the property `name`', () async { + // TODO + }); + + // The actual type of the target instance when needed for disambiguation. + // String atReferredType + test('to test the property `atReferredType`', () async { + // TODO + }); + }); } diff --git a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_test.dart b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_test.dart index a1398787bbcb..fb5708e0af86 100644 --- a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/foo_ref_test.dart @@ -12,6 +12,18 @@ void main() { // TODO }); + // Name of the related entity. + // String name + test('to test the property `name`', () async { + // TODO + }); + + // The actual type of the target instance when needed for disambiguation. + // String atReferredType + test('to test the property `atReferredType`', () async { + // TODO + }); + // Hyperlink reference // String href test('to test the property `href`', () async { diff --git a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/pizza_speziale_test.dart b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/pizza_speziale_test.dart index 774320231c9e..f96b5532fca3 100644 --- a/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/pizza_speziale_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/test/pizza_speziale_test.dart @@ -12,6 +12,11 @@ void main() { // TODO }); + // num pizzaSize + test('to test the property `pizzaSize`', () async { + // TODO + }); + // Hyperlink reference // String href test('to test the property `href`', () async { diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/test/fake_api_test.dart b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/test/fake_api_test.dart index 06418dfa53c4..67950bf50ce9 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/test/fake_api_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/test/fake_api_test.dart @@ -7,6 +7,13 @@ void main() { final instance = Openapi().getFakeApi(); group(FakeApi, () { + // for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + // + //Future fakeBigDecimalMap() async + test('test fakeBigDecimalMap', () async { + // TODO + }); + // Health check endpoint // //Future fakeHealthGet() async @@ -56,6 +63,15 @@ void main() { // TODO }); + // test referenced additionalProperties + // + // + // + //Future testAdditionalPropertiesReference(Map requestBody) async + test('test testAdditionalPropertiesReference', () async { + // TODO + }); + // For this test, the body has to be a binary file. // //Future testBodyWithBinary(MultipartFile body) async @@ -120,6 +136,15 @@ void main() { // TODO }); + // test inline free-form additionalProperties + // + // + // + //Future testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) async + test('test testInlineFreeformAdditionalProperties', () async { + // TODO + }); + // test json serialization of form data // // @@ -129,6 +154,15 @@ void main() { // TODO }); + // test nullable parent property + // + // + // + //Future testNullable(ChildWithNullable childWithNullable) async + test('test testNullable', () async { + // TODO + }); + // To test the collection format in query parameters // //Future testQueryParameterCollectionFormat(List pipe, List ioutil, List http, List url, List context, String allowEmpty, { Map language }) async @@ -136,5 +170,14 @@ void main() { // TODO }); + // test referenced string map + // + // + // + //Future testStringMapReference(Map requestBody) async + test('test testStringMapReference', () async { + // TODO + }); + }); } diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/test/fake_api_test.dart b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/test/fake_api_test.dart index c552474e280b..c95212e86914 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/test/fake_api_test.dart +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/test/fake_api_test.dart @@ -7,6 +7,13 @@ void main() { final instance = Openapi().getFakeApi(); group(FakeApi, () { + // for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys + // + //Future fakeBigDecimalMap() async + test('test fakeBigDecimalMap', () async { + // TODO + }); + // Health check endpoint // //Future fakeHealthGet() async @@ -56,6 +63,15 @@ void main() { // TODO }); + // test referenced additionalProperties + // + // + // + //Future testAdditionalPropertiesReference(BuiltMap requestBody) async + test('test testAdditionalPropertiesReference', () async { + // TODO + }); + // For this test, the body has to be a binary file. // //Future testBodyWithBinary(MultipartFile body) async @@ -120,6 +136,15 @@ void main() { // TODO }); + // test inline free-form additionalProperties + // + // + // + //Future testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) async + test('test testInlineFreeformAdditionalProperties', () async { + // TODO + }); + // test json serialization of form data // // @@ -129,6 +154,15 @@ void main() { // TODO }); + // test nullable parent property + // + // + // + //Future testNullable(ChildWithNullable childWithNullable) async + test('test testNullable', () async { + // TODO + }); + // To test the collection format in query parameters // //Future testQueryParameterCollectionFormat(BuiltList pipe, BuiltList ioutil, BuiltList http, BuiltList url, BuiltList context, String allowEmpty, { BuiltMap language }) async @@ -136,5 +170,14 @@ void main() { // TODO }); + // test referenced string map + // + // + // + //Future testStringMapReference(BuiltMap requestBody) async + test('test testStringMapReference', () async { + // TODO + }); + }); } diff --git a/samples/openapi3/client/petstore/go/go-petstore/test/api_default_test.go b/samples/openapi3/client/petstore/go/go-petstore/test/api_default_test.go index 042281f29ebb..d3c1495e03ab 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/test/api_default_test.go +++ b/samples/openapi3/client/petstore/go/go-petstore/test/api_default_test.go @@ -34,4 +34,16 @@ func Test_petstore_DefaultAPIService(t *testing.T) { }) + t.Run("Test DefaultAPIService SomeOpsRequiringRefInt", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultAPI.SomeOpsRequiringRefInt(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + } diff --git a/samples/openapi3/client/petstore/go/go-petstore/test/api_fake_test.go b/samples/openapi3/client/petstore/go/go-petstore/test/api_fake_test.go index 5c2fdd76ff54..fef74a1a07ed 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/test/api_fake_test.go +++ b/samples/openapi3/client/petstore/go/go-petstore/test/api_fake_test.go @@ -82,6 +82,28 @@ func Test_petstore_FakeAPIService(t *testing.T) { }) + t.Run("Test FakeAPIService GetParameterNameMapping", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.FakeAPI.GetParameterNameMapping(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test FakeAPIService TestAdditionalPropertiesReference", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.FakeAPI.TestAdditionalPropertiesReference(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test FakeAPIService TestBodyWithFileSchema", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -160,6 +182,17 @@ func Test_petstore_FakeAPIService(t *testing.T) { }) + t.Run("Test FakeAPIService TestInlineFreeformAdditionalProperties", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.FakeAPI.TestInlineFreeformAdditionalProperties(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test FakeAPIService TestJsonFormData", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -182,6 +215,17 @@ func Test_petstore_FakeAPIService(t *testing.T) { }) + t.Run("Test FakeAPIService TestQueryDeepObjectAnyof", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.FakeAPI.TestQueryDeepObjectAnyof(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test FakeAPIService TestQueryParameterCollectionFormat", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -193,6 +237,17 @@ func Test_petstore_FakeAPIService(t *testing.T) { }) + t.Run("Test FakeAPIService TestStringMapReference", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.FakeAPI.TestStringMapReference(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test FakeAPIService TestUniqueItemsHeaderAndQueryParameterCollectionFormat", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ChildSchemaTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ChildSchemaTest.java index 044f968747c2..811ddac6b216 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ChildSchemaTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ChildSchemaTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Parent; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ParentTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ParentTest.java index 71f9229c8f47..d7ee5f75bd55 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ParentTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/test/java/org/openapitools/client/model/ParentTest.java @@ -21,8 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildSchema; -import org.openapitools.client.model.MySchemaNameCharacters; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/CategoryTest.java index be24dd917120..cfb49b9b5440 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 7ea0908af46c..e9cec096bd75 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/OrderTest.java index 516a98800930..8a824aeba1bd 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/OrderTest.java @@ -21,6 +21,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/PetTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/PetTest.java index 9dcd02632fb9..608f5c93e400 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/PetTest.java @@ -21,6 +21,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Category; import org.openapitools.client.model.Tag; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/TagTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/TagTest.java index 05ddf767772c..94aba633852e 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/TagTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/UserTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/UserTest.java index 333851238acd..60d4ac99fa69 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/src/test/java/org/openapitools/client/model/UserTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java index c2d927676455..038f76d259d3 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.v3.oas.annotations.media.Schema; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 67bc828a74e7..0bdf526bce30 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.v3.oas.annotations.media.Schema; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java index 95ed2a03cd0b..e7207dbd6b49 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/OrderTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.v3.oas.annotations.media.Schema; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/PetTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/PetTest.java index 0a1f63783161..259ada548b74 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/PetTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.v3.oas.annotations.media.Schema; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Category; import org.openapitools.client.model.Tag; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/TagTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/TagTest.java index d9721c4af838..c40d4bf98839 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/TagTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.v3.oas.annotations.media.Schema; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/UserTest.java b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/UserTest.java index ac7750f5eedf..df8258e3ac0d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/src/test/java/org/openapitools/client/model/UserTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.v3.oas.annotations.media.Schema; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java index 99ec8629a504..34ede8ce8906 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/FakeApiTest.java @@ -24,6 +24,7 @@ import java.time.OffsetDateTime; import org.openapitools.client.model.OuterComposite; import org.openapitools.client.model.OuterEnum; +import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest; import org.openapitools.client.model.User; import org.junit.jupiter.api.Assertions; @@ -112,6 +113,32 @@ public void getArrayOfEnumsTest() throws ApiException { // TODO: test validations } + /** + * Array of string + * + * @throws ApiException if the Api call fails + */ + @Test + public void postArrayOfStringTest() throws ApiException { + //List requestBody = null; + //api.postArrayOfString(requestBody); + // TODO: test validations + } + + /** + * test referenced additionalProperties + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void testAdditionalPropertiesReferenceTest() throws ApiException { + //Map requestBody = null; + //api.testAdditionalPropertiesReference(requestBody); + // TODO: test validations + } + /** * For this test, the body for this request much reference a schema named `File`. * @@ -237,6 +264,20 @@ public void testInlineAdditionalPropertiesTest() throws ApiException { // TODO: test validations } + /** + * test inline free-form additionalProperties + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void testInlineFreeformAdditionalPropertiesTest() throws ApiException { + //TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = null; + //api.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest); + // TODO: test validations + } + /** * test json serialization of form data * @@ -268,4 +309,18 @@ public void testQueryParameterCollectionFormatTest() throws ApiException { // TODO: test validations } + /** + * test referenced string map + * + * + * + * @throws ApiException if the Api call fails + */ + @Test + public void testStringMapReferenceTest() throws ApiException { + //Map requestBody = null; + //api.testStringMapReference(requestBody); + // TODO: test validations + } + } diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java index 96ca356053e7..2a249063c483 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java index e523f4a9fd4a..8135b9b319d8 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AnimalTest.java @@ -21,8 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.Cat; -import org.openapitools.client.model.Dog; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleReqTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleReqTest.java index a17b2d982d68..255c18af0208 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleReqTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleReqTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleTest.java index de0184496f26..a9f1abda1fe3 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/AppleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java index 90360a009299..3755829c9440 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java index 8a3cf3499c5c..ab7e1740ca1f 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.java index 38576d0e5549..06487a1277e9 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ArrayTestTest.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.ReadOnlyFirst; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaReqTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaReqTest.java index ecbc17bdd263..d7594d8f67cf 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaReqTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaReqTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaTest.java index 58902c6471cb..5575ed148738 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BananaTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BasquePigTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BasquePigTest.java index 0355c02c8b39..78bb892b8195 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BasquePigTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/BasquePigTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java index 91de07ebb31c..61e2705665e9 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CapitalizationTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java index f8c9d60979fe..664dc2853bf0 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CatTest.java @@ -21,6 +21,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; +import java.util.Map; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java index 2a0d0925184f..eec4493e93e1 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/CategoryTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ChildCatTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ChildCatTest.java index 81996faf1273..615695be8c30 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ChildCatTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ChildCatTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ParentPet; import java.util.Set; import java.util.HashSet; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java index 9acb93988032..4885e656ca45 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClassModelTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java index 93e64697cbe8..31b3cea2211e 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ClientTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java index 8254ea35f22d..1f419de8e640 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ComplexQuadrilateralTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DanishPigTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DanishPigTest.java index 28ef5f915609..89599e0219ec 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DanishPigTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DanishPigTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java index 1c29f39febe3..e25102a3f419 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java index ca4e7f1a4318..ed5671f13565 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DogTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Animal; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DrawingTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DrawingTest.java index 5b6a83cb79b0..a6de37e30bb2 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DrawingTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/DrawingTest.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.Fruit; import org.openapitools.client.model.NullableShape; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.java index 0ebeeae1b90b..597c60bc8552 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumArraysTest.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.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java index a952c89a90df..ebf9681a1b77 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EnumTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.OuterEnum; import org.openapitools.client.model.OuterEnumDefaultValue; import org.openapitools.client.model.OuterEnumInteger; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java index bd21dcb29ab5..dcd09121b7c4 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/EquilateralTriangleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java index ca53f2710093..65b2f87ca4ff 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.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.ModelFile; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java index 2256d31c4c4e..dba3cf5a96ee 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Foo; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooTest.java index 4fccb22c43e6..daf4288c2281 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FooTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java index 2d044fae746b..849839b1ec44 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FormatTestTest.java @@ -22,6 +22,7 @@ import java.math.BigDecimal; import java.time.LocalDate; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.UUID; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitReqTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitReqTest.java index 4e9156870024..3ab12cdc46df 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitReqTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitReqTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.AppleReq; import org.openapitools.client.model.BananaReq; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitTest.java index b051e07441fb..55ed641d9899 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/FruitTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GmFruitTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GmFruitTest.java index 7f18ebef24ef..39d5826b8f8a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GmFruitTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GmFruitTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; +import java.util.Arrays; import org.openapitools.client.model.Apple; import org.openapitools.client.model.Banana; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java index c0c66f99e5af..a1e3637ce19b 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/GrandparentAnimalTest.java @@ -21,8 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; -import org.openapitools.client.model.ParentPet; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java index a692eed31917..11e0bbe44d1a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java index d2ea838a307f..6f46c2f5202b 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java index 558785c5f0bf..88fdcd0292c6 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/IsoscelesTriangleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java index 394bf4686bcb..50911103f2ca 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MapTestTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java index a95a4cd36b36..26fdc39a31a9 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.UUID; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java index 285f5b025745..801d94e0118d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/Model200ResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java index 6285dc269862..4c2dd601ddbf 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java index fe9ae2553223..2313cc948c0b 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelFileTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java index ec7f17d1af01..5644a525efc7 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelListTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java index 6b8041eab6b2..19dde4952627 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ModelReturnTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java index 5d5d3f7a36fd..aead3c674dbb 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableClassTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableClassTest.java index 8a9cc24beddb..c7b10f31fa4d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableClassTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableClassTest.java @@ -22,6 +22,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableShapeTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableShapeTest.java index 456530223e0c..d3d15bb32998 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableShapeTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NullableShapeTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java index 15b10302575f..c73a53c6ee56 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/NumberOnlyTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java index eda3c6ce1713..ac165aac24ba 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java @@ -20,6 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeprecatedObject; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java index 4ea6d2150bd8..bb5fb7cad80b 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OrderTest.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; +import java.util.Arrays; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java index 9498ef7e68a4..d454f2e1aa12 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/OuterCompositeTest.java @@ -19,6 +19,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ParentPetTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ParentPetTest.java index 2118c7e7e0a3..189d147a7ac5 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ParentPetTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ParentPetTest.java @@ -21,7 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.ChildCat; +import java.util.Arrays; import org.openapitools.client.model.GrandparentAnimal; import org.junit.jupiter.api.Assertions; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java index 8788ba632e13..0d391f65eb02 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PetTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PigTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PigTest.java index 8c406dd5f8ec..513f98b74a6c 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PigTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/PigTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.BasquePig; import org.openapitools.client.model.DanishPig; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java index 2d1e5ac485a3..ac2f1f660c2d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralInterfaceTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralTest.java index 3418bc98b2e6..df83443c7d63 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/QuadrilateralTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.ComplexQuadrilateral; import org.openapitools.client.model.SimpleQuadrilateral; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java index d77e0b2a92dc..689d39696231 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java index c81f25ce59ef..4f7a833530f1 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ScaleneTriangleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java index 90b3b66ca3e6..a89c83e5a846 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeInterfaceTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java index fd27ed4d0f5b..23a7c3946bda 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeOrNullTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeTest.java index 02f81ec2a47b..398f1d5bb311 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ShapeTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.Quadrilateral; import org.openapitools.client.model.Triangle; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java index 5481ac5a2721..3222305a7c9b 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SimpleQuadrilateralTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java index 3f0262f4a404..5cc8f2fe8d4a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java index db8d746a636e..a8ccab7ac1b7 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TagTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java index 50c8c459a1b3..303e04f15985 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleInterfaceTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleTest.java index 99c3655633f8..e11692c5c390 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/TriangleTest.java @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.client.model.EquilateralTriangle; import org.openapitools.client.model.IsoscelesTriangle; import org.openapitools.client.model.ScaleneTriangle; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java index 7c56d205f7ef..6931e60e46c9 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/UserTest.java @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; +import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/WhaleTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/WhaleTest.java index 66075dad5b7b..a4fb7ce4009b 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/WhaleTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/WhaleTest.java @@ -18,6 +18,7 @@ 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; diff --git a/samples/server/petstore/haskell-yesod/test/Handler/PetSpec.hs b/samples/server/petstore/haskell-yesod/test/Handler/PetSpec.hs index e063cad4809e..37e246c297ab 100644 --- a/samples/server/petstore/haskell-yesod/test/Handler/PetSpec.hs +++ b/samples/server/petstore/haskell-yesod/test/Handler/PetSpec.hs @@ -18,6 +18,11 @@ spec = withApp $ do performMethod "DELETE" $ PetByInt64R 789 statusIs 501 + describe "getPetFindR" $ + it "returns 501 Not Implemented" $ do + get PetFindR + statusIs 501 + describe "getPetFindByStatusR" $ it "returns 501 Not Implemented" $ do get PetFindByStatusR diff --git a/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/PetApiTest.java b/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/PetApiTest.java index d02598dd1cc6..db242ade0a0a 100644 --- a/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/PetApiTest.java +++ b/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/PetApiTest.java @@ -1,5 +1,5 @@ /** -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (5.4.0-SNAPSHOT). +* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT). * https://openapi-generator.tech * Do not edit the class manually. */ @@ -47,7 +47,7 @@ public void addPetTestXml() throws Exception { httpRequest = httpRequest.header("Content-Type", contentType); httpRequest = httpRequest.header("Accept", accept); - String requestBody = " 123456789 doggie aeiou aeiou "; + String requestBody = " 123456789 123456789 aeiou doggie aeiou 123456789 aeiou aeiou "; httpRequest = ((HttpRequestWithBody) httpRequest).body(requestBody).getHttpRequest(); diff --git a/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/StoreApiTest.java b/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/StoreApiTest.java index f2d137065b79..2316853508bc 100644 --- a/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/StoreApiTest.java +++ b/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/StoreApiTest.java @@ -1,5 +1,5 @@ /** -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (5.4.0-SNAPSHOT). +* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT). * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/UserApiTest.java b/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/UserApiTest.java index c278b12de3b1..9d71548a6d7f 100644 --- a/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/UserApiTest.java +++ b/samples/server/petstore/java-camel/src/test/java/org/openapitools/api/UserApiTest.java @@ -1,5 +1,5 @@ /** -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (5.4.0-SNAPSHOT). +* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT). * https://openapi-generator.tech * Do not edit the class manually. */ diff --git a/samples/server/petstore/java-micronaut-server/src/test/groovy/org/openapitools/model/PetSpec.groovy b/samples/server/petstore/java-micronaut-server/src/test/groovy/org/openapitools/model/PetSpec.groovy index 3905df46f6ec..48a10b373176 100644 --- a/samples/server/petstore/java-micronaut-server/src/test/groovy/org/openapitools/model/PetSpec.groovy +++ b/samples/server/petstore/java-micronaut-server/src/test/groovy/org/openapitools/model/PetSpec.groovy @@ -1,6 +1,7 @@ package org.openapitools.model import java.util.ArrayList +import java.util.Arrays import java.util.List import org.openapitools.model.Category import org.openapitools.model.Tag diff --git a/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/PetApiTest.java b/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/PetApiTest.java index 48eec50eebe8..5fc4823c1c74 100644 --- a/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/PetApiTest.java +++ b/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/PetApiTest.java @@ -2,24 +2,12 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -53,23 +41,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for PetApi + * API tests for PetApi */ public class PetApiTest { private PetApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", PetApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -85,8 +73,8 @@ public void addPetTest() { //api.addPet(body); // TODO: test validations - - + + } /** @@ -102,8 +90,8 @@ public void deletePetTest() { //api.deletePet(petId, apiKey); // TODO: test validations - - + + } /** @@ -120,8 +108,8 @@ public void findPetsByStatusTest() { //List response = api.findPetsByStatus(status); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -138,8 +126,8 @@ public void findPetsByTagsTest() { //List response = api.findPetsByTags(tags); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -156,8 +144,8 @@ public void getPetByIdTest() { //Pet response = api.getPetById(petId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -172,8 +160,8 @@ public void updatePetTest() { //api.updatePet(body); // TODO: test validations - - + + } /** @@ -190,8 +178,8 @@ public void updatePetWithFormTest() { //api.updatePetWithForm(petId, name, status); // TODO: test validations - - + + } /** @@ -204,12 +192,12 @@ public void updatePetWithFormTest() { public void uploadFileTest() { Long petId = null; String additionalMetadata = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment file = null; - //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file); + File _file = null; + //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/StoreApiTest.java b/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/StoreApiTest.java index 58d1014fcdda..3f976f3dc7a0 100644 --- a/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/StoreApiTest.java +++ b/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/StoreApiTest.java @@ -2,24 +2,12 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -52,23 +40,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for StoreApi + * API tests for StoreApi */ public class StoreApiTest { private StoreApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", StoreApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -86,8 +74,8 @@ public void deleteOrderTest() { //api.deleteOrder(orderId); // TODO: test validations - - + + } /** @@ -103,8 +91,8 @@ public void getInventoryTest() { //Map response = api.getInventory(); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -121,8 +109,8 @@ public void getOrderByIdTest() { //Order response = api.getOrderById(orderId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -137,8 +125,8 @@ public void placeOrderTest() { //Order response = api.placeOrder(body); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/UserApiTest.java b/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/UserApiTest.java index 96ef6b222ad9..af395ef11412 100644 --- a/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/UserApiTest.java +++ b/samples/server/petstore/jaxrs-cxf-annotated-base-path/src/test/java/org/openapitools/api/UserApiTest.java @@ -2,30 +2,18 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ package org.openapitools.api; -import java.util.List; +import java.util.Date; import org.openapitools.model.User; import org.junit.Test; import org.junit.Before; @@ -52,23 +40,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for UserApi + * API tests for UserApi */ public class UserApiTest { private UserApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", UserApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -86,8 +74,8 @@ public void createUserTest() { //api.createUser(body); // TODO: test validations - - + + } /** @@ -98,12 +86,12 @@ public void createUserTest() { */ @Test public void createUsersWithArrayInputTest() { - List body = null; + List<@Valid User> body = null; //api.createUsersWithArrayInput(body); // TODO: test validations - - + + } /** @@ -114,12 +102,12 @@ public void createUsersWithArrayInputTest() { */ @Test public void createUsersWithListInputTest() { - List body = null; + List<@Valid User> body = null; //api.createUsersWithListInput(body); // TODO: test validations - - + + } /** @@ -136,8 +124,8 @@ public void deleteUserTest() { //api.deleteUser(username); // TODO: test validations - - + + } /** @@ -152,8 +140,8 @@ public void getUserByNameTest() { //User response = api.getUserByName(username); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -169,8 +157,8 @@ public void loginUserTest() { //String response = api.loginUser(username, password); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -184,8 +172,8 @@ public void logoutUserTest() { //api.logoutUser(); // TODO: test validations - - + + } /** @@ -203,8 +191,8 @@ public void updateUserTest() { //api.updateUser(username, body); // TODO: test validations - - + + } } diff --git a/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/PetApiTest.java b/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/PetApiTest.java index 48eec50eebe8..5fc4823c1c74 100644 --- a/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/PetApiTest.java +++ b/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/PetApiTest.java @@ -2,24 +2,12 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -53,23 +41,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for PetApi + * API tests for PetApi */ public class PetApiTest { private PetApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", PetApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -85,8 +73,8 @@ public void addPetTest() { //api.addPet(body); // TODO: test validations - - + + } /** @@ -102,8 +90,8 @@ public void deletePetTest() { //api.deletePet(petId, apiKey); // TODO: test validations - - + + } /** @@ -120,8 +108,8 @@ public void findPetsByStatusTest() { //List response = api.findPetsByStatus(status); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -138,8 +126,8 @@ public void findPetsByTagsTest() { //List response = api.findPetsByTags(tags); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -156,8 +144,8 @@ public void getPetByIdTest() { //Pet response = api.getPetById(petId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -172,8 +160,8 @@ public void updatePetTest() { //api.updatePet(body); // TODO: test validations - - + + } /** @@ -190,8 +178,8 @@ public void updatePetWithFormTest() { //api.updatePetWithForm(petId, name, status); // TODO: test validations - - + + } /** @@ -204,12 +192,12 @@ public void updatePetWithFormTest() { public void uploadFileTest() { Long petId = null; String additionalMetadata = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment file = null; - //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file); + File _file = null; + //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/StoreApiTest.java b/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/StoreApiTest.java index 58d1014fcdda..3f976f3dc7a0 100644 --- a/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/StoreApiTest.java +++ b/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/StoreApiTest.java @@ -2,24 +2,12 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ @@ -52,23 +40,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for StoreApi + * API tests for StoreApi */ public class StoreApiTest { private StoreApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", StoreApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -86,8 +74,8 @@ public void deleteOrderTest() { //api.deleteOrder(orderId); // TODO: test validations - - + + } /** @@ -103,8 +91,8 @@ public void getInventoryTest() { //Map response = api.getInventory(); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -121,8 +109,8 @@ public void getOrderByIdTest() { //Order response = api.getOrderById(orderId); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -137,8 +125,8 @@ public void placeOrderTest() { //Order response = api.placeOrder(body); //assertNotNull(response); // TODO: test validations - - + + } } diff --git a/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/UserApiTest.java b/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/UserApiTest.java index 96ef6b222ad9..af395ef11412 100644 --- a/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/UserApiTest.java +++ b/samples/server/petstore/jaxrs-cxf-non-spring-app/src/test/java/org/openapitools/api/UserApiTest.java @@ -2,30 +2,18 @@ * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * OpenAPI spec version: 1.0.0 + * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ package org.openapitools.api; -import java.util.List; +import java.util.Date; import org.openapitools.model.User; import org.junit.Test; import org.junit.Before; @@ -52,23 +40,23 @@ * *

This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * - * API tests for UserApi + * API tests for UserApi */ public class UserApiTest { private UserApi api; - + @Before public void setup() { JacksonJsonProvider provider = new JacksonJsonProvider(); List providers = new ArrayList(); providers.add(provider); - + api = JAXRSClientFactory.create("http://petstore.swagger.io/v2", UserApi.class, providers); org.apache.cxf.jaxrs.client.Client client = WebClient.client(api); - - ClientConfiguration config = WebClient.getConfig(client); + + ClientConfiguration config = WebClient.getConfig(client); } @@ -86,8 +74,8 @@ public void createUserTest() { //api.createUser(body); // TODO: test validations - - + + } /** @@ -98,12 +86,12 @@ public void createUserTest() { */ @Test public void createUsersWithArrayInputTest() { - List body = null; + List<@Valid User> body = null; //api.createUsersWithArrayInput(body); // TODO: test validations - - + + } /** @@ -114,12 +102,12 @@ public void createUsersWithArrayInputTest() { */ @Test public void createUsersWithListInputTest() { - List body = null; + List<@Valid User> body = null; //api.createUsersWithListInput(body); // TODO: test validations - - + + } /** @@ -136,8 +124,8 @@ public void deleteUserTest() { //api.deleteUser(username); // TODO: test validations - - + + } /** @@ -152,8 +140,8 @@ public void getUserByNameTest() { //User response = api.getUserByName(username); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -169,8 +157,8 @@ public void loginUserTest() { //String response = api.loginUser(username, password); //assertNotNull(response); // TODO: test validations - - + + } /** @@ -184,8 +172,8 @@ public void logoutUserTest() { //api.logoutUser(); // TODO: test validations - - + + } /** @@ -203,8 +191,8 @@ public void updateUserTest() { //api.updateUser(username, body); // TODO: test validations - - + + } } diff --git a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/AnotherFakeApiTest.java b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/AnotherFakeApiTest.java index e4f41cc407b0..edd0da7797c4 100644 --- a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/AnotherFakeApiTest.java +++ b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/AnotherFakeApiTest.java @@ -14,6 +14,7 @@ package org.openapitools.api; import org.openapitools.model.Client; +import java.util.UUID; import org.junit.Test; import org.junit.Before; import static org.junit.Assert.*; @@ -69,8 +70,9 @@ public void setup() { */ @Test public void call123testSpecialTagsTest() { + UUID uuidTest = null; Client body = null; - //Client response = api.call123testSpecialTags(body); + //Client response = api.call123testSpecialTags(uuidTest, body); //assertNotNull(response); // TODO: test validations diff --git a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/FakeApiTest.java b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/FakeApiTest.java index 272fbb72f433..20839b15e3ca 100644 --- a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/FakeApiTest.java +++ b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/FakeApiTest.java @@ -208,7 +208,7 @@ public void testEndpointParametersTest() { Long int64 = null; Float _float = null; String string = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment binary = null; + File binary = null; LocalDate date = null; Date dateTime = null; String password = null; diff --git a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/PetApiTest.java b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/PetApiTest.java index 69889c133199..b5575602cb6a 100644 --- a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/PetApiTest.java +++ b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/PetApiTest.java @@ -192,7 +192,7 @@ public void updatePetWithFormTest() { public void uploadFileTest() { Long petId = null; String additionalMetadata = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment _file = null; + File _file = null; //ModelApiResponse response = api.uploadFile(petId, additionalMetadata, _file); //assertNotNull(response); // TODO: test validations @@ -209,7 +209,7 @@ public void uploadFileTest() { @Test public void uploadFileWithRequiredFileTest() { Long petId = null; - org.apache.cxf.jaxrs.ext.multipart.Attachment requiredFile = null; + File requiredFile = null; String additionalMetadata = null; //ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); //assertNotNull(response); diff --git a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/UserApiTest.java b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/UserApiTest.java index 9c7ddf654fd5..5b5d67899f75 100644 --- a/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/UserApiTest.java +++ b/samples/server/petstore/jaxrs-cxf/src/test/java/org/openapitools/api/UserApiTest.java @@ -14,7 +14,6 @@ package org.openapitools.api; import java.util.Date; -import java.util.List; import org.openapitools.model.User; import org.junit.Test; import org.junit.Before; @@ -87,7 +86,7 @@ public void createUserTest() { */ @Test public void createUsersWithArrayInputTest() { - List body = null; + List<@Valid User> body = null; //api.createUsersWithArrayInput(body); // TODO: test validations @@ -103,7 +102,7 @@ public void createUsersWithArrayInputTest() { */ @Test public void createUsersWithListInputTest() { - List body = null; + List<@Valid User> body = null; //api.createUsersWithListInput(body); // TODO: test validations diff --git a/samples/server/petstore/kotlin-spring-default/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-spring-default/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 933d16a7ccb3..38150b801434 100644 --- a/samples/server/petstore/kotlin-spring-default/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-spring-default/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -120,7 +120,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot-3/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot-3/src/test/kotlin/org/openapitools/api/PetApiTest.kt index e2181932883a..af7f7256c75c 100644 --- a/samples/server/petstore/kotlin-springboot-3/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-3/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -121,7 +121,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot-bigdecimal-default/src/test/kotlin/org/openapitools/api/TestApiTest.kt b/samples/server/petstore/kotlin-springboot-bigdecimal-default/src/test/kotlin/org/openapitools/api/TestApiTest.kt index 43d899b518c8..3ece7b27d7f4 100644 --- a/samples/server/petstore/kotlin-springboot-bigdecimal-default/src/test/kotlin/org/openapitools/api/TestApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-bigdecimal-default/src/test/kotlin/org/openapitools/api/TestApiTest.kt @@ -16,8 +16,9 @@ class TestApiTest { */ @Test fun testPostTest() { - // val apa: Apa = TODO() - // val response: ResponseEntity = api.testPost(apa) + val apa: Apa = TODO() + val response: ResponseEntity = api.testPost(apa) + // TODO: test validations } } diff --git a/samples/server/petstore/kotlin-springboot-modelMutable/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot-modelMutable/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 6625bcb8d5c1..4ee3b320cc3e 100644 --- a/samples/server/petstore/kotlin-springboot-modelMutable/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-modelMutable/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -121,7 +121,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot-multipart-request-model/src/test/kotlin/org/openapitools/api/MultipartMixedApiTest.kt b/samples/server/petstore/kotlin-springboot-multipart-request-model/src/test/kotlin/org/openapitools/api/MultipartMixedApiTest.kt index 6330073d7439..c0a4e5732f4b 100644 --- a/samples/server/petstore/kotlin-springboot-multipart-request-model/src/test/kotlin/org/openapitools/api/MultipartMixedApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-multipart-request-model/src/test/kotlin/org/openapitools/api/MultipartMixedApiTest.kt @@ -18,7 +18,7 @@ class MultipartMixedApiTest { @Test fun multipartMixedTest() { val status: MultipartMixedStatus = TODO() - val file: org.springframework.core.io.Resource = TODO() + val file: org.springframework.web.multipart.MultipartFile = TODO() val marker: MultipartMixedRequestMarker? = TODO() val response: ResponseEntity = api.multipartMixed(status, file, marker) diff --git a/samples/server/petstore/kotlin-springboot-reactive/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot-reactive/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 695d25351cb8..26f1a1f9e0b6 100644 --- a/samples/server/petstore/kotlin-springboot-reactive/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-reactive/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -123,7 +123,7 @@ class PetApiTest { fun uploadFileTest() = runBlockingTest { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot-source-swagger1/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot-source-swagger1/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 6625bcb8d5c1..4ee3b320cc3e 100644 --- a/samples/server/petstore/kotlin-springboot-source-swagger1/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-source-swagger1/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -121,7 +121,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot-source-swagger2/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot-source-swagger2/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 6625bcb8d5c1..4ee3b320cc3e 100644 --- a/samples/server/petstore/kotlin-springboot-source-swagger2/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-source-swagger2/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -121,7 +121,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot-springfox/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot-springfox/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 6625bcb8d5c1..4ee3b320cc3e 100644 --- a/samples/server/petstore/kotlin-springboot-springfox/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot-springfox/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -121,7 +121,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/kotlin-springboot/src/test/kotlin/org/openapitools/api/PetApiTest.kt b/samples/server/petstore/kotlin-springboot/src/test/kotlin/org/openapitools/api/PetApiTest.kt index 6625bcb8d5c1..4ee3b320cc3e 100644 --- a/samples/server/petstore/kotlin-springboot/src/test/kotlin/org/openapitools/api/PetApiTest.kt +++ b/samples/server/petstore/kotlin-springboot/src/test/kotlin/org/openapitools/api/PetApiTest.kt @@ -121,7 +121,7 @@ class PetApiTest { fun uploadFileTest() { val petId: kotlin.Long = TODO() val additionalMetadata: kotlin.String? = TODO() - val file: org.springframework.core.io.Resource? = TODO() + val file: org.springframework.web.multipart.MultipartFile? = TODO() val response: ResponseEntity = api.uploadFile(petId, additionalMetadata, file) // TODO: test validations diff --git a/samples/server/petstore/php-slim4/tests/Model/ApiResponseTest.php b/samples/server/petstore/php-slim4/tests/Model/ApiResponseTest.php index 20534f17a0cf..f9bfc41a4cb4 100644 --- a/samples/server/petstore/php-slim4/tests/Model/ApiResponseTest.php +++ b/samples/server/petstore/php-slim4/tests/Model/ApiResponseTest.php @@ -122,3 +122,4 @@ public function testGetOpenApiSchema() $this->assertIsArray($schemaArr); } } + diff --git a/samples/server/petstore/php-slim4/tests/Model/CategoryTest.php b/samples/server/petstore/php-slim4/tests/Model/CategoryTest.php index 558e3b094c7a..f02109eb03bd 100644 --- a/samples/server/petstore/php-slim4/tests/Model/CategoryTest.php +++ b/samples/server/petstore/php-slim4/tests/Model/CategoryTest.php @@ -112,3 +112,4 @@ public function testGetOpenApiSchema() $this->assertIsArray($schemaArr); } } + diff --git a/samples/server/petstore/php-slim4/tests/Model/OrderTest.php b/samples/server/petstore/php-slim4/tests/Model/OrderTest.php index 9003833b6307..cbde525beeb3 100644 --- a/samples/server/petstore/php-slim4/tests/Model/OrderTest.php +++ b/samples/server/petstore/php-slim4/tests/Model/OrderTest.php @@ -152,3 +152,4 @@ public function testGetOpenApiSchema() $this->assertIsArray($schemaArr); } } + diff --git a/samples/server/petstore/php-slim4/tests/Model/PetTest.php b/samples/server/petstore/php-slim4/tests/Model/PetTest.php index 839423bfcc7a..d57378a4fb7c 100644 --- a/samples/server/petstore/php-slim4/tests/Model/PetTest.php +++ b/samples/server/petstore/php-slim4/tests/Model/PetTest.php @@ -152,3 +152,4 @@ public function testGetOpenApiSchema() $this->assertIsArray($schemaArr); } } + diff --git a/samples/server/petstore/php-slim4/tests/Model/TagTest.php b/samples/server/petstore/php-slim4/tests/Model/TagTest.php index 880a4436baa9..253a4c9d301e 100644 --- a/samples/server/petstore/php-slim4/tests/Model/TagTest.php +++ b/samples/server/petstore/php-slim4/tests/Model/TagTest.php @@ -112,3 +112,4 @@ public function testGetOpenApiSchema() $this->assertIsArray($schemaArr); } } + diff --git a/samples/server/petstore/php-slim4/tests/Model/UserTest.php b/samples/server/petstore/php-slim4/tests/Model/UserTest.php index 606a0bd29b45..e87a308fcb79 100644 --- a/samples/server/petstore/php-slim4/tests/Model/UserTest.php +++ b/samples/server/petstore/php-slim4/tests/Model/UserTest.php @@ -172,3 +172,4 @@ public function testGetOpenApiSchema() $this->assertIsArray($schemaArr); } } + diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/PetApiInterfaceTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/PetApiInterfaceTest.php index 98d735524b91..6a2f0cc691b0 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/PetApiInterfaceTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/PetApiInterfaceTest.php @@ -222,9 +222,9 @@ public function testUploadFile(): void */ protected function genTestData(string $regexp) { - $grammar = new \Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); + $grammar = new \Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); $compiler = \Hoa\Compiler\Llk\Llk::load($grammar); - $ast = $compiler->parse($regexp); + $ast = $compiler->parse($regexp); $generator = new \Hoa\Regex\Visitor\Isotropic(new \Hoa\Math\Sampler\Random()); return $generator->visit($ast); diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/StoreApiInterfaceTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/StoreApiInterfaceTest.php index 928160a944cf..c67f988f1230 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/StoreApiInterfaceTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/StoreApiInterfaceTest.php @@ -152,9 +152,9 @@ public function testPlaceOrder(): void */ protected function genTestData(string $regexp) { - $grammar = new \Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); + $grammar = new \Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); $compiler = \Hoa\Compiler\Llk\Llk::load($grammar); - $ast = $compiler->parse($regexp); + $ast = $compiler->parse($regexp); $generator = new \Hoa\Regex\Visitor\Isotropic(new \Hoa\Math\Sampler\Random()); return $generator->visit($ast); diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/UserApiInterfaceTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/UserApiInterfaceTest.php index ce64a85b1004..170117554924 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/UserApiInterfaceTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Api/UserApiInterfaceTest.php @@ -219,9 +219,9 @@ public function testUpdateUser(): void */ protected function genTestData(string $regexp) { - $grammar = new \Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); + $grammar = new \Hoa\File\Read('hoa://Library/Regex/Grammar.pp'); $compiler = \Hoa\Compiler\Llk\Llk::load($grammar); - $ast = $compiler->parse($regexp); + $ast = $compiler->parse($regexp); $generator = new \Hoa\Regex\Visitor\Isotropic(new \Hoa\Math\Sampler\Random()); return $generator->visit($ast); diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/ApiResponseTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/ApiResponseTest.php index e1a93fc58dd9..fddc3355fe70 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/ApiResponseTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/ApiResponseTest.php @@ -27,8 +27,9 @@ * Please update the test case below to test the model. */ -namespace OpenAPI\Server\Model; +namespace OpenAPI\Server\Tests\Model; +use OpenAPI\Server\Model\ApiResponse; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; @@ -58,7 +59,7 @@ public static function setUpBeforeClass(): void */ public function setUp(): void { - $this->object = $this->getMockBuilder(ApiResponse::class)->getMockForAbstractClass(); + $this->object = $this->getMockBuilder(ApiResponse::class)->getMockForAbstractClass(); } /** diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/CategoryTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/CategoryTest.php index 83357931e9b0..19ec96adf540 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/CategoryTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/CategoryTest.php @@ -27,8 +27,9 @@ * Please update the test case below to test the model. */ -namespace OpenAPI\Server\Model; +namespace OpenAPI\Server\Tests\Model; +use OpenAPI\Server\Model\Category; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; @@ -58,7 +59,7 @@ public static function setUpBeforeClass(): void */ public function setUp(): void { - $this->object = $this->getMockBuilder(Category::class)->getMockForAbstractClass(); + $this->object = $this->getMockBuilder(Category::class)->getMockForAbstractClass(); } /** diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/OrderTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/OrderTest.php index 230058daff07..ba0602494dc9 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/OrderTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/OrderTest.php @@ -27,8 +27,9 @@ * Please update the test case below to test the model. */ -namespace OpenAPI\Server\Model; +namespace OpenAPI\Server\Tests\Model; +use OpenAPI\Server\Model\Order; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; @@ -58,7 +59,7 @@ public static function setUpBeforeClass(): void */ public function setUp(): void { - $this->object = $this->getMockBuilder(Order::class)->getMockForAbstractClass(); + $this->object = $this->getMockBuilder(Order::class)->getMockForAbstractClass(); } /** diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/PetTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/PetTest.php index defee76700df..ffa79b199e5a 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/PetTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/PetTest.php @@ -27,8 +27,9 @@ * Please update the test case below to test the model. */ -namespace OpenAPI\Server\Model; +namespace OpenAPI\Server\Tests\Model; +use OpenAPI\Server\Model\Pet; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; @@ -58,7 +59,7 @@ public static function setUpBeforeClass(): void */ public function setUp(): void { - $this->object = $this->getMockBuilder(Pet::class)->getMockForAbstractClass(); + $this->object = $this->getMockBuilder(Pet::class)->getMockForAbstractClass(); } /** diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/TagTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/TagTest.php index 1296d5972af5..36823a2299bb 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/TagTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/TagTest.php @@ -27,8 +27,9 @@ * Please update the test case below to test the model. */ -namespace OpenAPI\Server\Model; +namespace OpenAPI\Server\Tests\Model; +use OpenAPI\Server\Model\Tag; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; @@ -58,7 +59,7 @@ public static function setUpBeforeClass(): void */ public function setUp(): void { - $this->object = $this->getMockBuilder(Tag::class)->getMockForAbstractClass(); + $this->object = $this->getMockBuilder(Tag::class)->getMockForAbstractClass(); } /** diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/UserTest.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/UserTest.php index c485d931d964..e9dbd7709051 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/UserTest.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/Model/UserTest.php @@ -27,8 +27,9 @@ * Please update the test case below to test the model. */ -namespace OpenAPI\Server\Model; +namespace OpenAPI\Server\Tests\Model; +use OpenAPI\Server\Model\User; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; @@ -58,7 +59,7 @@ public static function setUpBeforeClass(): void */ public function setUp(): void { - $this->object = $this->getMockBuilder(User::class)->getMockForAbstractClass(); + $this->object = $this->getMockBuilder(User::class)->getMockForAbstractClass(); } /** diff --git a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/ApiResponseTest.scala b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/ApiResponseTest.scala index 00f610d291d7..7540137d62f0 100644 --- a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/ApiResponseTest.scala +++ b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/ApiResponseTest.scala @@ -1,14 +1,15 @@ -/** OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api - * key `special-key` to test the authorization filters. - * - * OpenAPI spec version: 1.0.0 - * - * Contact: team@openapitools.org - * - * NOTE: This class is auto generated by OpenAPI Generator. - * - * https://openapi-generator.tech - */ +/** + * OpenAPI Petstore + * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * + * OpenAPI spec version: 1.0.0 + * + * Contact: team@openapitools.org + * + * NOTE: This class is auto generated by OpenAPI Generator. + * + * https://openapi-generator.tech + */ // this model was generated using modelTest.mustache package sample.cask.model @@ -19,16 +20,17 @@ import scala.util.* class ApiResponseTest extends AnyWordSpec with Matchers { - "ApiResponse.fromJson" should { - """not parse invalid json""" in { - val Failure(err) = Try(ApiResponseData.fromJsonString("invalid jason")) - err.getMessage should startWith("Error parsing json 'invalid jason'") - } - """parse """ ignore { - val Failure(err: ValidationErrors) = ApiResponseData.fromJsonString("""""").validated() - sys.error("TODO") - } - } + "ApiResponse.fromJson" should { + """not parse invalid json""" in { + val Failure(err) = Try(ApiResponseData.fromJsonString("invalid jason")) + err.getMessage should startWith ("Error parsing json 'invalid jason'") + } + """parse """ ignore { + val d8a = ApiResponseData.fromJsonString("""""") + val Failure(err : ValidationErrors) = ApiResponseData.validated(d8a, true) + sys.error("TODO") + } + } } diff --git a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/CategoryTest.scala b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/CategoryTest.scala index 3cca352ec89f..7854cbce9367 100644 --- a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/CategoryTest.scala +++ b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/CategoryTest.scala @@ -1,14 +1,15 @@ -/** OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api - * key `special-key` to test the authorization filters. - * - * OpenAPI spec version: 1.0.0 - * - * Contact: team@openapitools.org - * - * NOTE: This class is auto generated by OpenAPI Generator. - * - * https://openapi-generator.tech - */ +/** + * OpenAPI Petstore + * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * + * OpenAPI spec version: 1.0.0 + * + * Contact: team@openapitools.org + * + * NOTE: This class is auto generated by OpenAPI Generator. + * + * https://openapi-generator.tech + */ // this model was generated using modelTest.mustache package sample.cask.model @@ -19,16 +20,17 @@ import scala.util.* class CategoryTest extends AnyWordSpec with Matchers { - "Category.fromJson" should { - """not parse invalid json""" in { - val Failure(err) = Try(CategoryData.fromJsonString("invalid jason")) - err.getMessage should startWith("Error parsing json 'invalid jason'") - } - """parse """ ignore { - val Failure(err: ValidationErrors) = CategoryData.fromJsonString("""""").validated() - sys.error("TODO") - } - } + "Category.fromJson" should { + """not parse invalid json""" in { + val Failure(err) = Try(CategoryData.fromJsonString("invalid jason")) + err.getMessage should startWith ("Error parsing json 'invalid jason'") + } + """parse """ ignore { + val d8a = CategoryData.fromJsonString("""""") + val Failure(err : ValidationErrors) = CategoryData.validated(d8a, true) + sys.error("TODO") + } + } } diff --git a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/OrderTest.scala b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/OrderTest.scala index 30c143463478..db417cc36053 100644 --- a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/OrderTest.scala +++ b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/OrderTest.scala @@ -1,14 +1,15 @@ -/** OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api - * key `special-key` to test the authorization filters. - * - * OpenAPI spec version: 1.0.0 - * - * Contact: team@openapitools.org - * - * NOTE: This class is auto generated by OpenAPI Generator. - * - * https://openapi-generator.tech - */ +/** + * OpenAPI Petstore + * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * + * OpenAPI spec version: 1.0.0 + * + * Contact: team@openapitools.org + * + * NOTE: This class is auto generated by OpenAPI Generator. + * + * https://openapi-generator.tech + */ // this model was generated using modelTest.mustache package sample.cask.model @@ -20,16 +21,17 @@ import scala.util.* class OrderTest extends AnyWordSpec with Matchers { - "Order.fromJson" should { - """not parse invalid json""" in { - val Failure(err) = Try(OrderData.fromJsonString("invalid jason")) - err.getMessage should startWith("Error parsing json 'invalid jason'") - } - """parse """ ignore { - val Failure(err: ValidationErrors) = OrderData.fromJsonString("""""").validated() - sys.error("TODO") - } - } + "Order.fromJson" should { + """not parse invalid json""" in { + val Failure(err) = Try(OrderData.fromJsonString("invalid jason")) + err.getMessage should startWith ("Error parsing json 'invalid jason'") + } + """parse """ ignore { + val d8a = OrderData.fromJsonString("""""") + val Failure(err : ValidationErrors) = OrderData.validated(d8a, true) + sys.error("TODO") + } + } } diff --git a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/PetTest.scala b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/PetTest.scala index 5dfc568f56e1..fb9c238cd8b6 100644 --- a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/PetTest.scala +++ b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/PetTest.scala @@ -1,14 +1,15 @@ -/** OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api - * key `special-key` to test the authorization filters. - * - * OpenAPI spec version: 1.0.0 - * - * Contact: team@openapitools.org - * - * NOTE: This class is auto generated by OpenAPI Generator. - * - * https://openapi-generator.tech - */ +/** + * OpenAPI Petstore + * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * + * OpenAPI spec version: 1.0.0 + * + * Contact: team@openapitools.org + * + * NOTE: This class is auto generated by OpenAPI Generator. + * + * https://openapi-generator.tech + */ // this model was generated using modelTest.mustache package sample.cask.model @@ -19,16 +20,17 @@ import scala.util.* class PetTest extends AnyWordSpec with Matchers { - "Pet.fromJson" should { - """not parse invalid json""" in { - val Failure(err) = Try(PetData.fromJsonString("invalid jason")) - err.getMessage should startWith("Error parsing json 'invalid jason'") - } - """parse """ ignore { - val Failure(err: ValidationErrors) = PetData.fromJsonString("""""").validated() - sys.error("TODO") - } - } + "Pet.fromJson" should { + """not parse invalid json""" in { + val Failure(err) = Try(PetData.fromJsonString("invalid jason")) + err.getMessage should startWith ("Error parsing json 'invalid jason'") + } + """parse """ ignore { + val d8a = PetData.fromJsonString("""""") + val Failure(err : ValidationErrors) = PetData.validated(d8a, true) + sys.error("TODO") + } + } } diff --git a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/TagTest.scala b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/TagTest.scala index ef1dea19c895..6e5e7116780f 100644 --- a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/TagTest.scala +++ b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/TagTest.scala @@ -1,14 +1,15 @@ -/** OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api - * key `special-key` to test the authorization filters. - * - * OpenAPI spec version: 1.0.0 - * - * Contact: team@openapitools.org - * - * NOTE: This class is auto generated by OpenAPI Generator. - * - * https://openapi-generator.tech - */ +/** + * OpenAPI Petstore + * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * + * OpenAPI spec version: 1.0.0 + * + * Contact: team@openapitools.org + * + * NOTE: This class is auto generated by OpenAPI Generator. + * + * https://openapi-generator.tech + */ // this model was generated using modelTest.mustache package sample.cask.model @@ -19,16 +20,17 @@ import scala.util.* class TagTest extends AnyWordSpec with Matchers { - "Tag.fromJson" should { - """not parse invalid json""" in { - val Failure(err) = Try(TagData.fromJsonString("invalid jason")) - err.getMessage should startWith("Error parsing json 'invalid jason'") - } - """parse """ ignore { - val Failure(err: ValidationErrors) = TagData.fromJsonString("""""").validated() - sys.error("TODO") - } - } + "Tag.fromJson" should { + """not parse invalid json""" in { + val Failure(err) = Try(TagData.fromJsonString("invalid jason")) + err.getMessage should startWith ("Error parsing json 'invalid jason'") + } + """parse """ ignore { + val d8a = TagData.fromJsonString("""""") + val Failure(err : ValidationErrors) = TagData.validated(d8a, true) + sys.error("TODO") + } + } } diff --git a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/UserTest.scala b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/UserTest.scala index 561bc4dc0e0f..78c0f50d76c1 100644 --- a/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/UserTest.scala +++ b/samples/server/petstore/scala-cask/jvm/src/test/scala/sample/cask/model/UserTest.scala @@ -1,14 +1,15 @@ -/** OpenAPI Petstore This is a sample server Petstore server. For this sample, you can use the api - * key `special-key` to test the authorization filters. - * - * OpenAPI spec version: 1.0.0 - * - * Contact: team@openapitools.org - * - * NOTE: This class is auto generated by OpenAPI Generator. - * - * https://openapi-generator.tech - */ +/** + * OpenAPI Petstore + * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. + * + * OpenAPI spec version: 1.0.0 + * + * Contact: team@openapitools.org + * + * NOTE: This class is auto generated by OpenAPI Generator. + * + * https://openapi-generator.tech + */ // this model was generated using modelTest.mustache package sample.cask.model @@ -19,16 +20,17 @@ import scala.util.* class UserTest extends AnyWordSpec with Matchers { - "User.fromJson" should { - """not parse invalid json""" in { - val Failure(err) = Try(UserData.fromJsonString("invalid jason")) - err.getMessage should startWith("Error parsing json 'invalid jason'") - } - """parse """ ignore { - val Failure(err: ValidationErrors) = UserData.fromJsonString("""""").validated() - sys.error("TODO") - } - } + "User.fromJson" should { + """not parse invalid json""" in { + val Failure(err) = Try(UserData.fromJsonString("invalid jason")) + err.getMessage should startWith ("Error parsing json 'invalid jason'") + } + """parse """ ignore { + val d8a = UserData.fromJsonString("""""") + val Failure(err : ValidationErrors) = UserData.validated(d8a, true) + sys.error("TODO") + } + } }