From ea4b9a7955af264a1716e3048998bde4cf8a7bf9 Mon Sep 17 00:00:00 2001
From: Martin <2026226+martin-mfg@users.noreply.github.com>
Date: Mon, 2 Dec 2024 11:42:34 +0100
Subject: [PATCH 1/5] replace removed forkMode
---
.../src/main/resources/Java/libraries/restclient/pom.mustache | 2 +-
.../src/main/resources/Java/libraries/resttemplate/pom.mustache | 2 +-
samples/client/echo_api/java/restclient/pom.xml | 2 +-
samples/client/echo_api/java/resttemplate/pom.xml | 2 +-
.../others/java/restclient-useAbstractionForFiles/pom.xml | 2 +-
.../others/java/resttemplate-list-schema-validation/pom.xml | 2 +-
.../others/java/resttemplate-useAbstractionForFiles/pom.xml | 2 +-
samples/client/petstore/java/restclient-nullable-arrays/pom.xml | 2 +-
samples/client/petstore/java/restclient-swagger2/pom.xml | 2 +-
.../petstore/java/restclient-useSingleRequestParameter/pom.xml | 2 +-
samples/client/petstore/java/restclient/pom.xml | 2 +-
samples/client/petstore/java/resttemplate-jakarta/pom.xml | 2 +-
samples/client/petstore/java/resttemplate-swagger1/pom.xml | 2 +-
samples/client/petstore/java/resttemplate-swagger2/pom.xml | 2 +-
samples/client/petstore/java/resttemplate-withXml/pom.xml | 2 +-
samples/client/petstore/java/resttemplate/pom.xml | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
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..8d3d1fead59f 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
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..3d3d352996e0 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
diff --git a/samples/client/echo_api/java/restclient/pom.xml b/samples/client/echo_api/java/restclient/pom.xml
index b61ae8db3f4a..a407027a0c66 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
diff --git a/samples/client/echo_api/java/resttemplate/pom.xml b/samples/client/echo_api/java/resttemplate/pom.xml
index f60f70b15e09..175b47566675 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
diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml b/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
index ae545b66d114..aa99f031c325 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
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..c261457cfdbb 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
diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml b/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml
index a7c1f9713a20..d911c604a7df 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
diff --git a/samples/client/petstore/java/restclient-nullable-arrays/pom.xml b/samples/client/petstore/java/restclient-nullable-arrays/pom.xml
index e744bf677ff9..fc86cf891ae8 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
diff --git a/samples/client/petstore/java/restclient-swagger2/pom.xml b/samples/client/petstore/java/restclient-swagger2/pom.xml
index fd0cc38e229a..4a6fc23d53d8 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
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml b/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml
index b76cf6c2dd24..6b421286f8b5 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
diff --git a/samples/client/petstore/java/restclient/pom.xml b/samples/client/petstore/java/restclient/pom.xml
index ff4d29f2afad..d8be4f28248a 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
diff --git a/samples/client/petstore/java/resttemplate-jakarta/pom.xml b/samples/client/petstore/java/resttemplate-jakarta/pom.xml
index 4c6f3e894381..c885ce4e8548 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
diff --git a/samples/client/petstore/java/resttemplate-swagger1/pom.xml b/samples/client/petstore/java/resttemplate-swagger1/pom.xml
index da5f1d42eca8..d5c1c1c92629 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
diff --git a/samples/client/petstore/java/resttemplate-swagger2/pom.xml b/samples/client/petstore/java/resttemplate-swagger2/pom.xml
index dab9814c6c99..e871c3fab058 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
diff --git a/samples/client/petstore/java/resttemplate-withXml/pom.xml b/samples/client/petstore/java/resttemplate-withXml/pom.xml
index 473667b8ed93..ecac00c4e95e 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
diff --git a/samples/client/petstore/java/resttemplate/pom.xml b/samples/client/petstore/java/resttemplate/pom.xml
index dd2d23b6cc02..75185c6d1f93 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
From e4fdea842066d63222adf390c8d2e361d6dc6706 Mon Sep 17 00:00:00 2001
From: Martin <2026226+martin-mfg@users.noreply.github.com>
Date: Sun, 8 Dec 2024 14:02:27 +0100
Subject: [PATCH 2/5] remove junit runner where it's not needed
---
.../main/resources/Java/libraries/restclient/pom.mustache | 7 -------
.../resources/Java/libraries/resttemplate/pom.mustache | 7 -------
samples/client/echo_api/java/restclient/pom.xml | 7 -------
samples/client/echo_api/java/resttemplate/pom.xml | 7 -------
.../others/java/restclient-useAbstractionForFiles/pom.xml | 7 -------
.../java/resttemplate-list-schema-validation/pom.xml | 7 -------
.../java/resttemplate-useAbstractionForFiles/pom.xml | 7 -------
.../petstore/java/restclient-nullable-arrays/pom.xml | 7 -------
samples/client/petstore/java/restclient-swagger2/pom.xml | 7 -------
.../java/restclient-useSingleRequestParameter/pom.xml | 7 -------
samples/client/petstore/java/restclient/pom.xml | 7 -------
samples/client/petstore/java/resttemplate-jakarta/pom.xml | 7 -------
samples/client/petstore/java/resttemplate-swagger1/pom.xml | 7 -------
samples/client/petstore/java/resttemplate-swagger2/pom.xml | 7 -------
samples/client/petstore/java/resttemplate-withXml/pom.xml | 7 -------
samples/client/petstore/java/resttemplate/pom.xml | 7 -------
16 files changed, 112 deletions(-)
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 8d3d1fead59f..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
@@ -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 3d3d352996e0..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
@@ -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/java/restclient/pom.xml b/samples/client/echo_api/java/restclient/pom.xml
index a407027a0c66..b075100afbb7 100644
--- a/samples/client/echo_api/java/restclient/pom.xml
+++ b/samples/client/echo_api/java/restclient/pom.xml
@@ -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/resttemplate/pom.xml b/samples/client/echo_api/java/resttemplate/pom.xml
index 175b47566675..bbec31c345f3 100644
--- a/samples/client/echo_api/java/resttemplate/pom.xml
+++ b/samples/client/echo_api/java/resttemplate/pom.xml
@@ -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/restclient-useAbstractionForFiles/pom.xml b/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
index aa99f031c325..9d271da9bb3c 100644
--- a/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
+++ b/samples/client/others/java/restclient-useAbstractionForFiles/pom.xml
@@ -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 c261457cfdbb..b4271e2651b2 100644
--- a/samples/client/others/java/resttemplate-list-schema-validation/pom.xml
+++ b/samples/client/others/java/resttemplate-list-schema-validation/pom.xml
@@ -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 d911c604a7df..90bf1ab856c3 100644
--- a/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml
+++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/pom.xml
@@ -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/java/restclient-nullable-arrays/pom.xml b/samples/client/petstore/java/restclient-nullable-arrays/pom.xml
index fc86cf891ae8..e3cbc88733eb 100644
--- a/samples/client/petstore/java/restclient-nullable-arrays/pom.xml
+++ b/samples/client/petstore/java/restclient-nullable-arrays/pom.xml
@@ -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 4a6fc23d53d8..5ec46d119590 100644
--- a/samples/client/petstore/java/restclient-swagger2/pom.xml
+++ b/samples/client/petstore/java/restclient-swagger2/pom.xml
@@ -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 6b421286f8b5..05566ac5820e 100644
--- a/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/pom.xml
@@ -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/pom.xml b/samples/client/petstore/java/restclient/pom.xml
index d8be4f28248a..9d5369c46fb4 100644
--- a/samples/client/petstore/java/restclient/pom.xml
+++ b/samples/client/petstore/java/restclient/pom.xml
@@ -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-jakarta/pom.xml b/samples/client/petstore/java/resttemplate-jakarta/pom.xml
index c885ce4e8548..16707917a47b 100644
--- a/samples/client/petstore/java/resttemplate-jakarta/pom.xml
+++ b/samples/client/petstore/java/resttemplate-jakarta/pom.xml
@@ -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 d5c1c1c92629..855a156b17c3 100644
--- a/samples/client/petstore/java/resttemplate-swagger1/pom.xml
+++ b/samples/client/petstore/java/resttemplate-swagger1/pom.xml
@@ -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 e871c3fab058..b57e6754caf9 100644
--- a/samples/client/petstore/java/resttemplate-swagger2/pom.xml
+++ b/samples/client/petstore/java/resttemplate-swagger2/pom.xml
@@ -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 ecac00c4e95e..668051eb02cb 100644
--- a/samples/client/petstore/java/resttemplate-withXml/pom.xml
+++ b/samples/client/petstore/java/resttemplate-withXml/pom.xml
@@ -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 75185c6d1f93..f6f67584ae9a 100644
--- a/samples/client/petstore/java/resttemplate/pom.xml
+++ b/samples/client/petstore/java/resttemplate/pom.xml
@@ -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
From 04b5ff1e3accbf7f534c413a649e7e57072783df Mon Sep 17 00:00:00 2001
From: Martin <2026226+martin-mfg@users.noreply.github.com>
Date: Sun, 8 Dec 2024 19:24:18 +0100
Subject: [PATCH 3/5] update samples without skipping test files, but skip
files named "FILES"
---
.../Org.OpenAPITools.Test/Api/AuthApiTests.cs | 11 +
.../Org.OpenAPITools.Test/Api/BodyApiTests.cs | 56 +-
.../Org.OpenAPITools.Test/Api/FormApiTests.cs | 31 +
.../Api/HeaderApiTests.cs | 10 +-
.../Org.OpenAPITools.Test/Api/PathApiTests.cs | 10 +-
.../Api/QueryApiTests.cs | 29 +-
.../Model/NumberPropertiesOnlyTests.cs | 12 +-
.../client/echo_api/go/test/api_auth_test.go | 12 +
.../client/echo_api/go/test/api_body_test.go | 59 +-
.../client/echo_api/go/test/api_form_test.go | 12 +
.../echo_api/go/test/api_header_test.go | 9 +-
.../client/echo_api/go/test/api_path_test.go | 13 +-
.../client/echo_api/go/test/api_query_test.go | 24 +
.../openapitools/client/api/AuthApiTest.java | 14 +-
.../openapitools/client/api/BodyApiTest.java | 141 +++-
.../openapitools/client/api/FormApiTest.java | 40 +-
.../client/api/HeaderApiTest.java | 4 +-
.../openapitools/client/api/PathApiTest.java | 4 +-
.../openapitools/client/api/QueryApiTest.java | 117 +++-
.../openapitools/client/model/BirdTest.java | 9 +-
.../client/model/CategoryTest.java | 9 +-
.../client/model/DataQueryTest.java | 38 +-
.../client/model/DefaultValueTest.java | 35 +-
.../model/NumberPropertiesOnlyTest.java | 11 +-
.../openapitools/client/model/PetTest.java | 18 +-
.../openapitools/client/model/QueryTest.java | 10 +-
.../client/model/StringEnumRefTest.java | 5 +-
.../openapitools/client/model/TagTest.java | 9 +-
...tFormObjectMultipartRequestMarkerTest.java | 6 +-
...ueObjectAllOfQueryObjectParameterTest.java | 13 +-
...ueArrayStringQueryObjectParameterTest.java | 8 +-
.../openapitools/client/api/AuthApiTest.java | 19 +-
.../openapitools/client/api/BodyApiTest.java | 128 ++++
.../openapitools/client/api/FormApiTest.java | 34 +
.../client/api/HeaderApiTest.java | 7 +-
.../openapitools/client/api/PathApiTest.java | 7 +-
.../openapitools/client/api/QueryApiTest.java | 221 +++++++
.../openapitools/client/model/BirdTest.java | 1 -
.../client/model/CategoryTest.java | 1 -
.../client/model/DataQueryTest.java | 34 +-
.../client/model/DefaultValueTest.java | 19 +-
.../model/NumberPropertiesOnlyTest.java | 1 -
.../openapitools/client/model/PetTest.java | 2 +-
.../openapitools/client/model/QueryTest.java | 2 +-
.../client/model/StringEnumRefTest.java | 1 -
.../openapitools/client/model/TagTest.java | 1 -
...ueObjectAllOfQueryObjectParameterTest.java | 1 -
...ueArrayStringQueryObjectParameterTest.java | 2 +-
.../openapitools/client/api/AuthApiTest.java | 8 +-
.../openapitools/client/api/BodyApiTest.java | 165 ++++-
.../openapitools/client/api/FormApiTest.java | 48 +-
.../client/api/HeaderApiTest.java | 10 +-
.../openapitools/client/api/PathApiTest.java | 10 +-
.../openapitools/client/api/QueryApiTest.java | 176 ++++-
.../openapitools/client/model/BirdTest.java | 17 +-
.../client/model/CategoryTest.java | 19 +-
.../client/model/DataQueryTest.java | 49 +-
.../client/model/DefaultValueTest.java | 54 +-
.../model/NumberPropertiesOnlyTest.java | 20 +-
.../openapitools/client/model/PetTest.java | 31 +-
.../openapitools/client/model/QueryTest.java | 19 +-
.../client/model/StringEnumRefTest.java | 7 +-
.../openapitools/client/model/TagTest.java | 19 +-
...tFormObjectMultipartRequestMarkerTest.java | 14 +-
...ueObjectAllOfQueryObjectParameterTest.java | 37 +-
...ueArrayStringQueryObjectParameterTest.java | 19 +-
.../openapitools/client/api/AuthApiTest.java | 14 +-
.../openapitools/client/api/BodyApiTest.java | 128 ++++
.../openapitools/client/api/FormApiTest.java | 34 +
.../openapitools/client/api/QueryApiTest.java | 77 +++
.../openapitools/client/model/BirdTest.java | 2 +-
.../client/model/CategoryTest.java | 2 +-
.../client/model/DataQueryTest.java | 34 +-
.../client/model/DefaultValueTest.java | 19 +-
.../model/NumberPropertiesOnlyTest.java | 2 +-
.../openapitools/client/model/PetTest.java | 2 +-
.../openapitools/client/model/QueryTest.java | 2 +-
.../client/model/StringEnumRefTest.java | 1 -
.../openapitools/client/model/TagTest.java | 2 +-
...ueObjectAllOfQueryObjectParameterTest.java | 2 +-
...ueArrayStringQueryObjectParameterTest.java | 2 +-
.../openapitools/client/api/AuthApiTest.java | 10 +-
.../openapitools/client/api/BodyApiTest.java | 91 +--
.../openapitools/client/api/FormApiTest.java | 28 +-
.../client/api/HeaderApiTest.java | 8 +-
.../openapitools/client/api/PathApiTest.java | 8 +-
.../openapitools/client/api/QueryApiTest.java | 56 +-
.../openapitools/client/model/BirdTest.java | 8 +-
.../client/model/CategoryTest.java | 8 +-
.../client/model/DataQueryTest.java | 14 +-
.../client/model/DefaultValueTest.java | 20 +-
.../model/NumberPropertiesOnlyTest.java | 10 +-
.../openapitools/client/model/PetTest.java | 16 +-
.../openapitools/client/model/QueryTest.java | 8 +-
.../client/model/StringEnumRefTest.java | 4 +-
.../openapitools/client/model/TagTest.java | 8 +-
...tFormObjectMultipartRequestMarkerTest.java | 6 +-
...ueObjectAllOfQueryObjectParameterTest.java | 12 +-
...ueArrayStringQueryObjectParameterTest.java | 6 +-
.../openapitools/client/api/AuthApiTest.java | 27 +-
.../openapitools/client/api/BodyApiTest.java | 76 ++-
.../openapitools/client/api/FormApiTest.java | 35 +-
.../client/api/HeaderApiTest.java | 13 +-
.../openapitools/client/api/PathApiTest.java | 13 +-
.../openapitools/client/api/QueryApiTest.java | 75 ++-
.../openapitools/client/model/BirdTest.java | 14 +-
.../client/model/CategoryTest.java | 14 +-
.../client/model/DataQueryTest.java | 20 +-
.../client/model/DefaultValueTest.java | 26 +-
.../model/NumberPropertiesOnlyTest.java | 16 +-
.../openapitools/client/model/PetTest.java | 22 +-
.../openapitools/client/model/QueryTest.java | 14 +-
.../client/model/StringEnumRefTest.java | 10 +-
.../openapitools/client/model/TagTest.java | 14 +-
...tFormObjectMultipartRequestMarkerTest.java | 12 +-
...ueObjectAllOfQueryObjectParameterTest.java | 18 +-
...ueArrayStringQueryObjectParameterTest.java | 12 +-
.../tests/Api/AuthApiTest.php | 2 +-
.../tests/Api/BodyApiTest.php | 2 +-
.../tests/Api/FormApiTest.php | 2 +-
.../tests/Api/HeaderApiTest.php | 2 +-
.../tests/Api/PathApiTest.php | 2 +-
.../tests/Api/QueryApiTest.php | 2 +-
.../tests/Model/BirdTest.php | 2 +-
.../tests/Model/CategoryTest.php | 2 +-
.../tests/Model/DataQueryTest.php | 2 +-
.../tests/Model/DefaultValueTest.php | 2 +-
.../tests/Model/NumberPropertiesOnlyTest.php | 2 +-
.../tests/Model/PetTest.php | 2 +-
.../tests/Model/QueryTest.php | 2 +-
.../tests/Model/StringEnumRefTest.php | 2 +-
.../tests/Model/TagTest.php | 2 +-
...stFormObjectMultipartRequestMarkerTest.php | 2 +-
...rueObjectAllOfQueryObjectParameterTest.php | 2 +-
...rueArrayStringQueryObjectParameterTest.php | 2 +-
.../php-nextgen/tests/Api/AuthApiTest.php | 22 +-
.../php-nextgen/tests/Api/BodyApiTest.php | 46 +-
.../php-nextgen/tests/Api/FormApiTest.php | 22 +-
.../php-nextgen/tests/Api/HeaderApiTest.php | 14 +-
.../php-nextgen/tests/Api/PathApiTest.php | 14 +-
.../php-nextgen/tests/Api/QueryApiTest.php | 34 +-
.../php-nextgen/tests/Model/BirdTest.php | 4 +-
.../php-nextgen/tests/Model/CategoryTest.php | 4 +-
.../php-nextgen/tests/Model/DataQueryTest.php | 4 +-
.../tests/Model/DefaultValueTest.php | 4 +-
.../tests/Model/NumberPropertiesOnlyTest.php | 4 +-
.../php-nextgen/tests/Model/PetTest.php | 4 +-
.../php-nextgen/tests/Model/QueryTest.php | 4 +-
.../tests/Model/StringEnumRefTest.php | 4 +-
.../php-nextgen/tests/Model/TagTest.php | 4 +-
...stFormObjectMultipartRequestMarkerTest.php | 2 +-
...rueObjectAllOfQueryObjectParameterTest.php | 4 +-
...rueArrayStringQueryObjectParameterTest.php | 4 +-
.../powershell/tests/Api/AuthApi.Tests.ps1 | 8 +
.../powershell/tests/Api/BodyApi.Tests.ps1 | 16 +
.../powershell/tests/Api/FormApi.Tests.ps1 | 8 +
.../powershell/tests/Api/QueryApi.Tests.ps1 | 16 +
.../test/test_auth_api.py | 13 +-
.../test/test_bird.py | 25 +-
.../test/test_body_api.py | 85 ++-
.../test/test_category.py | 25 +-
.../test/test_data_query.py | 27 +-
.../test/test_default_value.py | 39 +-
.../test/test_form_api.py | 36 +-
.../test/test_header_api.py | 24 +-
.../test/test_number_properties_only.py | 25 +-
.../test/test_path_api.py | 24 +-
.../test/test_pet.py | 33 +-
.../test/test_query.py | 25 +-
.../test/test_query_api.py | 79 ++-
.../test/test_string_enum_ref.py | 13 +-
.../test/test_tag.py | 25 +-
...st_form_object_multipart_request_marker.py | 2 +-
...ue_object_all_of_query_object_parameter.py | 29 +-
...rue_array_string_query_object_parameter.py | 23 +-
.../python-pydantic-v1/test/test_auth_api.py | 9 +-
.../python-pydantic-v1/test/test_bird.py | 20 +-
.../python-pydantic-v1/test/test_body_api.py | 81 ++-
.../python-pydantic-v1/test/test_category.py | 20 +-
.../test/test_data_query.py | 22 +-
.../test/test_default_value.py | 34 +-
.../python-pydantic-v1/test/test_form_api.py | 32 +-
.../test/test_header_api.py | 20 +-
.../test/test_number_properties_only.py | 20 +-
.../python-pydantic-v1/test/test_path_api.py | 20 +-
.../python-pydantic-v1/test/test_pet.py | 28 +-
.../python-pydantic-v1/test/test_query.py | 20 +-
.../python-pydantic-v1/test/test_query_api.py | 71 +-
.../test/test_string_enum_ref.py | 10 +-
.../python-pydantic-v1/test/test_tag.py | 20 +-
...ue_object_all_of_query_object_parameter.py | 24 +-
...rue_array_string_query_object_parameter.py | 18 +-
.../echo_api/python/test/test_auth_api.py | 13 +-
.../client/echo_api/python/test/test_bird.py | 25 +-
.../echo_api/python/test/test_body_api.py | 85 ++-
.../echo_api/python/test/test_category.py | 25 +-
.../echo_api/python/test/test_data_query.py | 27 +-
.../python/test/test_default_value.py | 39 +-
.../echo_api/python/test/test_form_api.py | 36 +-
.../echo_api/python/test/test_header_api.py | 24 +-
.../test/test_number_properties_only.py | 25 +-
.../echo_api/python/test/test_path_api.py | 24 +-
.../client/echo_api/python/test/test_pet.py | 33 +-
.../client/echo_api/python/test/test_query.py | 25 +-
.../echo_api/python/test/test_query_api.py | 79 ++-
.../python/test/test_string_enum_ref.py | 13 +-
.../client/echo_api/python/test/test_tag.py | 25 +-
...st_form_object_multipart_request_marker.py | 2 +-
...ue_object_all_of_query_object_parameter.py | 29 +-
...rue_array_string_query_object_parameter.py | 23 +-
.../echo_api/r/tests/testthat/test_body_api.R | 12 +
.../echo_api/r/tests/testthat/test_form_api.R | 12 +
.../r/tests/testthat/test_query_api.R | 24 +
.../ruby-faraday/spec/api/auth_api_spec.rb | 2 +-
.../ruby-faraday/spec/api/body_api_spec.rb | 26 +-
.../ruby-faraday/spec/api/form_api_spec.rb | 14 +-
.../ruby-faraday/spec/api/header_api_spec.rb | 2 +-
.../ruby-faraday/spec/api/path_api_spec.rb | 2 +-
.../ruby-faraday/spec/api/query_api_spec.rb | 26 +-
.../ruby-faraday/spec/models/bird_spec.rb | 2 +-
.../ruby-faraday/spec/models/category_spec.rb | 2 +-
.../spec/models/data_query_spec.rb | 2 +-
.../spec/models/default_value_spec.rb | 2 +-
.../models/number_properties_only_spec.rb | 2 +-
.../ruby-faraday/spec/models/pet_spec.rb | 2 +-
.../ruby-faraday/spec/models/query_spec.rb | 2 +-
.../spec/models/string_enum_ref_spec.rb | 2 +-
.../ruby-faraday/spec/models/tag_spec.rb | 2 +-
...rm_object_multipart_request_marker_spec.rb | 2 +-
...ject_all_of_query_object_parameter_spec.rb | 2 +-
...rray_string_query_object_parameter_spec.rb | 2 +-
.../ruby-httpx/spec/api/auth_api_spec.rb | 13 +-
.../ruby-httpx/spec/api/body_api_spec.rb | 38 +-
.../ruby-httpx/spec/api/form_api_spec.rb | 14 +-
.../ruby-httpx/spec/api/header_api_spec.rb | 8 +-
.../ruby-httpx/spec/api/path_api_spec.rb | 8 +-
.../ruby-httpx/spec/api/query_api_spec.rb | 27 +-
.../ruby-httpx/spec/models/bird_spec.rb | 2 +-
.../ruby-httpx/spec/models/category_spec.rb | 2 +-
.../ruby-httpx/spec/models/data_query_spec.rb | 2 +-
.../spec/models/default_value_spec.rb | 2 +-
.../models/number_properties_only_spec.rb | 2 +-
.../ruby-httpx/spec/models/pet_spec.rb | 2 +-
.../ruby-httpx/spec/models/query_spec.rb | 2 +-
.../spec/models/string_enum_ref_spec.rb | 2 +-
.../ruby-httpx/spec/models/tag_spec.rb | 2 +-
...rm_object_multipart_request_marker_spec.rb | 2 +-
...ject_all_of_query_object_parameter_spec.rb | 2 +-
...rray_string_query_object_parameter_spec.rb | 2 +-
.../ruby-typhoeus/spec/api/auth_api_spec.rb | 2 +-
.../ruby-typhoeus/spec/api/body_api_spec.rb | 26 +-
.../ruby-typhoeus/spec/api/form_api_spec.rb | 14 +-
.../ruby-typhoeus/spec/api/header_api_spec.rb | 2 +-
.../ruby-typhoeus/spec/api/path_api_spec.rb | 2 +-
.../ruby-typhoeus/spec/api/query_api_spec.rb | 26 +-
.../ruby-typhoeus/spec/models/bird_spec.rb | 2 +-
.../spec/models/category_spec.rb | 2 +-
.../spec/models/data_query_spec.rb | 2 +-
.../spec/models/default_value_spec.rb | 2 +-
.../models/number_properties_only_spec.rb | 2 +-
.../ruby-typhoeus/spec/models/pet_spec.rb | 2 +-
.../ruby-typhoeus/spec/models/query_spec.rb | 2 +-
.../spec/models/string_enum_ref_spec.rb | 2 +-
.../ruby-typhoeus/spec/models/tag_spec.rb | 2 +-
...rm_object_multipart_request_marker_spec.rb | 2 +-
...ject_all_of_query_object_parameter_spec.rb | 2 +-
...rray_string_query_object_parameter_spec.rb | 2 +-
.../openapitools/client/api/PingApiTest.java | 27 +-
.../client/model/SomeObjTest.java | 2 +-
.../client/api/ResourceApiTest.java | 13 +-
.../client/apis/DefaultApiTest.kt | 2 +-
.../tests/testthat/test_category.R | 7 +-
.../tests/testthat/test_date.R | 15 +
.../tests/testthat/test_fake_api.R | 56 +-
.../tests/testthat/test_model_api_response.R | 9 +-
.../tests/testthat/test_order.R | 15 +-
.../R-httr2-wrapper/tests/testthat/test_pet.R | 15 +-
.../tests/testthat/test_pet_api.R | 84 ++-
.../tests/testthat/test_special.R | 46 +-
.../tests/testthat/test_store_api.R | 26 +-
.../R-httr2-wrapper/tests/testthat/test_tag.R | 7 +-
.../tests/testthat/test_user.R | 19 +-
.../tests/testthat/test_user_api.R | 48 +-
.../R-httr2/tests/testthat/test_category.R | 7 +-
.../R-httr2/tests/testthat/test_date.R | 15 +
.../R-httr2/tests/testthat/test_fake_api.R | 56 +-
.../tests/testthat/test_model_api_response.R | 9 +-
.../R-httr2/tests/testthat/test_order.R | 15 +-
.../R-httr2/tests/testthat/test_pet.R | 15 +-
.../R-httr2/tests/testthat/test_pet_api.R | 84 ++-
.../R-httr2/tests/testthat/test_special.R | 46 +-
.../R-httr2/tests/testthat/test_store_api.R | 26 +-
.../R-httr2/tests/testthat/test_tag.R | 7 +-
.../R-httr2/tests/testthat/test_user.R | 19 +-
.../R-httr2/tests/testthat/test_user_api.R | 48 +-
.../petstore/R/tests/testthat/test_category.R | 7 +-
.../petstore/R/tests/testthat/test_date.R | 15 +
.../petstore/R/tests/testthat/test_fake_api.R | 52 +-
.../tests/testthat/test_model_api_response.R | 9 +-
.../petstore/R/tests/testthat/test_order.R | 15 +-
.../petstore/R/tests/testthat/test_pet.R | 15 +-
.../petstore/R/tests/testthat/test_pet_api.R | 52 +-
.../petstore/R/tests/testthat/test_special.R | 46 +-
.../R/tests/testthat/test_store_api.R | 10 +-
.../petstore/R/tests/testthat/test_tag.R | 7 +-
.../petstore/R/tests/testthat/test_user.R | 19 +-
.../petstore/R/tests/testthat/test_user_api.R | 16 +-
.../default/classes/OASApiResponseTest.cls | 7 -
.../main/default/classes/OASPetApiTest.cls | 40 +-
.../main/default/classes/OASStoreApiTest.cls | 2 +-
.../main/default/classes/OASUserApiTest.cls | 28 +-
.../unit-test/test_user.c | 8 +-
.../petstore/c/unit-test/test_mapped_model.c | 6 +-
.../client/petstore/c/unit-test/test_user.c | 8 +-
.../lib/TestFiles/ApiResponseTest.cpp | 12 +-
.../cpp-tiny/lib/TestFiles/CategoryTest.cpp | 8 +-
.../cpp-tiny/lib/TestFiles/OrderTest.cpp | 20 +-
.../cpp-tiny/lib/TestFiles/PetTest.cpp | 12 +-
.../cpp-tiny/lib/TestFiles/TagTest.cpp | 8 +-
.../cpp-tiny/lib/TestFiles/UserTest.cpp | 32 +-
.../crystal/spec/api/fake_api_spec.cr | 10 +-
.../petstore/crystal/spec/api/pet_api_spec.cr | 52 +-
.../crystal/spec/api/store_api_spec.cr | 3 +-
.../crystal/spec/api/user_api_spec.cr | 7 +-
.../another_property_name_mapping_spec.cr | 2 +-
.../crystal/spec/models/api_response_spec.cr | 2 +-
.../crystal/spec/models/category_spec.cr | 2 +-
.../crystal/spec/models/format_test_spec.cr | 2 +-
.../crystal/spec/models/order_spec.cr | 2 +-
.../petstore/crystal/spec/models/pet_spec.cr | 46 +-
.../petstore/crystal/spec/models/tag_spec.cr | 17 +-
.../petstore/crystal/spec/models/user_spec.cr | 2 +-
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 74 ++-
.../Org.OpenAPITools.Test/Api/PetApiTests.cs | 336 ++--------
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 89 ++-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 33 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 11 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Org.OpenAPITools.Test/Api/PetApiTests.cs | 1 -
.../Model/ApiResponseTests.cs | 6 +-
.../Model/CategoryTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 11 +-
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 74 ++-
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 44 +-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 10 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 11 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 74 ++-
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 44 +-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 10 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 11 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 98 ++-
.../Org.OpenAPITools.Test/Api/PetApiTests.cs | 12 +-
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 44 +-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 10 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 11 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 98 ++-
.../Org.OpenAPITools.Test/Api/PetApiTests.cs | 12 +-
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 89 ++-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 33 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 11 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 74 ++-
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 89 ++-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 33 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 11 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Api/DefaultApiTests.cs | 44 ++
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 74 ++-
...ctivityOutputElementRepresentationTests.cs | 5 +-
.../Model/ActivityTests.cs | 4 -
.../Model/AdditionalPropertiesClassTests.cs | 11 +-
.../Model/AnimalTests.cs | 5 +-
.../Model/ApiResponseTests.cs | 6 +-
.../Model/AppleReqTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 12 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 70 +-
.../Model/ArrayOfNumberOnlyTests.cs | 4 -
.../Model/ArrayTestTests.cs | 6 +-
.../Model/BananaReqTests.cs | 5 +-
.../Model/BananaTests.cs | 4 -
.../Model/BasquePigTests.cs | 4 -
.../Model/CapitalizationTests.cs | 9 +-
.../Org.OpenAPITools.Test/Model/CatTests.cs | 4 -
.../Model/CategoryTests.cs | 5 +-
.../Model/ChildCatTests.cs | 5 +-
.../Model/ClassModelTests.cs | 4 -
.../Model/ComplexQuadrilateralTests.cs | 5 +-
.../Model/DanishPigTests.cs | 4 -
.../Model/DateOnlyClassTests.cs | 4 -
.../Model/DeprecatedObjectTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 4 -
.../Model/DrawingTests.cs | 7 +-
.../Model/EnumArraysTests.cs | 5 +-
.../Model/EnumClassTests.cs | 5 -
.../Model/EnumTestTests.cs | 12 +-
.../Model/EquilateralTriangleTests.cs | 5 +-
.../Model/FileSchemaTestClassTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/FileTests.cs | 4 -
.../Model/FooGetDefaultResponseTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 4 -
.../Model/FormatTestTests.cs | 44 +-
.../Model/FruitReqTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 16 +-
.../Model/GmFruitTests.cs | 16 +-
.../Model/GrandparentAnimalTests.cs | 4 +-
.../Model/HasOnlyReadOnlyTests.cs | 5 +-
.../Model/HealthCheckResultTests.cs | 4 -
.../Model/IsoscelesTriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ListTests.cs | 10 +-
.../Model/LiteralStringClassTests.cs | 4 +-
.../Model/MammalTests.cs | 7 +-
.../Model/MapTestTests.cs | 7 +-
...ertiesAndAdditionalPropertiesClassTests.cs | 13 +-
.../Model/Model200ResponseTests.cs | 5 +-
.../Model/ModelClientTests.cs | 10 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 19 +-
.../Model/NullableClassTests.cs | 15 +-
.../Model/NullableGuidClassTests.cs | 4 -
.../Model/NullableShapeTests.cs | 5 +-
.../Model/NumberOnlyTests.cs | 4 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 7 +-
.../Model/OneOfStringTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 9 +-
.../Model/OuterCompositeTests.cs | 6 +-
.../Model/OuterEnumDefaultValueTests.cs | 5 -
.../OuterEnumIntegerDefaultValueTests.cs | 5 -
.../Model/OuterEnumIntegerTests.cs | 5 -
.../Model/OuterEnumTests.cs | 5 -
.../Model/ParentPetTests.cs | 4 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 136 +---
.../Org.OpenAPITools.Test/Model/PigTests.cs | 4 -
.../Model/PolymorphicPropertyTests.cs | 5 -
.../Model/QuadrilateralInterfaceTests.cs | 4 -
.../Model/QuadrilateralTests.cs | 5 +-
.../Model/ReadOnlyFirstTests.cs | 5 +-
.../Model/ReturnTests.cs | 10 +-
.../Model/ScaleneTriangleTests.cs | 5 +-
.../Model/ShapeInterfaceTests.cs | 4 -
.../Model/ShapeOrNullTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 5 +-
.../Model/SimpleQuadrilateralTests.cs | 5 +-
.../Model/SpecialModelNameTests.cs | 43 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 5 +-
...CollectionEndingWithWordListObjectTests.cs | 3 -
.../TestCollectionEndingWithWordListTests.cs | 3 -
.../Model/TriangleInterfaceTests.cs | 4 -
.../Model/TriangleTests.cs | 5 +-
.../Org.OpenAPITools.Test/Model/UserTests.cs | 15 +-
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 6 +-
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 5 +-
.../Model/ZeroBasedEnumClassTests.cs | 3 -
.../Model/ZeroBasedEnumTests.cs | 4 -
.../Api/DefaultApiTests.cs | 33 +
.../Org.OpenAPITools.Test/Api/FakeApiTests.cs | 71 +-
...ctivityOutputElementRepresentationTests.cs | 1 -
.../Model/ActivityTests.cs | 1 -
.../Model/AdditionalPropertiesClassTests.cs | 1 -
.../Model/AnimalTests.cs | 19 -
.../Model/ApiResponseTests.cs | 1 -
.../Model/AppleReqTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/AppleTests.cs | 9 +-
.../Model/ArrayOfArrayOfNumberOnlyTests.cs | 1 -
.../Model/ArrayOfNumberOnlyTests.cs | 1 -
.../Model/ArrayTestTests.cs | 1 -
.../Model/BananaReqTests.cs | 1 -
.../Model/BananaTests.cs | 1 -
.../Model/BasquePigTests.cs | 1 -
.../Model/CapitalizationTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/CatTests.cs | 1 -
.../Model/CategoryTests.cs | 1 -
.../Model/ChildCatTests.cs | 1 -
.../Model/ClassModelTests.cs | 1 -
.../Model/ComplexQuadrilateralTests.cs | 1 -
.../Model/DanishPigTests.cs | 1 -
.../Model/DateOnlyClassTests.cs | 1 -
.../Model/DeprecatedObjectTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/DogTests.cs | 1 -
.../Model/DrawingTests.cs | 1 -
.../Model/EnumArraysTests.cs | 1 -
.../Model/EnumClassTests.cs | 1 -
.../Model/EnumTestTests.cs | 1 -
.../Model/EquilateralTriangleTests.cs | 1 -
.../Model/FileSchemaTestClassTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/FileTests.cs | 1 -
.../Model/FooGetDefaultResponseTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/FooTests.cs | 1 -
.../Model/FormatTestTests.cs | 65 +-
.../Model/FruitReqTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/FruitTests.cs | 9 +-
.../Model/GmFruitTests.cs | 9 +-
.../Model/GrandparentAnimalTests.cs | 19 -
.../Model/HasOnlyReadOnlyTests.cs | 1 -
.../Model/HealthCheckResultTests.cs | 1 -
.../Model/IsoscelesTriangleTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/ListTests.cs | 7 +-
.../Model/MammalTests.cs | 1 -
.../Model/MapTestTests.cs | 1 -
...ertiesAndAdditionalPropertiesClassTests.cs | 1 -
.../Model/Model200ResponseTests.cs | 1 -
.../Model/ModelClientTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/NameTests.cs | 13 +-
.../Model/NullableClassTests.cs | 1 -
.../Model/NullableGuidClassTests.cs | 1 -
.../Model/NullableShapeTests.cs | 1 -
.../Model/NumberOnlyTests.cs | 1 -
.../Model/ObjectWithDeprecatedFieldsTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/OrderTests.cs | 1 -
.../Model/OuterCompositeTests.cs | 1 -
.../Model/OuterEnumDefaultValueTests.cs | 1 -
.../OuterEnumIntegerDefaultValueTests.cs | 1 -
.../Model/OuterEnumIntegerTests.cs | 1 -
.../Model/OuterEnumTests.cs | 1 -
.../Model/ParentPetTests.cs | 10 -
.../Org.OpenAPITools.Test/Model/PetTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/PigTests.cs | 1 -
.../Model/PolymorphicPropertyTests.cs | 1 -
.../Model/QuadrilateralInterfaceTests.cs | 1 -
.../Model/QuadrilateralTests.cs | 1 -
.../Model/ReadOnlyFirstTests.cs | 1 -
.../Model/ReturnTests.cs | 31 +-
.../Model/ScaleneTriangleTests.cs | 1 -
.../Model/ShapeInterfaceTests.cs | 1 -
.../Model/ShapeOrNullTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/ShapeTests.cs | 1 -
.../Model/SimpleQuadrilateralTests.cs | 1 -
.../Model/SpecialModelNameTests.cs | 7 +-
.../Org.OpenAPITools.Test/Model/TagTests.cs | 1 -
.../Model/TriangleInterfaceTests.cs | 1 -
.../Model/TriangleTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/UserTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/WhaleTests.cs | 1 -
.../Org.OpenAPITools.Test/Model/ZebraTests.cs | 1 -
.../go-petstore/test/api_another_fake_test.go | 32 +-
.../test/api_fake_classname_tags123_test.go | 32 +-
.../go/go-petstore/test/api_fake_test.go | 205 +++---
.../go/go-petstore/test/api_pet_test.go | 150 +++--
.../go/go-petstore/test/api_store_test.go | 77 ++-
.../go/go-petstore/test/api_user_test.go | 130 ++--
.../api/AnotherFakeApiSpec.groovy | 18 +-
.../org/openapitools/api/FakeApiSpec.groovy | 240 ++++---
.../api/FakeClassnameTags123ApiSpec.groovy | 16 +-
.../org/openapitools/api/PetApiSpec.groovy | 276 +++-----
.../org/openapitools/api/StoreApiSpec.groovy | 74 ++-
.../org/openapitools/api/UserApiSpec.groovy | 103 +--
.../model/ArrayOfArrayOfNumberOnlySpec.groovy | 1 +
.../model/ArrayOfNumberOnlySpec.groovy | 1 +
.../openapitools/model/ArrayTestSpec.groovy | 1 +
.../openapitools/model/EnumArraysSpec.groovy | 1 +
.../model/FileSchemaTestClassSpec.groovy | 1 +
.../org/openapitools/model/MapTestSpec.groovy | 1 -
...iesAndAdditionalPropertiesClassSpec.groovy | 1 -
.../org/openapitools/model/PetSpec.groovy | 1 +
.../model/TypeHolderDefaultSpec.groovy | 1 +
.../model/TypeHolderExampleSpec.groovy | 1 +
.../org/openapitools/model/XmlItemSpec.groovy | 1 +
.../client/api/AnotherFakeApiTest.java | 10 +-
.../client/api/DefaultApiTest.java | 4 +-
.../openapitools/client/api/FakeApiTest.java | 79 ++-
.../api/FakeClassnameTags123ApiTest.java | 10 +-
.../openapitools/client/api/PetApiTest.java | 30 +-
.../openapitools/client/api/StoreApiTest.java | 12 +-
.../openapitools/client/api/UserApiTest.java | 33 +-
.../model/AdditionalPropertiesClassTest.java | 91 +--
.../client/model/AllOfWithSingleRefTest.java | 9 +-
.../openapitools/client/model/AnimalTest.java | 12 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 8 +-
.../client/model/ArrayOfNumberOnlyTest.java | 8 +-
.../client/model/ArrayTestTest.java | 12 +-
.../client/model/CapitalizationTest.java | 17 +-
.../openapitools/client/model/CatTest.java | 12 +-
.../client/model/CategoryTest.java | 9 +-
.../client/model/ChildWithNullableTest.java | 10 +-
.../client/model/ClassModelTest.java | 7 +-
.../openapitools/client/model/ClientTest.java | 7 +-
.../client/model/DeprecatedObjectTest.java | 7 +-
.../openapitools/client/model/DogTest.java | 11 +-
.../client/model/EnumArraysTest.java | 10 +-
.../client/model/EnumClassTest.java | 5 +-
.../client/model/EnumTestTest.java | 46 +-
.../FakeBigDecimalMap200ResponseTest.java | 8 +-
.../client/model/FileSchemaTestClassTest.java | 10 +-
.../model/FooGetDefaultResponseTest.java | 7 +-
.../openapitools/client/model/FooTest.java | 7 +-
.../client/model/FormatTestTest.java | 53 +-
.../client/model/HasOnlyReadOnlyTest.java | 9 +-
.../client/model/HealthCheckResultTest.java | 7 +-
.../client/model/MapTestTest.java | 13 +-
...rtiesAndAdditionalPropertiesClassTest.java | 11 +-
.../client/model/Model200ResponseTest.java | 9 +-
.../client/model/ModelApiResponseTest.java | 11 +-
.../client/model/ModelFileTest.java | 7 +-
.../client/model/ModelListTest.java | 7 +-
.../client/model/ModelReturnTest.java | 7 +-
.../openapitools/client/model/NameTest.java | 13 +-
.../client/model/NullableClassTest.java | 30 +-
.../client/model/NumberOnlyTest.java | 7 +-
.../model/ObjectWithDeprecatedFieldsTest.java | 14 +-
.../openapitools/client/model/OrderTest.java | 17 +-
.../client/model/OuterCompositeTest.java | 11 +-
.../model/OuterEnumDefaultValueTest.java | 5 +-
.../OuterEnumIntegerDefaultValueTest.java | 5 +-
.../client/model/OuterEnumIntegerTest.java | 5 +-
.../client/model/OuterEnumTest.java | 5 +-
.../OuterObjectWithEnumPropertyTest.java | 7 +-
.../client/model/ParentWithNullableTest.java | 8 +-
.../openapitools/client/model/PetTest.java | 18 +-
.../client/model/ReadOnlyFirstTest.java | 9 +-
.../client/model/SingleRefTypeTest.java | 5 +-
.../client/model/SpecialModelNameTest.java | 7 +-
.../openapitools/client/model/TagTest.java | 9 +-
...eeformAdditionalPropertiesRequestTest.java | 6 +-
.../openapitools/client/model/UserTest.java | 21 +-
.../client/api/AnotherFakeApiTest.java | 6 +-
.../openapitools/client/api/FakeApiTest.java | 2 +
.../api/FakeClassnameTags123ApiTest.java | 2 +
.../openapitools/client/api/PetApiTest.java | 2 +
.../openapitools/client/api/StoreApiTest.java | 2 +
.../openapitools/client/api/UserApiTest.java | 3 +
.../AdditionalPropertiesAnyTypeTest.java | 1 -
.../model/AdditionalPropertiesArrayTest.java | 1 -
.../AdditionalPropertiesBooleanTest.java | 1 -
.../model/AdditionalPropertiesClassTest.java | 1 -
.../AdditionalPropertiesIntegerTest.java | 1 -
.../model/AdditionalPropertiesNumberTest.java | 1 -
.../model/AdditionalPropertiesObjectTest.java | 1 -
.../model/AdditionalPropertiesStringTest.java | 1 -
.../openapitools/client/model/AnimalTest.java | 5 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 2 +-
.../client/model/ArrayOfNumberOnlyTest.java | 2 +-
.../client/model/ArrayTestTest.java | 2 +-
.../openapitools/client/model/BigCatTest.java | 2 +
.../client/model/CapitalizationTest.java | 1 -
.../openapitools/client/model/CatTest.java | 4 +-
.../client/model/CategoryTest.java | 1 -
.../client/model/ClassModelTest.java | 1 -
.../openapitools/client/model/ClientTest.java | 1 -
.../openapitools/client/model/DogTest.java | 3 +-
.../client/model/EnumArraysTest.java | 2 +-
.../client/model/EnumClassTest.java | 1 -
.../client/model/EnumTestTest.java | 1 -
.../client/model/FileSchemaTestClassTest.java | 3 +-
.../openapitools/client/model/FileTest.java | 1 -
.../client/model/FormatTestTest.java | 3 +-
.../client/model/HasOnlyReadOnlyTest.java | 1 -
.../client/model/MapTestTest.java | 2 -
...rtiesAndAdditionalPropertiesClassTest.java | 3 +-
.../client/model/Model200ResponseTest.java | 1 -
.../client/model/ModelApiResponseTest.java | 1 -
.../client/model/ModelListTest.java | 1 -
.../client/model/ModelReturnTest.java | 1 -
.../openapitools/client/model/NameTest.java | 1 -
.../client/model/NumberOnlyTest.java | 1 -
.../openapitools/client/model/OrderTest.java | 2 +-
.../client/model/OuterCompositeTest.java | 1 -
.../client/model/OuterEnumTest.java | 1 -
.../openapitools/client/model/PetTest.java | 3 +-
.../client/model/ReadOnlyFirstTest.java | 1 -
.../client/model/SpecialModelNameTest.java | 1 -
.../openapitools/client/model/TagTest.java | 1 -
.../client/model/TypeHolderDefaultTest.java | 2 +-
.../client/model/TypeHolderExampleTest.java | 2 +-
.../openapitools/client/model/UserTest.java | 1 -
.../client/model/XmlItemTest.java | 2 +-
.../openapitools/client/api/FakeApiTest.java | 43 ++
.../client/api/AnotherFakeApiTest.java | 4 +-
.../AdditionalPropertiesAnyTypeTest.java | 1 +
.../model/AdditionalPropertiesArrayTest.java | 1 +
.../AdditionalPropertiesBooleanTest.java | 1 +
.../model/AdditionalPropertiesClassTest.java | 1 +
.../AdditionalPropertiesIntegerTest.java | 1 +
.../model/AdditionalPropertiesNumberTest.java | 1 +
.../model/AdditionalPropertiesObjectTest.java | 1 +
.../model/AdditionalPropertiesStringTest.java | 1 +
.../openapitools/client/model/AnimalTest.java | 4 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayTestTest.java | 1 +
.../openapitools/client/model/BigCatTest.java | 1 +
.../client/model/CapitalizationTest.java | 1 +
.../openapitools/client/model/CatTest.java | 2 +-
.../client/model/CategoryTest.java | 1 +
.../client/model/ClassModelTest.java | 1 +
.../openapitools/client/model/ClientTest.java | 1 +
.../openapitools/client/model/DogTest.java | 1 +
.../client/model/EnumArraysTest.java | 1 +
.../client/model/EnumTestTest.java | 1 +
.../client/model/FileSchemaTestClassTest.java | 1 +
.../client/model/FormatTestTest.java | 1 +
.../client/model/HasOnlyReadOnlyTest.java | 1 +
.../client/model/MapTestTest.java | 1 +
...rtiesAndAdditionalPropertiesClassTest.java | 1 +
.../client/model/Model200ResponseTest.java | 1 +
.../client/model/ModelApiResponseTest.java | 1 +
.../client/model/ModelFileTest.java | 1 +
.../client/model/ModelListTest.java | 1 +
.../client/model/ModelReturnTest.java | 1 +
.../openapitools/client/model/NameTest.java | 1 +
.../client/model/NumberOnlyTest.java | 1 +
.../openapitools/client/model/OrderTest.java | 1 +
.../client/model/OuterCompositeTest.java | 1 +
.../openapitools/client/model/PetTest.java | 1 +
.../client/model/ReadOnlyFirstTest.java | 1 +
.../client/model/SpecialModelNameTest.java | 1 +
.../openapitools/client/model/TagTest.java | 1 +
.../client/model/TypeHolderDefaultTest.java | 1 +
.../client/model/TypeHolderExampleTest.java | 1 +
.../openapitools/client/model/UserTest.java | 1 +
.../client/model/XmlItemTest.java | 1 +
.../openapitools/client/api/FakeApiTest.java | 235 +++----
.../api/FakeClassnameTags123ApiTest.java | 18 +-
.../openapitools/client/api/PetApiTest.java | 147 ++---
.../openapitools/client/api/StoreApiTest.java | 45 +-
.../openapitools/client/api/UserApiTest.java | 94 ++-
.../AdditionalPropertiesAnyTypeTest.java | 1 +
.../model/AdditionalPropertiesArrayTest.java | 1 +
.../AdditionalPropertiesBooleanTest.java | 1 +
.../model/AdditionalPropertiesClassTest.java | 1 +
.../AdditionalPropertiesIntegerTest.java | 1 +
.../model/AdditionalPropertiesNumberTest.java | 1 +
.../model/AdditionalPropertiesObjectTest.java | 1 +
.../model/AdditionalPropertiesStringTest.java | 1 +
.../openapitools/client/model/AnimalTest.java | 4 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayTestTest.java | 1 +
.../openapitools/client/model/BigCatTest.java | 1 +
.../client/model/CapitalizationTest.java | 1 +
.../openapitools/client/model/CatTest.java | 2 +-
.../client/model/CategoryTest.java | 1 +
.../client/model/ClassModelTest.java | 1 +
.../openapitools/client/model/ClientTest.java | 1 +
.../openapitools/client/model/DogTest.java | 1 +
.../client/model/EnumArraysTest.java | 1 +
.../client/model/EnumTestTest.java | 1 +
.../client/model/FileSchemaTestClassTest.java | 1 +
.../client/model/FormatTestTest.java | 1 +
.../client/model/HasOnlyReadOnlyTest.java | 1 +
.../client/model/MapTestTest.java | 1 +
...rtiesAndAdditionalPropertiesClassTest.java | 1 +
.../client/model/Model200ResponseTest.java | 1 +
.../client/model/ModelApiResponseTest.java | 1 +
.../client/model/ModelFileTest.java | 1 +
.../client/model/ModelListTest.java | 1 +
.../client/model/ModelReturnTest.java | 1 +
.../openapitools/client/model/NameTest.java | 1 +
.../client/model/NumberOnlyTest.java | 1 +
.../openapitools/client/model/OrderTest.java | 1 +
.../client/model/OuterCompositeTest.java | 1 +
.../openapitools/client/model/PetTest.java | 1 +
.../client/model/ReadOnlyFirstTest.java | 1 +
.../client/model/SpecialModelNameTest.java | 1 +
.../openapitools/client/model/TagTest.java | 1 +
.../client/model/TypeHolderDefaultTest.java | 1 +
.../client/model/TypeHolderExampleTest.java | 1 +
.../openapitools/client/model/UserTest.java | 1 +
.../client/model/XmlItemTest.java | 1 +
.../client/api/AnotherFakeApiTest.java | 3 +
.../client/api/DefaultApiTest.java | 3 +
.../openapitools/client/api/FakeApiTest.java | 58 ++
.../api/FakeClassnameTags123ApiTest.java | 3 +
.../openapitools/client/api/PetApiTest.java | 68 +-
.../openapitools/client/api/StoreApiTest.java | 3 +
.../openapitools/client/api/UserApiTest.java | 7 +-
.../model/AdditionalPropertiesClassTest.java | 1 +
.../openapitools/client/model/AnimalTest.java | 3 +-
.../client/model/AppleReqTest.java | 1 +
.../openapitools/client/model/AppleTest.java | 1 +
.../model/ArrayOfArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayTestTest.java | 1 +
.../client/model/BananaReqTest.java | 1 +
.../openapitools/client/model/BananaTest.java | 1 +
.../client/model/BasquePigTest.java | 1 +
.../client/model/CapitalizationTest.java | 1 +
.../openapitools/client/model/CatTest.java | 2 +
.../client/model/CategoryTest.java | 1 +
.../client/model/ChildCatTest.java | 1 +
.../client/model/ClassModelTest.java | 1 +
.../openapitools/client/model/ClientTest.java | 1 +
.../model/ComplexQuadrilateralTest.java | 1 +
.../client/model/DanishPigTest.java | 1 +
.../client/model/DeprecatedObjectTest.java | 1 +
.../openapitools/client/model/DogTest.java | 1 +
.../client/model/DrawingTest.java | 1 +
.../client/model/EnumArraysTest.java | 1 +
.../client/model/EnumTestTest.java | 1 +
.../client/model/EquilateralTriangleTest.java | 1 +
.../client/model/FileSchemaTestClassTest.java | 1 +
.../model/FooGetDefaultResponseTest.java | 1 +
.../openapitools/client/model/FooTest.java | 1 +
.../client/model/FormatTestTest.java | 1 +
.../client/model/FruitReqTest.java | 1 +
.../openapitools/client/model/FruitTest.java | 1 +
.../client/model/GmFruitTest.java | 1 +
.../client/model/GrandparentAnimalTest.java | 3 +-
.../client/model/HasOnlyReadOnlyTest.java | 1 +
.../client/model/HealthCheckResultTest.java | 1 +
.../client/model/IsoscelesTriangleTest.java | 1 +
.../openapitools/client/model/MammalTest.java | 58 +-
.../client/model/MapTestTest.java | 1 +
...rtiesAndAdditionalPropertiesClassTest.java | 1 +
.../client/model/Model200ResponseTest.java | 1 +
.../client/model/ModelApiResponseTest.java | 1 +
.../client/model/ModelFileTest.java | 1 +
.../client/model/ModelListTest.java | 1 +
.../client/model/ModelReturnTest.java | 1 +
.../openapitools/client/model/NameTest.java | 1 +
.../client/model/NullableClassTest.java | 1 +
.../client/model/NullableShapeTest.java | 1 +
.../client/model/NumberOnlyTest.java | 1 +
.../model/ObjectWithDeprecatedFieldsTest.java | 1 +
.../openapitools/client/model/OrderTest.java | 1 +
.../client/model/OuterCompositeTest.java | 1 +
.../client/model/ParentPetTest.java | 2 +-
.../openapitools/client/model/PetTest.java | 1 +
.../openapitools/client/model/PigTest.java | 1 +
.../model/QuadrilateralInterfaceTest.java | 1 +
.../client/model/QuadrilateralTest.java | 1 +
.../client/model/ReadOnlyFirstTest.java | 1 +
.../client/model/ScaleneTriangleTest.java | 1 +
.../client/model/ShapeInterfaceTest.java | 1 +
.../client/model/ShapeOrNullTest.java | 1 +
.../openapitools/client/model/ShapeTest.java | 1 +
.../client/model/SimpleQuadrilateralTest.java | 1 +
.../client/model/SpecialModelNameTest.java | 1 +
.../openapitools/client/model/TagTest.java | 1 +
.../client/model/TriangleInterfaceTest.java | 1 +
.../client/model/TriangleTest.java | 1 +
.../openapitools/client/model/UserTest.java | 1 +
.../openapitools/client/model/WhaleTest.java | 1 +
.../openapitools/client/model/ZebraTest.java | 50 +-
.../openapitools/client/api/PetApiTest.java | 31 +-
.../openapitools/client/api/StoreApiTest.java | 2 +-
.../openapitools/client/api/UserApiTest.java | 2 +-
.../openapitools/client/api/PetApiTest.java | 31 +-
.../openapitools/client/api/StoreApiTest.java | 2 +-
.../openapitools/client/api/UserApiTest.java | 2 +-
.../openapitools/client/api/PetApiTest.java | 31 +-
.../openapitools/client/api/StoreApiTest.java | 2 +-
.../openapitools/client/api/UserApiTest.java | 2 +-
.../client/model/CategoryTest.java | 2 +-
.../client/model/ModelApiResponseTest.java | 2 +-
.../openapitools/client/model/OrderTest.java | 2 +-
.../openapitools/client/model/PetTest.java | 4 +-
.../openapitools/client/model/TagTest.java | 2 +-
.../openapitools/client/model/UserTest.java | 2 +-
.../client/api/AnotherFakeApiTest.java | 2 +-
.../client/api/DefaultApiTest.java | 2 +-
.../openapitools/client/api/FakeApiTest.java | 87 ++-
.../api/FakeClassnameTags123ApiTest.java | 2 +-
.../openapitools/client/api/PetApiTest.java | 2 +-
.../openapitools/client/api/StoreApiTest.java | 2 +-
.../openapitools/client/api/UserApiTest.java | 2 +-
.../model/AdditionalPropertiesClassTest.java | 62 +-
.../openapitools/client/model/AnimalTest.java | 12 +-
.../client/model/AppleReqTest.java | 10 +-
.../openapitools/client/model/AppleTest.java | 10 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 8 +-
.../client/model/ArrayOfNumberOnlyTest.java | 8 +-
.../client/model/ArrayTestTest.java | 12 +-
.../client/model/BananaReqTest.java | 10 +-
.../openapitools/client/model/BananaTest.java | 8 +-
.../client/model/BasquePigTest.java | 8 +-
.../client/model/CapitalizationTest.java | 18 +-
.../openapitools/client/model/CatTest.java | 13 +-
.../client/model/CategoryTest.java | 10 +-
.../client/model/ChildCatTest.java | 10 +-
.../client/model/ClassModelTest.java | 8 +-
.../openapitools/client/model/ClientTest.java | 8 +-
.../model/ComplexQuadrilateralTest.java | 10 +-
.../client/model/DanishPigTest.java | 8 +-
.../client/model/DeprecatedObjectTest.java | 8 +-
.../openapitools/client/model/DogTest.java | 12 +-
.../client/model/DrawingTest.java | 14 +-
.../client/model/EnumArraysTest.java | 10 +-
.../client/model/EnumClassTest.java | 5 +-
.../client/model/EnumTestTest.java | 30 +-
.../client/model/EquilateralTriangleTest.java | 10 +-
.../FakeBigDecimalMap200ResponseTest.java | 9 +-
.../client/model/FileSchemaTestClassTest.java | 10 +-
.../model/FooGetDefaultResponseTest.java | 8 +-
.../openapitools/client/model/FooTest.java | 8 +-
.../client/model/FormatTestTest.java | 38 +-
.../client/model/FruitReqTest.java | 14 +-
.../openapitools/client/model/FruitTest.java | 12 +-
.../client/model/GmFruitTest.java | 12 +-
.../client/model/GrandparentAnimalTest.java | 10 +-
.../client/model/HasOnlyReadOnlyTest.java | 10 +-
.../client/model/HealthCheckResultTest.java | 8 +-
.../client/model/IsoscelesTriangleTest.java | 10 +-
.../openapitools/client/model/MammalTest.java | 14 +-
.../client/model/MapTestTest.java | 14 +-
...rtiesAndAdditionalPropertiesClassTest.java | 12 +-
.../client/model/Model200ResponseTest.java | 10 +-
.../client/model/ModelApiResponseTest.java | 12 +-
.../client/model/ModelFileTest.java | 8 +-
.../client/model/ModelListTest.java | 8 +-
.../client/model/ModelReturnTest.java | 8 +-
.../openapitools/client/model/NameTest.java | 14 +-
.../client/model/NullableClassTest.java | 30 +-
.../client/model/NullableShapeTest.java | 12 +-
.../client/model/NumberOnlyTest.java | 8 +-
.../model/ObjectWithDeprecatedFieldsTest.java | 14 +-
.../openapitools/client/model/OrderTest.java | 18 +-
.../client/model/OuterCompositeTest.java | 12 +-
.../model/OuterEnumDefaultValueTest.java | 5 +-
.../OuterEnumIntegerDefaultValueTest.java | 5 +-
.../client/model/OuterEnumIntegerTest.java | 5 +-
.../client/model/OuterEnumTest.java | 5 +-
.../client/model/ParentPetTest.java | 9 +-
.../openapitools/client/model/PetTest.java | 21 +-
.../openapitools/client/model/PigTest.java | 8 +-
.../model/QuadrilateralInterfaceTest.java | 8 +-
.../client/model/QuadrilateralTest.java | 10 +-
.../client/model/ReadOnlyFirstTest.java | 10 +-
.../client/model/ScaleneTriangleTest.java | 10 +-
.../client/model/ShapeInterfaceTest.java | 8 +-
.../client/model/ShapeOrNullTest.java | 12 +-
.../openapitools/client/model/ShapeTest.java | 12 +-
.../client/model/SimpleQuadrilateralTest.java | 10 +-
.../client/model/SpecialModelNameTest.java | 16 +-
.../openapitools/client/model/TagTest.java | 10 +-
...eeformAdditionalPropertiesRequestTest.java | 6 +-
.../client/model/TriangleInterfaceTest.java | 8 +-
.../client/model/TriangleTest.java | 10 +-
.../openapitools/client/model/UserTest.java | 58 +-
.../openapitools/client/model/WhaleTest.java | 12 +-
.../openapitools/client/model/ZebraTest.java | 10 +-
.../openapitools/client/api/PetApiTest.java | 2 +-
.../openapitools/client/api/StoreApiTest.java | 2 +-
.../openapitools/client/api/UserApiTest.java | 2 +-
.../client/model/CategoryTest.java | 10 +-
.../client/model/ModelApiResponseTest.java | 12 +-
.../openapitools/client/model/OrderTest.java | 18 +-
.../openapitools/client/model/PetTest.java | 18 +-
.../openapitools/client/model/TagTest.java | 10 +-
.../openapitools/client/model/UserTest.java | 22 +-
.../client/api/AnotherFakeApiTest.java | 2 +-
.../client/api/DefaultApiTest.java | 2 +-
.../openapitools/client/api/FakeApiTest.java | 87 ++-
.../api/FakeClassnameTags123ApiTest.java | 2 +-
.../openapitools/client/api/PetApiTest.java | 2 +-
.../openapitools/client/api/StoreApiTest.java | 2 +-
.../openapitools/client/api/UserApiTest.java | 2 +-
.../model/AdditionalPropertiesClassTest.java | 62 +-
.../openapitools/client/model/AnimalTest.java | 12 +-
.../client/model/AppleReqTest.java | 10 +-
.../openapitools/client/model/AppleTest.java | 10 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 8 +-
.../client/model/ArrayOfNumberOnlyTest.java | 8 +-
.../client/model/ArrayTestTest.java | 12 +-
.../client/model/BananaReqTest.java | 10 +-
.../openapitools/client/model/BananaTest.java | 8 +-
.../client/model/BasquePigTest.java | 8 +-
.../client/model/CapitalizationTest.java | 18 +-
.../openapitools/client/model/CatTest.java | 13 +-
.../client/model/CategoryTest.java | 10 +-
.../client/model/ChildCatTest.java | 10 +-
.../client/model/ClassModelTest.java | 8 +-
.../openapitools/client/model/ClientTest.java | 8 +-
.../model/ComplexQuadrilateralTest.java | 10 +-
.../client/model/DanishPigTest.java | 8 +-
.../client/model/DeprecatedObjectTest.java | 8 +-
.../openapitools/client/model/DogTest.java | 12 +-
.../client/model/DrawingTest.java | 14 +-
.../client/model/EnumArraysTest.java | 10 +-
.../client/model/EnumClassTest.java | 5 +-
.../client/model/EnumTestTest.java | 30 +-
.../client/model/EquilateralTriangleTest.java | 10 +-
.../FakeBigDecimalMap200ResponseTest.java | 9 +-
.../client/model/FileSchemaTestClassTest.java | 10 +-
.../model/FooGetDefaultResponseTest.java | 8 +-
.../openapitools/client/model/FooTest.java | 8 +-
.../client/model/FormatTestTest.java | 38 +-
.../client/model/FruitReqTest.java | 14 +-
.../openapitools/client/model/FruitTest.java | 12 +-
.../client/model/GmFruitTest.java | 12 +-
.../client/model/GrandparentAnimalTest.java | 10 +-
.../client/model/HasOnlyReadOnlyTest.java | 10 +-
.../client/model/HealthCheckResultTest.java | 8 +-
.../client/model/IsoscelesTriangleTest.java | 10 +-
.../openapitools/client/model/MammalTest.java | 14 +-
.../client/model/MapTestTest.java | 14 +-
...rtiesAndAdditionalPropertiesClassTest.java | 12 +-
.../client/model/Model200ResponseTest.java | 10 +-
.../client/model/ModelApiResponseTest.java | 12 +-
.../client/model/ModelFileTest.java | 8 +-
.../client/model/ModelListTest.java | 8 +-
.../client/model/ModelReturnTest.java | 8 +-
.../openapitools/client/model/NameTest.java | 14 +-
.../client/model/NullableClassTest.java | 30 +-
.../client/model/NullableShapeTest.java | 12 +-
.../client/model/NumberOnlyTest.java | 8 +-
.../model/ObjectWithDeprecatedFieldsTest.java | 14 +-
.../openapitools/client/model/OrderTest.java | 18 +-
.../client/model/OuterCompositeTest.java | 12 +-
.../model/OuterEnumDefaultValueTest.java | 5 +-
.../OuterEnumIntegerDefaultValueTest.java | 5 +-
.../client/model/OuterEnumIntegerTest.java | 5 +-
.../client/model/OuterEnumTest.java | 5 +-
.../client/model/ParentPetTest.java | 9 +-
.../openapitools/client/model/PetTest.java | 21 +-
.../openapitools/client/model/PigTest.java | 8 +-
.../model/QuadrilateralInterfaceTest.java | 8 +-
.../client/model/QuadrilateralTest.java | 10 +-
.../client/model/ReadOnlyFirstTest.java | 10 +-
.../client/model/ScaleneTriangleTest.java | 10 +-
.../client/model/ShapeInterfaceTest.java | 8 +-
.../client/model/ShapeOrNullTest.java | 12 +-
.../openapitools/client/model/ShapeTest.java | 12 +-
.../client/model/SimpleQuadrilateralTest.java | 10 +-
.../client/model/SpecialModelNameTest.java | 16 +-
.../openapitools/client/model/TagTest.java | 10 +-
...eeformAdditionalPropertiesRequestTest.java | 6 +-
.../client/model/TriangleInterfaceTest.java | 8 +-
.../client/model/TriangleTest.java | 10 +-
.../openapitools/client/model/UserTest.java | 58 +-
.../openapitools/client/model/WhaleTest.java | 12 +-
.../openapitools/client/model/ZebraTest.java | 10 +-
.../openapitools/client/api/FakeApiTest.java | 99 +++
.../openapitools/client/api/PetApiTest.java | 580 +++--------------
.../client/model/AnyTypeTestTest.java | 18 +
...SelfReferenceAdditionalPropertiesTest.java | 1 -
.../client/model/CategoryTest.java | 2 +-
.../client/model/ModelApiResponseTest.java | 2 +-
.../openapitools/client/model/OrderTest.java | 2 +-
.../openapitools/client/model/PetTest.java | 2 +-
.../openapitools/client/model/TagTest.java | 2 +-
.../openapitools/client/model/UserTest.java | 2 +-
.../client/api/AnotherFakeApiTest.java | 4 +-
.../openapitools/client/api/PetApiTest.java | 609 +++---------------
.../AdditionalPropertiesAnyTypeTest.java | 6 +-
.../model/AdditionalPropertiesArrayTest.java | 6 +-
.../AdditionalPropertiesBooleanTest.java | 6 +-
.../model/AdditionalPropertiesClassTest.java | 4 +-
.../AdditionalPropertiesIntegerTest.java | 6 +-
.../model/AdditionalPropertiesNumberTest.java | 6 +-
.../model/AdditionalPropertiesObjectTest.java | 5 +-
.../model/AdditionalPropertiesStringTest.java | 6 +-
.../openapitools/client/model/AnimalTest.java | 7 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 30 +-
.../client/model/ArrayOfNumberOnlyTest.java | 4 +-
.../client/model/ArrayTestTest.java | 4 +-
.../openapitools/client/model/BigCatTest.java | 1 +
.../client/model/CapitalizationTest.java | 4 +-
.../openapitools/client/model/CatTest.java | 6 +-
.../client/model/CategoryTest.java | 4 +-
.../client/model/ClassModelTest.java | 4 +-
.../openapitools/client/model/ClientTest.java | 4 +-
.../openapitools/client/model/DogTest.java | 5 +-
.../client/model/EnumArraysTest.java | 4 +-
.../client/model/EnumClassTest.java | 1 -
.../client/model/EnumTestTest.java | 4 +-
.../client/model/FileSchemaTestClassTest.java | 4 +-
.../client/model/FormatTestTest.java | 4 +-
.../client/model/HasOnlyReadOnlyTest.java | 4 +-
.../client/model/MapTestTest.java | 5 +-
...rtiesAndAdditionalPropertiesClassTest.java | 5 +-
.../client/model/Model200ResponseTest.java | 4 +-
.../client/model/ModelApiResponseTest.java | 4 +-
.../client/model/ModelFileTest.java | 4 +-
.../client/model/ModelListTest.java | 4 +-
.../client/model/ModelReturnTest.java | 4 +-
.../openapitools/client/model/NameTest.java | 4 +-
.../client/model/NumberOnlyTest.java | 4 +-
.../openapitools/client/model/OrderTest.java | 4 +-
.../client/model/OuterCompositeTest.java | 4 +-
.../client/model/OuterEnumTest.java | 1 -
.../openapitools/client/model/PetTest.java | 4 +-
.../client/model/ReadOnlyFirstTest.java | 4 +-
.../client/model/SpecialModelNameTest.java | 4 +-
.../openapitools/client/model/TagTest.java | 4 +-
.../client/model/TypeHolderDefaultTest.java | 4 +-
.../client/model/TypeHolderExampleTest.java | 4 +-
.../openapitools/client/model/UserTest.java | 4 +-
.../client/model/XmlItemTest.java | 4 +-
.../client/model/CategoryTest.java | 4 +-
.../client/model/ModelApiResponseTest.java | 4 +-
.../openapitools/client/model/OrderTest.java | 4 +-
.../openapitools/client/model/PetTest.java | 4 +-
.../openapitools/client/model/TagTest.java | 4 +-
.../openapitools/client/model/UserTest.java | 4 +-
.../openapitools/client/api/PetApiTest.java | 12 +-
.../openapitools/client/api/StoreApiTest.java | 4 +-
.../openapitools/client/api/UserApiTest.java | 12 +-
.../client/model/CategoryTest.java | 4 +-
.../client/model/ModelApiResponseTest.java | 4 +-
.../openapitools/client/model/OrderTest.java | 4 +-
.../openapitools/client/model/PetTest.java | 4 +-
.../PetWithRequiredNullableCases1Test.java | 2 +-
.../PetWithRequiredNullableCases2Test.java | 2 +-
.../openapitools/client/model/TagTest.java | 4 +-
.../openapitools/client/model/UserTest.java | 4 +-
.../client/api/AnotherFakeApiTest.java | 17 +-
.../openapitools/client/api/FakeApiTest.java | 111 +---
.../api/FakeClassnameTags123ApiTest.java | 13 +-
.../openapitools/client/api/PetApiTest.java | 77 +--
.../openapitools/client/api/StoreApiTest.java | 33 +-
.../openapitools/client/api/UserApiTest.java | 66 +-
.../AdditionalPropertiesAnyTypeTest.java | 11 +-
.../model/AdditionalPropertiesArrayTest.java | 11 +-
.../AdditionalPropertiesBooleanTest.java | 11 +-
.../model/AdditionalPropertiesClassTest.java | 9 +-
.../AdditionalPropertiesIntegerTest.java | 11 +-
.../model/AdditionalPropertiesNumberTest.java | 11 +-
.../model/AdditionalPropertiesObjectTest.java | 10 +-
.../model/AdditionalPropertiesStringTest.java | 11 +-
.../openapitools/client/model/AnimalTest.java | 12 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 9 +-
.../client/model/ArrayOfNumberOnlyTest.java | 9 +-
.../client/model/ArrayTestTest.java | 9 +-
.../openapitools/client/model/BigCatTest.java | 1 +
.../client/model/CapitalizationTest.java | 9 +-
.../openapitools/client/model/CatTest.java | 11 +-
.../client/model/CategoryTest.java | 9 +-
.../client/model/ClassModelTest.java | 9 +-
.../openapitools/client/model/ClientTest.java | 9 +-
.../openapitools/client/model/DogTest.java | 10 +-
.../client/model/EnumArraysTest.java | 9 +-
.../client/model/EnumClassTest.java | 6 +-
.../client/model/EnumTestTest.java | 9 +-
.../client/model/FileSchemaTestClassTest.java | 16 +-
.../client/model/FormatTestTest.java | 11 +-
.../client/model/HasOnlyReadOnlyTest.java | 9 +-
.../client/model/MapTestTest.java | 10 +-
...rtiesAndAdditionalPropertiesClassTest.java | 12 +-
.../client/model/Model200ResponseTest.java | 9 +-
.../client/model/ModelApiResponseTest.java | 9 +-
.../client/model/ModelFileTest.java | 9 +-
.../client/model/ModelListTest.java | 9 +-
.../client/model/ModelReturnTest.java | 9 +-
.../openapitools/client/model/NameTest.java | 9 +-
.../client/model/NumberOnlyTest.java | 9 +-
.../openapitools/client/model/OrderTest.java | 9 +-
.../client/model/OuterCompositeTest.java | 9 +-
.../client/model/OuterEnumTest.java | 6 +-
.../openapitools/client/model/PetTest.java | 9 +-
.../client/model/ReadOnlyFirstTest.java | 9 +-
.../client/model/SpecialModelNameTest.java | 9 +-
.../openapitools/client/model/TagTest.java | 9 +-
.../client/model/TypeHolderDefaultTest.java | 9 +-
.../client/model/TypeHolderExampleTest.java | 9 +-
.../openapitools/client/model/UserTest.java | 9 +-
.../client/model/XmlItemTest.java | 9 +-
.../client/model/CategoryTest.java | 2 +-
.../client/model/ModelApiResponseTest.java | 2 +-
.../openapitools/client/model/OrderTest.java | 2 +-
.../openapitools/client/model/PetTest.java | 2 +-
.../openapitools/client/model/TagTest.java | 2 +-
.../openapitools/client/model/UserTest.java | 2 +-
.../client/api/AnotherFakeApiTest.java | 62 +-
.../client/api/DefaultApiTest.java | 35 +
.../openapitools/client/api/FakeApiTest.java | 44 ++
.../api/FakeClassnameTags123ApiTest.java | 27 +-
.../openapitools/client/api/StoreApiTest.java | 39 +-
.../openapitools/client/api/UserApiTest.java | 62 +-
.../model/AdditionalPropertiesClassTest.java | 2 +-
.../model/AllOfModelArrayAnyOfTest.java | 9 +
.../openapitools/client/model/AnimalTest.java | 4 +-
.../client/model/AppleReqTest.java | 2 +-
.../openapitools/client/model/AppleTest.java | 2 +-
...neAllOfArrayAllofDogPropertyInnerTest.java | 2 +-
.../client/model/ArrayOfInlineAllOfTest.java | 2 +-
.../client/model/ArrayOfNumberOnlyTest.java | 2 +-
.../client/model/ArrayTestTest.java | 2 +-
.../client/model/BananaReqTest.java | 2 +-
.../openapitools/client/model/BananaTest.java | 2 +-
.../client/model/BasquePigTest.java | 2 +-
.../client/model/CapitalizationTest.java | 2 +-
.../openapitools/client/model/CatTest.java | 3 +-
.../client/model/CategoryTest.java | 2 +-
.../client/model/ClassModelTest.java | 2 +-
.../openapitools/client/model/ClientTest.java | 2 +-
.../model/ComplexQuadrilateralTest.java | 2 +-
.../client/model/DanishPigTest.java | 2 +-
.../client/model/DeprecatedObjectTest.java | 2 +-
.../openapitools/client/model/DogTest.java | 2 +-
.../client/model/DrawingTest.java | 2 +-
.../client/model/EnumArraysTest.java | 2 +-
.../client/model/EnumClassTest.java | 1 -
.../model/EnumStringDiscriminatorTest.java | 2 +-
.../client/model/EnumTestTest.java | 2 +-
.../client/model/EquilateralTriangleTest.java | 2 +-
.../client/model/FileSchemaTestClassTest.java | 2 +-
.../model/FooGetDefaultResponseTest.java | 2 +-
.../openapitools/client/model/FooTest.java | 2 +-
.../client/model/FormatTestTest.java | 2 +-
.../client/model/FruitReqTest.java | 2 +-
.../openapitools/client/model/FruitTest.java | 2 +-
.../client/model/GmFruitTest.java | 2 +-
.../client/model/GrandparentAnimalTest.java | 3 +-
.../client/model/HasOnlyReadOnlyTest.java | 2 +-
.../client/model/HealthCheckResultTest.java | 2 +-
.../client/model/IsoscelesTriangleTest.java | 2 +-
.../openapitools/client/model/MammalTest.java | 2 +-
.../client/model/MapTestTest.java | 2 +-
...rtiesAndAdditionalPropertiesClassTest.java | 2 +-
.../client/model/Model200ResponseTest.java | 2 +-
.../client/model/ModelApiResponseTest.java | 2 +-
.../client/model/ModelFileTest.java | 2 +-
.../client/model/ModelListTest.java | 2 +-
.../client/model/ModelReturnTest.java | 2 +-
.../openapitools/client/model/NameTest.java | 2 +-
.../openapitools/client/model/NewPetTest.java | 32 +
.../client/model/NullableClassTest.java | 2 +-
.../client/model/NullableShapeTest.java | 2 +-
.../client/model/NumberOnlyTest.java | 2 +-
.../model/ObjectWithDeprecatedFieldsTest.java | 2 +-
.../openapitools/client/model/OrderTest.java | 2 +-
.../client/model/OuterCompositeTest.java | 2 +-
.../model/OuterEnumDefaultValueTest.java | 1 -
.../OuterEnumIntegerDefaultValueTest.java | 1 -
.../client/model/OuterEnumIntegerTest.java | 1 -
.../client/model/OuterEnumTest.java | 1 -
.../client/model/ParentPetTest.java | 2 +-
.../openapitools/client/model/PetRefTest.java | 44 ++
.../client/model/PetWithRequiredTagsTest.java | 2 +-
.../openapitools/client/model/PigTest.java | 2 +-
.../model/QuadrilateralInterfaceTest.java | 2 +-
.../client/model/QuadrilateralTest.java | 2 +-
.../client/model/ReadOnlyFirstTest.java | 2 +-
.../client/model/ScaleneTriangleTest.java | 2 +-
.../client/model/ShapeInterfaceTest.java | 2 +-
.../client/model/ShapeOrNullTest.java | 2 +-
.../openapitools/client/model/ShapeTest.java | 2 +-
.../client/model/SimpleQuadrilateralTest.java | 2 +-
.../client/model/SpecialModelNameTest.java | 2 +-
.../openapitools/client/model/TagTest.java | 2 +-
.../client/model/TriangleInterfaceTest.java | 2 +-
.../client/model/TriangleTest.java | 2 +-
.../openapitools/client/model/UserTest.java | 2 +-
.../openapitools/client/model/ValueTest.java | 1 +
.../openapitools/client/model/WhaleTest.java | 2 +-
.../openapitools/client/model/ZebraTest.java | 2 +-
.../client/api/AnotherFakeApiTest.java | 6 +-
.../client/api/DefaultApiTest.java | 6 +-
.../openapitools/client/api/FakeApiTest.java | 6 +-
.../api/FakeClassnameTags123ApiTest.java | 6 +-
.../openapitools/client/api/PetApiTest.java | 6 +-
.../openapitools/client/api/StoreApiTest.java | 6 +-
.../openapitools/client/api/UserApiTest.java | 6 +-
.../client/api/AnotherFakeApiTest.java | 8 +-
.../client/api/DefaultApiTest.java | 8 +-
.../openapitools/client/api/FakeApiTest.java | 112 +++-
.../api/FakeClassnameTags123ApiTest.java | 8 +-
.../openapitools/client/api/PetApiTest.java | 51 +-
.../openapitools/client/api/StoreApiTest.java | 14 +-
.../openapitools/client/api/UserApiTest.java | 22 +-
.../model/AdditionalPropertiesClassTest.java | 8 +-
.../client/model/AllOfWithSingleRefTest.java | 8 +-
.../openapitools/client/model/AnimalTest.java | 8 +-
.../model/ArrayOfArrayOfNumberOnlyTest.java | 6 +-
.../client/model/ArrayOfNumberOnlyTest.java | 6 +-
.../client/model/ArrayTestTest.java | 10 +-
.../client/model/CapitalizationTest.java | 16 +-
.../openapitools/client/model/CatTest.java | 10 +-
.../client/model/CategoryTest.java | 8 +-
.../client/model/ChildWithNullableTest.java | 10 +-
.../client/model/ClassModelTest.java | 6 +-
.../openapitools/client/model/ClientTest.java | 6 +-
.../client/model/DeprecatedObjectTest.java | 6 +-
.../openapitools/client/model/DogTest.java | 10 +-
.../client/model/EnumArraysTest.java | 8 +-
.../client/model/EnumClassTest.java | 4 +-
.../client/model/EnumTestTest.java | 20 +-
.../FakeBigDecimalMap200ResponseTest.java | 8 +-
.../client/model/FileSchemaTestClassTest.java | 8 +-
.../model/FooGetDefaultResponseTest.java | 6 +-
.../openapitools/client/model/FooTest.java | 6 +-
.../client/model/FormatTestTest.java | 36 +-
.../client/model/HasOnlyReadOnlyTest.java | 8 +-
.../client/model/HealthCheckResultTest.java | 6 +-
.../client/model/MapTestTest.java | 12 +-
...rtiesAndAdditionalPropertiesClassTest.java | 10 +-
.../client/model/Model200ResponseTest.java | 8 +-
.../client/model/ModelApiResponseTest.java | 10 +-
.../client/model/ModelFileTest.java | 6 +-
.../client/model/ModelListTest.java | 6 +-
.../client/model/ModelReturnTest.java | 6 +-
.../openapitools/client/model/NameTest.java | 12 +-
.../client/model/NullableClassTest.java | 28 +-
.../client/model/NumberOnlyTest.java | 6 +-
.../model/ObjectWithDeprecatedFieldsTest.java | 12 +-
.../openapitools/client/model/OrderTest.java | 16 +-
.../client/model/OuterCompositeTest.java | 10 +-
.../model/OuterEnumDefaultValueTest.java | 4 +-
.../OuterEnumIntegerDefaultValueTest.java | 4 +-
.../client/model/OuterEnumIntegerTest.java | 4 +-
.../client/model/OuterEnumTest.java | 4 +-
.../OuterObjectWithEnumPropertyTest.java | 6 +-
.../client/model/ParentWithNullableTest.java | 8 +-
.../openapitools/client/model/PetTest.java | 16 +-
.../client/model/ReadOnlyFirstTest.java | 8 +-
.../client/model/SingleRefTypeTest.java | 4 +-
.../client/model/SpecialModelNameTest.java | 6 +-
.../openapitools/client/model/TagTest.java | 8 +-
...eeformAdditionalPropertiesRequestTest.java | 6 +-
.../openapitools/client/model/UserTest.java | 20 +-
.../test/api/FakeApi.spec.js | 30 +
.../javascript-es6/test/api/FakeApi.spec.js | 30 +
.../javascript-es6/test/api/PetApi.spec.js | 76 +--
.../javascript-es6/test/model/Color.spec.js | 2 +-
.../test/api/FakeApi.spec.js | 30 +
.../java/org/openapitools/api/PetApiTest.java | 46 +-
.../org/openapitools/api/StoreApiTest.java | 26 +-
.../org/openapitools/api/UserApiTest.java | 43 +-
.../java/org/openapitools/api/PetApiTest.java | 60 +-
.../org/openapitools/api/StoreApiTest.java | 40 +-
.../org/openapitools/api/UserApiTest.java | 57 +-
.../client/models/AnyOfUserOrPetTest.kt | 138 ++--
.../client/models/UserOrPetTest.kt | 136 ++--
.../openapitools/client/models/UserTest.kt | 12 +-
.../openapitools/client/apis/PetApiTest.kt | 2 +-
.../petstore/lua/spec/api_response_spec.lua | 6 +-
.../petstore/lua/spec/category_spec.lua | 6 +-
.../client/petstore/lua/spec/order_spec.lua | 6 +-
.../client/petstore/lua/spec/pet_api_spec.lua | 6 +-
samples/client/petstore/lua/spec/pet_spec.lua | 6 +-
.../petstore/lua/spec/store_api_spec.lua | 6 +-
samples/client/petstore/lua/spec/tag_spec.lua | 6 +-
.../petstore/lua/spec/user_api_spec.lua | 6 +-
.../client/petstore/lua/spec/user_spec.lua | 10 +-
.../tests/Api/AnotherFakeApiTest.php | 2 +-
.../tests/Api/DefaultApiTest.php | 2 +-
.../tests/Api/FakeApiTest.php | 14 +-
.../tests/Api/FakeClassnameTags123ApiTest.php | 2 +-
.../tests/Api/PetApiTest.php | 2 +-
.../tests/Api/StoreApiTest.php | 2 +-
.../tests/Api/UserApiTest.php | 2 +-
.../Model/AdditionalPropertiesClassTest.php | 2 +-
.../tests/Model/AllOfWithSingleRefTest.php | 2 +-
.../tests/Model/AnimalTest.php | 2 +-
.../tests/Model/ApiResponseTest.php | 2 +-
.../Model/ArrayOfArrayOfNumberOnlyTest.php | 2 +-
.../tests/Model/ArrayOfNumberOnlyTest.php | 2 +-
.../tests/Model/ArrayTestTest.php | 2 +-
.../tests/Model/CapitalizationTest.php | 2 +-
.../OpenAPIClient-php/tests/Model/CatTest.php | 2 +-
.../tests/Model/CategoryTest.php | 2 +-
.../tests/Model/ChildWithNullableTest.php | 2 +-
.../tests/Model/ClassModelTest.php | 2 +-
.../tests/Model/ClientTest.php | 2 +-
.../tests/Model/DeprecatedObjectTest.php | 2 +-
.../OpenAPIClient-php/tests/Model/DogTest.php | 2 +-
.../tests/Model/EnumArraysTest.php | 2 +-
.../tests/Model/EnumClassTest.php | 2 +-
.../tests/Model/EnumTestTest.php | 2 +-
.../Model/EnumWithNameAndDescriptionTest.php | 2 +-
.../FakeBigDecimalMap200ResponseTest.php | 2 +-
.../tests/Model/FileSchemaTestClassTest.php | 2 +-
.../tests/Model/FileTest.php | 2 +-
.../tests/Model/FooGetDefaultResponseTest.php | 2 +-
.../OpenAPIClient-php/tests/Model/FooTest.php | 2 +-
.../tests/Model/FormatTestTest.php | 2 +-
.../tests/Model/HasOnlyReadOnlyTest.php | 2 +-
.../tests/Model/HealthCheckResultTest.php | 2 +-
.../tests/Model/MapTestTest.php | 2 +-
...ertiesAndAdditionalPropertiesClassTest.php | 2 +-
.../tests/Model/Model200ResponseTest.php | 2 +-
.../tests/Model/ModelListTest.php | 2 +-
.../tests/Model/ModelReturnTest.php | 2 +-
.../tests/Model/NameTest.php | 2 +-
.../tests/Model/NullableClassTest.php | 2 +-
.../tests/Model/NumberOnlyTest.php | 2 +-
.../Model/ObjectWithDeprecatedFieldsTest.php | 2 +-
.../tests/Model/OrderTest.php | 2 +-
.../tests/Model/OuterCompositeTest.php | 2 +-
.../tests/Model/OuterEnumDefaultValueTest.php | 2 +-
.../OuterEnumIntegerDefaultValueTest.php | 2 +-
.../tests/Model/OuterEnumIntegerTest.php | 2 +-
.../tests/Model/OuterEnumTest.php | 2 +-
.../Model/OuterObjectWithEnumPropertyTest.php | 2 +-
.../tests/Model/ParentWithNullableTest.php | 2 +-
.../OpenAPIClient-php/tests/Model/PetTest.php | 2 +-
.../tests/Model/ReadOnlyFirstTest.php | 2 +-
.../tests/Model/SingleRefTypeTest.php | 2 +-
.../tests/Model/SpecialModelNameTest.php | 2 +-
.../OpenAPIClient-php/tests/Model/TagTest.php | 2 +-
...reeformAdditionalPropertiesRequestTest.php | 2 +-
.../tests/Model/UserTest.php | 2 +-
.../test/Api/AnotherFakeApiTest.php | 2 +-
.../test/Api/DefaultApiTest.php | 2 +-
.../test/Api/FakeApiTest.php | 74 ++-
.../test/Api/FakeClassnameTags123ApiTest.php | 2 +-
.../OpenAPIClient-php/test/Api/PetApiTest.php | 2 +-
.../test/Api/StoreApiTest.php | 2 +-
.../test/Api/UserApiTest.php | 2 +-
.../Model/AdditionalPropertiesClassTest.php | 2 +-
.../test/Model/AllOfWithSingleRefTest.php | 2 +-
.../test/Model/AnimalTest.php | 2 +-
.../test/Model/ApiResponseTest.php | 2 +-
.../Model/ArrayOfArrayOfNumberOnlyTest.php | 2 +-
.../test/Model/ArrayOfNumberOnlyTest.php | 2 +-
.../test/Model/ArrayTestTest.php | 2 +-
.../test/Model/CapitalizationTest.php | 2 +-
.../OpenAPIClient-php/test/Model/CatTest.php | 2 +-
.../test/Model/CategoryTest.php | 2 +-
.../test/Model/ClassModelTest.php | 2 +-
.../test/Model/ClientTest.php | 2 +-
.../test/Model/DeprecatedObjectTest.php | 2 +-
.../OpenAPIClient-php/test/Model/DogTest.php | 2 +-
.../test/Model/EnumArraysTest.php | 2 +-
.../test/Model/EnumClassTest.php | 2 +-
.../test/Model/EnumTestTest.php | 2 +-
.../Model/EnumWithNameAndDescriptionTest.php | 2 +-
.../FakeBigDecimalMap200ResponseTest.php | 2 +-
.../test/Model/FileSchemaTestClassTest.php | 2 +-
.../OpenAPIClient-php/test/Model/FileTest.php | 2 +-
.../test/Model/FooGetDefaultResponseTest.php | 2 +-
.../OpenAPIClient-php/test/Model/FooTest.php | 2 +-
.../test/Model/FormatTestTest.php | 2 +-
.../test/Model/HasOnlyReadOnlyTest.php | 2 +-
.../test/Model/HealthCheckResultTest.php | 2 +-
.../test/Model/MapTestTest.php | 2 +-
...ertiesAndAdditionalPropertiesClassTest.php | 2 +-
.../test/Model/Model200ResponseTest.php | 2 +-
.../test/Model/ModelListTest.php | 2 +-
.../test/Model/ModelReturnTest.php | 2 +-
.../OpenAPIClient-php/test/Model/NameTest.php | 2 +-
.../test/Model/NullableClassTest.php | 2 +-
.../test/Model/NumberOnlyTest.php | 2 +-
.../Model/ObjectWithDeprecatedFieldsTest.php | 2 +-
.../test/Model/OrderTest.php | 2 +-
.../test/Model/OuterCompositeTest.php | 2 +-
.../test/Model/OuterEnumDefaultValueTest.php | 2 +-
.../OuterEnumIntegerDefaultValueTest.php | 2 +-
.../test/Model/OuterEnumIntegerTest.php | 2 +-
.../test/Model/OuterEnumTest.php | 2 +-
.../Model/OuterObjectWithEnumPropertyTest.php | 2 +-
.../OpenAPIClient-php/test/Model/PetTest.php | 2 +-
.../test/Model/PropertyNameMappingTest.php | 2 +-
.../test/Model/ReadOnlyFirstTest.php | 2 +-
.../test/Model/SingleRefTypeTest.php | 2 +-
.../test/Model/SpecialModelNameTest.php | 2 +-
.../OpenAPIClient-php/test/Model/TagTest.php | 2 +-
...reeformAdditionalPropertiesRequestTest.php | 2 +-
.../OpenAPIClient-php/test/Model/UserTest.php | 2 +-
.../psr-18/test/Api/AnotherFakeApiTest.php | 2 +-
.../php/psr-18/test/Api/DefaultApiTest.php | 2 +-
.../php/psr-18/test/Api/FakeApiTest.php | 50 +-
.../test/Api/FakeClassnameTags123ApiTest.php | 2 +-
.../php/psr-18/test/Api/PetApiTest.php | 2 +-
.../php/psr-18/test/Api/StoreApiTest.php | 2 +-
.../php/psr-18/test/Api/UserApiTest.php | 2 +-
.../Model/AdditionalPropertiesClassTest.php | 2 +-
.../test/Model/AllOfWithSingleRefTest.php | 2 +-
.../php/psr-18/test/Model/AnimalTest.php | 2 +-
.../php/psr-18/test/Model/ApiResponseTest.php | 2 +-
.../Model/ArrayOfArrayOfNumberOnlyTest.php | 2 +-
.../test/Model/ArrayOfNumberOnlyTest.php | 2 +-
.../php/psr-18/test/Model/ArrayTestTest.php | 2 +-
.../psr-18/test/Model/CapitalizationTest.php | 2 +-
.../php/psr-18/test/Model/CatTest.php | 2 +-
.../php/psr-18/test/Model/CategoryTest.php | 2 +-
.../php/psr-18/test/Model/ClassModelTest.php | 2 +-
.../php/psr-18/test/Model/ClientTest.php | 2 +-
.../test/Model/DeprecatedObjectTest.php | 2 +-
.../php/psr-18/test/Model/DogTest.php | 2 +-
.../php/psr-18/test/Model/EnumArraysTest.php | 2 +-
.../php/psr-18/test/Model/EnumClassTest.php | 2 +-
.../php/psr-18/test/Model/EnumTestTest.php | 2 +-
.../Model/EnumWithNameAndDescriptionTest.php | 2 +-
.../FakeBigDecimalMap200ResponseTest.php | 2 +-
.../test/Model/FileSchemaTestClassTest.php | 2 +-
.../php/psr-18/test/Model/FileTest.php | 2 +-
.../test/Model/FooGetDefaultResponseTest.php | 2 +-
.../php/psr-18/test/Model/FooTest.php | 2 +-
.../php/psr-18/test/Model/FormatTestTest.php | 2 +-
.../psr-18/test/Model/HasOnlyReadOnlyTest.php | 2 +-
.../test/Model/HealthCheckResultTest.php | 2 +-
.../php/psr-18/test/Model/MapTestTest.php | 2 +-
...ertiesAndAdditionalPropertiesClassTest.php | 2 +-
.../test/Model/Model200ResponseTest.php | 2 +-
.../php/psr-18/test/Model/ModelListTest.php | 2 +-
.../php/psr-18/test/Model/ModelReturnTest.php | 2 +-
.../php/psr-18/test/Model/NameTest.php | 2 +-
.../psr-18/test/Model/NullableClassTest.php | 2 +-
.../php/psr-18/test/Model/NumberOnlyTest.php | 2 +-
.../Model/ObjectWithDeprecatedFieldsTest.php | 2 +-
.../php/psr-18/test/Model/OrderTest.php | 2 +-
.../psr-18/test/Model/OuterCompositeTest.php | 2 +-
.../test/Model/OuterEnumDefaultValueTest.php | 2 +-
.../OuterEnumIntegerDefaultValueTest.php | 2 +-
.../test/Model/OuterEnumIntegerTest.php | 2 +-
.../php/psr-18/test/Model/OuterEnumTest.php | 2 +-
.../Model/OuterObjectWithEnumPropertyTest.php | 2 +-
.../php/psr-18/test/Model/PetTest.php | 2 +-
.../test/Model/PropertyNameMappingTest.php | 2 +-
.../psr-18/test/Model/ReadOnlyFirstTest.php | 2 +-
.../psr-18/test/Model/SingleRefTypeTest.php | 2 +-
.../test/Model/SpecialModelNameTest.php | 2 +-
.../php/psr-18/test/Model/TagTest.php | 2 +-
...reeformAdditionalPropertiesRequestTest.php | 2 +-
.../php/psr-18/test/Model/UserTest.php | 2 +-
.../powershell/tests/Api/PSFakeApi.Tests.ps1 | 24 +
.../powershell/tests/Api/PSPetApi.Tests.ps1 | 10 +-
.../powershell/tests/Api/PSStoreApi.Tests.ps1 | 2 +-
.../powershell/tests/Api/PSUserApi.Tests.ps1 | 2 +-
.../tests/Model/ApiResponse.Tests.ps1 | 2 +-
.../powershell/tests/Model/Category.Tests.ps1 | 2 +-
.../powershell/tests/Model/EnumTest.Tests.ps1 | 2 +-
.../ObjectWithDeprecatedFields.Tests.ps1 | 2 +-
.../powershell/tests/Model/Order.Tests.ps1 | 2 +-
.../powershell/tests/Model/Pet.Tests.ps1 | 2 +-
.../powershell/tests/Model/Tag.Tests.ps1 | 2 +-
.../powershell/tests/Model/User.Tests.ps1 | 4 +-
.../spec/api/another_fake_api_spec.rb | 2 +-
.../spec/api/default_api_spec.rb | 2 +-
.../ruby-autoload/spec/api/fake_api_spec.rb | 90 ++-
.../api/fake_classname_tags123_api_spec.rb | 2 +-
.../ruby-autoload/spec/api/pet_api_spec.rb | 16 +-
.../ruby-autoload/spec/api/store_api_spec.rb | 4 +-
.../ruby-autoload/spec/api/user_api_spec.rb | 12 +-
.../additional_properties_class_spec.rb | 6 +-
.../models/all_of_with_single_ref_spec.rb | 6 +-
.../ruby-autoload/spec/models/animal_spec.rb | 6 +-
.../spec/models/api_response_spec.rb | 6 +-
.../array_of_array_of_number_only_spec.rb | 6 +-
.../spec/models/array_of_number_only_spec.rb | 6 +-
.../spec/models/array_test_spec.rb | 6 +-
.../spec/models/capitalization_spec.rb | 6 +-
.../ruby-autoload/spec/models/cat_spec.rb | 6 +-
.../spec/models/category_spec.rb | 6 +-
.../spec/models/child_with_nullable_spec.rb | 6 +-
.../spec/models/class_model_spec.rb | 6 +-
.../ruby-autoload/spec/models/client_spec.rb | 6 +-
.../spec/models/deprecated_object_spec.rb | 6 +-
.../ruby-autoload/spec/models/dog_spec.rb | 6 +-
.../spec/models/enum_arrays_spec.rb | 6 +-
.../spec/models/enum_class_spec.rb | 6 +-
.../spec/models/enum_test_spec.rb | 6 +-
.../fake_big_decimal_map200_response_spec.rb | 6 +-
.../models/file_schema_test_class_spec.rb | 6 +-
.../ruby-autoload/spec/models/file_spec.rb | 6 +-
.../models/foo_get_default_response_spec.rb | 6 +-
.../ruby-autoload/spec/models/foo_spec.rb | 6 +-
.../spec/models/format_test_spec.rb | 13 +-
.../spec/models/has_only_read_only_spec.rb | 6 +-
.../spec/models/health_check_result_spec.rb | 6 +-
.../ruby-autoload/spec/models/list_spec.rb | 6 +-
.../spec/models/map_test_spec.rb | 6 +-
...es_and_additional_properties_class_spec.rb | 6 +-
.../spec/models/model200_response_spec.rb | 6 +-
.../spec/models/model_return_spec.rb | 6 +-
.../ruby-autoload/spec/models/name_spec.rb | 6 +-
.../spec/models/nullable_class_spec.rb | 6 +-
.../spec/models/number_only_spec.rb | 6 +-
.../object_with_deprecated_fields_spec.rb | 6 +-
.../ruby-autoload/spec/models/order_spec.rb | 6 +-
.../spec/models/outer_composite_spec.rb | 6 +-
.../models/outer_enum_default_value_spec.rb | 6 +-
.../outer_enum_integer_default_value_spec.rb | 6 +-
.../spec/models/outer_enum_integer_spec.rb | 6 +-
.../spec/models/outer_enum_spec.rb | 6 +-
.../outer_object_with_enum_property_spec.rb | 6 +-
.../spec/models/parent_with_nullable_spec.rb | 6 +-
.../ruby-autoload/spec/models/pet_spec.rb | 8 +-
.../spec/models/read_only_first_spec.rb | 6 +-
.../spec/models/single_ref_type_spec.rb | 6 +-
.../spec/models/special_model_name_spec.rb | 6 +-
.../ruby-autoload/spec/models/tag_spec.rb | 6 +-
...form_additional_properties_request_spec.rb | 6 +-
.../ruby-autoload/spec/models/user_spec.rb | 6 +-
.../spec/api/another_fake_api_spec.rb | 2 +-
.../ruby-faraday/spec/api/default_api_spec.rb | 4 +-
.../ruby-faraday/spec/api/fake_api_spec.rb | 111 +++-
.../api/fake_classname_tags123_api_spec.rb | 2 +-
.../ruby-faraday/spec/api/pet_api_spec.rb | 10 +-
.../ruby-faraday/spec/api/store_api_spec.rb | 3 +-
.../ruby-faraday/spec/api/user_api_spec.rb | 7 +-
.../additional_properties_class_spec.rb | 17 +-
.../models/all_of_with_single_ref_spec.rb | 6 +-
.../ruby-faraday/spec/models/animal_spec.rb | 17 +-
.../spec/models/api_response_spec.rb | 17 +-
.../array_of_array_of_number_only_spec.rb | 17 +-
.../spec/models/array_of_number_only_spec.rb | 17 +-
.../spec/models/array_test_spec.rb | 17 +-
.../spec/models/capitalization_spec.rb | 17 +-
.../ruby-faraday/spec/models/cat_spec.rb | 17 +-
.../ruby-faraday/spec/models/category_spec.rb | 17 +-
.../spec/models/child_with_nullable_spec.rb | 6 +-
.../spec/models/class_model_spec.rb | 17 +-
.../ruby-faraday/spec/models/client_spec.rb | 17 +-
.../spec/models/deprecated_object_spec.rb | 6 +-
.../ruby-faraday/spec/models/dog_spec.rb | 17 +-
.../spec/models/enum_arrays_spec.rb | 21 +-
.../spec/models/enum_class_spec.rb | 17 +-
.../spec/models/enum_test_spec.rb | 25 +-
.../fake_big_decimal_map200_response_spec.rb | 6 +-
.../models/file_schema_test_class_spec.rb | 17 +-
.../ruby-faraday/spec/models/file_spec.rb | 17 +-
.../models/foo_get_default_response_spec.rb | 6 +-
.../ruby-faraday/spec/models/foo_spec.rb | 17 +-
.../spec/models/format_test_spec.rb | 28 +-
.../spec/models/has_only_read_only_spec.rb | 17 +-
.../spec/models/health_check_result_spec.rb | 17 +-
.../ruby-faraday/spec/models/list_spec.rb | 17 +-
.../ruby-faraday/spec/models/map_test_spec.rb | 19 +-
...es_and_additional_properties_class_spec.rb | 17 +-
.../spec/models/model200_response_spec.rb | 17 +-
.../spec/models/model_return_spec.rb | 17 +-
.../ruby-faraday/spec/models/name_spec.rb | 17 +-
.../spec/models/nullable_class_spec.rb | 17 +-
.../spec/models/number_only_spec.rb | 17 +-
.../object_with_deprecated_fields_spec.rb | 6 +-
.../ruby-faraday/spec/models/order_spec.rb | 19 +-
.../spec/models/outer_composite_spec.rb | 17 +-
.../models/outer_enum_default_value_spec.rb | 17 +-
.../outer_enum_integer_default_value_spec.rb | 17 +-
.../spec/models/outer_enum_integer_spec.rb | 17 +-
.../spec/models/outer_enum_spec.rb | 17 +-
.../outer_object_with_enum_property_spec.rb | 6 +-
.../spec/models/parent_with_nullable_spec.rb | 6 +-
.../ruby-faraday/spec/models/pet_spec.rb | 19 +-
.../spec/models/read_only_first_spec.rb | 17 +-
.../spec/models/single_ref_type_spec.rb | 6 +-
.../spec/models/special_model_name_spec.rb | 17 +-
.../ruby-faraday/spec/models/tag_spec.rb | 17 +-
...form_additional_properties_request_spec.rb | 6 +-
.../ruby-faraday/spec/models/user_spec.rb | 17 +-
.../spec/api/another_fake_api_spec.rb | 2 +-
.../ruby-httpx/spec/api/default_api_spec.rb | 4 +-
.../ruby-httpx/spec/api/fake_api_spec.rb | 113 +++-
.../api/fake_classname_tags123_api_spec.rb | 2 +-
.../ruby-httpx/spec/api/pet_api_spec.rb | 10 +-
.../ruby-httpx/spec/api/store_api_spec.rb | 3 +-
.../ruby-httpx/spec/api/user_api_spec.rb | 7 +-
.../additional_properties_class_spec.rb | 17 +-
.../models/all_of_with_single_ref_spec.rb | 6 +-
.../ruby-httpx/spec/models/animal_spec.rb | 17 +-
.../spec/models/api_response_spec.rb | 17 +-
.../array_of_array_of_number_only_spec.rb | 17 +-
.../spec/models/array_of_number_only_spec.rb | 17 +-
.../ruby-httpx/spec/models/array_test_spec.rb | 17 +-
.../spec/models/capitalization_spec.rb | 17 +-
.../ruby-httpx/spec/models/cat_spec.rb | 17 +-
.../ruby-httpx/spec/models/category_spec.rb | 17 +-
.../spec/models/class_model_spec.rb | 17 +-
.../ruby-httpx/spec/models/client_spec.rb | 17 +-
.../ruby-httpx/spec/models/cow_spec.rb | 2 +-
.../spec/models/deprecated_object_spec.rb | 6 +-
.../ruby-httpx/spec/models/dog_spec.rb | 17 +-
.../spec/models/enum_arrays_spec.rb | 21 +-
.../ruby-httpx/spec/models/enum_class_spec.rb | 17 +-
.../ruby-httpx/spec/models/enum_test_spec.rb | 25 +-
.../fake_big_decimal_map200_response_spec.rb | 6 +-
.../models/file_schema_test_class_spec.rb | 17 +-
.../ruby-httpx/spec/models/file_spec.rb | 17 +-
.../models/foo_get_default_response_spec.rb | 6 +-
.../ruby-httpx/spec/models/foo_spec.rb | 17 +-
.../spec/models/format_test_spec.rb | 28 +-
.../spec/models/has_only_read_only_spec.rb | 17 +-
.../spec/models/health_check_result_spec.rb | 17 +-
.../ruby-httpx/spec/models/list_spec.rb | 17 +-
.../spec/models/mamal_with_enum_spec.rb | 2 +-
.../spec/models/mammal_anyof_spec.rb | 2 +-
.../ruby-httpx/spec/models/mammal_spec.rb | 3 +-
.../mammal_without_discriminator_spec.rb | 3 +-
.../ruby-httpx/spec/models/map_test_spec.rb | 19 +-
...es_and_additional_properties_class_spec.rb | 17 +-
.../spec/models/model200_response_spec.rb | 17 +-
.../spec/models/model_return_spec.rb | 17 +-
.../ruby-httpx/spec/models/name_spec.rb | 17 +-
.../spec/models/nullable_class_spec.rb | 17 +-
.../spec/models/number_only_spec.rb | 17 +-
.../object_with_deprecated_fields_spec.rb | 6 +-
.../ruby-httpx/spec/models/order_spec.rb | 19 +-
.../spec/models/outer_composite_spec.rb | 17 +-
.../models/outer_enum_default_value_spec.rb | 17 +-
.../outer_enum_integer_default_value_spec.rb | 17 +-
.../spec/models/outer_enum_integer_spec.rb | 17 +-
.../ruby-httpx/spec/models/outer_enum_spec.rb | 17 +-
.../outer_object_with_enum_property_spec.rb | 6 +-
.../ruby-httpx/spec/models/pet_spec.rb | 19 +-
.../spec/models/property_name_mapping_spec.rb | 10 +-
.../spec/models/read_only_first_spec.rb | 17 +-
.../spec/models/single_ref_type_spec.rb | 6 +-
.../spec/models/special_model_name_spec.rb | 17 +-
.../ruby-httpx/spec/models/tag_spec.rb | 17 +-
...form_additional_properties_request_spec.rb | 6 +-
.../ruby-httpx/spec/models/user_spec.rb | 17 +-
.../ruby-httpx/spec/models/whale_spec.rb | 8 +-
.../ruby-httpx/spec/models/zebra_spec.rb | 8 +-
.../ruby/spec/api/another_fake_api_spec.rb | 2 +-
.../ruby/spec/api/default_api_spec.rb | 4 +-
.../petstore/ruby/spec/api/fake_api_spec.rb | 113 +++-
.../api/fake_classname_tags123_api_spec.rb | 2 +-
.../petstore/ruby/spec/api/pet_api_spec.rb | 10 +-
.../petstore/ruby/spec/api/store_api_spec.rb | 3 +-
.../petstore/ruby/spec/api/user_api_spec.rb | 7 +-
.../additional_properties_class_spec.rb | 17 +-
.../models/all_of_with_single_ref_spec.rb | 6 +-
.../petstore/ruby/spec/models/animal_spec.rb | 17 +-
.../ruby/spec/models/api_response_spec.rb | 17 +-
.../array_of_array_of_number_only_spec.rb | 17 +-
.../spec/models/array_of_number_only_spec.rb | 17 +-
.../ruby/spec/models/array_test_spec.rb | 17 +-
.../ruby/spec/models/capitalization_spec.rb | 17 +-
.../petstore/ruby/spec/models/cat_spec.rb | 17 +-
.../ruby/spec/models/category_spec.rb | 17 +-
.../ruby/spec/models/class_model_spec.rb | 17 +-
.../petstore/ruby/spec/models/client_spec.rb | 17 +-
.../petstore/ruby/spec/models/cow_spec.rb | 2 +-
.../spec/models/deprecated_object_spec.rb | 6 +-
.../petstore/ruby/spec/models/dog_spec.rb | 17 +-
.../ruby/spec/models/enum_arrays_spec.rb | 21 +-
.../ruby/spec/models/enum_class_spec.rb | 17 +-
.../ruby/spec/models/enum_test_spec.rb | 25 +-
.../fake_big_decimal_map200_response_spec.rb | 6 +-
.../models/file_schema_test_class_spec.rb | 17 +-
.../petstore/ruby/spec/models/file_spec.rb | 17 +-
.../models/foo_get_default_response_spec.rb | 6 +-
.../petstore/ruby/spec/models/foo_spec.rb | 17 +-
.../ruby/spec/models/format_test_spec.rb | 28 +-
.../spec/models/has_only_read_only_spec.rb | 17 +-
.../spec/models/health_check_result_spec.rb | 17 +-
.../petstore/ruby/spec/models/list_spec.rb | 17 +-
.../ruby/spec/models/mamal_with_enum_spec.rb | 8 +-
.../ruby/spec/models/mammal_anyof_spec.rb | 2 +-
.../petstore/ruby/spec/models/mammal_spec.rb | 3 +-
.../mammal_without_discriminator_spec.rb | 3 +-
.../ruby/spec/models/map_test_spec.rb | 19 +-
...es_and_additional_properties_class_spec.rb | 17 +-
.../spec/models/model200_response_spec.rb | 17 +-
.../ruby/spec/models/model_return_spec.rb | 17 +-
.../petstore/ruby/spec/models/name_spec.rb | 17 +-
.../ruby/spec/models/nullable_class_spec.rb | 17 +-
.../ruby/spec/models/number_only_spec.rb | 17 +-
.../object_with_deprecated_fields_spec.rb | 6 +-
.../petstore/ruby/spec/models/order_spec.rb | 19 +-
.../ruby/spec/models/outer_composite_spec.rb | 17 +-
.../models/outer_enum_default_value_spec.rb | 17 +-
.../outer_enum_integer_default_value_spec.rb | 17 +-
.../spec/models/outer_enum_integer_spec.rb | 17 +-
.../ruby/spec/models/outer_enum_spec.rb | 17 +-
.../outer_object_with_enum_property_spec.rb | 6 +-
.../petstore/ruby/spec/models/pet_spec.rb | 19 +-
.../spec/models/property_name_mapping_spec.rb | 6 +-
.../ruby/spec/models/read_only_first_spec.rb | 17 +-
.../ruby/spec/models/single_ref_type_spec.rb | 6 +-
.../spec/models/special_model_name_spec.rb | 17 +-
.../petstore/ruby/spec/models/tag_spec.rb | 17 +-
...form_additional_properties_request_spec.rb | 6 +-
.../petstore/ruby/spec/models/user_spec.rb | 17 +-
.../petstore/ruby/spec/models/whale_spec.rb | 8 +-
.../petstore/ruby/spec/models/zebra_spec.rb | 8 +-
.../client/petstore/zapier/samples/PetApi.js | 2 +-
.../petstore/zapier/samples/StoreApi.js | 2 +-
.../client/petstore/zapier/samples/UserApi.js | 2 +-
.../go-experimental/test/api_usage_test.go | 74 +--
.../ruby-client/spec/api/usage_api_spec.rb | 2 +-
.../ruby/spec/api/usage_api_spec.rb | 2 +-
.../ruby-client/spec/api/usage_api_spec.rb | 6 +-
.../spec/models/array_alias_spec.rb | 17 +-
.../ruby-client/spec/models/map_alias_spec.rb | 17 +-
.../test/bar_ref_or_value_test.dart | 39 +-
.../test/bar_ref_test.dart | 12 +
.../test/foo_ref_or_value_test.dart | 27 +
.../test/foo_ref_test.dart | 12 +
.../test/pizza_speziale_test.dart | 5 +
.../test/fake_api_test.dart | 43 ++
.../test/fake_api_test.dart | 43 ++
.../test/api_response_test.dart | 3 +-
.../test/category_test.dart | 3 +-
.../petstore_client_lib/test/order_test.dart | 3 +-
.../test/pet_api_test.dart | 13 +-
.../petstore_client_lib/test/pet_test.dart | 3 +-
.../test/store_api_test.dart | 5 +-
.../petstore_client_lib/test/tag_test.dart | 3 +-
.../test/user_api_test.dart | 13 +-
.../petstore_client_lib/test/user_test.dart | 3 +-
.../additional_properties_class_test.dart | 3 +-
.../test/all_of_with_single_ref_test.dart | 2 +-
.../test/animal_test.dart | 3 +-
.../test/another_fake_api_test.dart | 3 +-
.../test/api_response_test.dart | 3 +-
.../array_of_array_of_number_only_test.dart | 3 +-
.../test/array_of_number_only_test.dart | 3 +-
.../test/array_test_test.dart | 3 +-
.../test/capitalization_test.dart | 3 +-
.../test/cat_test.dart | 3 +-
.../test/category_test.dart | 3 +-
.../test/child_with_nullable_test.dart | 2 +-
.../test/class_model_test.dart | 3 +-
.../test/default_api_test.dart | 5 +-
.../test/deprecated_object_test.dart | 3 +-
.../test/dog_test.dart | 3 +-
.../test/enum_arrays_test.dart | 3 +-
.../test/enum_class_test.dart | 3 +-
.../test/enum_test_test.dart | 3 +-
.../test/fake_api_test.dart | 52 +-
...fake_big_decimal_map200_response_test.dart | 2 +-
.../test/fake_classname_tags123_api_test.dart | 3 +-
.../test/file_schema_test_class_test.dart | 3 +-
.../test/foo_get_default_response_test.dart | 2 +-
.../test/foo_test.dart | 3 +-
.../test/format_test_test.dart | 3 +-
.../test/has_only_read_only_test.dart | 3 +-
.../test/health_check_result_test.dart | 3 +-
.../test/map_test_test.dart | 3 +-
..._and_additional_properties_class_test.dart | 3 +-
.../test/model200_response_test.dart | 3 +-
.../test/model_client_test.dart | 3 +-
.../test/model_file_test.dart | 3 +-
.../test/model_list_test.dart | 3 +-
.../test/model_return_test.dart | 3 +-
.../test/name_test.dart | 3 +-
.../test/nullable_class_test.dart | 3 +-
.../test/number_only_test.dart | 3 +-
.../object_with_deprecated_fields_test.dart | 3 +-
.../test/order_test.dart | 3 +-
.../test/outer_composite_test.dart | 3 +-
.../test/outer_enum_default_value_test.dart | 3 +-
...outer_enum_integer_default_value_test.dart | 3 +-
.../test/outer_enum_integer_test.dart | 3 +-
.../test/outer_enum_test.dart | 3 +-
.../outer_object_with_enum_property_test.dart | 3 +-
.../test/parent_with_nullable_test.dart | 2 +-
.../test/pet_api_test.dart | 15 +-
.../test/pet_test.dart | 3 +-
.../test/read_only_first_test.dart | 3 +-
.../test/single_ref_type_test.dart | 2 +-
.../test/special_model_name_test.dart | 3 +-
.../test/store_api_test.dart | 5 +-
.../test/tag_test.dart | 3 +-
...rm_additional_properties_request_test.dart | 2 +-
.../test/user_api_test.dart | 13 +-
.../test/user_test.dart | 3 +-
.../go/go-petstore/test/api_default_test.go | 12 +
.../go/go-petstore/test/api_fake_test.go | 55 ++
.../client/model/ChildSchemaTest.java | 1 +
.../model/MySchemaNameCharactersTest.java | 12 +-
.../openapitools/client/model/ParentTest.java | 3 +-
.../client/model/CategoryTest.java | 1 +
.../client/model/ModelApiResponseTest.java | 1 +
.../openapitools/client/model/OrderTest.java | 1 +
.../openapitools/client/model/PetTest.java | 1 +
.../openapitools/client/model/TagTest.java | 1 +
.../openapitools/client/model/UserTest.java | 1 +
.../client/model/CategoryTest.java | 1 +
.../client/model/ModelApiResponseTest.java | 1 +
.../openapitools/client/model/OrderTest.java | 1 +
.../openapitools/client/model/PetTest.java | 1 +
.../openapitools/client/model/TagTest.java | 1 +
.../openapitools/client/model/UserTest.java | 1 +
.../openapitools/client/api/FakeApiTest.java | 55 ++
.../openapitools/client/api/PetApiTest.java | 65 +-
.../model/AdditionalPropertiesClassTest.java | 1 +
.../openapitools/client/model/AnimalTest.java | 3 +-
.../client/model/AppleReqTest.java | 1 +
.../openapitools/client/model/AppleTest.java | 1 +
.../model/ArrayOfArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayOfNumberOnlyTest.java | 1 +
.../client/model/ArrayTestTest.java | 1 +
.../client/model/BananaReqTest.java | 1 +
.../openapitools/client/model/BananaTest.java | 1 +
.../client/model/BasquePigTest.java | 1 +
.../client/model/CapitalizationTest.java | 1 +
.../openapitools/client/model/CatTest.java | 2 +
.../client/model/CategoryTest.java | 1 +
.../client/model/ChildCatTest.java | 1 +
.../client/model/ClassModelTest.java | 1 +
.../openapitools/client/model/ClientTest.java | 1 +
.../model/ComplexQuadrilateralTest.java | 1 +
.../client/model/DanishPigTest.java | 1 +
.../client/model/DeprecatedObjectTest.java | 1 +
.../openapitools/client/model/DogTest.java | 1 +
.../client/model/DrawingTest.java | 1 +
.../client/model/EnumArraysTest.java | 1 +
.../client/model/EnumTestTest.java | 1 +
.../client/model/EquilateralTriangleTest.java | 1 +
.../client/model/FileSchemaTestClassTest.java | 1 +
.../model/FooGetDefaultResponseTest.java | 1 +
.../openapitools/client/model/FooTest.java | 1 +
.../client/model/FormatTestTest.java | 1 +
.../client/model/FruitReqTest.java | 1 +
.../openapitools/client/model/FruitTest.java | 1 +
.../client/model/GmFruitTest.java | 1 +
.../client/model/GrandparentAnimalTest.java | 3 +-
.../client/model/HasOnlyReadOnlyTest.java | 1 +
.../client/model/HealthCheckResultTest.java | 1 +
.../client/model/IsoscelesTriangleTest.java | 1 +
.../openapitools/client/model/MammalTest.java | 58 +-
.../client/model/MapTestTest.java | 1 +
...rtiesAndAdditionalPropertiesClassTest.java | 1 +
.../client/model/Model200ResponseTest.java | 1 +
.../client/model/ModelApiResponseTest.java | 1 +
.../client/model/ModelFileTest.java | 1 +
.../client/model/ModelListTest.java | 1 +
.../client/model/ModelReturnTest.java | 1 +
.../openapitools/client/model/NameTest.java | 1 +
.../client/model/NullableClassTest.java | 1 +
.../client/model/NullableShapeTest.java | 1 +
.../client/model/NumberOnlyTest.java | 1 +
.../model/ObjectWithDeprecatedFieldsTest.java | 1 +
.../openapitools/client/model/OrderTest.java | 1 +
.../client/model/OuterCompositeTest.java | 1 +
.../client/model/ParentPetTest.java | 2 +-
.../openapitools/client/model/PetTest.java | 1 +
.../openapitools/client/model/PigTest.java | 1 +
.../model/QuadrilateralInterfaceTest.java | 1 +
.../client/model/QuadrilateralTest.java | 1 +
.../client/model/ReadOnlyFirstTest.java | 1 +
.../client/model/ScaleneTriangleTest.java | 1 +
.../client/model/ShapeInterfaceTest.java | 1 +
.../client/model/ShapeOrNullTest.java | 1 +
.../openapitools/client/model/ShapeTest.java | 1 +
.../client/model/SimpleQuadrilateralTest.java | 1 +
.../client/model/SpecialModelNameTest.java | 1 +
.../openapitools/client/model/TagTest.java | 1 +
.../client/model/TriangleInterfaceTest.java | 1 +
.../client/model/TriangleTest.java | 1 +
.../openapitools/client/model/UserTest.java | 1 +
.../openapitools/client/model/WhaleTest.java | 1 +
.../openapitools/client/model/ZebraTest.java | 50 +-
.../python-aiohttp/test/test_enum_test.py | 2 +
.../python-aiohttp/test/test_fake_api.py | 7 +
.../test/test_enum_test.py | 2 +
.../test/test_fake_api.py | 7 +
.../test_additional_properties_any_type.py | 14 +-
.../test/test_additional_properties_class.py | 16 +-
.../test/test_additional_properties_object.py | 14 +-
...tional_properties_with_description_only.py | 14 +-
.../test/test_all_of_with_single_ref.py | 29 +-
.../python-pydantic-v1/test/test_animal.py | 27 +-
.../test/test_another_fake_api.py | 18 +-
.../test/test_any_of_color.py | 18 +-
.../test/test_any_of_pig.py | 32 +-
.../test/test_api_response.py | 29 +-
.../test/test_array_of_array_of_model.py | 16 +-
.../test_array_of_array_of_number_only.py | 25 +-
.../test/test_array_of_number_only.py | 25 +-
.../test/test_array_test.py | 32 +-
.../test/test_basque_pig.py | 27 +-
.../test/test_capitalization.py | 35 +-
.../python-pydantic-v1/test/test_cat.py | 27 +-
.../python-pydantic-v1/test/test_category.py | 23 +-
.../test/test_circular_all_of_ref.py | 12 +-
.../test/test_circular_reference_model.py | 18 +-
.../test/test_class_model.py | 27 +-
.../python-pydantic-v1/test/test_client.py | 25 +-
.../python-pydantic-v1/test/test_color.py | 18 +-
.../python-pydantic-v1/test/test_creature.py | 16 +-
.../test/test_creature_info.py | 14 +-
.../test/test_danish_pig.py | 27 +-
.../test/test_default_api.py | 18 +-
.../test/test_deprecated_object.py | 25 +-
.../python-pydantic-v1/test/test_dog.py | 27 +-
.../test/test_dummy_model.py | 20 +-
.../test/test_enum_arrays.py | 23 +-
.../test/test_enum_class.py | 10 +-
.../test/test_enum_string1.py | 6 +-
.../test/test_enum_string2.py | 6 +-
.../python-pydantic-v1/test/test_enum_test.py | 42 +-
.../python-pydantic-v1/test/test_fake_api.py | 211 ++++--
.../test/test_fake_classname_tags123_api.py | 2 +-
.../python-pydantic-v1/test/test_field.py | 2 +-
.../python-pydantic-v1/test/test_file.py | 25 +-
.../test/test_file_schema_test_class.py | 27 +-
.../python-pydantic-v1/test/test_first_ref.py | 18 +-
.../python-pydantic-v1/test/test_foo.py | 25 +-
.../test/test_foo_get_default_response.py | 25 +-
.../test/test_format_test.py | 63 +-
.../test/test_has_only_read_only.py | 27 +-
.../test/test_health_check_result.py | 25 +-
.../test/test_import_test_datetime_api.py | 2 +-
.../test/test_inner_dict_with_property.py | 16 +-
.../test/test_int_or_string.py | 14 +-
.../test/test_map_of_array_of_model.py | 14 +-
.../python-pydantic-v1/test/test_map_test.py | 32 +-
...perties_and_additional_properties_class.py | 29 +-
.../test/test_model200_response.py | 29 +-
.../test/test_model_return.py | 27 +-
.../python-pydantic-v1/test/test_name.py | 33 +-
.../test/test_nullable_class.py | 50 +-
.../test/test_nullable_property.py | 16 +-
.../test/test_number_only.py | 25 +-
...st_object_to_test_additional_properties.py | 14 +-
.../test_object_with_deprecated_fields.py | 31 +-
.../test/test_one_of_enum_string.py | 14 +-
.../python-pydantic-v1/test/test_order.py | 35 +-
.../test/test_outer_composite.py | 29 +-
.../test/test_outer_enum.py | 12 +-
.../test/test_outer_enum_default_value.py | 10 +-
.../test/test_outer_enum_integer.py | 10 +-
.../test_outer_enum_integer_default_value.py | 26 +-
.../test_outer_object_with_enum_property.py | 22 +-
.../python-pydantic-v1/test/test_parent.py | 14 +-
.../test/test_parent_with_optional_dict.py | 16 +-
.../python-pydantic-v1/test/test_pet.py | 35 +-
.../python-pydantic-v1/test/test_pet_api.py | 34 +-
.../python-pydantic-v1/test/test_pig.py | 32 +-
.../test/test_property_name_collision.py | 20 +-
.../test/test_read_only_first.py | 27 +-
.../test/test_second_circular_all_of_ref.py | 9 +-
.../test/test_second_ref.py | 18 +-
.../test/test_self_reference_model.py | 20 +-
.../test/test_single_ref_type.py | 26 +-
.../test/test_special_character_enum.py | 10 +-
.../test/test_special_model_name.py | 25 +-
.../test/test_special_name.py | 24 +-
.../python-pydantic-v1/test/test_store_api.py | 24 +-
.../python-pydantic-v1/test/test_tag.py | 27 +-
.../python-pydantic-v1/test/test_tiger.py | 14 +-
.../python-pydantic-v1/test/test_user.py | 39 +-
.../python-pydantic-v1/test/test_user_api.py | 32 +-
.../test/test_with_nested_one_of.py | 30 +-
.../test_additional_properties_any_type.py | 19 +-
.../test/test_additional_properties_class.py | 21 +-
.../test/test_additional_properties_object.py | 19 +-
...tional_properties_with_description_only.py | 19 +-
.../python/test/test_all_of_super_model.py | 2 +-
.../test/test_all_of_with_single_ref.py | 34 +-
.../petstore/python/test/test_animal.py | 34 +-
.../python/test/test_another_fake_api.py | 22 +-
.../petstore/python/test/test_any_of_color.py | 23 +-
.../petstore/python/test/test_any_of_pig.py | 35 +-
.../test/test_array_of_array_of_model.py | 21 +-
.../test_array_of_array_of_number_only.py | 30 +-
.../python/test/test_array_of_number_only.py | 30 +-
.../petstore/python/test/test_array_test.py | 37 +-
.../python/test/test_base_discriminator.py | 2 +-
.../petstore/python/test/test_basque_pig.py | 32 +-
.../petstore/python/test/test_bathing.py | 3 +-
.../python/test/test_capitalization.py | 40 +-
.../client/petstore/python/test/test_cat.py | 30 +-
.../petstore/python/test/test_category.py | 28 +-
.../python/test/test_circular_all_of_ref.py | 14 +-
.../test/test_circular_reference_model.py | 23 +-
.../petstore/python/test/test_class_model.py | 32 +-
.../petstore/python/test/test_client.py | 30 +-
.../client/petstore/python/test/test_color.py | 23 +-
.../petstore/python/test/test_creature.py | 21 +-
.../python/test/test_creature_info.py | 19 +-
.../petstore/python/test/test_danish_pig.py | 32 +-
.../petstore/python/test/test_default_api.py | 20 +-
.../python/test/test_deprecated_object.py | 30 +-
.../test/test_discriminator_all_of_sub.py | 2 +-
.../test/test_discriminator_all_of_super.py | 2 +-
.../client/petstore/python/test/test_dog.py | 30 +-
.../petstore/python/test/test_dummy_model.py | 25 +-
.../petstore/python/test/test_enum_arrays.py | 28 +-
.../petstore/python/test/test_enum_class.py | 13 +-
.../petstore/python/test/test_enum_string1.py | 9 +-
.../petstore/python/test/test_enum_string2.py | 9 +-
.../petstore/python/test/test_enum_test.py | 47 +-
.../petstore/python/test/test_fake_api.py | 228 +++++--
.../test/test_fake_classname_tags123_api.py | 25 +-
.../petstore/python/test/test_feeding.py | 3 +-
.../client/petstore/python/test/test_file.py | 30 +-
.../test/test_file_schema_test_class.py | 32 +-
.../petstore/python/test/test_first_ref.py | 23 +-
.../client/petstore/python/test/test_foo.py | 30 +-
.../test/test_foo_get_default_response.py | 30 +-
.../petstore/python/test/test_format_test.py | 65 +-
.../python/test/test_has_only_read_only.py | 32 +-
.../python/test/test_health_check_result.py | 30 +-
.../client/petstore/python/test/test_info.py | 2 +-
.../test/test_inner_dict_with_property.py | 21 +-
.../petstore/python/test/test_input_all_of.py | 2 +-
.../python/test/test_int_or_string.py | 19 +-
.../petstore/python/test/test_list_class.py | 7 +-
.../python/test/test_map_of_array_of_model.py | 19 +-
.../petstore/python/test/test_map_test.py | 37 +-
...perties_and_additional_properties_class.py | 36 +-
.../python/test/test_model200_response.py | 34 +-
.../python/test/test_model_api_response.py | 3 +-
.../petstore/python/test/test_model_field.py | 4 +-
.../petstore/python/test/test_model_return.py | 32 +-
.../client/petstore/python/test/test_name.py | 38 +-
.../python/test/test_nullable_class.py | 55 +-
.../python/test/test_nullable_property.py | 21 +-
.../petstore/python/test/test_number_only.py | 30 +-
...st_object_to_test_additional_properties.py | 19 +-
.../test_object_with_deprecated_fields.py | 36 +-
.../python/test/test_one_of_enum_string.py | 19 +-
.../client/petstore/python/test/test_order.py | 40 +-
.../python/test/test_outer_composite.py | 34 +-
.../petstore/python/test/test_outer_enum.py | 15 +-
.../test/test_outer_enum_default_value.py | 13 +-
.../python/test/test_outer_enum_integer.py | 13 +-
.../test_outer_enum_integer_default_value.py | 29 +-
.../test_outer_object_with_enum_property.py | 27 +-
.../petstore/python/test/test_parent.py | 19 +-
.../test/test_parent_with_optional_dict.py | 21 +-
.../client/petstore/python/test/test_pet.py | 44 +-
.../petstore/python/test/test_pet_api.py | 54 +-
.../client/petstore/python/test/test_pig.py | 35 +-
.../python/test/test_poop_cleaning.py | 3 +-
.../python/test/test_primitive_string.py | 2 +-
.../petstore/python/test/test_property_map.py | 2 +-
.../test/test_property_name_collision.py | 25 +-
.../python/test/test_read_only_first.py | 32 +-
.../test/test_second_circular_all_of_ref.py | 11 +-
.../petstore/python/test/test_second_ref.py | 23 +-
.../python/test/test_self_reference_model.py | 25 +-
.../python/test/test_single_ref_type.py | 29 +-
.../test/test_special_character_enum.py | 13 +-
.../python/test/test_special_model_name.py | 30 +-
.../petstore/python/test/test_special_name.py | 29 +-
.../petstore/python/test/test_store_api.py | 34 +-
.../client/petstore/python/test/test_tag.py | 32 +-
.../client/petstore/python/test/test_task.py | 3 +-
.../python/test/test_task_activity.py | 3 +-
..._error_responses_with_model400_response.py | 3 +-
..._error_responses_with_model404_response.py | 3 +-
..._freeform_additional_properties_request.py | 7 +-
.../test/test_test_model_with_enum_default.py | 2 +-
...t_for_multipart_requests_request_marker.py | 2 +-
.../client/petstore/python/test/test_tiger.py | 19 +-
...t_with_additional_model_list_properties.py | 7 +-
..._with_additional_string_list_properties.py | 7 +-
.../client/petstore/python/test/test_user.py | 44 +-
.../petstore/python/test/test_user_api.py | 50 +-
.../python/test/test_with_nested_one_of.py | 35 +-
.../go-gin-api-server-interface-only/go.mod | 6 +-
.../server/petstore/go-gin-api-server/go.mod | 6 +-
.../haskell-yesod/test/Handler/PetSpec.hs | 5 +
.../java/org/openapitools/api/PetApiTest.java | 4 +-
.../org/openapitools/api/StoreApiTest.java | 2 +-
.../org/openapitools/api/UserApiTest.java | 2 +-
.../controller/PetControllerSpec.groovy | 48 +-
.../controller/StoreControllerSpec.groovy | 14 +-
.../controller/UserControllerSpec.groovy | 40 +-
.../org/openapitools/model/PetSpec.groovy | 1 +
.../java/org/openapitools/api/PetApiTest.java | 60 +-
.../org/openapitools/api/StoreApiTest.java | 40 +-
.../org/openapitools/api/UserApiTest.java | 62 +-
.../java/org/openapitools/api/PetApiTest.java | 60 +-
.../org/openapitools/api/StoreApiTest.java | 40 +-
.../org/openapitools/api/UserApiTest.java | 62 +-
.../openapitools/api/AnotherFakeApiTest.java | 4 +-
.../org/openapitools/api/FakeApiTest.java | 2 +-
.../java/org/openapitools/api/PetApiTest.java | 4 +-
.../org/openapitools/api/UserApiTest.java | 5 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../org/openapitools/api/TestApiTest.kt | 5 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../openapitools/api/MultipartMixedApiTest.kt | 2 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../kotlin/org/openapitools/api/PetApiTest.kt | 2 +-
.../php-slim4/tests/Model/ApiResponseTest.php | 1 +
.../php-slim4/tests/Model/CategoryTest.php | 1 +
.../php-slim4/tests/Model/OrderTest.php | 1 +
.../php-slim4/tests/Model/PetTest.php | 1 +
.../php-slim4/tests/Model/TagTest.php | 1 +
.../php-slim4/tests/Model/UserTest.php | 1 +
.../Tests/Api/PetApiInterfaceTest.php | 4 +-
.../Tests/Api/StoreApiInterfaceTest.php | 4 +-
.../Tests/Api/UserApiInterfaceTest.php | 4 +-
.../Tests/Model/ApiResponseTest.php | 5 +-
.../Tests/Model/CategoryTest.php | 5 +-
.../Tests/Model/OrderTest.php | 5 +-
.../SymfonyBundle-php/Tests/Model/PetTest.php | 5 +-
.../SymfonyBundle-php/Tests/Model/TagTest.php | 5 +-
.../Tests/Model/UserTest.php | 5 +-
.../tests/test_pet_controller.py | 57 +-
.../tests/test_store_controller.py | 11 +-
.../tests/test_user_controller.py | 23 +-
.../test/test_pet_controller.py | 38 +-
.../test/test_store_controller.py | 2 +-
.../python-fastapi/tests/test_fake_api.py | 3 +
.../python-fastapi/tests/test_pet_api.py | 3 +
.../python-fastapi/tests/test_store_api.py | 3 +
.../python-fastapi/tests/test_user_api.py | 3 +
.../test/test_pet_controller.py | 10 +-
.../test/test_store_controller.py | 5 +-
.../test/test_user_controller.py | 26 +-
.../sample/cask/model/ApiResponseTest.scala | 44 +-
.../sample/cask/model/CategoryTest.scala | 44 +-
.../scala/sample/cask/model/OrderTest.scala | 44 +-
.../scala/sample/cask/model/PetTest.scala | 44 +-
.../scala/sample/cask/model/TagTest.scala | 44 +-
.../scala/sample/cask/model/UserTest.scala | 44 +-
2670 files changed, 17909 insertions(+), 15247 deletions(-)
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/AuthApiTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/AuthApiTests.cs
index 456245d7bab6..7aee0fb1720e 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/AuthApiTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/AuthApiTests.cs
@@ -63,5 +63,16 @@ public void TestAuthHttpBasicTest()
//var response = instance.TestAuthHttpBasic();
//Assert.IsType(response);
}
+
+ ///
+ /// Test TestAuthHttpBearer
+ ///
+ [Fact]
+ public void TestAuthHttpBearerTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //var response = instance.TestAuthHttpBearer();
+ //Assert.IsType(response);
+ }
}
}
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/BodyApiTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/BodyApiTests.cs
index 06da198a3efa..44f3129559b7 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/BodyApiTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/BodyApiTests.cs
@@ -19,7 +19,6 @@
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Model;
// uncomment below to import models
//using Org.OpenAPITools.Model;
@@ -79,6 +78,42 @@ public void TestBodyApplicationOctetstreamBinaryTest()
//Assert.IsType(response);
}
+ ///
+ /// Test TestBodyMultipartFormdataArrayOfBinary
+ ///
+ [Fact]
+ public void TestBodyMultipartFormdataArrayOfBinaryTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //List files = null;
+ //var response = instance.TestBodyMultipartFormdataArrayOfBinary(files);
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestBodyMultipartFormdataSingleBinary
+ ///
+ [Fact]
+ public void TestBodyMultipartFormdataSingleBinaryTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //System.IO.Stream? myFile = null;
+ //var response = instance.TestBodyMultipartFormdataSingleBinary(myFile);
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestEchoBodyAllOfPet
+ ///
+ [Fact]
+ public void TestEchoBodyAllOfPetTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //Pet? pet = null;
+ //var response = instance.TestEchoBodyAllOfPet(pet);
+ //Assert.IsType(response);
+ }
+
///
/// Test TestEchoBodyFreeFormObjectResponseString
///
@@ -97,9 +132,10 @@ public void TestEchoBodyFreeFormObjectResponseStringTest()
[Fact]
public void TestEchoBodyPetTest()
{
- Pet? pet = new Pet(123, "cat", new Category() { Id = 12, Name = "Test" }, new List(){"http://google.com"},null, null);
- var response = instance.TestEchoBodyPet(pet);
- Assert.IsType(response);
+ // TODO uncomment below to test the method and replace null with proper value
+ //Pet? pet = null;
+ //var response = instance.TestEchoBodyPet(pet);
+ //Assert.IsType(response);
}
///
@@ -114,6 +150,18 @@ public void TestEchoBodyPetResponseStringTest()
//Assert.IsType(response);
}
+ ///
+ /// Test TestEchoBodyStringEnum
+ ///
+ [Fact]
+ public void TestEchoBodyStringEnumTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string? body = null;
+ //var response = instance.TestEchoBodyStringEnum(body);
+ //Assert.IsType(response);
+ }
+
///
/// Test TestEchoBodyTagResponseString
///
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/FormApiTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/FormApiTests.cs
index d5bc490bddeb..00b610e43f03 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/FormApiTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/FormApiTests.cs
@@ -19,6 +19,8 @@
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Api;
+// uncomment below to import models
+//using Org.OpenAPITools.Model;
namespace Org.OpenAPITools.Test.Api
{
@@ -66,5 +68,34 @@ public void TestFormIntegerBooleanStringTest()
//var response = instance.TestFormIntegerBooleanString(integerForm, booleanForm, stringForm);
//Assert.IsType(response);
}
+
+ ///
+ /// Test TestFormObjectMultipart
+ ///
+ [Fact]
+ public void TestFormObjectMultipartTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //TestFormObjectMultipartRequestMarker marker = null;
+ //var response = instance.TestFormObjectMultipart(marker);
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestFormOneof
+ ///
+ [Fact]
+ public void TestFormOneofTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //string? form1 = null;
+ //int? form2 = null;
+ //string? form3 = null;
+ //bool? form4 = null;
+ //long? id = null;
+ //string? name = null;
+ //var response = instance.TestFormOneof(form1, form2, form3, form4, id, name);
+ //Assert.IsType(response);
+ }
}
}
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/HeaderApiTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/HeaderApiTests.cs
index a2e6d2032ede..4f2fbcffaf9f 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/HeaderApiTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/HeaderApiTests.cs
@@ -19,6 +19,8 @@
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Api;
+// uncomment below to import models
+//using Org.OpenAPITools.Model;
namespace Org.OpenAPITools.Test.Api
{
@@ -54,16 +56,18 @@ public void InstanceTest()
}
///
- /// Test TestHeaderIntegerBooleanString
+ /// Test TestHeaderIntegerBooleanStringEnums
///
[Fact]
- public void TestHeaderIntegerBooleanStringTest()
+ public void TestHeaderIntegerBooleanStringEnumsTest()
{
// TODO uncomment below to test the method and replace null with proper value
//int? integerHeader = null;
//bool? booleanHeader = null;
//string? stringHeader = null;
- //var response = instance.TestHeaderIntegerBooleanString(integerHeader, booleanHeader, stringHeader);
+ //string? enumNonrefStringHeader = null;
+ //StringEnumRef? enumRefStringHeader = null;
+ //var response = instance.TestHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
//Assert.IsType(response);
}
}
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/PathApiTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/PathApiTests.cs
index f2879c217dfb..bb27fd798dec 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/PathApiTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/PathApiTests.cs
@@ -19,6 +19,8 @@
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Api;
+// uncomment below to import models
+//using Org.OpenAPITools.Model;
namespace Org.OpenAPITools.Test.Api
{
@@ -54,15 +56,17 @@ public void InstanceTest()
}
///
- /// Test TestsPathStringPathStringIntegerPathInteger
+ /// Test TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
///
[Fact]
- public void TestsPathStringPathStringIntegerPathIntegerTest()
+ public void TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathTest()
{
// TODO uncomment below to test the method and replace null with proper value
//string pathString = null;
//int pathInteger = null;
- //var response = instance.TestsPathStringPathStringIntegerPathInteger(pathString, pathInteger);
+ //string enumNonrefStringPath = null;
+ //StringEnumRef enumRefStringPath = null;
+ //var response = instance.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
//Assert.IsType(response);
}
}
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/QueryApiTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/QueryApiTests.cs
index d551bb07dbc1..7c5e580130de 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/QueryApiTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Api/QueryApiTests.cs
@@ -62,8 +62,9 @@ public void InstanceTest()
public void TestEnumRefStringTest()
{
// TODO uncomment below to test the method and replace null with proper value
+ //string? enumNonrefStringQuery = null;
//StringEnumRef? enumRefStringQuery = null;
- //var response = instance.TestEnumRefString(enumRefStringQuery);
+ //var response = instance.TestEnumRefString(enumNonrefStringQuery, enumRefStringQuery);
//Assert.IsType(response);
}
@@ -75,7 +76,7 @@ public void TestQueryDatetimeDateStringTest()
{
// TODO uncomment below to test the method and replace null with proper value
//DateTime? datetimeQuery = null;
- //DateTime? dateQuery = null;
+ //DateOnly? dateQuery = null;
//string? stringQuery = null;
//var response = instance.TestQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery);
//Assert.IsType(response);
@@ -119,6 +120,30 @@ public void TestQueryStyleDeepObjectExplodeTrueObjectAllOfTest()
//Assert.IsType(response);
}
+ ///
+ /// Test TestQueryStyleFormExplodeFalseArrayInteger
+ ///
+ [Fact]
+ public void TestQueryStyleFormExplodeFalseArrayIntegerTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //List? queryObject = null;
+ //var response = instance.TestQueryStyleFormExplodeFalseArrayInteger(queryObject);
+ //Assert.IsType(response);
+ }
+
+ ///
+ /// Test TestQueryStyleFormExplodeFalseArrayString
+ ///
+ [Fact]
+ public void TestQueryStyleFormExplodeFalseArrayStringTest()
+ {
+ // TODO uncomment below to test the method and replace null with proper value
+ //List? queryObject = null;
+ //var response = instance.TestQueryStyleFormExplodeFalseArrayString(queryObject);
+ //Assert.IsType(response);
+ }
+
///
/// Test TestQueryStyleFormExplodeTrueArrayString
///
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Model/NumberPropertiesOnlyTests.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Model/NumberPropertiesOnlyTests.cs
index e889f6a7a2c1..300daf5c40fa 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Model/NumberPropertiesOnlyTests.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/Model/NumberPropertiesOnlyTests.cs
@@ -65,21 +65,21 @@ public void NumberTest()
}
///
- /// Test the property 'VarFloat'
+ /// Test the property 'Float'
///
[Fact]
- public void VarFloatTest()
+ public void FloatTest()
{
- // TODO unit test for the property 'VarFloat'
+ // TODO unit test for the property 'Float'
}
///
- /// Test the property 'VarDouble'
+ /// Test the property 'Double'
///
[Fact]
- public void VarDoubleTest()
+ public void DoubleTest()
{
- // TODO unit test for the property 'VarDouble'
+ // TODO unit test for the property 'Double'
}
}
}
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_body_test.go b/samples/client/echo_api/go/test/api_body_test.go
index 7bfd79b70ec6..3488cc1cb89f 100644
--- a/samples/client/echo_api/go/test/api_body_test.go
+++ b/samples/client/echo_api/go/test/api_body_test.go
@@ -11,12 +11,10 @@ package openapi
import (
"context"
- "os"
- "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_BodyAPIService(t *testing.T) {
@@ -26,20 +24,19 @@ func Test_openapi_BodyAPIService(t *testing.T) {
t.Run("Test BodyAPIService TestBinaryGif", func(t *testing.T) {
+ t.Skip("skip test") // remove to run test
+
resp, httpRes, err := apiClient.BodyAPI.TestBinaryGif(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
assert.Equal(t, 200, httpRes.StatusCode)
- f, err := os.Stat(resp.Name())
- require.Nil(t, err)
- require.Greater(t, f.Size(), int64(0))
})
t.Run("Test BodyAPIService TestBodyApplicationOctetstreamBinary", func(t *testing.T) {
- t.Skip("skip test") // remove to run test
+ t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.BodyAPI.TestBodyApplicationOctetstreamBinary(context.Background()).Execute()
@@ -51,7 +48,7 @@ func Test_openapi_BodyAPIService(t *testing.T) {
t.Run("Test BodyAPIService TestBodyMultipartFormdataArrayOfBinary", func(t *testing.T) {
- t.Skip("skip test") // remove to run test
+ t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.BodyAPI.TestBodyMultipartFormdataArrayOfBinary(context.Background()).Execute()
@@ -61,9 +58,33 @@ func Test_openapi_BodyAPIService(t *testing.T) {
})
+ t.Run("Test BodyAPIService TestBodyMultipartFormdataSingleBinary", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ resp, httpRes, err := apiClient.BodyAPI.TestBodyMultipartFormdataSingleBinary(context.Background()).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+ t.Run("Test BodyAPIService TestEchoBodyAllOfPet", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ resp, httpRes, err := apiClient.BodyAPI.TestEchoBodyAllOfPet(context.Background()).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
t.Run("Test BodyAPIService TestEchoBodyFreeFormObjectResponseString", func(t *testing.T) {
- t.Skip("skip test") // remove to run test
+ t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.BodyAPI.TestEchoBodyFreeFormObjectResponseString(context.Background()).Execute()
@@ -75,7 +96,7 @@ func Test_openapi_BodyAPIService(t *testing.T) {
t.Run("Test BodyAPIService TestEchoBodyPet", func(t *testing.T) {
- t.Skip("skip test") // remove to run test
+ t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.BodyAPI.TestEchoBodyPet(context.Background()).Execute()
@@ -87,7 +108,7 @@ func Test_openapi_BodyAPIService(t *testing.T) {
t.Run("Test BodyAPIService TestEchoBodyPetResponseString", func(t *testing.T) {
- t.Skip("skip test") // remove to run test
+ t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.BodyAPI.TestEchoBodyPetResponseString(context.Background()).Execute()
@@ -97,9 +118,21 @@ func Test_openapi_BodyAPIService(t *testing.T) {
})
+ t.Run("Test BodyAPIService TestEchoBodyStringEnum", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ resp, httpRes, err := apiClient.BodyAPI.TestEchoBodyStringEnum(context.Background()).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
t.Run("Test BodyAPIService TestEchoBodyTagResponseString", func(t *testing.T) {
- t.Skip("skip test") // remove to run test
+ t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.BodyAPI.TestEchoBodyTagResponseString(context.Background()).Execute()
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/AuthApiTest.java b/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/AuthApiTest.java
index 81b483fa7069..7dbdc2b85c87 100644
--- a/samples/client/echo_api/java/apache-httpclient/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/apache-httpclient/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,6 +28,7 @@
/**
* API tests for AuthApi
*/
+@Disabled
public class AuthApiTest {
private final AuthApi api = new AuthApi();
@@ -56,13 +57,8 @@ public void testAuthHttpBasicTest() throws ApiException {
*/
@Test
public void testAuthHttpBearerTest() throws ApiException {
- String response;
- api.getApiClient().setBearerToken("fixed token");
- response = api.testAuthHttpBearer();
- Assertions.assertTrue(response.contains("Authorization: Bearer fixed token"));
+ String response = api.testAuthHttpBearer();
- api.getApiClient().setBearerToken(() -> "dynamic token");
- response = api.testAuthHttpBearer();
- Assertions.assertTrue(response.contains("Authorization: Bearer dynamic token"));
+ // TODO: test validations
}
}
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/AuthApiTest.java b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
index f53e1f75b5df..581e79f5f0e1 100644
--- a/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/feign-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
@@ -1,7 +1,5 @@
package org.openapitools.client.api;
-import feign.codec.StringDecoder;
-import org.junit.jupiter.api.Assertions;
import org.openapitools.client.ApiClient;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.BeforeEach;
@@ -46,20 +44,9 @@ void testAuthHttpBasicTest() {
*/
@Test
void testAuthHttpBearerTest() {
- ApiClient client = new ApiClient("http_bearer_auth");
- client.getFeignBuilder().decoder(new StringDecoder());
- {
- client.setBearerToken("fixed token");
- AuthApi api = client.buildClient(AuthApi.class);
- String response = api.testAuthHttpBearer();
- Assertions.assertTrue(response.contains("Authorization: Bearer fixed token"));
- }
- {
- client.setBearerToken(() -> "dynamic token");
- AuthApi api = client.buildClient(AuthApi.class);
- String response = api.testAuthHttpBearer();
- Assertions.assertTrue(response.contains("Authorization: Bearer dynamic token"));
- }
+ // String response = api.testAuthHttpBearer();
+
+ // TODO: test validations
}
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/AuthApiTest.java b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
index dcf4ae34da4e..30f2ae34d88c 100644
--- a/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
+++ b/samples/client/echo_api/java/okhttp-gson/src/test/java/org/openapitools/client/api/AuthApiTest.java
@@ -13,8 +13,6 @@
package org.openapitools.client.api;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Assertions;
import org.openapitools.client.ApiException;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
@@ -23,11 +21,11 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import org.openapitools.client.ApiResponse;
/**
* API tests for AuthApi
*/
+@Disabled
public class AuthApiTest {
private final AuthApi api = new AuthApi();
@@ -54,14 +52,8 @@ public void testAuthHttpBasicTest() throws ApiException {
*/
@Test
public void testAuthHttpBearerTest() throws ApiException {
- String response;
- api.getApiClient().setBearerToken("fixed token");
- response = api.testAuthHttpBearer();
- Assertions.assertTrue(response.contains("Authorization: Bearer fixed token"));
-
- api.getApiClient().setBearerToken(() -> "dynamic token");
- response = api.testAuthHttpBearer();
- Assertions.assertTrue(response.contains("Authorization: Bearer dynamic token"));
+ String response = api.testAuthHttpBearer();
+ // TODO: test validations
}
}
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/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/BodyApiTest.java b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/BodyApiTest.java
index a8d0edaa3f26..182989d0c6d0 100644
--- a/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/BodyApiTest.java
+++ b/samples/client/echo_api/java/resteasy/src/test/java/org/openapitools/client/api/BodyApiTest.java
@@ -13,21 +13,26 @@
package org.openapitools.client.api;
-import org.junit.jupiter.api.Test;
import org.openapitools.client.ApiException;
-import org.openapitools.client.api.EchoServerResponseParser;
-
import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
+import org.openapitools.client.model.Pet;
+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 static org.assertj.core.api.Assertions.assertThat;
-import static org.junit.jupiter.api.Assertions.assertTrue;
+import java.time.LocalDate;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
/**
* API tests for BodyApi
*/
-public class BodyApiTest {
+class BodyApiTest {
private final BodyApi api = new BodyApi();
@@ -40,7 +45,7 @@ public class BodyApiTest {
* if the Api call fails
*/
@Test
- public void testBinaryGifTest() throws ApiException {
+ void testBinaryGifTest() throws ApiException {
//
//File response = api.testBinaryGif();
@@ -55,7 +60,7 @@ public void testBinaryGifTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
+ void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
//
//File body = null;
//
@@ -72,7 +77,7 @@ public void testBodyApplicationOctetstreamBinaryTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
+ void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
//
//List files = null;
//
@@ -80,38 +85,23 @@ public void testBodyMultipartFormdataArrayOfBinaryTest() throws ApiException {
// TODO: test validations
}
-
/**
* Test single binary in multipart mime
*
- * @see
- * #17367
+ * Test single binary in multipart mime
+ *
+ * @throws ApiException
+ * if the Api call fails
*/
@Test
- public void testBodyMultipartFormdataSingleBinaryTest()
- throws ApiException, IOException {
- File myFile = new File("test.txt");
- if (!myFile.exists()){
- assertTrue(myFile.createNewFile());
- }
- FileWriter fw = new FileWriter(myFile);
- fw.write("testing only");
- fw.close();
- myFile.deleteOnExit();
-
- String response =
- api.testBodyMultipartFormdataSingleBinary(myFile);
-
- EchoServerResponseParser parser =
- new EchoServerResponseParser(response);
-
- String contentDisposition = parser.headers.get("Content-Disposition");
-
- assertThat(contentDisposition).contains(
- "form-data; name=\"my-file\"; filename=\"test.txt\""
- );
- }
+ void testBodyMultipartFormdataSingleBinaryTest() throws ApiException {
+ //
+ //File myFile = null;
+ //
+ //String response = api.testBodyMultipartFormdataSingleBinary(myFile);
+ // TODO: test validations
+ }
/**
* Test body parameter(s)
*
@@ -121,7 +111,7 @@ public void testBodyMultipartFormdataSingleBinaryTest()
* if the Api call fails
*/
@Test
- public void testEchoBodyAllOfPetTest() throws ApiException {
+ void testEchoBodyAllOfPetTest() throws ApiException {
//
//Pet pet = null;
//
@@ -138,7 +128,7 @@ public void testEchoBodyAllOfPetTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
+ void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
//
//Object body = null;
//
@@ -155,7 +145,7 @@ public void testEchoBodyFreeFormObjectResponseStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testEchoBodyPetTest() throws ApiException {
+ void testEchoBodyPetTest() throws ApiException {
//
//Pet pet = null;
//
@@ -172,7 +162,7 @@ public void testEchoBodyPetTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testEchoBodyPetResponseStringTest() throws ApiException {
+ void testEchoBodyPetResponseStringTest() throws ApiException {
//
//Pet pet = null;
//
@@ -180,6 +170,23 @@ public void testEchoBodyPetResponseStringTest() throws ApiException {
// TODO: test validations
}
+ /**
+ * Test string enum response body
+ *
+ * Test string enum response body
+ *
+ * @throws ApiException
+ * if the Api call fails
+ */
+ @Test
+ void testEchoBodyStringEnumTest() throws ApiException {
+ //
+ //String body = null;
+ //
+ //StringEnumRef response = api.testEchoBodyStringEnum(body);
+
+ // TODO: test validations
+ }
/**
* Test empty json (request body)
*
@@ -189,7 +196,7 @@ public void testEchoBodyPetResponseStringTest() throws ApiException {
* if the Api call fails
*/
@Test
- public void testEchoBodyTagResponseStringTest() throws ApiException {
+ void testEchoBodyTagResponseStringTest() throws ApiException {
//
//Tag tag = null;
//
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/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..66cb9a7700b5 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,9 @@
package org.openapitools.client.api;
-import org.junit.Assert;
-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,7 +27,8 @@
/**
* API tests for AuthApi
*/
-public class AuthApiTest {
+@Disabled
+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,15 @@ public void testAuthHttpBasicTest() {
*
* To test HTTP bearer authentication
*
- * @throws ApiException
+ * @throws RestClientException
* if the Api call fails
*/
@Test
- public void testAuthHttpBearerTest() {
- String response;
- api.getApiClient().setBearerToken("fixed token");
- response = api.testAuthHttpBearer();
- Assert.assertTrue(response.contains("Authorization: Bearer fixed token"));
+ void testAuthHttpBearerTest() {
- api.getApiClient().setBearerToken(() -> "dynamic token");
- response = api.testAuthHttpBearer();
- Assert.assertTrue(response.contains("Authorization: Bearer dynamic token"));
+ String response = api.testAuthHttpBearer();
+
+ // TODO: test validations
}
}
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/php-nextgen-streaming/tests/Api/AuthApiTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Api/AuthApiTest.php
index ae29180cc953..247cf96ef2ec 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Api/AuthApiTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Api/AuthApiTest.php
@@ -16,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Api/BodyApiTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Api/BodyApiTest.php
index fc745ade8311..cea56c6a6814 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Api/BodyApiTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Api/BodyApiTest.php
@@ -16,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Api/FormApiTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Api/FormApiTest.php
index 2834c594d23a..08fcc054958b 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Api/FormApiTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Api/FormApiTest.php
@@ -16,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Api/HeaderApiTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Api/HeaderApiTest.php
index e2cc1b1b7bf4..e806c0ad20a4 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Api/HeaderApiTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Api/HeaderApiTest.php
@@ -16,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Api/PathApiTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Api/PathApiTest.php
index 852e2ff9430e..f9c7dcc8e123 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Api/PathApiTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Api/PathApiTest.php
@@ -16,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Api/QueryApiTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Api/QueryApiTest.php
index 375cdee50b18..a5517b21072a 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Api/QueryApiTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Api/QueryApiTest.php
@@ -16,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/BirdTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/BirdTest.php
index 0fcf3e468a53..087f947c09f9 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/BirdTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/BirdTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/CategoryTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/CategoryTest.php
index f13294a7646e..e532c316fa29 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/CategoryTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/CategoryTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/DataQueryTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/DataQueryTest.php
index a364ee144e2a..e50fd5b9255b 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/DataQueryTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/DataQueryTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/DefaultValueTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/DefaultValueTest.php
index 52488c4b1c16..f380671404d6 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/DefaultValueTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/DefaultValueTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/NumberPropertiesOnlyTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/NumberPropertiesOnlyTest.php
index c383b0fa0a1e..a1d3e9e8ecce 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/NumberPropertiesOnlyTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/NumberPropertiesOnlyTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/PetTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/PetTest.php
index ca1792c029f2..754487de7926 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/PetTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/PetTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/QueryTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/QueryTest.php
index eca96fc35630..58c210fb6032 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/QueryTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/QueryTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/StringEnumRefTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/StringEnumRefTest.php
index 1effa1584181..11342c34bd5c 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/StringEnumRefTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/StringEnumRefTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TagTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TagTest.php
index 87dfc5185caa..86678dfe9b5e 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TagTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TagTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestFormObjectMultipartRequestMarkerTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestFormObjectMultipartRequestMarkerTest.php
index 5a785f539031..1bb03b3d112a 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestFormObjectMultipartRequestMarkerTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestFormObjectMultipartRequestMarkerTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php
index 45fd06acab2b..b66353373551 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php
index 41f69e3c1b1d..267b09d889f5 100644
--- a/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php
+++ b/samples/client/echo_api/php-nextgen-streaming/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.8.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen/tests/Api/AuthApiTest.php b/samples/client/echo_api/php-nextgen/tests/Api/AuthApiTest.php
index e699f0c08ceb..247cf96ef2ec 100644
--- a/samples/client/echo_api/php-nextgen/tests/Api/AuthApiTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Api/AuthApiTest.php
@@ -3,7 +3,6 @@
* AuthApiTest
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -17,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -28,15 +27,14 @@
namespace OpenAPI\Client\Test\Api;
-use \OpenAPI\Client\Configuration;
-use \OpenAPI\Client\ApiException;
-use \OpenAPI\Client\ObjectSerializer;
+use OpenAPI\Client\Configuration;
+use OpenAPI\Client\ApiException;
+use OpenAPI\Client\ObjectSerializer;
use PHPUnit\Framework\TestCase;
/**
* AuthApiTest Class Doc Comment
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -83,4 +81,16 @@ public function testTestAuthHttpBasic()
// TODO: implement
self::markTestIncomplete('Not implemented');
}
+
+ /**
+ * Test case for testAuthHttpBearer
+ *
+ * To test HTTP bearer authentication.
+ *
+ */
+ public function testTestAuthHttpBearer()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
}
diff --git a/samples/client/echo_api/php-nextgen/tests/Api/BodyApiTest.php b/samples/client/echo_api/php-nextgen/tests/Api/BodyApiTest.php
index 8c91c94c380c..cea56c6a6814 100644
--- a/samples/client/echo_api/php-nextgen/tests/Api/BodyApiTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Api/BodyApiTest.php
@@ -3,7 +3,6 @@
* BodyApiTest
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -17,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -28,15 +27,14 @@
namespace OpenAPI\Client\Test\Api;
-use \OpenAPI\Client\Configuration;
-use \OpenAPI\Client\ApiException;
-use \OpenAPI\Client\ObjectSerializer;
+use OpenAPI\Client\Configuration;
+use OpenAPI\Client\ApiException;
+use OpenAPI\Client\ObjectSerializer;
use PHPUnit\Framework\TestCase;
/**
* BodyApiTest Class Doc Comment
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -108,6 +106,30 @@ public function testTestBodyMultipartFormdataArrayOfBinary()
self::markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for testBodyMultipartFormdataSingleBinary
+ *
+ * Test single binary in multipart mime.
+ *
+ */
+ public function testTestBodyMultipartFormdataSingleBinary()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for testEchoBodyAllOfPet
+ *
+ * Test body parameter(s).
+ *
+ */
+ public function testTestEchoBodyAllOfPet()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for testEchoBodyFreeFormObjectResponseString
*
@@ -144,6 +166,18 @@ public function testTestEchoBodyPetResponseString()
self::markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for testEchoBodyStringEnum
+ *
+ * Test string enum response body.
+ *
+ */
+ public function testTestEchoBodyStringEnum()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for testEchoBodyTagResponseString
*
diff --git a/samples/client/echo_api/php-nextgen/tests/Api/FormApiTest.php b/samples/client/echo_api/php-nextgen/tests/Api/FormApiTest.php
index a5443fde5fc5..08fcc054958b 100644
--- a/samples/client/echo_api/php-nextgen/tests/Api/FormApiTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Api/FormApiTest.php
@@ -3,7 +3,6 @@
* FormApiTest
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -17,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -28,15 +27,14 @@
namespace OpenAPI\Client\Test\Api;
-use \OpenAPI\Client\Configuration;
-use \OpenAPI\Client\ApiException;
-use \OpenAPI\Client\ObjectSerializer;
+use OpenAPI\Client\Configuration;
+use OpenAPI\Client\ApiException;
+use OpenAPI\Client\ObjectSerializer;
use PHPUnit\Framework\TestCase;
/**
* FormApiTest Class Doc Comment
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -84,6 +82,18 @@ public function testTestFormIntegerBooleanString()
self::markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for testFormObjectMultipart
+ *
+ * Test form parameter(s) for multipart schema.
+ *
+ */
+ public function testTestFormObjectMultipart()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for testFormOneof
*
diff --git a/samples/client/echo_api/php-nextgen/tests/Api/HeaderApiTest.php b/samples/client/echo_api/php-nextgen/tests/Api/HeaderApiTest.php
index 99851ce00b82..e806c0ad20a4 100644
--- a/samples/client/echo_api/php-nextgen/tests/Api/HeaderApiTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Api/HeaderApiTest.php
@@ -3,7 +3,6 @@
* HeaderApiTest
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -17,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -28,15 +27,14 @@
namespace OpenAPI\Client\Test\Api;
-use \OpenAPI\Client\Configuration;
-use \OpenAPI\Client\ApiException;
-use \OpenAPI\Client\ObjectSerializer;
+use OpenAPI\Client\Configuration;
+use OpenAPI\Client\ApiException;
+use OpenAPI\Client\ObjectSerializer;
use PHPUnit\Framework\TestCase;
/**
* HeaderApiTest Class Doc Comment
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -73,12 +71,12 @@ public static function tearDownAfterClass(): void
}
/**
- * Test case for testHeaderIntegerBooleanString
+ * Test case for testHeaderIntegerBooleanStringEnums
*
* Test header parameter(s).
*
*/
- public function testTestHeaderIntegerBooleanString()
+ public function testTestHeaderIntegerBooleanStringEnums()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
diff --git a/samples/client/echo_api/php-nextgen/tests/Api/PathApiTest.php b/samples/client/echo_api/php-nextgen/tests/Api/PathApiTest.php
index d4043ae9f5bf..f9c7dcc8e123 100644
--- a/samples/client/echo_api/php-nextgen/tests/Api/PathApiTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Api/PathApiTest.php
@@ -3,7 +3,6 @@
* PathApiTest
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -17,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -28,15 +27,14 @@
namespace OpenAPI\Client\Test\Api;
-use \OpenAPI\Client\Configuration;
-use \OpenAPI\Client\ApiException;
-use \OpenAPI\Client\ObjectSerializer;
+use OpenAPI\Client\Configuration;
+use OpenAPI\Client\ApiException;
+use OpenAPI\Client\ObjectSerializer;
use PHPUnit\Framework\TestCase;
/**
* PathApiTest Class Doc Comment
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -73,12 +71,12 @@ public static function tearDownAfterClass(): void
}
/**
- * Test case for testsPathStringPathStringIntegerPathInteger
+ * Test case for testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
*
* Test path parameter(s).
*
*/
- public function testTestsPathStringPathStringIntegerPathInteger()
+ public function testTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
diff --git a/samples/client/echo_api/php-nextgen/tests/Api/QueryApiTest.php b/samples/client/echo_api/php-nextgen/tests/Api/QueryApiTest.php
index caee658915d6..a5517b21072a 100644
--- a/samples/client/echo_api/php-nextgen/tests/Api/QueryApiTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Api/QueryApiTest.php
@@ -3,7 +3,6 @@
* QueryApiTest
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -17,7 +16,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -28,15 +27,14 @@
namespace OpenAPI\Client\Test\Api;
-use \OpenAPI\Client\Configuration;
-use \OpenAPI\Client\ApiException;
-use \OpenAPI\Client\ObjectSerializer;
+use OpenAPI\Client\Configuration;
+use OpenAPI\Client\ApiException;
+use OpenAPI\Client\ObjectSerializer;
use PHPUnit\Framework\TestCase;
/**
* QueryApiTest Class Doc Comment
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -132,6 +130,30 @@ public function testTestQueryStyleDeepObjectExplodeTrueObjectAllOf()
self::markTestIncomplete('Not implemented');
}
+ /**
+ * Test case for testQueryStyleFormExplodeFalseArrayInteger
+ *
+ * Test query parameter(s).
+ *
+ */
+ public function testTestQueryStyleFormExplodeFalseArrayInteger()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
+
+ /**
+ * Test case for testQueryStyleFormExplodeFalseArrayString
+ *
+ * Test query parameter(s).
+ *
+ */
+ public function testTestQueryStyleFormExplodeFalseArrayString()
+ {
+ // TODO: implement
+ self::markTestIncomplete('Not implemented');
+ }
+
/**
* Test case for testQueryStyleFormExplodeTrueArrayString
*
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/BirdTest.php b/samples/client/echo_api/php-nextgen/tests/Model/BirdTest.php
index b2a684f90d73..087f947c09f9 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/BirdTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/BirdTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* BirdTest Class Doc Comment
*
- * @category Class
* @description Bird
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/CategoryTest.php b/samples/client/echo_api/php-nextgen/tests/Model/CategoryTest.php
index edfa0b8b1580..e532c316fa29 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/CategoryTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/CategoryTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* CategoryTest Class Doc Comment
*
- * @category Class
* @description Category
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/DataQueryTest.php b/samples/client/echo_api/php-nextgen/tests/Model/DataQueryTest.php
index 68cf3d2b0a19..e50fd5b9255b 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/DataQueryTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/DataQueryTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* DataQueryTest Class Doc Comment
*
- * @category Class
* @description DataQuery
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/DefaultValueTest.php b/samples/client/echo_api/php-nextgen/tests/Model/DefaultValueTest.php
index 9c37428edded..f380671404d6 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/DefaultValueTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/DefaultValueTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* DefaultValueTest Class Doc Comment
*
- * @category Class
* @description to test the default value of properties
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/NumberPropertiesOnlyTest.php b/samples/client/echo_api/php-nextgen/tests/Model/NumberPropertiesOnlyTest.php
index 13b2f2b0d6f0..a1d3e9e8ecce 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/NumberPropertiesOnlyTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/NumberPropertiesOnlyTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* NumberPropertiesOnlyTest Class Doc Comment
*
- * @category Class
* @description NumberPropertiesOnly
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/PetTest.php b/samples/client/echo_api/php-nextgen/tests/Model/PetTest.php
index f7ff28534f5f..754487de7926 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/PetTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/PetTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* PetTest Class Doc Comment
*
- * @category Class
* @description Pet
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/QueryTest.php b/samples/client/echo_api/php-nextgen/tests/Model/QueryTest.php
index a01c98c40a3a..58c210fb6032 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/QueryTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/QueryTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* QueryTest Class Doc Comment
*
- * @category Class
* @description Query
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/StringEnumRefTest.php b/samples/client/echo_api/php-nextgen/tests/Model/StringEnumRefTest.php
index 64bde9a7817b..11342c34bd5c 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/StringEnumRefTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/StringEnumRefTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* StringEnumRefTest Class Doc Comment
*
- * @category Class
* @description StringEnumRef
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/TagTest.php b/samples/client/echo_api/php-nextgen/tests/Model/TagTest.php
index 0e9a9cbca7e5..86678dfe9b5e 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/TagTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/TagTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* TagTest Class Doc Comment
*
- * @category Class
* @description Tag
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/TestFormObjectMultipartRequestMarkerTest.php b/samples/client/echo_api/php-nextgen/tests/Model/TestFormObjectMultipartRequestMarkerTest.php
index 30eb64c636a8..1bb03b3d112a 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/TestFormObjectMultipartRequestMarkerTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/TestFormObjectMultipartRequestMarkerTest.php
@@ -17,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * Generator version: 7.5.0-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php b/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php
index 04f2508bdda5..b66353373551 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameterTest Class Doc Comment
*
- * @category Class
* @description TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php b/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php
index aea9a6b2729f..267b09d889f5 100644
--- a/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php
+++ b/samples/client/echo_api/php-nextgen/tests/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest.php
@@ -4,7 +4,6 @@
*
* PHP version 8.1
*
- * @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
@@ -18,7 +17,7 @@
* The version of the OpenAPI document: 0.1.0
* Contact: team@openapitools.org
* @generated Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 7.0.1-SNAPSHOT
+ * Generator version: 7.11.0-SNAPSHOT
*/
/**
@@ -34,7 +33,6 @@
/**
* TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest Class Doc Comment
*
- * @category Class
* @description TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
* @package OpenAPI\Client
* @author OpenAPI Generator team
diff --git a/samples/client/echo_api/powershell/tests/Api/AuthApi.Tests.ps1 b/samples/client/echo_api/powershell/tests/Api/AuthApi.Tests.ps1
index fb4b6a144d8a..8e6af427344b 100644
--- a/samples/client/echo_api/powershell/tests/Api/AuthApi.Tests.ps1
+++ b/samples/client/echo_api/powershell/tests/Api/AuthApi.Tests.ps1
@@ -15,4 +15,12 @@ Describe -tag 'PSOpenAPITools' -name 'AuthApi' {
}
}
+ Context 'Test-AuthHttpBearer' {
+ It 'Test Test-AuthHttpBearer' {
+ #$TestResult = Test-AuthHttpBearer
+ #$TestResult | Should -BeOfType TODO
+ #$TestResult.property | Should -Be 0
+ }
+ }
+
}
diff --git a/samples/client/echo_api/powershell/tests/Api/BodyApi.Tests.ps1 b/samples/client/echo_api/powershell/tests/Api/BodyApi.Tests.ps1
index 4829c660719c..8b57e6e28b2c 100644
--- a/samples/client/echo_api/powershell/tests/Api/BodyApi.Tests.ps1
+++ b/samples/client/echo_api/powershell/tests/Api/BodyApi.Tests.ps1
@@ -31,6 +31,14 @@ Describe -tag 'PSOpenAPITools' -name 'BodyApi' {
}
}
+ Context 'Test-BodyMultipartFormdataSingleBinary' {
+ It 'Test Test-BodyMultipartFormdataSingleBinary' {
+ #$TestResult = Test-BodyMultipartFormdataSingleBinary -MyFile "TEST_VALUE"
+ #$TestResult | Should -BeOfType TODO
+ #$TestResult.property | Should -Be 0
+ }
+ }
+
Context 'Test-EchoBodyFreeFormObjectResponseString' {
It 'Test Test-EchoBodyFreeFormObjectResponseString' {
#$TestResult = Test-EchoBodyFreeFormObjectResponseString -Body "TEST_VALUE"
@@ -71,4 +79,12 @@ Describe -tag 'PSOpenAPITools' -name 'BodyApi' {
}
}
+ Context 'Test-EchoBodyStringEnum' {
+ It 'Test Test-EchoBodyStringEnum' {
+ #$TestResult = Test-EchoBodyStringEnum -Body "TEST_VALUE"
+ #$TestResult | Should -BeOfType TODO
+ #$TestResult.property | Should -Be 0
+ }
+ }
+
}
diff --git a/samples/client/echo_api/powershell/tests/Api/FormApi.Tests.ps1 b/samples/client/echo_api/powershell/tests/Api/FormApi.Tests.ps1
index db830207c63e..8374b3b9dd72 100644
--- a/samples/client/echo_api/powershell/tests/Api/FormApi.Tests.ps1
+++ b/samples/client/echo_api/powershell/tests/Api/FormApi.Tests.ps1
@@ -15,6 +15,14 @@ Describe -tag 'PSOpenAPITools' -name 'FormApi' {
}
}
+ Context 'Test-FormObjectMultipart' {
+ It 'Test Test-FormObjectMultipart' {
+ #$TestResult = Test-FormObjectMultipart -Marker "TEST_VALUE"
+ #$TestResult | Should -BeOfType TODO
+ #$TestResult.property | Should -Be 0
+ }
+ }
+
Context 'Test-FormOneof' {
It 'Test Test-FormOneof' {
#$TestResult = Test-FormOneof -Form1 "TEST_VALUE" -Form2 "TEST_VALUE" -Form3 "TEST_VALUE" -Form4 "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE"
diff --git a/samples/client/echo_api/powershell/tests/Api/QueryApi.Tests.ps1 b/samples/client/echo_api/powershell/tests/Api/QueryApi.Tests.ps1
index ebbdd643d0be..a7b543136eb6 100644
--- a/samples/client/echo_api/powershell/tests/Api/QueryApi.Tests.ps1
+++ b/samples/client/echo_api/powershell/tests/Api/QueryApi.Tests.ps1
@@ -47,6 +47,22 @@ Describe -tag 'PSOpenAPITools' -name 'QueryApi' {
}
}
+ Context 'Test-QueryStyleFormExplodeFalseArrayInteger' {
+ It 'Test Test-QueryStyleFormExplodeFalseArrayInteger' {
+ #$TestResult = Test-QueryStyleFormExplodeFalseArrayInteger -QueryObject "TEST_VALUE"
+ #$TestResult | Should -BeOfType TODO
+ #$TestResult.property | Should -Be 0
+ }
+ }
+
+ Context 'Test-QueryStyleFormExplodeFalseArrayString' {
+ It 'Test Test-QueryStyleFormExplodeFalseArrayString' {
+ #$TestResult = Test-QueryStyleFormExplodeFalseArrayString -QueryObject "TEST_VALUE"
+ #$TestResult | Should -BeOfType TODO
+ #$TestResult.property | Should -Be 0
+ }
+ }
+
Context 'Test-QueryStyleFormExplodeTrueArrayString' {
It 'Test Test-QueryStyleFormExplodeTrueArrayString' {
#$TestResult = Test-QueryStyleFormExplodeTrueArrayString -QueryObject "TEST_VALUE"
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_auth_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_auth_api.py
index bfd827933bd6..47756f746042 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_auth_api.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_auth_api.py
@@ -15,14 +15,14 @@
import unittest
-from openapi_client.api.auth_api import AuthApi # noqa: E501
+from openapi_client.api.auth_api import AuthApi
class TestAuthApi(unittest.TestCase):
"""AuthApi unit test stubs"""
def setUp(self) -> None:
- self.api = AuthApi() # noqa: E501
+ self.api = AuthApi()
def tearDown(self) -> None:
pass
@@ -30,7 +30,14 @@ def tearDown(self) -> None:
def test_test_auth_http_basic(self) -> None:
"""Test case for test_auth_http_basic
- To test HTTP basic authentication # noqa: E501
+ To test HTTP basic authentication
+ """
+ pass
+
+ def test_test_auth_http_bearer(self) -> None:
+ """Test case for test_auth_http_bearer
+
+ To test HTTP bearer authentication
"""
pass
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_bird.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_bird.py
index d95a104d7147..1a2289c0d472 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_bird.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_bird.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.bird import Bird # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.bird import Bird
class TestBird(unittest.TestCase):
"""Bird unit test stubs"""
@@ -29,20 +26,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Bird:
"""Test Bird
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Bird`
"""
- model = openapi_client.models.bird.Bird() # noqa: E501
- if include_optional :
+ model = Bird()
+ if include_optional:
return Bird(
- size = '',
+ size = '',
color = ''
)
- else :
+ else:
return Bird(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_body_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_body_api.py
index e5e24ace8102..f9b7917ee006 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_body_api.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_body_api.py
@@ -3,36 +3,97 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.body_api import BodyApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.body_api import BodyApi
class TestBodyApi(unittest.TestCase):
"""BodyApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.body_api.BodyApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = BodyApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_test_binary_gif(self) -> None:
+ """Test case for test_binary_gif
+
+ Test binary (gif) response body
+ """
+ pass
+
+ def test_test_body_application_octetstream_binary(self) -> None:
+ """Test case for test_body_application_octetstream_binary
+
+ Test body parameter(s)
+ """
+ pass
+
+ def test_test_body_multipart_formdata_array_of_binary(self) -> None:
+ """Test case for test_body_multipart_formdata_array_of_binary
+
+ Test array of binary in multipart mime
+ """
+ pass
+
+ def test_test_body_multipart_formdata_single_binary(self) -> None:
+ """Test case for test_body_multipart_formdata_single_binary
+
+ Test single binary in multipart mime
+ """
+ pass
+
+ def test_test_echo_body_all_of_pet(self) -> None:
+ """Test case for test_echo_body_all_of_pet
+
+ Test body parameter(s)
+ """
+ pass
+
+ def test_test_echo_body_free_form_object_response_string(self) -> None:
+ """Test case for test_echo_body_free_form_object_response_string
- def tearDown(self):
+ Test free form object
+ """
pass
- def test_test_echo_body_pet(self):
+ def test_test_echo_body_pet(self) -> None:
"""Test case for test_echo_body_pet
- Test body parameter(s) # noqa: E501
+ Test body parameter(s)
+ """
+ pass
+
+ def test_test_echo_body_pet_response_string(self) -> None:
+ """Test case for test_echo_body_pet_response_string
+
+ Test empty response body
+ """
+ pass
+
+ def test_test_echo_body_string_enum(self) -> None:
+ """Test case for test_echo_body_string_enum
+
+ Test string enum response body
+ """
+ pass
+
+ def test_test_echo_body_tag_response_string(self) -> None:
+ """Test case for test_echo_body_tag_response_string
+
+ Test empty json (request body)
"""
pass
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_category.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_category.py
index b5771c572d33..12dfe19f63ac 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_category.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_category.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.category import Category # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.category import Category
class TestCategory(unittest.TestCase):
"""Category unit test stubs"""
@@ -29,20 +26,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Category:
"""Test Category
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Category`
"""
- model = openapi_client.models.category.Category() # noqa: E501
- if include_optional :
+ model = Category()
+ if include_optional:
return Category(
- id = 1,
+ id = 1,
name = 'Dogs'
)
- else :
+ else:
return Category(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_data_query.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_data_query.py
index f33d8daabae1..fcd7c9566a37 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_data_query.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_data_query.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.data_query import DataQuery # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.data_query import DataQuery
class TestDataQuery(unittest.TestCase):
"""DataQuery unit test stubs"""
@@ -29,21 +26,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> DataQuery:
"""Test DataQuery
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DataQuery`
"""
- model = openapi_client.models.data_query.DataQuery() # noqa: E501
- if include_optional :
+ model = DataQuery()
+ if include_optional:
return DataQuery(
- suffix = '',
- text = 'Some text',
+ suffix = '',
+ text = 'Some text',
var_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
)
- else :
+ else:
return DataQuery(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_default_value.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_default_value.py
index 6e5f35fd2eff..4bdc49448868 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_default_value.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_default_value.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.default_value import DefaultValue # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.default_value import DefaultValue
class TestDefaultValue(unittest.TestCase):
"""DefaultValue unit test stubs"""
@@ -29,34 +26,40 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> DefaultValue:
"""Test DefaultValue
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DefaultValue`
"""
- model = openapi_client.models.default_value.DefaultValue() # noqa: E501
- if include_optional :
+ model = DefaultValue()
+ if include_optional:
return DefaultValue(
+ array_string_enum_ref_default = [
+ 'success'
+ ],
array_string_enum_default = [
'success'
- ],
+ ],
array_string_default = [
''
- ],
+ ],
array_integer_default = [
56
- ],
+ ],
array_string = [
''
- ],
+ ],
array_string_nullable = [
''
- ],
+ ],
+ array_string_extension_nullable = [
+ ''
+ ],
string_nullable = ''
)
- else :
+ else:
return DefaultValue(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_form_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_form_api.py
index 6422432c79ba..fbd7ed641e6a 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_form_api.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_form_api.py
@@ -3,36 +3,48 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.form_api import FormApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.form_api import FormApi
class TestFormApi(unittest.TestCase):
"""FormApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.form_api.FormApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = FormApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_test_form_integer_boolean_string(self):
+ def test_test_form_integer_boolean_string(self) -> None:
"""Test case for test_form_integer_boolean_string
- Test form parameter(s) # noqa: E501
+ Test form parameter(s)
+ """
+ pass
+
+ def test_test_form_object_multipart(self) -> None:
+ """Test case for test_form_object_multipart
+
+ Test form parameter(s) for multipart schema
+ """
+ pass
+
+ def test_test_form_oneof(self) -> None:
+ """Test case for test_form_oneof
+
+ Test form parameter(s) for oneOf schema
"""
pass
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_header_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_header_api.py
index c1b7ed44e8f8..68670ebc567f 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_header_api.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_header_api.py
@@ -3,36 +3,34 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.header_api import HeaderApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.header_api import HeaderApi
class TestHeaderApi(unittest.TestCase):
"""HeaderApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.header_api.HeaderApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = HeaderApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_test_header_integer_boolean_string(self):
- """Test case for test_header_integer_boolean_string
+ def test_test_header_integer_boolean_string_enums(self) -> None:
+ """Test case for test_header_integer_boolean_string_enums
- Test header parameter(s) # noqa: E501
+ Test header parameter(s)
"""
pass
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_number_properties_only.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_number_properties_only.py
index 68aa757f9df9..682503a0cbf7 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_number_properties_only.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_number_properties_only.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
-"""
+""" # noqa: E501
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.number_properties_only import NumberPropertiesOnly # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.number_properties_only import NumberPropertiesOnly
class TestNumberPropertiesOnly(unittest.TestCase):
"""NumberPropertiesOnly unit test stubs"""
@@ -29,21 +26,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> NumberPropertiesOnly:
"""Test NumberPropertiesOnly
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `NumberPropertiesOnly`
"""
- model = openapi_client.models.number_properties_only.NumberPropertiesOnly() # noqa: E501
- if include_optional :
+ model = NumberPropertiesOnly()
+ if include_optional:
return NumberPropertiesOnly(
- number = 1.337,
- float = 1.337,
- double = ''
+ number = 1.337,
+ var_float = 1.337,
+ double = 0.8
)
- else :
+ else:
return NumberPropertiesOnly(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_path_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_path_api.py
index 4d8e71f7ce6a..faabe2102426 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_path_api.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_path_api.py
@@ -3,36 +3,34 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.path_api import PathApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.path_api import PathApi
class TestPathApi(unittest.TestCase):
"""PathApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.path_api.PathApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = PathApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_tests_path_string_path_string_integer_path_integer(self):
- """Test case for tests_path_string_path_string_integer_path_integer
+ def test_tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(self) -> None:
+ """Test case for tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
- Test path parameter(s) # noqa: E501
+ Test path parameter(s)
"""
pass
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_pet.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_pet.py
index e02d8615bc08..21965554b265 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_pet.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_pet.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.pet import Pet # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.pet import Pet
class TestPet(unittest.TestCase):
"""Pet unit test stubs"""
@@ -29,32 +26,32 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Pet:
"""Test Pet
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Pet`
"""
- model = openapi_client.models.pet.Pet() # noqa: E501
- if include_optional :
+ model = Pet()
+ if include_optional:
return Pet(
- id = 10,
- name = 'doggie',
+ id = 10,
+ name = 'doggie',
category = openapi_client.models.category.Category(
id = 1,
- name = 'Dogs', ),
+ name = 'Dogs', ),
photo_urls = [
''
- ],
+ ],
tags = [
openapi_client.models.tag.Tag(
id = 56,
name = '', )
- ],
+ ],
status = 'available'
)
- else :
+ else:
return Pet(
name = 'doggie',
photo_urls = [
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query.py
index a7652e1ae59c..c3d033ef0b51 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.query import Query # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.query import Query
class TestQuery(unittest.TestCase):
"""Query unit test stubs"""
@@ -29,22 +26,22 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Query:
"""Test Query
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Query`
"""
- model = openapi_client.models.query.Query() # noqa: E501
- if include_optional :
+ model = Query()
+ if include_optional:
return Query(
- id = 56,
+ id = 56,
outcomes = [
'SUCCESS'
]
)
- else :
+ else:
return Query(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query_api.py
index 829a635d99b9..e2e6c2dac461 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query_api.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query_api.py
@@ -3,50 +3,97 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.query_api import QueryApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.query_api import QueryApi
class TestQueryApi(unittest.TestCase):
"""QueryApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.query_api.QueryApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = QueryApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_test_enum_ref_string(self) -> None:
+ """Test case for test_enum_ref_string
- def tearDown(self):
+ Test query parameter(s)
+ """
pass
- def test_test_query_integer_boolean_string(self):
+ def test_test_query_datetime_date_string(self) -> None:
+ """Test case for test_query_datetime_date_string
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_integer_boolean_string(self) -> None:
"""Test case for test_query_integer_boolean_string
- Test query parameter(s) # noqa: E501
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_deep_object_explode_true_object(self) -> None:
+ """Test case for test_query_style_deep_object_explode_true_object
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_deep_object_explode_true_object_all_of(self) -> None:
+ """Test case for test_query_style_deep_object_explode_true_object_all_of
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_form_explode_false_array_integer(self) -> None:
+ """Test case for test_query_style_form_explode_false_array_integer
+
+ Test query parameter(s)
"""
pass
- def test_test_query_style_form_explode_true_array_string(self):
+ def test_test_query_style_form_explode_false_array_string(self) -> None:
+ """Test case for test_query_style_form_explode_false_array_string
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_form_explode_true_array_string(self) -> None:
"""Test case for test_query_style_form_explode_true_array_string
- Test query parameter(s) # noqa: E501
+ Test query parameter(s)
"""
pass
- def test_test_query_style_form_explode_true_object(self):
+ def test_test_query_style_form_explode_true_object(self) -> None:
"""Test case for test_query_style_form_explode_true_object
- Test query parameter(s) # noqa: E501
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_form_explode_true_object_all_of(self) -> None:
+ """Test case for test_query_style_form_explode_true_object_all_of
+
+ Test query parameter(s)
"""
pass
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_string_enum_ref.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_string_enum_ref.py
index 60a3f0781b18..ece5b369cc22 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_string_enum_ref.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_string_enum_ref.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.string_enum_ref import StringEnumRef # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.string_enum_ref import StringEnumRef
class TestStringEnumRef(unittest.TestCase):
"""StringEnumRef unit test stubs"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_tag.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_tag.py
index 8e48170ab6ae..7e235ac8b95b 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_tag.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_tag.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.tag import Tag # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.tag import Tag
class TestTag(unittest.TestCase):
"""Tag unit test stubs"""
@@ -29,20 +26,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Tag:
"""Test Tag
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Tag`
"""
- model = openapi_client.models.tag.Tag() # noqa: E501
- if include_optional :
+ model = Tag()
+ if include_optional:
return Tag(
- id = 56,
+ id = 56,
name = ''
)
- else :
+ else:
return Tag(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_form_object_multipart_request_marker.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_form_object_multipart_request_marker.py
index d49974286060..97f5600a234d 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_form_object_multipart_request_marker.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_form_object_multipart_request_marker.py
@@ -28,7 +28,7 @@ def tearDown(self):
def make_instance(self, include_optional) -> TestFormObjectMultipartRequestMarker:
"""Test TestFormObjectMultipartRequestMarker
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestFormObjectMultipartRequestMarker`
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
index 395407345615..22731b578cc8 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter import TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter import TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
class TestTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(unittest.TestCase):
"""TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter unit test stubs"""
@@ -29,22 +26,22 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter:
"""Test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter`
"""
- model = openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() # noqa: E501
- if include_optional :
+ model = TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter()
+ if include_optional:
return TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(
- size = '',
- color = '',
- id = 1,
+ size = '',
+ color = '',
+ id = 1,
name = 'Dogs'
)
- else :
+ else:
return TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(
)
"""
diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
index 6366b5c23587..2656fbf8e027 100644
--- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
+++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
class TestTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(unittest.TestCase):
"""TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter unit test stubs"""
@@ -29,21 +26,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter:
"""Test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter`
"""
- model = openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() # noqa: E501
- if include_optional :
+ model = TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter()
+ if include_optional:
return TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(
values = [
''
]
)
- else :
+ else:
return TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_auth_api.py b/samples/client/echo_api/python-pydantic-v1/test/test_auth_api.py
index bfd827933bd6..6317a3e9f6d2 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_auth_api.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_auth_api.py
@@ -22,7 +22,7 @@ class TestAuthApi(unittest.TestCase):
"""AuthApi unit test stubs"""
def setUp(self) -> None:
- self.api = AuthApi() # noqa: E501
+ self.api = AuthApi()
def tearDown(self) -> None:
pass
@@ -34,6 +34,13 @@ def test_test_auth_http_basic(self) -> None:
"""
pass
+ def test_test_auth_http_bearer(self) -> None:
+ """Test case for test_auth_http_bearer
+
+ To test HTTP bearer authentication # noqa: E501
+ """
+ pass
+
if __name__ == '__main__':
unittest.main()
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_bird.py b/samples/client/echo_api/python-pydantic-v1/test/test_bird.py
index d95a104d7147..0ce8736bd8a6 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_bird.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_bird.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.bird import Bird # noqa: E501
-from openapi_client.rest import ApiException
class TestBird(unittest.TestCase):
"""Bird unit test stubs"""
@@ -29,20 +27,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Bird:
"""Test Bird
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Bird`
"""
- model = openapi_client.models.bird.Bird() # noqa: E501
- if include_optional :
+ model = Bird() # noqa: E501
+ if include_optional:
return Bird(
- size = '',
+ size = '',
color = ''
)
- else :
+ else:
return Bird(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_body_api.py b/samples/client/echo_api/python-pydantic-v1/test/test_body_api.py
index e5e24ace8102..54bc03763e98 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_body_api.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_body_api.py
@@ -3,39 +3,100 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
from openapi_client.api.body_api import BodyApi # noqa: E501
-from openapi_client.rest import ApiException
class TestBodyApi(unittest.TestCase):
"""BodyApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.body_api.BodyApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = BodyApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_test_binary_gif(self) -> None:
+ """Test case for test_binary_gif
+
+ Test binary (gif) response body # noqa: E501
+ """
+ pass
+
+ def test_test_body_application_octetstream_binary(self) -> None:
+ """Test case for test_body_application_octetstream_binary
+
+ Test body parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_body_multipart_formdata_array_of_binary(self) -> None:
+ """Test case for test_body_multipart_formdata_array_of_binary
+
+ Test array of binary in multipart mime # noqa: E501
+ """
+ pass
+
+ def test_test_body_multipart_formdata_single_binary(self) -> None:
+ """Test case for test_body_multipart_formdata_single_binary
+
+ Test single binary in multipart mime # noqa: E501
+ """
+ pass
+
+ def test_test_echo_body_all_of_pet(self) -> None:
+ """Test case for test_echo_body_all_of_pet
+
+ Test body parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_echo_body_free_form_object_response_string(self) -> None:
+ """Test case for test_echo_body_free_form_object_response_string
- def tearDown(self):
+ Test free form object # noqa: E501
+ """
pass
- def test_test_echo_body_pet(self):
+ def test_test_echo_body_pet(self) -> None:
"""Test case for test_echo_body_pet
Test body parameter(s) # noqa: E501
"""
pass
+ def test_test_echo_body_pet_response_string(self) -> None:
+ """Test case for test_echo_body_pet_response_string
+
+ Test empty response body # noqa: E501
+ """
+ pass
+
+ def test_test_echo_body_string_enum(self) -> None:
+ """Test case for test_echo_body_string_enum
+
+ Test string enum response body # noqa: E501
+ """
+ pass
+
+ def test_test_echo_body_tag_response_string(self) -> None:
+ """Test case for test_echo_body_tag_response_string
+
+ Test empty json (request body) # noqa: E501
+ """
+ pass
+
if __name__ == '__main__':
unittest.main()
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_category.py b/samples/client/echo_api/python-pydantic-v1/test/test_category.py
index b5771c572d33..487e50d95d5c 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_category.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_category.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.category import Category # noqa: E501
-from openapi_client.rest import ApiException
class TestCategory(unittest.TestCase):
"""Category unit test stubs"""
@@ -29,20 +27,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Category:
"""Test Category
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Category`
"""
- model = openapi_client.models.category.Category() # noqa: E501
- if include_optional :
+ model = Category() # noqa: E501
+ if include_optional:
return Category(
- id = 1,
+ id = 1,
name = 'Dogs'
)
- else :
+ else:
return Category(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_data_query.py b/samples/client/echo_api/python-pydantic-v1/test/test_data_query.py
index f33d8daabae1..5ae6bdbf8778 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_data_query.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_data_query.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.data_query import DataQuery # noqa: E501
-from openapi_client.rest import ApiException
class TestDataQuery(unittest.TestCase):
"""DataQuery unit test stubs"""
@@ -29,21 +27,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> DataQuery:
"""Test DataQuery
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DataQuery`
"""
- model = openapi_client.models.data_query.DataQuery() # noqa: E501
- if include_optional :
+ model = DataQuery() # noqa: E501
+ if include_optional:
return DataQuery(
- suffix = '',
- text = 'Some text',
+ suffix = '',
+ text = 'Some text',
var_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
)
- else :
+ else:
return DataQuery(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_default_value.py b/samples/client/echo_api/python-pydantic-v1/test/test_default_value.py
index 6e5f35fd2eff..a38f9d85c970 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_default_value.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_default_value.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.default_value import DefaultValue # noqa: E501
-from openapi_client.rest import ApiException
class TestDefaultValue(unittest.TestCase):
"""DefaultValue unit test stubs"""
@@ -29,34 +27,40 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> DefaultValue:
"""Test DefaultValue
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DefaultValue`
"""
- model = openapi_client.models.default_value.DefaultValue() # noqa: E501
- if include_optional :
+ model = DefaultValue() # noqa: E501
+ if include_optional:
return DefaultValue(
+ array_string_enum_ref_default = [
+ 'success'
+ ],
array_string_enum_default = [
'success'
- ],
+ ],
array_string_default = [
''
- ],
+ ],
array_integer_default = [
56
- ],
+ ],
array_string = [
''
- ],
+ ],
array_string_nullable = [
''
- ],
+ ],
+ array_string_extension_nullable = [
+ ''
+ ],
string_nullable = ''
)
- else :
+ else:
return DefaultValue(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_form_api.py b/samples/client/echo_api/python-pydantic-v1/test/test_form_api.py
index 6422432c79ba..1d7eebf7a62c 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_form_api.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_form_api.py
@@ -3,39 +3,51 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
from openapi_client.api.form_api import FormApi # noqa: E501
-from openapi_client.rest import ApiException
class TestFormApi(unittest.TestCase):
"""FormApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.form_api.FormApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = FormApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_test_form_integer_boolean_string(self):
+ def test_test_form_integer_boolean_string(self) -> None:
"""Test case for test_form_integer_boolean_string
Test form parameter(s) # noqa: E501
"""
pass
+ def test_test_form_object_multipart(self) -> None:
+ """Test case for test_form_object_multipart
+
+ Test form parameter(s) for multipart schema # noqa: E501
+ """
+ pass
+
+ def test_test_form_oneof(self) -> None:
+ """Test case for test_form_oneof
+
+ Test form parameter(s) for oneOf schema # noqa: E501
+ """
+ pass
+
if __name__ == '__main__':
unittest.main()
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_header_api.py b/samples/client/echo_api/python-pydantic-v1/test/test_header_api.py
index c1b7ed44e8f8..b831f9fad281 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_header_api.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_header_api.py
@@ -3,34 +3,32 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
from openapi_client.api.header_api import HeaderApi # noqa: E501
-from openapi_client.rest import ApiException
class TestHeaderApi(unittest.TestCase):
"""HeaderApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.header_api.HeaderApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = HeaderApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_test_header_integer_boolean_string(self):
- """Test case for test_header_integer_boolean_string
+ def test_test_header_integer_boolean_string_enums(self) -> None:
+ """Test case for test_header_integer_boolean_string_enums
Test header parameter(s) # noqa: E501
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_number_properties_only.py b/samples/client/echo_api/python-pydantic-v1/test/test_number_properties_only.py
index 68aa757f9df9..e5072e660a20 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_number_properties_only.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_number_properties_only.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
-"""
+""" # noqa: E501
import unittest
import datetime
-import openapi_client
from openapi_client.models.number_properties_only import NumberPropertiesOnly # noqa: E501
-from openapi_client.rest import ApiException
class TestNumberPropertiesOnly(unittest.TestCase):
"""NumberPropertiesOnly unit test stubs"""
@@ -29,21 +27,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> NumberPropertiesOnly:
"""Test NumberPropertiesOnly
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `NumberPropertiesOnly`
"""
- model = openapi_client.models.number_properties_only.NumberPropertiesOnly() # noqa: E501
- if include_optional :
+ model = NumberPropertiesOnly() # noqa: E501
+ if include_optional:
return NumberPropertiesOnly(
- number = 1.337,
- float = 1.337,
- double = ''
+ number = 1.337,
+ float = 1.337,
+ double = 0.8
)
- else :
+ else:
return NumberPropertiesOnly(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_path_api.py b/samples/client/echo_api/python-pydantic-v1/test/test_path_api.py
index 4d8e71f7ce6a..559023e62d38 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_path_api.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_path_api.py
@@ -3,34 +3,32 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
from openapi_client.api.path_api import PathApi # noqa: E501
-from openapi_client.rest import ApiException
class TestPathApi(unittest.TestCase):
"""PathApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.path_api.PathApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = PathApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_tests_path_string_path_string_integer_path_integer(self):
- """Test case for tests_path_string_path_string_integer_path_integer
+ def test_tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(self) -> None:
+ """Test case for tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
Test path parameter(s) # noqa: E501
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_pet.py b/samples/client/echo_api/python-pydantic-v1/test/test_pet.py
index e02d8615bc08..17f0d1221411 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_pet.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_pet.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.pet import Pet # noqa: E501
-from openapi_client.rest import ApiException
class TestPet(unittest.TestCase):
"""Pet unit test stubs"""
@@ -29,32 +27,32 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Pet:
"""Test Pet
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Pet`
"""
- model = openapi_client.models.pet.Pet() # noqa: E501
- if include_optional :
+ model = Pet() # noqa: E501
+ if include_optional:
return Pet(
- id = 10,
- name = 'doggie',
+ id = 10,
+ name = 'doggie',
category = openapi_client.models.category.Category(
id = 1,
- name = 'Dogs', ),
+ name = 'Dogs', ),
photo_urls = [
''
- ],
+ ],
tags = [
openapi_client.models.tag.Tag(
id = 56,
name = '', )
- ],
+ ],
status = 'available'
)
- else :
+ else:
return Pet(
name = 'doggie',
photo_urls = [
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_query.py b/samples/client/echo_api/python-pydantic-v1/test/test_query.py
index a7652e1ae59c..bc3dfd5afd1f 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_query.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_query.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.query import Query # noqa: E501
-from openapi_client.rest import ApiException
class TestQuery(unittest.TestCase):
"""Query unit test stubs"""
@@ -29,22 +27,22 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Query:
"""Test Query
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Query`
"""
- model = openapi_client.models.query.Query() # noqa: E501
- if include_optional :
+ model = Query() # noqa: E501
+ if include_optional:
return Query(
- id = 56,
+ id = 56,
outcomes = [
'SUCCESS'
]
)
- else :
+ else:
return Query(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_query_api.py b/samples/client/echo_api/python-pydantic-v1/test/test_query_api.py
index 829a635d99b9..0d4db77452c9 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_query_api.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_query_api.py
@@ -3,53 +3,100 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
from openapi_client.api.query_api import QueryApi # noqa: E501
-from openapi_client.rest import ApiException
class TestQueryApi(unittest.TestCase):
"""QueryApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.query_api.QueryApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = QueryApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_test_enum_ref_string(self) -> None:
+ """Test case for test_enum_ref_string
- def tearDown(self):
+ Test query parameter(s) # noqa: E501
+ """
pass
- def test_test_query_integer_boolean_string(self):
+ def test_test_query_datetime_date_string(self) -> None:
+ """Test case for test_query_datetime_date_string
+
+ Test query parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_query_integer_boolean_string(self) -> None:
"""Test case for test_query_integer_boolean_string
Test query parameter(s) # noqa: E501
"""
pass
- def test_test_query_style_form_explode_true_array_string(self):
+ def test_test_query_style_deep_object_explode_true_object(self) -> None:
+ """Test case for test_query_style_deep_object_explode_true_object
+
+ Test query parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_query_style_deep_object_explode_true_object_all_of(self) -> None:
+ """Test case for test_query_style_deep_object_explode_true_object_all_of
+
+ Test query parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_query_style_form_explode_false_array_integer(self) -> None:
+ """Test case for test_query_style_form_explode_false_array_integer
+
+ Test query parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_query_style_form_explode_false_array_string(self) -> None:
+ """Test case for test_query_style_form_explode_false_array_string
+
+ Test query parameter(s) # noqa: E501
+ """
+ pass
+
+ def test_test_query_style_form_explode_true_array_string(self) -> None:
"""Test case for test_query_style_form_explode_true_array_string
Test query parameter(s) # noqa: E501
"""
pass
- def test_test_query_style_form_explode_true_object(self):
+ def test_test_query_style_form_explode_true_object(self) -> None:
"""Test case for test_query_style_form_explode_true_object
Test query parameter(s) # noqa: E501
"""
pass
+ def test_test_query_style_form_explode_true_object_all_of(self) -> None:
+ """Test case for test_query_style_form_explode_true_object_all_of
+
+ Test query parameter(s) # noqa: E501
+ """
+ pass
+
if __name__ == '__main__':
unittest.main()
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_string_enum_ref.py b/samples/client/echo_api/python-pydantic-v1/test/test_string_enum_ref.py
index 60a3f0781b18..f48d7776fccf 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_string_enum_ref.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_string_enum_ref.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.string_enum_ref import StringEnumRef # noqa: E501
-from openapi_client.rest import ApiException
class TestStringEnumRef(unittest.TestCase):
"""StringEnumRef unit test stubs"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_tag.py b/samples/client/echo_api/python-pydantic-v1/test/test_tag.py
index 8e48170ab6ae..ce6f8f0cdbc5 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_tag.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_tag.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.tag import Tag # noqa: E501
-from openapi_client.rest import ApiException
class TestTag(unittest.TestCase):
"""Tag unit test stubs"""
@@ -29,20 +27,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Tag:
"""Test Tag
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Tag`
"""
- model = openapi_client.models.tag.Tag() # noqa: E501
- if include_optional :
+ model = Tag() # noqa: E501
+ if include_optional:
return Tag(
- id = 56,
+ id = 56,
name = ''
)
- else :
+ else:
return Tag(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
index 395407345615..8063f5b7b630 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter import TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter # noqa: E501
-from openapi_client.rest import ApiException
class TestTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(unittest.TestCase):
"""TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter unit test stubs"""
@@ -29,22 +27,22 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter:
"""Test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter`
"""
- model = openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() # noqa: E501
- if include_optional :
+ model = TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() # noqa: E501
+ if include_optional:
return TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(
- size = '',
- color = '',
- id = 1,
+ size = '',
+ color = '',
+ id = 1,
name = 'Dogs'
)
- else :
+ else:
return TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(
)
"""
diff --git a/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
index 6366b5c23587..f0ce75f334f5 100644
--- a/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
+++ b/samples/client/echo_api/python-pydantic-v1/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
@@ -3,22 +3,20 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
import datetime
-import openapi_client
from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter # noqa: E501
-from openapi_client.rest import ApiException
class TestTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(unittest.TestCase):
"""TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter unit test stubs"""
@@ -29,21 +27,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter:
"""Test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter`
"""
- model = openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() # noqa: E501
- if include_optional :
+ model = TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() # noqa: E501
+ if include_optional:
return TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(
values = [
''
]
)
- else :
+ else:
return TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(
)
"""
diff --git a/samples/client/echo_api/python/test/test_auth_api.py b/samples/client/echo_api/python/test/test_auth_api.py
index bfd827933bd6..47756f746042 100644
--- a/samples/client/echo_api/python/test/test_auth_api.py
+++ b/samples/client/echo_api/python/test/test_auth_api.py
@@ -15,14 +15,14 @@
import unittest
-from openapi_client.api.auth_api import AuthApi # noqa: E501
+from openapi_client.api.auth_api import AuthApi
class TestAuthApi(unittest.TestCase):
"""AuthApi unit test stubs"""
def setUp(self) -> None:
- self.api = AuthApi() # noqa: E501
+ self.api = AuthApi()
def tearDown(self) -> None:
pass
@@ -30,7 +30,14 @@ def tearDown(self) -> None:
def test_test_auth_http_basic(self) -> None:
"""Test case for test_auth_http_basic
- To test HTTP basic authentication # noqa: E501
+ To test HTTP basic authentication
+ """
+ pass
+
+ def test_test_auth_http_bearer(self) -> None:
+ """Test case for test_auth_http_bearer
+
+ To test HTTP bearer authentication
"""
pass
diff --git a/samples/client/echo_api/python/test/test_bird.py b/samples/client/echo_api/python/test/test_bird.py
index d95a104d7147..1a2289c0d472 100644
--- a/samples/client/echo_api/python/test/test_bird.py
+++ b/samples/client/echo_api/python/test/test_bird.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.bird import Bird # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.bird import Bird
class TestBird(unittest.TestCase):
"""Bird unit test stubs"""
@@ -29,20 +26,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Bird:
"""Test Bird
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Bird`
"""
- model = openapi_client.models.bird.Bird() # noqa: E501
- if include_optional :
+ model = Bird()
+ if include_optional:
return Bird(
- size = '',
+ size = '',
color = ''
)
- else :
+ else:
return Bird(
)
"""
diff --git a/samples/client/echo_api/python/test/test_body_api.py b/samples/client/echo_api/python/test/test_body_api.py
index e5e24ace8102..f9b7917ee006 100644
--- a/samples/client/echo_api/python/test/test_body_api.py
+++ b/samples/client/echo_api/python/test/test_body_api.py
@@ -3,36 +3,97 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.body_api import BodyApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.body_api import BodyApi
class TestBodyApi(unittest.TestCase):
"""BodyApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.body_api.BodyApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = BodyApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_test_binary_gif(self) -> None:
+ """Test case for test_binary_gif
+
+ Test binary (gif) response body
+ """
+ pass
+
+ def test_test_body_application_octetstream_binary(self) -> None:
+ """Test case for test_body_application_octetstream_binary
+
+ Test body parameter(s)
+ """
+ pass
+
+ def test_test_body_multipart_formdata_array_of_binary(self) -> None:
+ """Test case for test_body_multipart_formdata_array_of_binary
+
+ Test array of binary in multipart mime
+ """
+ pass
+
+ def test_test_body_multipart_formdata_single_binary(self) -> None:
+ """Test case for test_body_multipart_formdata_single_binary
+
+ Test single binary in multipart mime
+ """
+ pass
+
+ def test_test_echo_body_all_of_pet(self) -> None:
+ """Test case for test_echo_body_all_of_pet
+
+ Test body parameter(s)
+ """
+ pass
+
+ def test_test_echo_body_free_form_object_response_string(self) -> None:
+ """Test case for test_echo_body_free_form_object_response_string
- def tearDown(self):
+ Test free form object
+ """
pass
- def test_test_echo_body_pet(self):
+ def test_test_echo_body_pet(self) -> None:
"""Test case for test_echo_body_pet
- Test body parameter(s) # noqa: E501
+ Test body parameter(s)
+ """
+ pass
+
+ def test_test_echo_body_pet_response_string(self) -> None:
+ """Test case for test_echo_body_pet_response_string
+
+ Test empty response body
+ """
+ pass
+
+ def test_test_echo_body_string_enum(self) -> None:
+ """Test case for test_echo_body_string_enum
+
+ Test string enum response body
+ """
+ pass
+
+ def test_test_echo_body_tag_response_string(self) -> None:
+ """Test case for test_echo_body_tag_response_string
+
+ Test empty json (request body)
"""
pass
diff --git a/samples/client/echo_api/python/test/test_category.py b/samples/client/echo_api/python/test/test_category.py
index b5771c572d33..12dfe19f63ac 100644
--- a/samples/client/echo_api/python/test/test_category.py
+++ b/samples/client/echo_api/python/test/test_category.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.category import Category # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.category import Category
class TestCategory(unittest.TestCase):
"""Category unit test stubs"""
@@ -29,20 +26,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Category:
"""Test Category
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Category`
"""
- model = openapi_client.models.category.Category() # noqa: E501
- if include_optional :
+ model = Category()
+ if include_optional:
return Category(
- id = 1,
+ id = 1,
name = 'Dogs'
)
- else :
+ else:
return Category(
)
"""
diff --git a/samples/client/echo_api/python/test/test_data_query.py b/samples/client/echo_api/python/test/test_data_query.py
index f33d8daabae1..fcd7c9566a37 100644
--- a/samples/client/echo_api/python/test/test_data_query.py
+++ b/samples/client/echo_api/python/test/test_data_query.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.data_query import DataQuery # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.data_query import DataQuery
class TestDataQuery(unittest.TestCase):
"""DataQuery unit test stubs"""
@@ -29,21 +26,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> DataQuery:
"""Test DataQuery
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DataQuery`
"""
- model = openapi_client.models.data_query.DataQuery() # noqa: E501
- if include_optional :
+ model = DataQuery()
+ if include_optional:
return DataQuery(
- suffix = '',
- text = 'Some text',
+ suffix = '',
+ text = 'Some text',
var_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
)
- else :
+ else:
return DataQuery(
)
"""
diff --git a/samples/client/echo_api/python/test/test_default_value.py b/samples/client/echo_api/python/test/test_default_value.py
index 6e5f35fd2eff..4bdc49448868 100644
--- a/samples/client/echo_api/python/test/test_default_value.py
+++ b/samples/client/echo_api/python/test/test_default_value.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.default_value import DefaultValue # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.default_value import DefaultValue
class TestDefaultValue(unittest.TestCase):
"""DefaultValue unit test stubs"""
@@ -29,34 +26,40 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> DefaultValue:
"""Test DefaultValue
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `DefaultValue`
"""
- model = openapi_client.models.default_value.DefaultValue() # noqa: E501
- if include_optional :
+ model = DefaultValue()
+ if include_optional:
return DefaultValue(
+ array_string_enum_ref_default = [
+ 'success'
+ ],
array_string_enum_default = [
'success'
- ],
+ ],
array_string_default = [
''
- ],
+ ],
array_integer_default = [
56
- ],
+ ],
array_string = [
''
- ],
+ ],
array_string_nullable = [
''
- ],
+ ],
+ array_string_extension_nullable = [
+ ''
+ ],
string_nullable = ''
)
- else :
+ else:
return DefaultValue(
)
"""
diff --git a/samples/client/echo_api/python/test/test_form_api.py b/samples/client/echo_api/python/test/test_form_api.py
index 6422432c79ba..fbd7ed641e6a 100644
--- a/samples/client/echo_api/python/test/test_form_api.py
+++ b/samples/client/echo_api/python/test/test_form_api.py
@@ -3,36 +3,48 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.form_api import FormApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.form_api import FormApi
class TestFormApi(unittest.TestCase):
"""FormApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.form_api.FormApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = FormApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_test_form_integer_boolean_string(self):
+ def test_test_form_integer_boolean_string(self) -> None:
"""Test case for test_form_integer_boolean_string
- Test form parameter(s) # noqa: E501
+ Test form parameter(s)
+ """
+ pass
+
+ def test_test_form_object_multipart(self) -> None:
+ """Test case for test_form_object_multipart
+
+ Test form parameter(s) for multipart schema
+ """
+ pass
+
+ def test_test_form_oneof(self) -> None:
+ """Test case for test_form_oneof
+
+ Test form parameter(s) for oneOf schema
"""
pass
diff --git a/samples/client/echo_api/python/test/test_header_api.py b/samples/client/echo_api/python/test/test_header_api.py
index c1b7ed44e8f8..68670ebc567f 100644
--- a/samples/client/echo_api/python/test/test_header_api.py
+++ b/samples/client/echo_api/python/test/test_header_api.py
@@ -3,36 +3,34 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.header_api import HeaderApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.header_api import HeaderApi
class TestHeaderApi(unittest.TestCase):
"""HeaderApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.header_api.HeaderApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = HeaderApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_test_header_integer_boolean_string(self):
- """Test case for test_header_integer_boolean_string
+ def test_test_header_integer_boolean_string_enums(self) -> None:
+ """Test case for test_header_integer_boolean_string_enums
- Test header parameter(s) # noqa: E501
+ Test header parameter(s)
"""
pass
diff --git a/samples/client/echo_api/python/test/test_number_properties_only.py b/samples/client/echo_api/python/test/test_number_properties_only.py
index 68aa757f9df9..682503a0cbf7 100644
--- a/samples/client/echo_api/python/test/test_number_properties_only.py
+++ b/samples/client/echo_api/python/test/test_number_properties_only.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
-"""
+""" # noqa: E501
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.number_properties_only import NumberPropertiesOnly # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.number_properties_only import NumberPropertiesOnly
class TestNumberPropertiesOnly(unittest.TestCase):
"""NumberPropertiesOnly unit test stubs"""
@@ -29,21 +26,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> NumberPropertiesOnly:
"""Test NumberPropertiesOnly
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `NumberPropertiesOnly`
"""
- model = openapi_client.models.number_properties_only.NumberPropertiesOnly() # noqa: E501
- if include_optional :
+ model = NumberPropertiesOnly()
+ if include_optional:
return NumberPropertiesOnly(
- number = 1.337,
- float = 1.337,
- double = ''
+ number = 1.337,
+ var_float = 1.337,
+ double = 0.8
)
- else :
+ else:
return NumberPropertiesOnly(
)
"""
diff --git a/samples/client/echo_api/python/test/test_path_api.py b/samples/client/echo_api/python/test/test_path_api.py
index 4d8e71f7ce6a..faabe2102426 100644
--- a/samples/client/echo_api/python/test/test_path_api.py
+++ b/samples/client/echo_api/python/test/test_path_api.py
@@ -3,36 +3,34 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.path_api import PathApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.path_api import PathApi
class TestPathApi(unittest.TestCase):
"""PathApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.path_api.PathApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = PathApi()
- def tearDown(self):
+ def tearDown(self) -> None:
pass
- def test_tests_path_string_path_string_integer_path_integer(self):
- """Test case for tests_path_string_path_string_integer_path_integer
+ def test_tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(self) -> None:
+ """Test case for tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
- Test path parameter(s) # noqa: E501
+ Test path parameter(s)
"""
pass
diff --git a/samples/client/echo_api/python/test/test_pet.py b/samples/client/echo_api/python/test/test_pet.py
index e02d8615bc08..21965554b265 100644
--- a/samples/client/echo_api/python/test/test_pet.py
+++ b/samples/client/echo_api/python/test/test_pet.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.pet import Pet # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.pet import Pet
class TestPet(unittest.TestCase):
"""Pet unit test stubs"""
@@ -29,32 +26,32 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Pet:
"""Test Pet
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Pet`
"""
- model = openapi_client.models.pet.Pet() # noqa: E501
- if include_optional :
+ model = Pet()
+ if include_optional:
return Pet(
- id = 10,
- name = 'doggie',
+ id = 10,
+ name = 'doggie',
category = openapi_client.models.category.Category(
id = 1,
- name = 'Dogs', ),
+ name = 'Dogs', ),
photo_urls = [
''
- ],
+ ],
tags = [
openapi_client.models.tag.Tag(
id = 56,
name = '', )
- ],
+ ],
status = 'available'
)
- else :
+ else:
return Pet(
name = 'doggie',
photo_urls = [
diff --git a/samples/client/echo_api/python/test/test_query.py b/samples/client/echo_api/python/test/test_query.py
index a7652e1ae59c..c3d033ef0b51 100644
--- a/samples/client/echo_api/python/test/test_query.py
+++ b/samples/client/echo_api/python/test/test_query.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.query import Query # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.query import Query
class TestQuery(unittest.TestCase):
"""Query unit test stubs"""
@@ -29,22 +26,22 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Query:
"""Test Query
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Query`
"""
- model = openapi_client.models.query.Query() # noqa: E501
- if include_optional :
+ model = Query()
+ if include_optional:
return Query(
- id = 56,
+ id = 56,
outcomes = [
'SUCCESS'
]
)
- else :
+ else:
return Query(
)
"""
diff --git a/samples/client/echo_api/python/test/test_query_api.py b/samples/client/echo_api/python/test/test_query_api.py
index 829a635d99b9..e2e6c2dac461 100644
--- a/samples/client/echo_api/python/test/test_query_api.py
+++ b/samples/client/echo_api/python/test/test_query_api.py
@@ -3,50 +3,97 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import openapi_client
-from openapi_client.api.query_api import QueryApi # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.api.query_api import QueryApi
class TestQueryApi(unittest.TestCase):
"""QueryApi unit test stubs"""
- def setUp(self):
- self.api = openapi_client.api.query_api.QueryApi() # noqa: E501
+ def setUp(self) -> None:
+ self.api = QueryApi()
+
+ def tearDown(self) -> None:
+ pass
+
+ def test_test_enum_ref_string(self) -> None:
+ """Test case for test_enum_ref_string
- def tearDown(self):
+ Test query parameter(s)
+ """
pass
- def test_test_query_integer_boolean_string(self):
+ def test_test_query_datetime_date_string(self) -> None:
+ """Test case for test_query_datetime_date_string
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_integer_boolean_string(self) -> None:
"""Test case for test_query_integer_boolean_string
- Test query parameter(s) # noqa: E501
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_deep_object_explode_true_object(self) -> None:
+ """Test case for test_query_style_deep_object_explode_true_object
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_deep_object_explode_true_object_all_of(self) -> None:
+ """Test case for test_query_style_deep_object_explode_true_object_all_of
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_form_explode_false_array_integer(self) -> None:
+ """Test case for test_query_style_form_explode_false_array_integer
+
+ Test query parameter(s)
"""
pass
- def test_test_query_style_form_explode_true_array_string(self):
+ def test_test_query_style_form_explode_false_array_string(self) -> None:
+ """Test case for test_query_style_form_explode_false_array_string
+
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_form_explode_true_array_string(self) -> None:
"""Test case for test_query_style_form_explode_true_array_string
- Test query parameter(s) # noqa: E501
+ Test query parameter(s)
"""
pass
- def test_test_query_style_form_explode_true_object(self):
+ def test_test_query_style_form_explode_true_object(self) -> None:
"""Test case for test_query_style_form_explode_true_object
- Test query parameter(s) # noqa: E501
+ Test query parameter(s)
+ """
+ pass
+
+ def test_test_query_style_form_explode_true_object_all_of(self) -> None:
+ """Test case for test_query_style_form_explode_true_object_all_of
+
+ Test query parameter(s)
"""
pass
diff --git a/samples/client/echo_api/python/test/test_string_enum_ref.py b/samples/client/echo_api/python/test/test_string_enum_ref.py
index 60a3f0781b18..ece5b369cc22 100644
--- a/samples/client/echo_api/python/test/test_string_enum_ref.py
+++ b/samples/client/echo_api/python/test/test_string_enum_ref.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.string_enum_ref import StringEnumRef # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.string_enum_ref import StringEnumRef
class TestStringEnumRef(unittest.TestCase):
"""StringEnumRef unit test stubs"""
diff --git a/samples/client/echo_api/python/test/test_tag.py b/samples/client/echo_api/python/test/test_tag.py
index 8e48170ab6ae..7e235ac8b95b 100644
--- a/samples/client/echo_api/python/test/test_tag.py
+++ b/samples/client/echo_api/python/test/test_tag.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.tag import Tag # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.tag import Tag
class TestTag(unittest.TestCase):
"""Tag unit test stubs"""
@@ -29,20 +26,20 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> Tag:
"""Test Tag
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `Tag`
"""
- model = openapi_client.models.tag.Tag() # noqa: E501
- if include_optional :
+ model = Tag()
+ if include_optional:
return Tag(
- id = 56,
+ id = 56,
name = ''
)
- else :
+ else:
return Tag(
)
"""
diff --git a/samples/client/echo_api/python/test/test_test_form_object_multipart_request_marker.py b/samples/client/echo_api/python/test/test_test_form_object_multipart_request_marker.py
index d49974286060..97f5600a234d 100644
--- a/samples/client/echo_api/python/test/test_test_form_object_multipart_request_marker.py
+++ b/samples/client/echo_api/python/test/test_test_form_object_multipart_request_marker.py
@@ -28,7 +28,7 @@ def tearDown(self):
def make_instance(self, include_optional) -> TestFormObjectMultipartRequestMarker:
"""Test TestFormObjectMultipartRequestMarker
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestFormObjectMultipartRequestMarker`
diff --git a/samples/client/echo_api/python/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
index 395407345615..22731b578cc8 100644
--- a/samples/client/echo_api/python/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
+++ b/samples/client/echo_api/python/test/test_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter import TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter import TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
class TestTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(unittest.TestCase):
"""TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter unit test stubs"""
@@ -29,22 +26,22 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter:
"""Test TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter`
"""
- model = openapi_client.models.test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() # noqa: E501
- if include_optional :
+ model = TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter()
+ if include_optional:
return TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(
- size = '',
- color = '',
- id = 1,
+ size = '',
+ color = '',
+ id = 1,
name = 'Dogs'
)
- else :
+ else:
return TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(
)
"""
diff --git a/samples/client/echo_api/python/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
index 6366b5c23587..2656fbf8e027 100644
--- a/samples/client/echo_api/python/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
+++ b/samples/client/echo_api/python/test/test_test_query_style_form_explode_true_array_string_query_object_parameter.py
@@ -3,22 +3,19 @@
"""
Echo Server API
- Echo Server API # noqa: E501
+ Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
- Generated by: https://openapi-generator.tech
-"""
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+ Do not edit the class manually.
+""" # noqa: E501
-from __future__ import absolute_import
import unittest
-import datetime
-import openapi_client
-from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter # noqa: E501
-from openapi_client.rest import ApiException
+from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
class TestTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(unittest.TestCase):
"""TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter unit test stubs"""
@@ -29,21 +26,21 @@ def setUp(self):
def tearDown(self):
pass
- def make_instance(self, include_optional):
+ def make_instance(self, include_optional) -> TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter:
"""Test TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
- include_option is a boolean, when False only required
+ include_optional is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter`
"""
- model = openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() # noqa: E501
- if include_optional :
+ model = TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter()
+ if include_optional:
return TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(
values = [
''
]
)
- else :
+ else:
return TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(
)
"""
diff --git a/samples/client/echo_api/r/tests/testthat/test_body_api.R b/samples/client/echo_api/r/tests/testthat/test_body_api.R
index ff54935492fb..b5b9c7288f90 100644
--- a/samples/client/echo_api/r/tests/testthat/test_body_api.R
+++ b/samples/client/echo_api/r/tests/testthat/test_body_api.R
@@ -100,6 +100,18 @@ test_that("TestEchoBodyPetResponseString", {
#expect_equal(result, "EXPECTED_RESULT")
})
+test_that("TestEchoBodyStringEnum", {
+ # tests for TestEchoBodyStringEnum
+ # base path: http://localhost:3000
+ # Test string enum response body
+ # Test string enum response body
+ # @param body character String enum (optional)
+ # @return [StringEnumRef]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
test_that("TestEchoBodyTagResponseString", {
# tests for TestEchoBodyTagResponseString
# base path: http://localhost:3000
diff --git a/samples/client/echo_api/r/tests/testthat/test_form_api.R b/samples/client/echo_api/r/tests/testthat/test_form_api.R
index a2b306f2d8d0..99438867befe 100644
--- a/samples/client/echo_api/r/tests/testthat/test_form_api.R
+++ b/samples/client/echo_api/r/tests/testthat/test_form_api.R
@@ -19,6 +19,18 @@ test_that("TestFormIntegerBooleanString", {
#expect_equal(result, "EXPECTED_RESULT")
})
+test_that("TestFormObjectMultipart", {
+ # tests for TestFormObjectMultipart
+ # base path: http://localhost:3000
+ # Test form parameter(s) for multipart schema
+ # Test form parameter(s) for multipart schema
+ # @param marker TestFormObjectMultipartRequestMarker
+ # @return [character]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
test_that("TestFormOneof", {
# tests for TestFormOneof
# base path: http://localhost:3000
diff --git a/samples/client/echo_api/r/tests/testthat/test_query_api.R b/samples/client/echo_api/r/tests/testthat/test_query_api.R
index 202460c859ad..90f47368b9c9 100644
--- a/samples/client/echo_api/r/tests/testthat/test_query_api.R
+++ b/samples/client/echo_api/r/tests/testthat/test_query_api.R
@@ -70,6 +70,30 @@ test_that("TestQueryStyleDeepObjectExplodeTrueObjectAllOf", {
#expect_equal(result, "EXPECTED_RESULT")
})
+test_that("TestQueryStyleFormExplodeFalseArrayInteger", {
+ # tests for TestQueryStyleFormExplodeFalseArrayInteger
+ # base path: http://localhost:3000
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param query_object array[integer] (optional)
+ # @return [character]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
+test_that("TestQueryStyleFormExplodeFalseArrayString", {
+ # tests for TestQueryStyleFormExplodeFalseArrayString
+ # base path: http://localhost:3000
+ # Test query parameter(s)
+ # Test query parameter(s)
+ # @param query_object array[character] (optional)
+ # @return [character]
+
+ # uncomment below to test the operation
+ #expect_equal(result, "EXPECTED_RESULT")
+})
+
test_that("TestQueryStyleFormExplodeTrueArrayString", {
# tests for TestQueryStyleFormExplodeTrueArrayString
# base path: http://localhost:3000
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/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/OASApiResponseTest.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASApiResponseTest.cls
index 4245ce16642d..8b43f71ae35f 100644
--- a/samples/client/petstore/apex/force-app/main/default/classes/OASApiResponseTest.cls
+++ b/samples/client/petstore/apex/force-app/main/default/classes/OASApiResponseTest.cls
@@ -68,11 +68,4 @@ private class OASApiResponseTest {
System.assertEquals(apiResponse1.hashCode(), apiResponse2.hashCode());
System.assertEquals(apiResponse3.hashCode(), apiResponse4.hashCode());
}
-
- @isTest
- private static void maintainRenamedProperties() {
- OASApiResponse apiResponse = new OASApiResponse();
- Map propertyMappings = apiResponse.getPropertyMappings();
- System.assertEquals('r_type', propertyMappings.get('type'));
- }
}
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/pet_api_spec.cr b/samples/client/petstore/crystal/spec/api/pet_api_spec.cr
index 5eb508ebd72a..975d500c9261 100644
--- a/samples/client/petstore/crystal/spec/api/pet_api_spec.cr
+++ b/samples/client/petstore/crystal/spec/api/pet_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"
@@ -25,37 +25,19 @@ describe "PetApi" do
# 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 [Pet]
describe "add_pet test" do
- it "should work with only required attributes" do
+ it "should work" do
# assertion here. ref: https://crystal-lang.org/reference/guides/testing.html
-
- config = Petstore::Configuration.new
- config.access_token = "yyy"
- config.api_key[:api_key] = "xxx"
- config.api_key_prefix[:api_key] = "Token"
-
- api_client = Petstore::ApiClient.new(config)
-
- api_instance = Petstore::PetApi.new(api_client)
-
- pet_name = "new pet"
- new_pet = Petstore::Pet.new(id: nil, category: nil, name: pet_name, photo_urls: Array(String).new, tags: nil, status: nil)
-
- pet = api_instance.add_pet(new_pet)
- pet.id.should_not be_nil
- pet.category.should be_nil
- pet.name.should eq pet_name
- pet.photo_urls.should eq Array(String).new
- pet.status.should be_nil
- pet.tags.should eq Array(Petstore::Tag).new
end
end
# 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
@@ -99,32 +81,12 @@ describe "PetApi" do
describe "get_pet_by_id test" do
it "should work" do
# assertion here. ref: https://crystal-lang.org/reference/guides/testing.html
-
- config = Petstore::Configuration.new
- config.access_token = "yyy"
- config.api_key[:api_key] = "xxx"
- config.api_key_prefix[:api_key] = "Token"
-
- api_client = Petstore::ApiClient.new(config)
-
- api_instance = Petstore::PetApi.new(api_client)
-
- new_pet = Petstore::Pet.new(id: nil, category: nil, name: "crystal", photo_urls: Array(String).new, tags: nil, status: nil)
-
- pet = api_instance.add_pet(new_pet)
- pet_id = pet.id.not_nil!
- result = api_instance.get_pet_by_id(pet_id: pet_id)
- result.id.should eq pet_id
- result.category.should be_nil
- result.name.should eq "crystal"
- result.photo_urls.should eq Array(String).new
- result.status.should be_nil
- result.tags.should eq Array(Petstore::Tag).new
end
end
# 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 [Pet]
@@ -136,6 +98,7 @@ describe "PetApi" do
# 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
@@ -149,10 +112,11 @@ describe "PetApi" do
# 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
- # @option opts [File] :file file to upload
+ # @option opts [::File] :file file to upload
# @return [ApiResponse]
describe "upload_file test" do
it "should work" do
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/pet_spec.cr b/samples/client/petstore/crystal/spec/models/pet_spec.cr
index dac484057c96..b7f30ac26ac1 100644
--- a/samples/client/petstore/crystal/spec/models/pet_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/pet_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"
@@ -18,49 +18,11 @@ require "time"
describe Petstore::Pet do
describe "test an instance of Pet" do
- it "should fail to compile if any required properties is missing" do
- assert_compilation_error(path: "./pet_compilation_error_spec.cr", message: "Error: expected argument 'name' to 'Petstore::Pet.new' to be String, not Nil")
- end
-
- it "should create an instance of Pet with only required properties" do
- pet = Petstore::Pet.new(id: nil, category: nil, name: "new pet", photo_urls: Array(String).new, tags: nil, status: nil)
- pet.should be_a(Petstore::Pet)
- end
-
- it "should create an instance of Pet with all properties" do
- pet_id = 12345_i64
- pet = Petstore::Pet.new(id: pet_id, category: Petstore::Category.new(id: pet_id + 10, name: "crystal category"), name: "crystal", photo_urls: ["https://crystal-lang.org"], tags: [Petstore::Tag.new(id: pet_id + 100, name: "crystal tag")], status: "available")
- pet.should be_a(Petstore::Pet)
- end
- end
-
- describe "#from_json" do
- it "should instantiate a new instance from json string with required properties" do
- pet = Petstore::Pet.from_json("{\"name\": \"json pet\", \"photoUrls\": []}")
- pet.should be_a(Petstore::Pet)
- pet.name.should eq "json pet"
- pet.photo_urls.should eq Array(String).new
- end
-
- it "should raise error when instantiating a new instance from json string with missing required properties" do
- expect_raises(JSON::SerializableError, "Missing JSON attribute: name") do
- Petstore::Pet.from_json("{\"photoUrls\": []}")
- end
- expect_raises(JSON::SerializableError, "Missing JSON attribute: photoUrls") do
- Petstore::Pet.from_json("{\"name\": \"json pet\"}")
- end
- end
-
- it "should raise error when instantiating a new instance from json string with required properties set to null value" do
- expect_raises(JSON::SerializableError, "Expected String but was Null") do
- Petstore::Pet.from_json("{\"name\": null, \"photoUrls\": []}")
- end
- expect_raises(JSON::SerializableError, "Expected BeginArray but was Null") do
- Petstore::Pet.from_json("{\"name\": \"json pet\", \"photoUrls\": null}")
- end
+ it "should create an instance of Pet" do
+ #instance = Petstore::Pet.new
+ #expect(instance).to be_instance_of(Petstore::Pet)
end
end
-
describe "test attribute 'id'" do
it "should work" do
# assertion here. ref: https://crystal-lang.org/reference/guides/testing.html
diff --git a/samples/client/petstore/crystal/spec/models/tag_spec.cr b/samples/client/petstore/crystal/spec/models/tag_spec.cr
index 64a05f292ce2..128adcc6a068 100644
--- a/samples/client/petstore/crystal/spec/models/tag_spec.cr
+++ b/samples/client/petstore/crystal/spec/models/tag_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"
@@ -23,21 +23,6 @@ describe Petstore::Tag do
#expect(instance).to be_instance_of(Petstore::Tag)
end
end
-
- describe "test equality of Tag instances" do
- it "should equal to itself" do
- tag1 = Petstore::Tag.new(id: 0, name: "same")
- tag2 = tag1
- (tag1 == tag2).should be_true
- end
-
- it "should equal to another instance with same attributes" do
- tag1 = Petstore::Tag.new(id: 0, name: "tag")
- tag2 = Petstore::Tag.new(id: 0, name: "tag")
- (tag1 == tag2).should be_true
- end
- end
-
describe "test attribute 'id'" do
it "should work" do
# assertion here. ref: https://crystal-lang.org/reference/guides/testing.html
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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
index 767537cf4086..1ec3e8933caa 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
@@ -63,5 +63,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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
index 41e1c365c2b5..050588a08577 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
@@ -107,8 +107,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);
}
@@ -123,6 +124,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
///
@@ -166,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;
//FileParameter 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);
}
///
@@ -227,6 +261,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
///
@@ -251,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
+ ///
+ [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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
index e12582623e86..ed2b4df25b2b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
@@ -1,10 +1,9 @@
-/*
+/*
* 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
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
@@ -16,16 +15,15 @@
using System.Reflection;
using Xunit;
-using System.Net.Http;
-
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Api;
-using Org.OpenAPITools.Model;
+// uncomment below to import models
+//using Org.OpenAPITools.Model;
-namespace Org.OpenAPITools.Test
+namespace Org.OpenAPITools.Test.Api
{
///
- /// Class for testing PetApi
+ /// Class for testing PetApi
///
///
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -35,255 +33,83 @@ public class PetApiTests : IDisposable
{
private PetApi instance;
- private long petId = 11088;
- private long notExistentPetId = 99999;
-
- ///
- /// Create a Pet object
- ///
- private Pet createPet()
+ public PetApiTests()
{
- // create pet
- Pet p = new Pet(name: "Csharp test", photoUrls: new List { "http://petstore.com/csharp_test" });
- p.Id = petId;
- //p.Name = "Csharp test";
- p.Status = Pet.StatusEnum.Available;
- // create Category object
- Category category = new Category();
- category.Id = 56;
- category.Name = "sample category name2";
- List photoUrls = new List(new String[] { "sample photoUrls" });
- // create Tag object
- Tag tag = new Tag();
- tag.Id = petId;
- tag.Name = "csharp sample tag name1";
- List tags = new List(new Tag[] { tag });
- p.Tags = tags;
- p.Category = category;
- p.PhotoUrls = photoUrls;
-
- return p;
+ instance = new PetApi();
}
- ///
- /// Convert string to byte array
- ///
- private byte[] GetBytes(string str)
+ public void Dispose()
{
- byte[] bytes = new byte[str.Length * sizeof(char)];
- System.Buffer.BlockCopy(str.ToCharArray(), 0, bytes, 0, bytes.Length);
- return bytes;
+ // Cleanup when everything is done.
}
- public PetApiTests()
- {
- HttpClient httpClient = new HttpClient();
- HttpClientHandler httpClientHandler = new HttpClientHandler();
- instance = new PetApi(httpClient, httpClientHandler);
-
- // create pet
- Pet p = createPet();
-
- // add pet before testing
- PetApi petApi = new PetApi("http://petstore.swagger.io/v2");
- petApi.AddPet(p);
- }
-
///
/// Test an instance of PetApi
///
[Fact]
public void InstanceTest()
{
- Assert.IsType(instance);
+ // TODO uncomment below to test 'IsType' PetApi
+ //Assert.IsType(instance);
}
-
///
/// Test AddPet
///
[Fact]
public void AddPetTest()
{
- // create pet
- Pet p = createPet();
- instance.AddPet(p);
+ // TODO uncomment below to test the method and replace null with proper value
+ //Pet pet = null;
+ //instance.AddPet(pet);
}
-
+
///
/// Test DeletePet
///
[Fact]
public void DeletePetTest()
{
- // no need to test as it'c covered by Cleanup() already
+ // TODO uncomment below to test the method and replace null with proper value
+ //long petId = null;
+ //string apiKey = null;
+ //instance.DeletePet(petId, apiKey);
}
-
+
///
/// Test FindPetsByStatus
///
[Fact]
public void FindPetsByStatusTest()
{
- PetApi petApi = new PetApi();
- List tagsList = new List(new String[] { "available" });
-
- List listPet = petApi.FindPetsByTags(tagsList);
- foreach (Pet pet in listPet) // Loop through List with foreach.
- {
- Assert.IsType(pet);
- Assert.Equal("available", pet.Tags[0].Name);
- }
+ // TODO uncomment below to test the method and replace null with proper value
+ //List status = null;
+ //var response = instance.FindPetsByStatus(status);
+ //Assert.IsType>(response);
}
-
+
///
/// Test FindPetsByTags
///
[Fact]
public void FindPetsByTagsTest()
{
- List tags = new List(new String[] { "pet" });
- var response = instance.FindPetsByTags(tags);
- Assert.IsType>(response);
+ // TODO uncomment below to test the method and replace null with proper value
+ //List tags = null;
+ //var response = instance.FindPetsByTags(tags);
+ //Assert.IsType>(response);
}
-
+
///
/// Test GetPetById
///
[Fact]
public void GetPetByIdTest()
{
- // set timeout to 10 seconds
- Configuration c1 = new Configuration();
- c1.Timeout = TimeSpan.FromSeconds(10);
- c1.UserAgent = "TEST_USER_AGENT";
-
- HttpClient httpClient = new HttpClient();
- HttpClientHandler httpClientHandler = new HttpClientHandler();
- PetApi petApi = new PetApi(httpClient, c1, httpClientHandler);
- Pet response = petApi.GetPetById(petId);
- Assert.IsType(response);
-
- Assert.Equal("Csharp test", response.Name);
- Assert.Equal(Pet.StatusEnum.Available, response.Status);
-
- Assert.IsType>(response.Tags);
- Assert.Equal(petId, response.Tags[0].Id);
- Assert.Equal("csharp sample tag name1", response.Tags[0].Name);
-
- Assert.IsType>(response.PhotoUrls);
- Assert.Equal("sample photoUrls", response.PhotoUrls[0]);
-
- Assert.IsType(response.Category);
- Assert.Equal(56, response.Category.Id);
- Assert.Equal("sample category name2", response.Category.Name);
- }
-
- ///
- /// Test GetPetByIdAsync
- ///
- [Fact]
- public void TestGetPetByIdAsync()
- {
- PetApi petApi = new PetApi();
- var task = petApi.GetPetByIdAsync(petId);
- Pet response = task.Result;
- Assert.IsType(response);
-
- Assert.Equal("Csharp test", response.Name);
- Assert.Equal(Pet.StatusEnum.Available, response.Status);
-
- Assert.IsType>(response.Tags);
- Assert.Equal(petId, response.Tags[0].Id);
- Assert.Equal("csharp sample tag name1", response.Tags[0].Name);
-
- Assert.IsType>(response.PhotoUrls);
- Assert.Equal("sample photoUrls", response.PhotoUrls[0]);
-
- Assert.IsType(response.Category);
- Assert.Equal(56, response.Category.Id);
- Assert.Equal("sample category name2", response.Category.Name);
- }
-
- ///
- /// Test GetPetById on a non-existent Id
- ///
- [Fact]
- public void TestGetPetById_TestException()
- {
- PetApi petApi = new PetApi();
-
- var exception = Assert.Throws(() =>
- {
- petApi.GetPetById(notExistentPetId);
- });
-
- Assert.IsType(exception);
- Assert.Equal(404, exception.ErrorCode);
- Assert.Equal("{\"code\":1,\"type\":\"error\",\"message\":\"Pet not found\"}", exception.ErrorContent);
- Assert.Equal("Error calling GetPetById: {\"code\":1,\"type\":\"error\",\"message\":\"Pet not found\"}", exception.Message);
- }
-
- /* a simple test for binary response. no longer in use.
- [Fact]
- public void TestGetByIdBinaryResponse()
- {
- PetApi petApi = new PetApi(c1);
- Stream response = petApi.GetPetByIdBinaryResponse(petId);
- Assert.IsType(response);
- StreamReader reader = new StreamReader(response);
- // the following will fail for sure
- //Assert.Equal("something", reader.ReadToEnd());
- }
- */
-
- ///
- /// Test GetPetByIdWithHttpInfoAsync
- ///
- [Fact]
- public void TestGetPetByIdWithHttpInfoAsync()
- {
- PetApi petApi = new PetApi();
- var task = petApi.GetPetByIdWithHttpInfoAsync(petId);
-
- Assert.Equal(200, (int)task.Result.StatusCode);
- Assert.True(task.Result.Headers.ContainsKey("Content-Type"));
- Assert.Equal("application/json", task.Result.Headers["Content-Type"][0]);
-
- Pet response = task.Result.Data;
- Assert.IsType(response);
-
- Assert.Equal("Csharp test", response.Name);
- Assert.Equal(Pet.StatusEnum.Available, response.Status);
-
- Assert.IsType>(response.Tags);
- Assert.Equal(petId, response.Tags[0].Id);
- Assert.Equal("csharp sample tag name1", response.Tags[0].Name);
-
- Assert.IsType>(response.PhotoUrls);
- Assert.Equal("sample photoUrls", response.PhotoUrls[0]);
-
- Assert.IsType(response.Category);
- Assert.Equal(56, response.Category.Id);
- Assert.Equal("sample category name2", response.Category.Name);
- }
-
- [Fact]
- public void TestGetPetByIdWithHttpInfoAsync_Test404Response()
- {
- PetApi petApi = new PetApi();
- petApi.ExceptionFactory = null;
- var response = petApi.GetPetByIdWithHttpInfoAsync(notExistentPetId).Result;
- Pet result = response.Data;
-
- Assert.IsType>(response);
- Assert.Equal(404, (int)response.StatusCode);
- Assert.True(response.Headers.ContainsKey("Content-Type"));
- Assert.Equal("application/json", response.Headers["Content-Type"][0]);
-
- Assert.Null(result);
- Assert.Equal("{\"code\":1,\"type\":\"error\",\"message\":\"Pet not found\"}", response.RawContent);
- Assert.Equal("Not Found", response.ErrorText);
+ // TODO uncomment below to test the method and replace null with proper value
+ //long petId = null;
+ //var response = instance.GetPetById(petId);
+ //Assert.IsType(response);
}
///
@@ -293,55 +119,37 @@ public void TestGetPetByIdWithHttpInfoAsync_Test404Response()
public void UpdatePetTest()
{
// TODO uncomment below to test the method and replace null with proper value
- // create pet
- Pet p = createPet();
- instance.UpdatePet(p);
-
+ //Pet pet = null;
+ //instance.UpdatePet(pet);
}
-
+
///
/// Test UpdatePetWithForm
///
[Fact]
public void UpdatePetWithFormTest()
{
- PetApi petApi = new PetApi();
- petApi.UpdatePetWithForm(petId, "new form name", "pending");
-
- Pet response = petApi.GetPetById(petId);
- Assert.IsType(response);
- Assert.IsType(response.Category);
- Assert.IsType>(response.Tags);
-
- Assert.Equal("new form name", response.Name);
- Assert.Equal(Pet.StatusEnum.Pending, response.Status);
-
- Assert.Equal(petId, response.Tags[0].Id);
- Assert.Equal(56, response.Category.Id);
-
- // test optional parameter
- petApi.UpdatePetWithForm(petId, "new form name2");
- Pet response2 = petApi.GetPetById(petId);
- Assert.Equal("new form name2", response2.Name);
+ // TODO uncomment below to test the method and replace null with proper value
+ //long petId = null;
+ //string name = null;
+ //string status = null;
+ //instance.UpdatePetWithForm(petId, name, status);
}
-
+
///
/// Test UploadFile
///
[Fact]
public void UploadFileTest()
{
- Assembly _assembly = Assembly.GetExecutingAssembly();
- Stream _imageStream = _assembly.GetManifestResourceStream("Org.OpenAPITools.Test.linux-logo.png");
- PetApi petApi = new PetApi();
- // test file upload with form parameters
- petApi.UploadFile(petId, "new form name", _imageStream);
-
- // test file upload without any form parameters
- // using optional parameter syntax introduced at .net 4.0
- petApi.UploadFile(petId: petId, file: _imageStream);
+ // TODO uncomment below to test the method and replace null with proper value
+ //long petId = null;
+ //string additionalMetadata = null;
+ //FileParameter file = null;
+ //var response = instance.UploadFile(petId, additionalMetadata, file);
+ //Assert.IsType(response);
}
-
+
///
/// Test UploadFileWithRequiredFile
///
@@ -349,47 +157,11 @@ public void UploadFileTest()
public void UploadFileWithRequiredFileTest()
{
// TODO uncomment below to test the method and replace null with proper value
- //long? petId = null;
- //System.IO.Stream requiredFile = null;
+ //long petId = null;
+ //FileParameter requiredFile = null;
//string additionalMetadata = null;
//var response = instance.UploadFileWithRequiredFile(petId, requiredFile, additionalMetadata);
- //Assert.IsType (response, "response is ApiResponse");
- }
-
- ///
- /// Test status code
- ///
- [Fact]
- public void TestStatusCodeAndHeader()
- {
- PetApi petApi = new PetApi();
- var response = petApi.GetPetByIdWithHttpInfo(petId);
- //Assert.Equal("OK", response.StatusCode);
- Assert.Equal(200, (int)response.StatusCode);
- Assert.True(response.Headers.ContainsKey("Content-Type"));
- Assert.Equal("application/json", response.Headers["Content-Type"][0]);
- }
-
- ///
- /// Test default header (should be deprecated)
- ///
- [Fact]
- public void TestDefaultHeader()
- {
- //PetApi petApi = new PetApi();
- // commented out the warning test below as it's confirmed the warning is working as expected
- // there should be a warning for using AddDefaultHeader (deprecated) below
- //petApi.AddDefaultHeader ("header_key", "header_value");
- // the following should be used instead as suggested in the doc
- //petApi.Configuration.AddDefaultHeader("header_key2", "header_value2");
- }
-
- public void Dispose()
- {
- // remove the pet after testing
- PetApi petApi = new PetApi();
- petApi.DeletePet(petId, "test key");
+ //Assert.IsType(response);
}
}
-
}
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
index f211a64884af..b4bb73592031 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
index afe9e846ee94..0b9efbd5a20b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
index 9ab029ed0979..d766719b5bce 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
index ced34a4faadd..0bc46ab7f479 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
index 2a2e098e6082..901c6a02965e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
index f945f6593685..94d06c61e236 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
index 468d60184ada..b3aa7e34f8db 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
index 0b259d7d3916..d52b1938e420 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
index 27f312ad25f5..421bfd6caeab 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
index a433e8c87cf7..5028c715b988 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
index 8a6eeb82eeea..8242ff9e7969 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
index 8d8cc376b038..ddcea686eee8 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
index 3cdccaa75959..9cb45c006e64 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
index 185c83666fc7..9e6a400d1ed1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
index 701ba7602823..c1b10d32171b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CatTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
index 6ce48e601e47..d1ef61862440 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
index 68566fd8d560..b40a42cb0225 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
index d29472e83aaf..a09b95ab4c9c 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
index b3529280c8d6..835c5b87bc6e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
index 572d9bffa790..765496ea0ced 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
index 3bd2b54a366a..67be10782efd 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DateOnlyClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
index 1da5f4011c95..be6b35dbf451 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DeprecatedObjectTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
index 992f93a51fd5..a00de64ef51a 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DogTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
index 0709ad9eeb3b..3b1308e50513 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
index 5779ca294775..6fcfa6f448c1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumArraysTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
index a17738c5cbc5..bb46e292a652 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
index 4f81b845d493..3050af442410 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EnumTestTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
index 4663cb667de6..71d48f7e200a 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
index 9f45b4fe89d5..d89ad5a5bc7b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileSchemaTestClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
index 761bb72a844f..7eaea9c8786f 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FileTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
index 0154d528418e..563269643111 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooGetDefaultResponseTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
index 0b6ed52edbd4..52f87dd5b0e0 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FooTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
index 97332800e9af..611393395b3e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FormatTestTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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,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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
index 5ea9e3ffc1d5..771ef1ae2c5d 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
index 91e069bb42fa..53881a333193 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
index 08fb0e07a1c8..6322d4e2a721 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
index faa4930944be..3adc2a0573e7 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
index 651a9f0ce30c..69abe3f9e6ad 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HasOnlyReadOnlyTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
index 857190a3334d..794fda2c2d6d 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/HealthCheckResultTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
index 755c417cc54f..ca8a058e37df 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
index 2ed828d05208..d659080e89c9 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ListTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
index 74dc17b9f4a1..58dc425228ff 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/LiteralStringClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
index 7b46cbf06450..3fdadd19646c 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
index 20036e1c905e..e055027f15bf 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MapTestTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
index f56cd715f45f..07c592a8a4c0 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/MixedPropertiesAndAdditionalPropertiesClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
index e25478618f20..85be687d5c2b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/Model200ResponseTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
index 24a9e2631586..a5f4aa1593e1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ModelClientTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
index c390049e66dc..fc1756b66bec 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NameTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
index 8f00505612a9..214795f86c27 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
index 0bc0ea369188..1290072514cd 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableGuidClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
index 5662f91d6e64..75e9c7e8fd49 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
index 3a06cb020b2a..2fb06f9afb48 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/NumberOnlyTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
index 82f93fab48c5..e90b746d19c6 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ObjectWithDeprecatedFieldsTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
index 75bd7cd9bfd0..04727e77c691 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OneOfStringTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
index cf5c561c5476..84d2828b367f 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OrderTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
index 2efda0db59c4..fd52fa2cfca7 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterCompositeTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
index 986fff774c46..db98c5a44ae3 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumDefaultValueTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
index 015d5dab945e..a4c028ea750d 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerDefaultValueTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
index 385e899110a4..4d1be408011e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumIntegerTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
index f47304767b9e..d4d6e96125d9 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/OuterEnumTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
index 1e17568ed331..eb9f5956b215 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
index 154e66f8dfc0..535ab69d2aa2 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PetTests.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
index 55cf2189046b..34562dc6860f 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PigTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
index eff3c6ddc9bb..a546cd2b0032 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/PolymorphicPropertyTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
index 6eef9f4c816d..d08798b36050 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
index 26826681a478..cd996d7e0edf 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
index dc3d0fad54cd..056bc2b4519c 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReadOnlyFirstTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
index c8c1d6510d2f..d2dc7ce4a7e1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ReturnTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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,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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
index 04cb9f1ab6b1..a7332ab47b03 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
index 7bd0bc86f963..e082fb3b4faa 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
index d0af114157c9..b70c157800b5 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
index b01bd531f857..babd94722cfb 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
index 6648e9809281..24f0288bcac4 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
index 0f0e1ff12a9e..ef8a8d50e3ee 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/SpecialModelNameTests.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
index 6d56232d0a76..8f9ad604eab9 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TagTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
index 4def0dcda9cc..6623a04fcc40 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListObjectTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
index e9df66daf2e5..a32943a0c841 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TestCollectionEndingWithWordListTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
index fba65470bee6..1750c64c4eda 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
index bdaab0b47965..0dd209f5303a 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
index a7b095e4c28e..bc3cb3775de1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/UserTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
index 09610791943c..de86c02372cd 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
index f44e92131400..55e70c43e0a0 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
index f713baf3235e..d828b6d03a7b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumClassTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
index 412297e39f71..38260add43e8 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools.Test/Model/ZeroBasedEnumTests.cs
+++ b/samples/client/petstore/csharp/httpclient/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/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);
}
-
///