diff --git a/bin/configs/csharp-netcore-OpenAPIClientCore.yaml b/bin/configs/csharp-netcore-OpenAPIClientCore.yaml
index 51cc97755d86..fbc12cef7e7c 100644
--- a/bin/configs/csharp-netcore-OpenAPIClientCore.yaml
+++ b/bin/configs/csharp-netcore-OpenAPIClientCore.yaml
@@ -1,6 +1,6 @@
generatorName: csharp-netcore
outputDir: samples/client/petstore/csharp-netcore/OpenAPIClientCore
-inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
+inputSpec: modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
templateDir: modules/openapi-generator/src/main/resources/csharp-netcore
additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache
index 2b4becbec503..aa94c5557915 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache
@@ -1,7 +1,7 @@
///
/// {{#description}}{{.}}{{/description}}{{^description}}{{classname}}{{/description}}
///
- [DataContract]
+ [DataContract(Name = "{{{name}}}")]
{{#discriminator}}
[JsonConverter(typeof(JsonSubtypes), "{{{discriminatorName}}}")]
{{#children}}
@@ -55,7 +55,7 @@
{{#hasOnlyReadOnly}}
[JsonConstructorAttribute]
{{/hasOnlyReadOnly}}
- public {{classname}}({{#readWriteVars}}{{{datatypeWithEnum}}}{{#isEnum}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}}{{/isEnum}} {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}} = {{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}default({{{datatypeWithEnum}}}{{#isEnum}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}}{{/isEnum}}){{/defaultValue}}{{^-last}}, {{/-last}}{{/readWriteVars}}){{#parent}} : base({{#parentVars}}{{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}{{#hasMore}}, {{/hasMore}}{{/parentVars}}){{/parent}}
+ public {{classname}}({{#readWriteVars}}{{{datatypeWithEnum}}}{{#isEnum}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}}{{/isEnum}} {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}} = {{#defaultValue}}{{^isDateTime}}{{{defaultValue}}}{{/isDateTime}}{{#isDateTime}}default({{{datatypeWithEnum}}}){{/isDateTime}}{{/defaultValue}}{{^defaultValue}}default({{{datatypeWithEnum}}}{{#isEnum}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}}{{/isEnum}}){{/defaultValue}}{{^-last}}, {{/-last}}{{/readWriteVars}}){{#parent}} : base({{#parentVars}}{{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}{{#hasMore}}, {{/hasMore}}{{/parentVars}}){{/parent}}
{
{{#vars}}
{{^isInherited}}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs
index 4aeb6ab1cbb6..89ec5cacfe86 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// AdditionalPropertiesClass
///
- [DataContract]
+ [DataContract(Name = "AdditionalPropertiesClass")]
public partial class AdditionalPropertiesClass : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs
index f803384d41bf..e8ee350b38be 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs
@@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model
///
/// Animal
///
- [DataContract]
+ [DataContract(Name = "Animal")]
[JsonConverter(typeof(JsonSubtypes), "ClassName")]
[JsonSubtypes.KnownSubType(typeof(Dog), "Dog")]
[JsonSubtypes.KnownSubType(typeof(Cat), "Cat")]
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs
index 5081a436a6e4..b23c90ca4b51 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// ApiResponse
///
- [DataContract]
+ [DataContract(Name = "ApiResponse")]
public partial class ApiResponse : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs
index 19f7506abe06..d069b1313c85 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// ArrayOfArrayOfNumberOnly
///
- [DataContract]
+ [DataContract(Name = "ArrayOfArrayOfNumberOnly")]
public partial class ArrayOfArrayOfNumberOnly : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs
index de60a4c82969..43b4a3ee9b75 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// ArrayOfNumberOnly
///
- [DataContract]
+ [DataContract(Name = "ArrayOfNumberOnly")]
public partial class ArrayOfNumberOnly : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs
index 44f8b0a98709..aa283d3403eb 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// ArrayTest
///
- [DataContract]
+ [DataContract(Name = "ArrayTest")]
public partial class ArrayTest : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs
index de7ef7431c1d..d8f6d0e16b73 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Capitalization
///
- [DataContract]
+ [DataContract(Name = "Capitalization")]
public partial class Capitalization : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs
index 793f47a85367..1633be4289c7 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Cat
///
- [DataContract]
+ [DataContract(Name = "Cat")]
public partial class Cat : Animal, IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs
index d7aa2b18ec05..1bda8d00dc81 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// CatAllOf
///
- [DataContract]
+ [DataContract(Name = "Cat_allOf")]
public partial class CatAllOf : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs
index 64793707ace6..2d8b422cf89b 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Category
///
- [DataContract]
+ [DataContract(Name = "Category")]
public partial class Category : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs
index c7244c4e2159..ae482ee8633d 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Model for testing model with \"_class\" property
///
- [DataContract]
+ [DataContract(Name = "ClassModel")]
public partial class ClassModel : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs
index c99c91378563..509bd8813c13 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Dog
///
- [DataContract]
+ [DataContract(Name = "Dog")]
public partial class Dog : Animal, IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs
index a6a2d090a3c6..1ed12cc90419 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// DogAllOf
///
- [DataContract]
+ [DataContract(Name = "Dog_allOf")]
public partial class DogAllOf : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs
index cdc8103d8f3a..303638b9e7b5 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// EnumArrays
///
- [DataContract]
+ [DataContract(Name = "EnumArrays")]
public partial class EnumArrays : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs
index 58687dbf7850..6adf138cebb7 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// EnumTest
///
- [DataContract]
+ [DataContract(Name = "Enum_Test")]
public partial class EnumTest : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs
index ea755621bcb8..2506f3fcc05d 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Must be named `File` for test.
///
- [DataContract]
+ [DataContract(Name = "File")]
public partial class File : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs
index 66a658d287a0..a9fd3ee15419 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// FileSchemaTestClass
///
- [DataContract]
+ [DataContract(Name = "FileSchemaTestClass")]
public partial class FileSchemaTestClass : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs
index e31cfbcfeef3..5b3c0a2dbd17 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Foo
///
- [DataContract]
+ [DataContract(Name = "Foo")]
public partial class Foo : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs
index 80372fe36b0f..b9b836c20261 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// FormatTest
///
- [DataContract]
+ [DataContract(Name = "format_test")]
public partial class FormatTest : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs
index 42450fed6df8..d50bb270d7ab 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// HasOnlyReadOnly
///
- [DataContract]
+ [DataContract(Name = "hasOnlyReadOnly")]
public partial class HasOnlyReadOnly : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs
index 1d3342fcffc4..7207eebef1b9 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.
///
- [DataContract]
+ [DataContract(Name = "HealthCheckResult")]
public partial class HealthCheckResult : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs
index d5d28d23fb78..066f6b1440a8 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineObject
///
- [DataContract]
+ [DataContract(Name = "inline_object")]
public partial class InlineObject : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs
index 6bff6af12771..67f66d3b74bb 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineObject1
///
- [DataContract]
+ [DataContract(Name = "inline_object_1")]
public partial class InlineObject1 : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs
index 7ea325bb2514..53ccb46c383f 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineObject2
///
- [DataContract]
+ [DataContract(Name = "inline_object_2")]
public partial class InlineObject2 : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs
index bf1cdaeac58c..6e3d21e76185 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineObject3
///
- [DataContract]
+ [DataContract(Name = "inline_object_3")]
public partial class InlineObject3 : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs
index 7619b1dd7aa6..e86c6e2521c9 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineObject4
///
- [DataContract]
+ [DataContract(Name = "inline_object_4")]
public partial class InlineObject4 : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs
index 9c7b8c0d3eaa..8a54c118a94d 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineObject5
///
- [DataContract]
+ [DataContract(Name = "inline_object_5")]
public partial class InlineObject5 : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs
index fde7ec25c474..90658d9ee075 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// InlineResponseDefault
///
- [DataContract]
+ [DataContract(Name = "inline_response_default")]
public partial class InlineResponseDefault : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs
index 44d892601ecc..08726324fe4d 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// List
///
- [DataContract]
+ [DataContract(Name = "List")]
public partial class List : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs
index 5c711d7269af..83fb41cc023c 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// MapTest
///
- [DataContract]
+ [DataContract(Name = "MapTest")]
public partial class MapTest : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
index 61025f2761d4..2d07c103683d 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// MixedPropertiesAndAdditionalPropertiesClass
///
- [DataContract]
+ [DataContract(Name = "MixedPropertiesAndAdditionalPropertiesClass")]
public partial class MixedPropertiesAndAdditionalPropertiesClass : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs
index a5c41c24b853..bb2df767af18 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Model for testing model name starting with number
///
- [DataContract]
+ [DataContract(Name = "200_response")]
public partial class Model200Response : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs
index cf0d4cc18c9e..62eaa7e2d841 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// ModelClient
///
- [DataContract]
+ [DataContract(Name = "_Client")]
public partial class ModelClient : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs
index 38d3804ad45e..04c5cadbcf9c 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Model for testing model name same as property name
///
- [DataContract]
+ [DataContract(Name = "Name")]
public partial class Name : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs
index 68e687ca57ce..c0cceae5b6bd 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// NullableClass
///
- [DataContract]
+ [DataContract(Name = "NullableClass")]
public partial class NullableClass : Dictionary, IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs
index e07e3d55b781..8b1aeccff9ca 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// NumberOnly
///
- [DataContract]
+ [DataContract(Name = "NumberOnly")]
public partial class NumberOnly : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs
index 5d74095fbbae..46fdacf2c261 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Order
///
- [DataContract]
+ [DataContract(Name = "Order")]
public partial class Order : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs
index 13f4cf275c06..da99d557f0f8 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// OuterComposite
///
- [DataContract]
+ [DataContract(Name = "OuterComposite")]
public partial class OuterComposite : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs
index d15f5180beca..1b23c5a56995 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Pet
///
- [DataContract]
+ [DataContract(Name = "Pet")]
public partial class Pet : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs
index 5edc2b026563..3f92367c6a50 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// ReadOnlyFirst
///
- [DataContract]
+ [DataContract(Name = "ReadOnlyFirst")]
public partial class ReadOnlyFirst : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs
index 883f4e754150..a88f522a26b8 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Model for testing reserved words
///
- [DataContract]
+ [DataContract(Name = "Return")]
public partial class Return : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs
index 977390b2718d..4898e79a4580 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// SpecialModelName
///
- [DataContract]
+ [DataContract(Name = "_special_model.name_")]
public partial class SpecialModelName : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs
index 52d221a4b4b5..1fbde976e396 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// Tag
///
- [DataContract]
+ [DataContract(Name = "Tag")]
public partial class Tag : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs
index 806c09e8b14f..8b6ee8d2d479 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs
@@ -28,7 +28,7 @@ namespace Org.OpenAPITools.Model
///
/// User
///
- [DataContract]
+ [DataContract(Name = "User")]
public partial class User : IEquatable, IValidatableObject
{
///
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/.openapi-generator/FILES b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/.openapi-generator/FILES
index 5aafbfa64d81..d330286cfcd9 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/.openapi-generator/FILES
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/.openapi-generator/FILES
@@ -6,26 +6,41 @@ docs/AdditionalPropertiesClass.md
docs/Animal.md
docs/AnotherFakeApi.md
docs/ApiResponse.md
+docs/Apple.md
+docs/AppleReq.md
docs/ArrayOfArrayOfNumberOnly.md
docs/ArrayOfNumberOnly.md
docs/ArrayTest.md
+docs/Banana.md
+docs/BananaReq.md
+docs/BasquePig.md
docs/Capitalization.md
docs/Cat.md
docs/CatAllOf.md
docs/Category.md
+docs/ChildCat.md
+docs/ChildCatAllOf.md
docs/ClassModel.md
+docs/ComplexQuadrilateral.md
+docs/DanishPig.md
docs/DefaultApi.md
docs/Dog.md
docs/DogAllOf.md
+docs/Drawing.md
docs/EnumArrays.md
docs/EnumClass.md
docs/EnumTest.md
+docs/EquilateralTriangle.md
docs/FakeApi.md
docs/FakeClassnameTags123Api.md
docs/File.md
docs/FileSchemaTestClass.md
docs/Foo.md
docs/FormatTest.md
+docs/Fruit.md
+docs/FruitReq.md
+docs/GmFruit.md
+docs/GrandparentAnimal.md
docs/HasOnlyReadOnly.md
docs/HealthCheckResult.md
docs/InlineObject.md
@@ -35,13 +50,16 @@ docs/InlineObject3.md
docs/InlineObject4.md
docs/InlineObject5.md
docs/InlineResponseDefault.md
+docs/IsoscelesTriangle.md
docs/List.md
+docs/Mammal.md
docs/MapTest.md
docs/MixedPropertiesAndAdditionalPropertiesClass.md
docs/Model200Response.md
docs/ModelClient.md
docs/Name.md
docs/NullableClass.md
+docs/NullableShape.md
docs/NumberOnly.md
docs/Order.md
docs/OuterComposite.md
@@ -49,15 +67,28 @@ docs/OuterEnum.md
docs/OuterEnumDefaultValue.md
docs/OuterEnumInteger.md
docs/OuterEnumIntegerDefaultValue.md
+docs/ParentPet.md
docs/Pet.md
docs/PetApi.md
+docs/Pig.md
+docs/Quadrilateral.md
+docs/QuadrilateralInterface.md
docs/ReadOnlyFirst.md
docs/Return.md
+docs/ScaleneTriangle.md
+docs/Shape.md
+docs/ShapeInterface.md
+docs/ShapeOrNull.md
+docs/SimpleQuadrilateral.md
docs/SpecialModelName.md
docs/StoreApi.md
docs/Tag.md
+docs/Triangle.md
+docs/TriangleInterface.md
docs/User.md
docs/UserApi.md
+docs/Whale.md
+docs/Zebra.md
git_push.sh
src/Org.OpenAPITools/Api/AnotherFakeApi.cs
src/Org.OpenAPITools/Api/DefaultApi.cs
@@ -84,23 +115,38 @@ src/Org.OpenAPITools/Client/RequestOptions.cs
src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs
src/Org.OpenAPITools/Model/Animal.cs
src/Org.OpenAPITools/Model/ApiResponse.cs
+src/Org.OpenAPITools/Model/Apple.cs
+src/Org.OpenAPITools/Model/AppleReq.cs
src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs
src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs
src/Org.OpenAPITools/Model/ArrayTest.cs
+src/Org.OpenAPITools/Model/Banana.cs
+src/Org.OpenAPITools/Model/BananaReq.cs
+src/Org.OpenAPITools/Model/BasquePig.cs
src/Org.OpenAPITools/Model/Capitalization.cs
src/Org.OpenAPITools/Model/Cat.cs
src/Org.OpenAPITools/Model/CatAllOf.cs
src/Org.OpenAPITools/Model/Category.cs
+src/Org.OpenAPITools/Model/ChildCat.cs
+src/Org.OpenAPITools/Model/ChildCatAllOf.cs
src/Org.OpenAPITools/Model/ClassModel.cs
+src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs
+src/Org.OpenAPITools/Model/DanishPig.cs
src/Org.OpenAPITools/Model/Dog.cs
src/Org.OpenAPITools/Model/DogAllOf.cs
+src/Org.OpenAPITools/Model/Drawing.cs
src/Org.OpenAPITools/Model/EnumArrays.cs
src/Org.OpenAPITools/Model/EnumClass.cs
src/Org.OpenAPITools/Model/EnumTest.cs
+src/Org.OpenAPITools/Model/EquilateralTriangle.cs
src/Org.OpenAPITools/Model/File.cs
src/Org.OpenAPITools/Model/FileSchemaTestClass.cs
src/Org.OpenAPITools/Model/Foo.cs
src/Org.OpenAPITools/Model/FormatTest.cs
+src/Org.OpenAPITools/Model/Fruit.cs
+src/Org.OpenAPITools/Model/FruitReq.cs
+src/Org.OpenAPITools/Model/GmFruit.cs
+src/Org.OpenAPITools/Model/GrandparentAnimal.cs
src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs
src/Org.OpenAPITools/Model/HealthCheckResult.cs
src/Org.OpenAPITools/Model/InlineObject.cs
@@ -110,13 +156,16 @@ src/Org.OpenAPITools/Model/InlineObject3.cs
src/Org.OpenAPITools/Model/InlineObject4.cs
src/Org.OpenAPITools/Model/InlineObject5.cs
src/Org.OpenAPITools/Model/InlineResponseDefault.cs
+src/Org.OpenAPITools/Model/IsoscelesTriangle.cs
src/Org.OpenAPITools/Model/List.cs
+src/Org.OpenAPITools/Model/Mammal.cs
src/Org.OpenAPITools/Model/MapTest.cs
src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
src/Org.OpenAPITools/Model/Model200Response.cs
src/Org.OpenAPITools/Model/ModelClient.cs
src/Org.OpenAPITools/Model/Name.cs
src/Org.OpenAPITools/Model/NullableClass.cs
+src/Org.OpenAPITools/Model/NullableShape.cs
src/Org.OpenAPITools/Model/NumberOnly.cs
src/Org.OpenAPITools/Model/Order.cs
src/Org.OpenAPITools/Model/OuterComposite.cs
@@ -124,10 +173,23 @@ src/Org.OpenAPITools/Model/OuterEnum.cs
src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs
src/Org.OpenAPITools/Model/OuterEnumInteger.cs
src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs
+src/Org.OpenAPITools/Model/ParentPet.cs
src/Org.OpenAPITools/Model/Pet.cs
+src/Org.OpenAPITools/Model/Pig.cs
+src/Org.OpenAPITools/Model/Quadrilateral.cs
+src/Org.OpenAPITools/Model/QuadrilateralInterface.cs
src/Org.OpenAPITools/Model/ReadOnlyFirst.cs
src/Org.OpenAPITools/Model/Return.cs
+src/Org.OpenAPITools/Model/ScaleneTriangle.cs
+src/Org.OpenAPITools/Model/Shape.cs
+src/Org.OpenAPITools/Model/ShapeInterface.cs
+src/Org.OpenAPITools/Model/ShapeOrNull.cs
+src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs
src/Org.OpenAPITools/Model/SpecialModelName.cs
src/Org.OpenAPITools/Model/Tag.cs
+src/Org.OpenAPITools/Model/Triangle.cs
+src/Org.OpenAPITools/Model/TriangleInterface.cs
src/Org.OpenAPITools/Model/User.cs
+src/Org.OpenAPITools/Model/Whale.cs
+src/Org.OpenAPITools/Model/Zebra.cs
src/Org.OpenAPITools/Org.OpenAPITools.csproj
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md
index c72c6ccedd99..14047428547a 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md
@@ -106,11 +106,11 @@ Class | Method | HTTP request | Description
*AnotherFakeApi* | [**Call123TestSpecialTags**](docs/AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags
*DefaultApi* | [**FooGet**](docs/DefaultApi.md#fooget) | **GET** /foo |
*FakeApi* | [**FakeHealthGet**](docs/FakeApi.md#fakehealthget) | **GET** /fake/health | Health check endpoint
-*FakeApi* | [**FakeHttpSignatureTest**](docs/FakeApi.md#fakehttpsignaturetest) | **GET** /fake/http-signature-test | test http signature authentication
*FakeApi* | [**FakeOuterBooleanSerialize**](docs/FakeApi.md#fakeouterbooleanserialize) | **POST** /fake/outer/boolean |
*FakeApi* | [**FakeOuterCompositeSerialize**](docs/FakeApi.md#fakeoutercompositeserialize) | **POST** /fake/outer/composite |
*FakeApi* | [**FakeOuterNumberSerialize**](docs/FakeApi.md#fakeouternumberserialize) | **POST** /fake/outer/number |
*FakeApi* | [**FakeOuterStringSerialize**](docs/FakeApi.md#fakeouterstringserialize) | **POST** /fake/outer/string |
+*FakeApi* | [**GetArrayOfEnums**](docs/FakeApi.md#getarrayofenums) | **GET** /fake/array-of-enums | Array of Enums
*FakeApi* | [**TestBodyWithFileSchema**](docs/FakeApi.md#testbodywithfileschema) | **PUT** /fake/body-with-file-schema |
*FakeApi* | [**TestBodyWithQueryParams**](docs/FakeApi.md#testbodywithqueryparams) | **PUT** /fake/body-with-query-params |
*FakeApi* | [**TestClientModel**](docs/FakeApi.md#testclientmodel) | **PATCH** /fake | To test \"client\" model
@@ -150,23 +150,38 @@ Class | Method | HTTP request | Description
- [Model.AdditionalPropertiesClass](docs/AdditionalPropertiesClass.md)
- [Model.Animal](docs/Animal.md)
- [Model.ApiResponse](docs/ApiResponse.md)
+ - [Model.Apple](docs/Apple.md)
+ - [Model.AppleReq](docs/AppleReq.md)
- [Model.ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
- [Model.ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
- [Model.ArrayTest](docs/ArrayTest.md)
+ - [Model.Banana](docs/Banana.md)
+ - [Model.BananaReq](docs/BananaReq.md)
+ - [Model.BasquePig](docs/BasquePig.md)
- [Model.Capitalization](docs/Capitalization.md)
- [Model.Cat](docs/Cat.md)
- [Model.CatAllOf](docs/CatAllOf.md)
- [Model.Category](docs/Category.md)
+ - [Model.ChildCat](docs/ChildCat.md)
+ - [Model.ChildCatAllOf](docs/ChildCatAllOf.md)
- [Model.ClassModel](docs/ClassModel.md)
+ - [Model.ComplexQuadrilateral](docs/ComplexQuadrilateral.md)
+ - [Model.DanishPig](docs/DanishPig.md)
- [Model.Dog](docs/Dog.md)
- [Model.DogAllOf](docs/DogAllOf.md)
+ - [Model.Drawing](docs/Drawing.md)
- [Model.EnumArrays](docs/EnumArrays.md)
- [Model.EnumClass](docs/EnumClass.md)
- [Model.EnumTest](docs/EnumTest.md)
+ - [Model.EquilateralTriangle](docs/EquilateralTriangle.md)
- [Model.File](docs/File.md)
- [Model.FileSchemaTestClass](docs/FileSchemaTestClass.md)
- [Model.Foo](docs/Foo.md)
- [Model.FormatTest](docs/FormatTest.md)
+ - [Model.Fruit](docs/Fruit.md)
+ - [Model.FruitReq](docs/FruitReq.md)
+ - [Model.GmFruit](docs/GmFruit.md)
+ - [Model.GrandparentAnimal](docs/GrandparentAnimal.md)
- [Model.HasOnlyReadOnly](docs/HasOnlyReadOnly.md)
- [Model.HealthCheckResult](docs/HealthCheckResult.md)
- [Model.InlineObject](docs/InlineObject.md)
@@ -176,13 +191,16 @@ Class | Method | HTTP request | Description
- [Model.InlineObject4](docs/InlineObject4.md)
- [Model.InlineObject5](docs/InlineObject5.md)
- [Model.InlineResponseDefault](docs/InlineResponseDefault.md)
+ - [Model.IsoscelesTriangle](docs/IsoscelesTriangle.md)
- [Model.List](docs/List.md)
+ - [Model.Mammal](docs/Mammal.md)
- [Model.MapTest](docs/MapTest.md)
- [Model.MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
- [Model.Model200Response](docs/Model200Response.md)
- [Model.ModelClient](docs/ModelClient.md)
- [Model.Name](docs/Name.md)
- [Model.NullableClass](docs/NullableClass.md)
+ - [Model.NullableShape](docs/NullableShape.md)
- [Model.NumberOnly](docs/NumberOnly.md)
- [Model.Order](docs/Order.md)
- [Model.OuterComposite](docs/OuterComposite.md)
@@ -190,12 +208,25 @@ Class | Method | HTTP request | Description
- [Model.OuterEnumDefaultValue](docs/OuterEnumDefaultValue.md)
- [Model.OuterEnumInteger](docs/OuterEnumInteger.md)
- [Model.OuterEnumIntegerDefaultValue](docs/OuterEnumIntegerDefaultValue.md)
+ - [Model.ParentPet](docs/ParentPet.md)
- [Model.Pet](docs/Pet.md)
+ - [Model.Pig](docs/Pig.md)
+ - [Model.Quadrilateral](docs/Quadrilateral.md)
+ - [Model.QuadrilateralInterface](docs/QuadrilateralInterface.md)
- [Model.ReadOnlyFirst](docs/ReadOnlyFirst.md)
- [Model.Return](docs/Return.md)
+ - [Model.ScaleneTriangle](docs/ScaleneTriangle.md)
+ - [Model.Shape](docs/Shape.md)
+ - [Model.ShapeInterface](docs/ShapeInterface.md)
+ - [Model.ShapeOrNull](docs/ShapeOrNull.md)
+ - [Model.SimpleQuadrilateral](docs/SimpleQuadrilateral.md)
- [Model.SpecialModelName](docs/SpecialModelName.md)
- [Model.Tag](docs/Tag.md)
+ - [Model.Triangle](docs/Triangle.md)
+ - [Model.TriangleInterface](docs/TriangleInterface.md)
- [Model.User](docs/User.md)
+ - [Model.Whale](docs/Whale.md)
+ - [Model.Zebra](docs/Zebra.md)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AdditionalPropertiesClass.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AdditionalPropertiesClass.md
index 057f5bd65dfc..fbcf3be947a5 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AdditionalPropertiesClass.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AdditionalPropertiesClass.md
@@ -5,6 +5,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**MapProperty** | **Dictionary<string, string>** | | [optional]
**MapOfMapProperty** | **Dictionary<string, Dictionary<string, string>>** | | [optional]
+**Anytype1** | **Object** | | [optional]
+**MapWithUndeclaredPropertiesAnytype1** | **Object** | | [optional]
+**MapWithUndeclaredPropertiesAnytype2** | **Object** | | [optional]
+**MapWithUndeclaredPropertiesAnytype3** | **Dictionary<string, Object>** | | [optional]
+**EmptyMap** | **Object** | an object with no declared properties and no undeclared properties, hence it's an empty map. | [optional]
+**MapWithUndeclaredPropertiesString** | **Dictionary<string, string>** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Apple.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Apple.md
new file mode 100644
index 000000000000..1b3949b9f219
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Apple.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Apple
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Cultivar** | **string** | | [optional]
+**Origin** | **string** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AppleReq.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AppleReq.md
new file mode 100644
index 000000000000..1a3f09548e8a
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AppleReq.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.AppleReq
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Cultivar** | **string** | |
+**Mealy** | **bool** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Banana.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Banana.md
new file mode 100644
index 000000000000..74aa8a86b74f
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Banana.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.Banana
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LengthCm** | **decimal** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/BananaReq.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/BananaReq.md
new file mode 100644
index 000000000000..10ea538f5902
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/BananaReq.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.BananaReq
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LengthCm** | **decimal** | |
+**Sweet** | **bool** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/BasquePig.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/BasquePig.md
new file mode 100644
index 000000000000..36c2df9673a1
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/BasquePig.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.BasquePig
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCat.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCat.md
new file mode 100644
index 000000000000..3942b9d1b9ca
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCat.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ChildCat
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCatAllOf.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCatAllOf.md
new file mode 100644
index 000000000000..b016be9f69e0
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCatAllOf.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ChildCatAllOf
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ComplexQuadrilateral.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ComplexQuadrilateral.md
new file mode 100644
index 000000000000..46da47c51249
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ComplexQuadrilateral.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.ComplexQuadrilateral
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DanishPig.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DanishPig.md
new file mode 100644
index 000000000000..53f6a754270e
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DanishPig.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.DanishPig
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Drawing.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Drawing.md
new file mode 100644
index 000000000000..cdb1654356fa
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Drawing.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Drawing
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MainShape** | [**Shape**](Shape.md) | | [optional]
+**ShapeOrNull** | [**ShapeOrNull**](ShapeOrNull.md) | | [optional]
+**NullableShape** | [**NullableShape**](NullableShape.md) | | [optional]
+**Shapes** | [**List<Shape>**](Shape.md) | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/EquilateralTriangle.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/EquilateralTriangle.md
new file mode 100644
index 000000000000..9899d7c5db5b
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/EquilateralTriangle.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.EquilateralTriangle
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**TriangleType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md
index 6977efae528f..7f5e0f57cab4 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md
@@ -5,11 +5,11 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
Method | HTTP request | Description
------------- | ------------- | -------------
[**FakeHealthGet**](FakeApi.md#fakehealthget) | **GET** /fake/health | Health check endpoint
-[**FakeHttpSignatureTest**](FakeApi.md#fakehttpsignaturetest) | **GET** /fake/http-signature-test | test http signature authentication
[**FakeOuterBooleanSerialize**](FakeApi.md#fakeouterbooleanserialize) | **POST** /fake/outer/boolean |
[**FakeOuterCompositeSerialize**](FakeApi.md#fakeoutercompositeserialize) | **POST** /fake/outer/composite |
[**FakeOuterNumberSerialize**](FakeApi.md#fakeouternumberserialize) | **POST** /fake/outer/number |
[**FakeOuterStringSerialize**](FakeApi.md#fakeouterstringserialize) | **POST** /fake/outer/string |
+[**GetArrayOfEnums**](FakeApi.md#getarrayofenums) | **GET** /fake/array-of-enums | Array of Enums
[**TestBodyWithFileSchema**](FakeApi.md#testbodywithfileschema) | **PUT** /fake/body-with-file-schema |
[**TestBodyWithQueryParams**](FakeApi.md#testbodywithqueryparams) | **PUT** /fake/body-with-query-params |
[**TestClientModel**](FakeApi.md#testclientmodel) | **PATCH** /fake | To test \"client\" model
@@ -85,11 +85,13 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **FakeHttpSignatureTest**
-> void FakeHttpSignatureTest (Pet pet, string query1 = null, string header1 = null)
+
+# **FakeOuterBooleanSerialize**
+> bool FakeOuterBooleanSerialize (bool? body = null)
+
-test http signature authentication
+
+Test serialization of outer boolean types
### Example
```csharp
@@ -101,26 +103,23 @@ using Org.OpenAPITools.Model;
namespace Example
{
- public class FakeHttpSignatureTestExample
+ public class FakeOuterBooleanSerializeExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://petstore.swagger.io:80/v2";
-
var apiInstance = new FakeApi(config);
- var pet = new Pet(); // Pet | Pet object that needs to be added to the store
- var query1 = query1_example; // string | query parameter (optional)
- var header1 = header1_example; // string | header parameter (optional)
+ var body = true; // bool? | Input boolean as post body (optional)
try
{
- // test http signature authentication
- apiInstance.FakeHttpSignatureTest(pet, query1, header1);
+ bool result = apiInstance.FakeOuterBooleanSerialize(body);
+ Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling FakeApi.FakeHttpSignatureTest: " + e.Message );
+ Debug.Print("Exception when calling FakeApi.FakeOuterBooleanSerialize: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -133,37 +132,35 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
- **query1** | **string**| query parameter | [optional]
- **header1** | **string**| header parameter | [optional]
+ **body** | **bool?**| Input boolean as post body | [optional]
### Return type
-void (empty response body)
+**bool**
### Authorization
-[http_signature_test](../README.md#http_signature_test)
+No authorization required
### HTTP request headers
- - **Content-Type**: application/json, application/xml
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: */*
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | The instance started successfully | - |
+| **200** | Output boolean | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **FakeOuterBooleanSerialize**
-> bool FakeOuterBooleanSerialize (bool? body = null)
+
+# **FakeOuterCompositeSerialize**
+> OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null)
-Test serialization of outer boolean types
+Test serialization of object with outer number type
### Example
```csharp
@@ -175,23 +172,23 @@ using Org.OpenAPITools.Model;
namespace Example
{
- public class FakeOuterBooleanSerializeExample
+ public class FakeOuterCompositeSerializeExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(config);
- var body = true; // bool? | Input boolean as post body (optional)
+ var outerComposite = new OuterComposite(); // OuterComposite | Input composite as post body (optional)
try
{
- bool result = apiInstance.FakeOuterBooleanSerialize(body);
+ OuterComposite result = apiInstance.FakeOuterCompositeSerialize(outerComposite);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling FakeApi.FakeOuterBooleanSerialize: " + e.Message );
+ Debug.Print("Exception when calling FakeApi.FakeOuterCompositeSerialize: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -204,11 +201,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | **bool?**| Input boolean as post body | [optional]
+ **outerComposite** | [**OuterComposite**](OuterComposite.md)| Input composite as post body | [optional]
### Return type
-**bool**
+[**OuterComposite**](OuterComposite.md)
### Authorization
@@ -222,17 +219,17 @@ No authorization required
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Output boolean | - |
+| **200** | Output composite | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **FakeOuterCompositeSerialize**
-> OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null)
+
+# **FakeOuterNumberSerialize**
+> decimal FakeOuterNumberSerialize (decimal? body = null)
-Test serialization of object with outer number type
+Test serialization of outer number types
### Example
```csharp
@@ -244,23 +241,23 @@ using Org.OpenAPITools.Model;
namespace Example
{
- public class FakeOuterCompositeSerializeExample
+ public class FakeOuterNumberSerializeExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(config);
- var outerComposite = new OuterComposite(); // OuterComposite | Input composite as post body (optional)
+ var body = 8.14; // decimal? | Input number as post body (optional)
try
{
- OuterComposite result = apiInstance.FakeOuterCompositeSerialize(outerComposite);
+ decimal result = apiInstance.FakeOuterNumberSerialize(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling FakeApi.FakeOuterCompositeSerialize: " + e.Message );
+ Debug.Print("Exception when calling FakeApi.FakeOuterNumberSerialize: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -273,11 +270,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **outerComposite** | [**OuterComposite**](OuterComposite.md)| Input composite as post body | [optional]
+ **body** | **decimal?**| Input number as post body | [optional]
### Return type
-[**OuterComposite**](OuterComposite.md)
+**decimal**
### Authorization
@@ -291,17 +288,17 @@ No authorization required
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Output composite | - |
+| **200** | Output number | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **FakeOuterNumberSerialize**
-> decimal FakeOuterNumberSerialize (decimal? body = null)
+
+# **FakeOuterStringSerialize**
+> string FakeOuterStringSerialize (string body = null)
-Test serialization of outer number types
+Test serialization of outer string types
### Example
```csharp
@@ -313,23 +310,23 @@ using Org.OpenAPITools.Model;
namespace Example
{
- public class FakeOuterNumberSerializeExample
+ public class FakeOuterStringSerializeExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(config);
- var body = 8.14; // decimal? | Input number as post body (optional)
+ var body = body_example; // string | Input string as post body (optional)
try
{
- decimal result = apiInstance.FakeOuterNumberSerialize(body);
+ string result = apiInstance.FakeOuterStringSerialize(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling FakeApi.FakeOuterNumberSerialize: " + e.Message );
+ Debug.Print("Exception when calling FakeApi.FakeOuterStringSerialize: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -342,11 +339,11 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | **decimal?**| Input number as post body | [optional]
+ **body** | **string**| Input string as post body | [optional]
### Return type
-**decimal**
+**string**
### Authorization
@@ -360,17 +357,15 @@ No authorization required
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Output number | - |
+| **200** | Output string | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **FakeOuterStringSerialize**
-> string FakeOuterStringSerialize (string body = null)
-
+
+# **GetArrayOfEnums**
+> List<OuterEnum> GetArrayOfEnums ()
-
-Test serialization of outer string types
+Array of Enums
### Example
```csharp
@@ -382,23 +377,23 @@ using Org.OpenAPITools.Model;
namespace Example
{
- public class FakeOuterStringSerializeExample
+ public class GetArrayOfEnumsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(config);
- var body = body_example; // string | Input string as post body (optional)
try
{
- string result = apiInstance.FakeOuterStringSerialize(body);
+ // Array of Enums
+ List result = apiInstance.GetArrayOfEnums();
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling FakeApi.FakeOuterStringSerialize: " + e.Message );
+ Debug.Print("Exception when calling FakeApi.GetArrayOfEnums: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -408,14 +403,11 @@ namespace Example
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **string**| Input string as post body | [optional]
+This endpoint does not need any parameter.
### Return type
-**string**
+[**List<OuterEnum>**](OuterEnum.md)
### Authorization
@@ -423,13 +415,13 @@ No authorization required
### HTTP request headers
- - **Content-Type**: application/json
- - **Accept**: */*
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Output string | - |
+| **200** | Got named array of enums | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -679,7 +671,7 @@ namespace Example
var _string = _string_example; // string | None (optional)
var binary = BINARY_DATA_HERE; // System.IO.Stream | None (optional)
var date = 2013-10-20; // DateTime? | None (optional)
- var dateTime = 2013-10-20T19:20:30+01:00; // DateTime? | None (optional)
+ var dateTime = 2013-10-20T19:20:30+01:00; // DateTime? | None (optional) (default to "2010-02-01T10:20:10.111110+01:00")
var password = password_example; // string | None (optional)
var callback = callback_example; // string | None (optional)
@@ -714,7 +706,7 @@ Name | Type | Description | Notes
**_string** | **string**| None | [optional]
**binary** | **System.IO.Stream****System.IO.Stream**| None | [optional]
**date** | **DateTime?**| None | [optional]
- **dateTime** | **DateTime?**| None | [optional]
+ **dateTime** | **DateTime?**| None | [optional] [default to "2010-02-01T10:20:10.111110+01:00"]
**password** | **string**| None | [optional]
**callback** | **string**| None | [optional]
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Fruit.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Fruit.md
new file mode 100644
index 000000000000..ab12d86b7c35
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Fruit.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Fruit
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Color** | **string** | | [optional]
+**Cultivar** | **string** | | [optional]
+**Origin** | **string** | | [optional]
+**LengthCm** | **decimal** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FruitReq.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FruitReq.md
new file mode 100644
index 000000000000..06120314fb65
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FruitReq.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.FruitReq
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Cultivar** | **string** | |
+**Mealy** | **bool** | | [optional]
+**LengthCm** | **decimal** | |
+**Sweet** | **bool** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/GmFruit.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/GmFruit.md
new file mode 100644
index 000000000000..2cdabaa6ec68
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/GmFruit.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.GmFruit
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Color** | **string** | | [optional]
+**Cultivar** | **string** | | [optional]
+**Origin** | **string** | | [optional]
+**LengthCm** | **decimal** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/GrandparentAnimal.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/GrandparentAnimal.md
new file mode 100644
index 000000000000..2879f720f42f
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/GrandparentAnimal.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.GrandparentAnimal
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PetType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/InlineObject3.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/InlineObject3.md
index 3b83347182a4..38b5bf8a5ce4 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/InlineObject3.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/InlineObject3.md
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**Byte** | **byte[]** | None |
**Binary** | **System.IO.Stream** | None | [optional]
**Date** | **DateTime** | None | [optional]
-**DateTime** | **DateTime** | None | [optional]
+**DateTime** | **DateTime** | None | [optional] [default to "2010-02-01T10:20:10.111110+01:00"]
**Password** | **string** | None | [optional]
**Callback** | **string** | None | [optional]
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/IsoscelesTriangle.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/IsoscelesTriangle.md
new file mode 100644
index 000000000000..d4ac347e2e5a
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/IsoscelesTriangle.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.IsoscelesTriangle
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**TriangleType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Mammal.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Mammal.md
new file mode 100644
index 000000000000..b3f243cc6e28
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Mammal.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Mammal
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**HasBaleen** | **bool** | | [optional]
+**HasTeeth** | **bool** | | [optional]
+**ClassName** | **string** | |
+**Type** | **string** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/NullableShape.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/NullableShape.md
new file mode 100644
index 000000000000..4fe318e4a16d
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/NullableShape.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.NullableShape
+The value may be a shape or the 'null' value. The 'nullable' attribute was introduced in OAS schema >= 3.0 and has been deprecated in OAS schema >= 3.1.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ParentPet.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ParentPet.md
new file mode 100644
index 000000000000..188f0754e3b3
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ParentPet.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ParentPet
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PetType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md
index 70e0df04f4e9..5acd4f352036 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md
@@ -71,7 +71,7 @@ void (empty response body)
### Authorization
-[petstore_auth](../README.md#petstore_auth)
+[http_signature_test](../README.md#http_signature_test), [petstore_auth](../README.md#petstore_auth)
### HTTP request headers
@@ -216,7 +216,7 @@ Name | Type | Description | Notes
### Authorization
-[petstore_auth](../README.md#petstore_auth)
+[http_signature_test](../README.md#http_signature_test), [petstore_auth](../README.md#petstore_auth)
### HTTP request headers
@@ -290,7 +290,7 @@ Name | Type | Description | Notes
### Authorization
-[petstore_auth](../README.md#petstore_auth)
+[http_signature_test](../README.md#http_signature_test), [petstore_auth](../README.md#petstore_auth)
### HTTP request headers
@@ -438,7 +438,7 @@ void (empty response body)
### Authorization
-[petstore_auth](../README.md#petstore_auth)
+[http_signature_test](../README.md#http_signature_test), [petstore_auth](../README.md#petstore_auth)
### HTTP request headers
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Pig.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Pig.md
new file mode 100644
index 000000000000..6e9ea931901a
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Pig.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.Pig
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Quadrilateral.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Quadrilateral.md
new file mode 100644
index 000000000000..2676d64eabb4
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Quadrilateral.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Quadrilateral
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/QuadrilateralInterface.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/QuadrilateralInterface.md
new file mode 100644
index 000000000000..0fd001c58bc0
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/QuadrilateralInterface.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.QuadrilateralInterface
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ScaleneTriangle.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ScaleneTriangle.md
new file mode 100644
index 000000000000..2ebc1db5b4ab
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ScaleneTriangle.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.ScaleneTriangle
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**TriangleType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Shape.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Shape.md
new file mode 100644
index 000000000000..cabde4dffc94
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Shape.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Shape
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ShapeInterface.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ShapeInterface.md
new file mode 100644
index 000000000000..6126932df84d
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ShapeInterface.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ShapeInterface
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ShapeOrNull.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ShapeOrNull.md
new file mode 100644
index 000000000000..59c2453ac787
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ShapeOrNull.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.ShapeOrNull
+The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/SimpleQuadrilateral.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/SimpleQuadrilateral.md
new file mode 100644
index 000000000000..5f55ec3e8337
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/SimpleQuadrilateral.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.SimpleQuadrilateral
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**QuadrilateralType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Triangle.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Triangle.md
new file mode 100644
index 000000000000..6578de980398
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Triangle.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Triangle
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ShapeType** | **string** | |
+**TriangleType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/TriangleInterface.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/TriangleInterface.md
new file mode 100644
index 000000000000..c354aa04761f
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/TriangleInterface.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.TriangleInterface
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TriangleType** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/User.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/User.md
index e3deddebc205..a6b2889dc60f 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/User.md
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/User.md
@@ -11,6 +11,10 @@ Name | Type | Description | Notes
**Password** | **string** | | [optional]
**Phone** | **string** | | [optional]
**UserStatus** | **int** | User Status | [optional]
+**ObjectWithNoDeclaredProps** | **Object** | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional]
+**ObjectWithNoDeclaredPropsNullable** | **Object** | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional]
+**AnyTypeProp** | **Object** | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 | [optional]
+**AnyTypePropNullable** | **Object** | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Whale.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Whale.md
new file mode 100644
index 000000000000..cd60de874dc1
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Whale.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.Whale
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**HasBaleen** | **bool** | | [optional]
+**HasTeeth** | **bool** | | [optional]
+**ClassName** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Zebra.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Zebra.md
new file mode 100644
index 000000000000..48da462bd08d
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/Zebra.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Zebra
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Type** | **string** | | [optional]
+**ClassName** | **string** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
new file mode 100644
index 000000000000..1e8e0efe1192
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing AppleReq
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class AppleReqTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for AppleReq
+ //private AppleReq instance;
+
+ public AppleReqTests()
+ {
+ // TODO uncomment below to create an instance of AppleReq
+ //instance = new AppleReq();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of AppleReq
+ ///
+ [Fact]
+ public void AppleReqInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" AppleReq
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a AppleReq");
+ }
+
+
+ ///
+ /// Test the property 'Cultivar'
+ ///
+ [Fact]
+ public void CultivarTest()
+ {
+ // TODO unit test for the property 'Cultivar'
+ }
+ ///
+ /// Test the property 'Mealy'
+ ///
+ [Fact]
+ public void MealyTest()
+ {
+ // TODO unit test for the property 'Mealy'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
new file mode 100644
index 000000000000..69b870d3e269
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/AppleTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Apple
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class AppleTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Apple
+ //private Apple instance;
+
+ public AppleTests()
+ {
+ // TODO uncomment below to create an instance of Apple
+ //instance = new Apple();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Apple
+ ///
+ [Fact]
+ public void AppleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Apple
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Apple");
+ }
+
+
+ ///
+ /// Test the property 'Cultivar'
+ ///
+ [Fact]
+ public void CultivarTest()
+ {
+ // TODO unit test for the property 'Cultivar'
+ }
+ ///
+ /// Test the property 'Origin'
+ ///
+ [Fact]
+ public void OriginTest()
+ {
+ // TODO unit test for the property 'Origin'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
new file mode 100644
index 000000000000..8465dc380369
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing BananaReq
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class BananaReqTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for BananaReq
+ //private BananaReq instance;
+
+ public BananaReqTests()
+ {
+ // TODO uncomment below to create an instance of BananaReq
+ //instance = new BananaReq();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of BananaReq
+ ///
+ [Fact]
+ public void BananaReqInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" BananaReq
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a BananaReq");
+ }
+
+
+ ///
+ /// Test the property 'LengthCm'
+ ///
+ [Fact]
+ public void LengthCmTest()
+ {
+ // TODO unit test for the property 'LengthCm'
+ }
+ ///
+ /// Test the property 'Sweet'
+ ///
+ [Fact]
+ public void SweetTest()
+ {
+ // TODO unit test for the property 'Sweet'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
new file mode 100644
index 000000000000..24ac64704911
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BananaTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Banana
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class BananaTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Banana
+ //private Banana instance;
+
+ public BananaTests()
+ {
+ // TODO uncomment below to create an instance of Banana
+ //instance = new Banana();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Banana
+ ///
+ [Fact]
+ public void BananaInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Banana
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Banana");
+ }
+
+
+ ///
+ /// Test the property 'LengthCm'
+ ///
+ [Fact]
+ public void LengthCmTest()
+ {
+ // TODO unit test for the property 'LengthCm'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
new file mode 100644
index 000000000000..561a82902909
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing BasquePig
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class BasquePigTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for BasquePig
+ //private BasquePig instance;
+
+ public BasquePigTests()
+ {
+ // TODO uncomment below to create an instance of BasquePig
+ //instance = new BasquePig();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of BasquePig
+ ///
+ [Fact]
+ public void BasquePigInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" BasquePig
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a BasquePig");
+ }
+
+
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ChildCatAllOfTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ChildCatAllOfTests.cs
new file mode 100644
index 000000000000..99647a66d629
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ChildCatAllOfTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ChildCatAllOf
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ChildCatAllOfTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ChildCatAllOf
+ //private ChildCatAllOf instance;
+
+ public ChildCatAllOfTests()
+ {
+ // TODO uncomment below to create an instance of ChildCatAllOf
+ //instance = new ChildCatAllOf();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ChildCatAllOf
+ ///
+ [Fact]
+ public void ChildCatAllOfInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ChildCatAllOf
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ChildCatAllOf");
+ }
+
+
+ ///
+ /// Test the property 'Name'
+ ///
+ [Fact]
+ public void NameTest()
+ {
+ // TODO unit test for the property 'Name'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
new file mode 100644
index 000000000000..ea933f02e05a
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ChildCat
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ChildCatTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ChildCat
+ //private ChildCat instance;
+
+ public ChildCatTests()
+ {
+ // TODO uncomment below to create an instance of ChildCat
+ //instance = new ChildCat();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ChildCat
+ ///
+ [Fact]
+ public void ChildCatInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ChildCat
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ChildCat");
+ }
+
+
+ ///
+ /// Test the property 'Name'
+ ///
+ [Fact]
+ public void NameTest()
+ {
+ // TODO unit test for the property 'Name'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
new file mode 100644
index 000000000000..1ca093e7d1ba
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ComplexQuadrilateral
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ComplexQuadrilateralTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ComplexQuadrilateral
+ //private ComplexQuadrilateral instance;
+
+ public ComplexQuadrilateralTests()
+ {
+ // TODO uncomment below to create an instance of ComplexQuadrilateral
+ //instance = new ComplexQuadrilateral();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ComplexQuadrilateral
+ ///
+ [Fact]
+ public void ComplexQuadrilateralInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ComplexQuadrilateral
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ComplexQuadrilateral");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
new file mode 100644
index 000000000000..fd7376630f4f
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing DanishPig
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class DanishPigTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for DanishPig
+ //private DanishPig instance;
+
+ public DanishPigTests()
+ {
+ // TODO uncomment below to create an instance of DanishPig
+ //instance = new DanishPig();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of DanishPig
+ ///
+ [Fact]
+ public void DanishPigInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" DanishPig
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a DanishPig");
+ }
+
+
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
new file mode 100644
index 000000000000..8c0c605a5a42
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/DrawingTests.cs
@@ -0,0 +1,94 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Drawing
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class DrawingTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Drawing
+ //private Drawing instance;
+
+ public DrawingTests()
+ {
+ // TODO uncomment below to create an instance of Drawing
+ //instance = new Drawing();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Drawing
+ ///
+ [Fact]
+ public void DrawingInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Drawing
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Drawing");
+ }
+
+
+ ///
+ /// Test the property 'MainShape'
+ ///
+ [Fact]
+ public void MainShapeTest()
+ {
+ // TODO unit test for the property 'MainShape'
+ }
+ ///
+ /// Test the property 'ShapeOrNull'
+ ///
+ [Fact]
+ public void ShapeOrNullTest()
+ {
+ // TODO unit test for the property 'ShapeOrNull'
+ }
+ ///
+ /// Test the property 'NullableShape'
+ ///
+ [Fact]
+ public void NullableShapeTest()
+ {
+ // TODO unit test for the property 'NullableShape'
+ }
+ ///
+ /// Test the property 'Shapes'
+ ///
+ [Fact]
+ public void ShapesTest()
+ {
+ // TODO unit test for the property 'Shapes'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
new file mode 100644
index 000000000000..e3062e1ed4fe
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/EquilateralTriangleTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing EquilateralTriangle
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class EquilateralTriangleTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for EquilateralTriangle
+ //private EquilateralTriangle instance;
+
+ public EquilateralTriangleTests()
+ {
+ // TODO uncomment below to create an instance of EquilateralTriangle
+ //instance = new EquilateralTriangle();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of EquilateralTriangle
+ ///
+ [Fact]
+ public void EquilateralTriangleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" EquilateralTriangle
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a EquilateralTriangle");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'TriangleType'
+ ///
+ [Fact]
+ public void TriangleTypeTest()
+ {
+ // TODO unit test for the property 'TriangleType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
new file mode 100644
index 000000000000..1a6d4087801a
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/FruitReqTests.cs
@@ -0,0 +1,94 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing FruitReq
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class FruitReqTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for FruitReq
+ //private FruitReq instance;
+
+ public FruitReqTests()
+ {
+ // TODO uncomment below to create an instance of FruitReq
+ //instance = new FruitReq();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of FruitReq
+ ///
+ [Fact]
+ public void FruitReqInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" FruitReq
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a FruitReq");
+ }
+
+
+ ///
+ /// Test the property 'Cultivar'
+ ///
+ [Fact]
+ public void CultivarTest()
+ {
+ // TODO unit test for the property 'Cultivar'
+ }
+ ///
+ /// Test the property 'Mealy'
+ ///
+ [Fact]
+ public void MealyTest()
+ {
+ // TODO unit test for the property 'Mealy'
+ }
+ ///
+ /// Test the property 'LengthCm'
+ ///
+ [Fact]
+ public void LengthCmTest()
+ {
+ // TODO unit test for the property 'LengthCm'
+ }
+ ///
+ /// Test the property 'Sweet'
+ ///
+ [Fact]
+ public void SweetTest()
+ {
+ // TODO unit test for the property 'Sweet'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/FruitTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
new file mode 100644
index 000000000000..b1bc9f600d09
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/FruitTests.cs
@@ -0,0 +1,94 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Fruit
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class FruitTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Fruit
+ //private Fruit instance;
+
+ public FruitTests()
+ {
+ // TODO uncomment below to create an instance of Fruit
+ //instance = new Fruit();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Fruit
+ ///
+ [Fact]
+ public void FruitInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Fruit
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Fruit");
+ }
+
+
+ ///
+ /// Test the property 'Color'
+ ///
+ [Fact]
+ public void ColorTest()
+ {
+ // TODO unit test for the property 'Color'
+ }
+ ///
+ /// Test the property 'Cultivar'
+ ///
+ [Fact]
+ public void CultivarTest()
+ {
+ // TODO unit test for the property 'Cultivar'
+ }
+ ///
+ /// Test the property 'Origin'
+ ///
+ [Fact]
+ public void OriginTest()
+ {
+ // TODO unit test for the property 'Origin'
+ }
+ ///
+ /// Test the property 'LengthCm'
+ ///
+ [Fact]
+ public void LengthCmTest()
+ {
+ // TODO unit test for the property 'LengthCm'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
new file mode 100644
index 000000000000..a1bba753a580
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/GmFruitTests.cs
@@ -0,0 +1,94 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing GmFruit
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class GmFruitTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for GmFruit
+ //private GmFruit instance;
+
+ public GmFruitTests()
+ {
+ // TODO uncomment below to create an instance of GmFruit
+ //instance = new GmFruit();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of GmFruit
+ ///
+ [Fact]
+ public void GmFruitInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" GmFruit
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a GmFruit");
+ }
+
+
+ ///
+ /// Test the property 'Color'
+ ///
+ [Fact]
+ public void ColorTest()
+ {
+ // TODO unit test for the property 'Color'
+ }
+ ///
+ /// Test the property 'Cultivar'
+ ///
+ [Fact]
+ public void CultivarTest()
+ {
+ // TODO unit test for the property 'Cultivar'
+ }
+ ///
+ /// Test the property 'Origin'
+ ///
+ [Fact]
+ public void OriginTest()
+ {
+ // TODO unit test for the property 'Origin'
+ }
+ ///
+ /// Test the property 'LengthCm'
+ ///
+ [Fact]
+ public void LengthCmTest()
+ {
+ // TODO unit test for the property 'LengthCm'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
new file mode 100644
index 000000000000..fd9552c597c4
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/GrandparentAnimalTests.cs
@@ -0,0 +1,88 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing GrandparentAnimal
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class GrandparentAnimalTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for GrandparentAnimal
+ //private GrandparentAnimal instance;
+
+ public GrandparentAnimalTests()
+ {
+ // TODO uncomment below to create an instance of GrandparentAnimal
+ //instance = new GrandparentAnimal();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of GrandparentAnimal
+ ///
+ [Fact]
+ public void GrandparentAnimalInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" GrandparentAnimal
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a GrandparentAnimal");
+ }
+
+ ///
+ /// Test deserialize a ParentPet from type GrandparentAnimal
+ ///
+ [Fact]
+ public void ParentPetDeserializeFromGrandparentAnimalTest()
+ {
+ // TODO uncomment below to test deserialize a ParentPet from type GrandparentAnimal
+ //Assert.IsInstanceOf(JsonConvert.DeserializeObject(new ParentPet().ToJson()));
+ }
+ ///
+ /// Test deserialize a ChildCat from type ParentPet
+ ///
+ [Fact]
+ public void ChildCatDeserializeFromParentPetTest()
+ {
+ // TODO uncomment below to test deserialize a ChildCat from type ParentPet
+ //Assert.IsInstanceOf(JsonConvert.DeserializeObject(new ChildCat().ToJson()));
+ }
+
+ ///
+ /// Test the property 'PetType'
+ ///
+ [Fact]
+ public void PetTypeTest()
+ {
+ // TODO unit test for the property 'PetType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
new file mode 100644
index 000000000000..00d5d08cc55d
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/IsoscelesTriangleTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing IsoscelesTriangle
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class IsoscelesTriangleTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for IsoscelesTriangle
+ //private IsoscelesTriangle instance;
+
+ public IsoscelesTriangleTests()
+ {
+ // TODO uncomment below to create an instance of IsoscelesTriangle
+ //instance = new IsoscelesTriangle();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of IsoscelesTriangle
+ ///
+ [Fact]
+ public void IsoscelesTriangleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" IsoscelesTriangle
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a IsoscelesTriangle");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'TriangleType'
+ ///
+ [Fact]
+ public void TriangleTypeTest()
+ {
+ // TODO unit test for the property 'TriangleType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/MammalTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
new file mode 100644
index 000000000000..76466113c58c
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/MammalTests.cs
@@ -0,0 +1,94 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Mammal
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class MammalTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Mammal
+ //private Mammal instance;
+
+ public MammalTests()
+ {
+ // TODO uncomment below to create an instance of Mammal
+ //instance = new Mammal();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Mammal
+ ///
+ [Fact]
+ public void MammalInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Mammal
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Mammal");
+ }
+
+
+ ///
+ /// Test the property 'HasBaleen'
+ ///
+ [Fact]
+ public void HasBaleenTest()
+ {
+ // TODO unit test for the property 'HasBaleen'
+ }
+ ///
+ /// Test the property 'HasTeeth'
+ ///
+ [Fact]
+ public void HasTeethTest()
+ {
+ // TODO unit test for the property 'HasTeeth'
+ }
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+ ///
+ /// Test the property 'Type'
+ ///
+ [Fact]
+ public void TypeTest()
+ {
+ // TODO unit test for the property 'Type'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
new file mode 100644
index 000000000000..b663af5b6e62
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/NullableShapeTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing NullableShape
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class NullableShapeTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for NullableShape
+ //private NullableShape instance;
+
+ public NullableShapeTests()
+ {
+ // TODO uncomment below to create an instance of NullableShape
+ //instance = new NullableShape();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of NullableShape
+ ///
+ [Fact]
+ public void NullableShapeInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" NullableShape
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a NullableShape");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
new file mode 100644
index 000000000000..76db9ecf3a5f
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ParentPetTests.cs
@@ -0,0 +1,62 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ParentPet
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ParentPetTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ParentPet
+ //private ParentPet instance;
+
+ public ParentPetTests()
+ {
+ // TODO uncomment below to create an instance of ParentPet
+ //instance = new ParentPet();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ParentPet
+ ///
+ [Fact]
+ public void ParentPetInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ParentPet
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ParentPet");
+ }
+
+
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/PigTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/PigTests.cs
new file mode 100644
index 000000000000..7497d47b7848
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/PigTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Pig
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class PigTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Pig
+ //private Pig instance;
+
+ public PigTests()
+ {
+ // TODO uncomment below to create an instance of Pig
+ //instance = new Pig();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Pig
+ ///
+ [Fact]
+ public void PigInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Pig
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Pig");
+ }
+
+
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
new file mode 100644
index 000000000000..09b365a5f1d6
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/QuadrilateralInterfaceTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing QuadrilateralInterface
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class QuadrilateralInterfaceTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for QuadrilateralInterface
+ //private QuadrilateralInterface instance;
+
+ public QuadrilateralInterfaceTests()
+ {
+ // TODO uncomment below to create an instance of QuadrilateralInterface
+ //instance = new QuadrilateralInterface();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of QuadrilateralInterface
+ ///
+ [Fact]
+ public void QuadrilateralInterfaceInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" QuadrilateralInterface
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a QuadrilateralInterface");
+ }
+
+
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
new file mode 100644
index 000000000000..fea00bcd6e22
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/QuadrilateralTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Quadrilateral
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class QuadrilateralTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Quadrilateral
+ //private Quadrilateral instance;
+
+ public QuadrilateralTests()
+ {
+ // TODO uncomment below to create an instance of Quadrilateral
+ //instance = new Quadrilateral();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Quadrilateral
+ ///
+ [Fact]
+ public void QuadrilateralInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Quadrilateral
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Quadrilateral");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
new file mode 100644
index 000000000000..5170070bf44a
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ScaleneTriangleTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ScaleneTriangle
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ScaleneTriangleTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ScaleneTriangle
+ //private ScaleneTriangle instance;
+
+ public ScaleneTriangleTests()
+ {
+ // TODO uncomment below to create an instance of ScaleneTriangle
+ //instance = new ScaleneTriangle();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ScaleneTriangle
+ ///
+ [Fact]
+ public void ScaleneTriangleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ScaleneTriangle
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ScaleneTriangle");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'TriangleType'
+ ///
+ [Fact]
+ public void TriangleTypeTest()
+ {
+ // TODO unit test for the property 'TriangleType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
new file mode 100644
index 000000000000..4ee56a550df4
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeInterfaceTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ShapeInterface
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ShapeInterfaceTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ShapeInterface
+ //private ShapeInterface instance;
+
+ public ShapeInterfaceTests()
+ {
+ // TODO uncomment below to create an instance of ShapeInterface
+ //instance = new ShapeInterface();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ShapeInterface
+ ///
+ [Fact]
+ public void ShapeInterfaceInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ShapeInterface
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ShapeInterface");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
new file mode 100644
index 000000000000..eb229415ae1e
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeOrNullTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing ShapeOrNull
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ShapeOrNullTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ShapeOrNull
+ //private ShapeOrNull instance;
+
+ public ShapeOrNullTests()
+ {
+ // TODO uncomment below to create an instance of ShapeOrNull
+ //instance = new ShapeOrNull();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ShapeOrNull
+ ///
+ [Fact]
+ public void ShapeOrNullInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" ShapeOrNull
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a ShapeOrNull");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
new file mode 100644
index 000000000000..d2c4f924620e
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ShapeTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Shape
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ShapeTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Shape
+ //private Shape instance;
+
+ public ShapeTests()
+ {
+ // TODO uncomment below to create an instance of Shape
+ //instance = new Shape();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Shape
+ ///
+ [Fact]
+ public void ShapeInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Shape
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Shape");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
new file mode 100644
index 000000000000..db78f9c542df
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/SimpleQuadrilateralTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing SimpleQuadrilateral
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class SimpleQuadrilateralTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for SimpleQuadrilateral
+ //private SimpleQuadrilateral instance;
+
+ public SimpleQuadrilateralTests()
+ {
+ // TODO uncomment below to create an instance of SimpleQuadrilateral
+ //instance = new SimpleQuadrilateral();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of SimpleQuadrilateral
+ ///
+ [Fact]
+ public void SimpleQuadrilateralInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" SimpleQuadrilateral
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a SimpleQuadrilateral");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
new file mode 100644
index 000000000000..f75f2a14a6e2
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/TriangleInterfaceTests.cs
@@ -0,0 +1,70 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing TriangleInterface
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class TriangleInterfaceTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for TriangleInterface
+ //private TriangleInterface instance;
+
+ public TriangleInterfaceTests()
+ {
+ // TODO uncomment below to create an instance of TriangleInterface
+ //instance = new TriangleInterface();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of TriangleInterface
+ ///
+ [Fact]
+ public void TriangleInterfaceInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TriangleInterface
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TriangleInterface");
+ }
+
+
+ ///
+ /// Test the property 'TriangleType'
+ ///
+ [Fact]
+ public void TriangleTypeTest()
+ {
+ // TODO unit test for the property 'TriangleType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
new file mode 100644
index 000000000000..2f3f3d284fe7
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/TriangleTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Triangle
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class TriangleTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Triangle
+ //private Triangle instance;
+
+ public TriangleTests()
+ {
+ // TODO uncomment below to create an instance of Triangle
+ //instance = new Triangle();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Triangle
+ ///
+ [Fact]
+ public void TriangleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Triangle
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Triangle");
+ }
+
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ ///
+ /// Test the property 'TriangleType'
+ ///
+ [Fact]
+ public void TriangleTypeTest()
+ {
+ // TODO unit test for the property 'TriangleType'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
new file mode 100644
index 000000000000..d6d8d009a0b5
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/WhaleTests.cs
@@ -0,0 +1,86 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Whale
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class WhaleTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Whale
+ //private Whale instance;
+
+ public WhaleTests()
+ {
+ // TODO uncomment below to create an instance of Whale
+ //instance = new Whale();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Whale
+ ///
+ [Fact]
+ public void WhaleInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Whale
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Whale");
+ }
+
+
+ ///
+ /// Test the property 'HasBaleen'
+ ///
+ [Fact]
+ public void HasBaleenTest()
+ {
+ // TODO unit test for the property 'HasBaleen'
+ }
+ ///
+ /// Test the property 'HasTeeth'
+ ///
+ [Fact]
+ public void HasTeethTest()
+ {
+ // TODO unit test for the property 'HasTeeth'
+ }
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
new file mode 100644
index 000000000000..84ebb849aa00
--- /dev/null
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Model/ZebraTests.cs
@@ -0,0 +1,78 @@
+/*
+ * 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: \" \\
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using Xunit;
+
+using System;
+using System.Linq;
+using System.IO;
+using System.Collections.Generic;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace Org.OpenAPITools.Test
+{
+ ///
+ /// Class for testing Zebra
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ZebraTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Zebra
+ //private Zebra instance;
+
+ public ZebraTests()
+ {
+ // TODO uncomment below to create an instance of Zebra
+ //instance = new Zebra();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Zebra
+ ///
+ [Fact]
+ public void ZebraInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" Zebra
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a Zebra");
+ }
+
+
+ ///
+ /// Test the property 'Type'
+ ///
+ [Fact]
+ public void TypeTest()
+ {
+ // TODO unit test for the property 'Type'
+ }
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+
+ }
+
+}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs
index b9e4db95ff91..d7749151314a 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs
@@ -43,28 +43,6 @@ public interface IFakeApiSync : IApiAccessor
/// ApiResponse of HealthCheckResult
ApiResponse FakeHealthGetWithHttpInfo();
///
- /// test http signature authentication
- ///
- /// Thrown when fails to make API call
- /// Pet object that needs to be added to the store
- /// query parameter (optional)
- /// header parameter (optional)
- ///
- void FakeHttpSignatureTest(Pet pet, string query1 = default(string), string header1 = default(string));
-
- ///
- /// test http signature authentication
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// Pet object that needs to be added to the store
- /// query parameter (optional)
- /// header parameter (optional)
- /// ApiResponse of Object(void)
- ApiResponse