diff --git a/.github/workflows/samples-dotnet.yaml b/.github/workflows/samples-dotnet.yaml
index 6b89d5dc50e..5abec2690c3 100644
--- a/.github/workflows/samples-dotnet.yaml
+++ b/.github/workflows/samples-dotnet.yaml
@@ -23,6 +23,7 @@ jobs:
sample:
- samples/client/petstore/csharp/generichost/net8/AllOf
- samples/client/petstore/csharp/generichost/net8/AnyOf
+ - samples/client/petstore/csharp/generichost/net8/FormModels
- samples/client/petstore/csharp/generichost/net8/ManualPetstoreTests
- samples/client/petstore/csharp/generichost/net8/ManualSourceGenerationTests
- samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
diff --git a/appveyor.yml b/appveyor.yml
index f204dc7b9fc..2df9330db23 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -45,6 +45,7 @@ build_script:
test_script:
- dotnet test samples\client\petstore\csharp\generichost\net8\AllOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
- dotnet test samples\client\petstore\csharp\generichost\net8\AnyOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
+ - dotnet test samples\client\petstore\csharp\generichost\net8\FormModels\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
- dotnet test samples\client\petstore\csharp\generichost\net8\ManualSourceGenerationTests\ManualTests.Latest.UseSourceGeneration\ManualTests.Latest.UseSourceGeneration.csproj
- dotnet test samples\client\petstore\csharp\generichost\net8\ManualPetstoreTests\OpenAPIClient-generichost-manual-tests\OpenAPIClient-generichost-manual-tests.csproj
- dotnet test samples\client\petstore\csharp\generichost\net8\NullReferenceTypes\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
diff --git a/bin/configs/csharp-generichost-net8-formModels.yaml b/bin/configs/csharp-generichost-net8-formModels.yaml
new file mode 100644
index 00000000000..14f15ca5710
--- /dev/null
+++ b/bin/configs/csharp-generichost-net8-formModels.yaml
@@ -0,0 +1,16 @@
+# for csharp generichost
+generatorName: csharp
+outputDir: samples/client/petstore/csharp/generichost/net8/FormModels
+inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+library: generichost
+templateDir: modules/openapi-generator/src/main/resources/csharp
+additionalProperties:
+ packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
+ useCompareNetObjects: true
+ disallowAdditionalPropertiesIfNotPresent: false
+ nullableReferenceTypes: false
+ equatable: true
+ targetFramework: net8.0
+ skipFormModel: false
+inlineSchemaOptions:
+ RESOLVE_INLINE_ENUMS: true
diff --git a/bin/configs/csharp-generichost-latest.yaml b/bin/configs/csharp-generichost-net8.yaml
similarity index 100%
rename from bin/configs/csharp-generichost-latest.yaml
rename to bin/configs/csharp-generichost-net8.yaml
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java
index 538e1d70637..2950826dcdc 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java
@@ -6795,6 +6795,7 @@ public class DefaultCodegen implements CodegenConfig {
enumVar.put("name", finalEnumName);
enumVar.put("value", toEnumValue(String.valueOf(value), dataType));
enumVar.put("isString", isDataTypeString(dataType));
+ // TODO: add isNumeric
enumVars.add(enumVar);
}
@@ -6817,6 +6818,7 @@ public class DefaultCodegen implements CodegenConfig {
enumVar.put("name", toEnumVarName(enumName, dataType));
enumVar.put("value", toEnumValue(enumValue, dataType));
enumVar.put("isString", isDataTypeString(dataType));
+ // TODO: add isNumeric
enumVars.add(enumVar);
}
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractCSharpCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractCSharpCodegen.java
index 371aa8a99c3..13fdd04cda9 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractCSharpCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractCSharpCodegen.java
@@ -734,6 +734,11 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
});
}
+ String[] numericTypes = {"double", "double?", "decimal", "decimal", "float", "float?", "int", "int?", "long", "long?", "ulong", "ulong?"};
+ enumVars.forEach((enumVar) -> {
+ enumVar.put("isNumeric", Arrays.stream(numericTypes).anyMatch(dataType::equals));
+ });
+
return enumVars;
}
diff --git a/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/JsonConverter.mustache b/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/JsonConverter.mustache
index 28ded0fd325..d8707d906a4 100644
--- a/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/JsonConverter.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/JsonConverter.mustache
@@ -459,7 +459,7 @@
{{/isInnerEnum}}
{{^isInnerEnum}}
{{#lambda.copy}}
- {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}RawValue
+ {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}
{{/lambda.copy}}
{{#required}}
{{#isNullable}}
@@ -472,7 +472,7 @@
{{#enumVars}}
{{#-first}}
{{#isString}}
- if ({{#lambda.pasteLine}}{{/lambda.pasteLine}} != null){{! we cant use name here because enumVar also has a name property, so use the paste lambda instead }}
+ if ({{#lambda.pasteLine}}{{/lambda.pasteLine}}RawValue != null){{! we cant use name here because enumVar also has a name property, so use the paste lambda instead }}
writer.WriteString("{{baseName}}", {{#lambda.camelcase_sanitize_param}}{{nameInPascalCase}}{{/lambda.camelcase_sanitize_param}}RawValue);
else
writer.WriteNull("{{baseName}}");
@@ -490,12 +490,12 @@
{{#allowableValues}}
{{#enumVars}}
{{#-first}}
- {{#isString}}
- writer.WriteString("{{baseName}}", {{#lambda.pasteLine}}{{/lambda.pasteLine}});
- {{/isString}}
- {{^isString}}
+ {{^isNumeric}}
+ writer.WriteString("{{baseName}}", {{#lambda.pasteLine}}{{/lambda.pasteLine}}RawValue);
+ {{/isNumeric}}
+ {{#isNumeric}}
writer.WriteNumber("{{baseName}}", {{#lambda.camelcase_sanitize_param}}{{#lambda.pasteLine}}{{/lambda.pasteLine}}{{/lambda.camelcase_sanitize_param}}RawValue);
- {{/isString}}
+ {{/isNumeric}}
{{/-first}}
{{/enumVars}}
{{/allowableValues}}
@@ -507,16 +507,16 @@
{{#isNullable}}
if ({{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}.{{name}}Option{{nrt!}}.Value != null)
{
- var {{#lambda.pasteLine}}{{/lambda.pasteLine}} = {{{datatypeWithEnum}}}ValueConverter.ToJsonValue({{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}.{{name}}Option.Value{{nrt!}}.Value);
- writer.{{#lambda.first}}{{#allowableValues}}{{#enumVars}}{{#isString}}WriteString {{/isString}}{{^isString}}WriteNumber {{/isString}}{{/enumVars}}{{/allowableValues}}{{/lambda.first}}("{{baseName}}", {{#lambda.pasteLine}}{{/lambda.pasteLine}});
+ var {{#lambda.pasteLine}}{{/lambda.pasteLine}}RawValue = {{{datatypeWithEnum}}}ValueConverter.ToJsonValue({{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}.{{name}}Option.Value{{nrt!}}.Value);
+ writer.{{#lambda.first}}{{#allowableValues}}{{#enumVars}}{{^isNumeric}}WriteString {{/isNumeric}}{{#isNumeric}}WriteNumber {{/isNumeric}}{{/enumVars}}{{/allowableValues}}{{/lambda.first}}("{{baseName}}", {{#lambda.pasteLine}}{{/lambda.pasteLine}}RawValue);
}
else
writer.WriteNull("{{baseName}}");
{{/isNullable}}
{{^isNullable}}
{
- var {{#lambda.pasteLine}}{{/lambda.pasteLine}} = {{{datatypeWithEnum}}}ValueConverter.ToJsonValue({{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}.{{name}}{{nrt!}}.Value);
- writer.{{#lambda.first}}{{#allowableValues}}{{#enumVars}}{{#isString}}WriteString {{/isString}}{{^isString}}WriteNumber {{/isString}}{{/enumVars}}{{/allowableValues}}{{/lambda.first}}("{{baseName}}", {{#lambda.pasteLine}}{{/lambda.pasteLine}});
+ var {{#lambda.pasteLine}}{{/lambda.pasteLine}}RawValue = {{{datatypeWithEnum}}}ValueConverter.ToJsonValue({{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}.{{name}}{{nrt!}}.Value);
+ writer.{{#lambda.first}}{{#allowableValues}}{{#enumVars}}{{^isNumeric}}WriteString {{/isNumeric}}{{#isNumeric}}WriteNumber {{/isNumeric}}{{/enumVars}}{{/allowableValues}}{{/lambda.first}}("{{baseName}}", {{#lambda.pasteLine}}{{/lambda.pasteLine}}RawValue);
}
{{/isNullable}}
{{/required}}
diff --git a/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/ModelBaseSignature.mustache b/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/ModelBaseSignature.mustache
index ac8f47ded46..94a34cf51f8 100644
--- a/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/ModelBaseSignature.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp/libraries/generichost/ModelBaseSignature.mustache
@@ -1 +1 @@
-{{#parentModel.composedSchemas.anyOf}}{{#lambda.camelcase_sanitize_param}}{{parent}}{{/lambda.camelcase_sanitize_param}}.{{#lambda.titlecase}}{{baseType}}{{#isArray}}{{{dataFormat}}}{{/isArray}}{{/lambda.titlecase}} {{/parentModel.composedSchemas.anyOf}}{{#allVars}}{{#isInherited}}{{^isNew}}{{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}{{/isNew}}{{#isNew}}{{#isEnum}}{{#isInnerEnum}}{{classname}}.{{/isInnerEnum}}{{{datatypeWithEnum}}}ToJsonValue({{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}{{^required}}.Value{{/required}}){{/isEnum}}{{^isEnum}}{{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}.ToString(){{/isEnum}}{{/isNew}} {{/isInherited}}{{/allVars}}
\ No newline at end of file
+{{#parentModel.composedSchemas.anyOf}}{{#lambda.camelcase_sanitize_param}}{{parent}}{{/lambda.camelcase_sanitize_param}}.{{#lambda.titlecase}}{{baseType}}{{#isArray}}{{{dataFormat}}}{{/isArray}}{{/lambda.titlecase}} {{/parentModel.composedSchemas.anyOf}}{{#allVars}}{{#isInherited}}{{^isNew}}{{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}{{/isNew}}{{#isNew}}{{#isEnum}}{{#isInnerEnum}}{{classname}}.{{{datatypeWithEnum}}}ToJsonValue{{/isInnerEnum}}{{^isInnerEnum}}{{{datatypeWithEnum}}}ValueConverter.ToJsonValue{{/isInnerEnum}}({{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}{{^required}}.Value{{/required}}){{/isEnum}}{{^isEnum}}{{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}.ToString(){{/isEnum}}{{/isNew}} {{/isInherited}}{{/allVars}}
\ No newline at end of file
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/.gitignore b/samples/client/petstore/csharp/generichost/net8/FormModels/.gitignore
new file mode 100644
index 00000000000..1ee53850b84
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/.gitignore
@@ -0,0 +1,362 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator-ignore b/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator-ignore
new file mode 100644
index 00000000000..7484ee590a3
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator-ignore
@@ -0,0 +1,23 @@
+# OpenAPI Generator Ignore
+# Generated by openapi-generator https://github.com/openapitools/openapi-generator
+
+# Use this file to prevent files from being overwritten by the generator.
+# The patterns follow closely to .gitignore or .dockerignore.
+
+# As an example, the C# client generator defines ApiClient.cs.
+# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
+#ApiClient.cs
+
+# You can match any string of characters against a directory, file or extension with a single asterisk (*):
+#foo/*/qux
+# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
+
+# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
+#foo/**/qux
+# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
+
+# You can also negate patterns with an exclamation (!).
+# For example, you can ignore all files in a docs folder with the file extension .md:
+#docs/*.md
+# Then explicitly reverse the ignore rule for a single file:
+#!docs/README.md
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator/FILES b/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator/FILES
new file mode 100644
index 00000000000..4fdf3cb720f
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator/FILES
@@ -0,0 +1,280 @@
+.gitignore
+Org.OpenAPITools.sln
+README.md
+api/openapi.yaml
+appveyor.yml
+docs/apis/AnotherFakeApi.md
+docs/apis/DefaultApi.md
+docs/apis/FakeApi.md
+docs/apis/FakeClassnameTags123Api.md
+docs/apis/PetApi.md
+docs/apis/StoreApi.md
+docs/apis/UserApi.md
+docs/models/Activity.md
+docs/models/ActivityOutputElementRepresentation.md
+docs/models/AdditionalPropertiesClass.md
+docs/models/Animal.md
+docs/models/ApiResponse.md
+docs/models/Apple.md
+docs/models/AppleReq.md
+docs/models/ArrayOfArrayOfNumberOnly.md
+docs/models/ArrayOfNumberOnly.md
+docs/models/ArrayTest.md
+docs/models/Banana.md
+docs/models/BananaReq.md
+docs/models/BasquePig.md
+docs/models/Capitalization.md
+docs/models/Cat.md
+docs/models/Category.md
+docs/models/ChildCat.md
+docs/models/ChildCatAllOfPetType.md
+docs/models/ClassModel.md
+docs/models/ComplexQuadrilateral.md
+docs/models/DanishPig.md
+docs/models/DateOnlyClass.md
+docs/models/DeprecatedObject.md
+docs/models/Dog.md
+docs/models/Drawing.md
+docs/models/EnumArrays.md
+docs/models/EnumArraysArrayEnumInner.md
+docs/models/EnumArraysJustSymbol.md
+docs/models/EnumClass.md
+docs/models/EnumTest.md
+docs/models/EnumTestEnumInteger.md
+docs/models/EnumTestEnumIntegerOnly.md
+docs/models/EnumTestEnumString.md
+docs/models/EquilateralTriangle.md
+docs/models/File.md
+docs/models/FileSchemaTestClass.md
+docs/models/FindPetsByStatusStatusParameterInner.md
+docs/models/Foo.md
+docs/models/FooGetDefaultResponse.md
+docs/models/FormatTest.md
+docs/models/Fruit.md
+docs/models/FruitReq.md
+docs/models/GmFruit.md
+docs/models/GrandparentAnimal.md
+docs/models/HasOnlyReadOnly.md
+docs/models/HealthCheckResult.md
+docs/models/IsoscelesTriangle.md
+docs/models/List.md
+docs/models/LiteralStringClass.md
+docs/models/Mammal.md
+docs/models/MapTest.md
+docs/models/MapTestMapOfEnumStringValue.md
+docs/models/MixedPropertiesAndAdditionalPropertiesClass.md
+docs/models/Model200Response.md
+docs/models/ModelClient.md
+docs/models/Name.md
+docs/models/NotificationtestGetElementsV1ResponseMPayload.md
+docs/models/NullableClass.md
+docs/models/NullableGuidClass.md
+docs/models/NullableShape.md
+docs/models/NumberOnly.md
+docs/models/ObjectWithDeprecatedFields.md
+docs/models/OneOfString.md
+docs/models/Order.md
+docs/models/OrderStatus.md
+docs/models/OuterComposite.md
+docs/models/OuterEnum.md
+docs/models/OuterEnumDefaultValue.md
+docs/models/OuterEnumInteger.md
+docs/models/OuterEnumIntegerDefaultValue.md
+docs/models/OuterEnumTest.md
+docs/models/ParentPet.md
+docs/models/Pet.md
+docs/models/PetStatus.md
+docs/models/Pig.md
+docs/models/PolymorphicProperty.md
+docs/models/Quadrilateral.md
+docs/models/QuadrilateralInterface.md
+docs/models/ReadOnlyFirst.md
+docs/models/RequiredClass.md
+docs/models/RequiredClassRequiredNotnullableEnumInteger.md
+docs/models/RequiredClassRequiredNotnullableEnumIntegerOnly.md
+docs/models/RequiredClassRequiredNotnullableEnumString.md
+docs/models/RequiredClassRequiredNullableEnumInteger.md
+docs/models/RequiredClassRequiredNullableEnumIntegerOnly.md
+docs/models/RequiredClassRequiredNullableEnumString.md
+docs/models/Return.md
+docs/models/RolesReportsHash.md
+docs/models/RolesReportsHashRole.md
+docs/models/ScaleneTriangle.md
+docs/models/Shape.md
+docs/models/ShapeInterface.md
+docs/models/ShapeOrNull.md
+docs/models/SimpleQuadrilateral.md
+docs/models/SpecialModelName.md
+docs/models/Tag.md
+docs/models/TestCollectionEndingWithWordList.md
+docs/models/TestCollectionEndingWithWordListObject.md
+docs/models/TestEnumParametersEnumHeaderStringParameter.md
+docs/models/TestEnumParametersEnumQueryDoubleParameter.md
+docs/models/TestEnumParametersEnumQueryIntegerParameter.md
+docs/models/TestEnumParametersRequestEnumFormString.md
+docs/models/TestEnumParametersRequestEnumFormStringArrayInner.md
+docs/models/TestInlineFreeformAdditionalPropertiesRequest.md
+docs/models/Triangle.md
+docs/models/TriangleInterface.md
+docs/models/User.md
+docs/models/Whale.md
+docs/models/Zebra.md
+docs/models/ZebraType.md
+docs/models/ZeroBasedEnum.md
+docs/models/ZeroBasedEnumClass.md
+docs/models/ZeroBasedEnumClassZeroBasedEnum.md
+docs/scripts/git_push.ps1
+docs/scripts/git_push.sh
+src/Org.OpenAPITools.Test/Api/DependencyInjectionTests.cs
+src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj
+src/Org.OpenAPITools.Test/README.md
+src/Org.OpenAPITools/Api/AnotherFakeApi.cs
+src/Org.OpenAPITools/Api/DefaultApi.cs
+src/Org.OpenAPITools/Api/FakeApi.cs
+src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
+src/Org.OpenAPITools/Api/IApi.cs
+src/Org.OpenAPITools/Api/PetApi.cs
+src/Org.OpenAPITools/Api/StoreApi.cs
+src/Org.OpenAPITools/Api/UserApi.cs
+src/Org.OpenAPITools/Client/ApiException.cs
+src/Org.OpenAPITools/Client/ApiFactory.cs
+src/Org.OpenAPITools/Client/ApiKeyToken.cs
+src/Org.OpenAPITools/Client/ApiResponseEventArgs.cs
+src/Org.OpenAPITools/Client/ApiResponse`1.cs
+src/Org.OpenAPITools/Client/BasicToken.cs
+src/Org.OpenAPITools/Client/BearerToken.cs
+src/Org.OpenAPITools/Client/ClientUtils.cs
+src/Org.OpenAPITools/Client/CookieContainer.cs
+src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs
+src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs
+src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs
+src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs
+src/Org.OpenAPITools/Client/ExceptionEventArgs.cs
+src/Org.OpenAPITools/Client/HostConfiguration.cs
+src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs
+src/Org.OpenAPITools/Client/HttpSigningToken.cs
+src/Org.OpenAPITools/Client/JsonSerializerOptionsProvider.cs
+src/Org.OpenAPITools/Client/OAuthToken.cs
+src/Org.OpenAPITools/Client/Option.cs
+src/Org.OpenAPITools/Client/RateLimitProvider`1.cs
+src/Org.OpenAPITools/Client/TokenBase.cs
+src/Org.OpenAPITools/Client/TokenContainer`1.cs
+src/Org.OpenAPITools/Client/TokenProvider`1.cs
+src/Org.OpenAPITools/Extensions/IHostBuilderExtensions.cs
+src/Org.OpenAPITools/Extensions/IHttpClientBuilderExtensions.cs
+src/Org.OpenAPITools/Extensions/IServiceCollectionExtensions.cs
+src/Org.OpenAPITools/Model/Activity.cs
+src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.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/Category.cs
+src/Org.OpenAPITools/Model/ChildCat.cs
+src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs
+src/Org.OpenAPITools/Model/ClassModel.cs
+src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs
+src/Org.OpenAPITools/Model/DanishPig.cs
+src/Org.OpenAPITools/Model/DateOnlyClass.cs
+src/Org.OpenAPITools/Model/DeprecatedObject.cs
+src/Org.OpenAPITools/Model/Dog.cs
+src/Org.OpenAPITools/Model/Drawing.cs
+src/Org.OpenAPITools/Model/EnumArrays.cs
+src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs
+src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs
+src/Org.OpenAPITools/Model/EnumClass.cs
+src/Org.OpenAPITools/Model/EnumTest.cs
+src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs
+src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs
+src/Org.OpenAPITools/Model/EnumTestEnumString.cs
+src/Org.OpenAPITools/Model/EquilateralTriangle.cs
+src/Org.OpenAPITools/Model/File.cs
+src/Org.OpenAPITools/Model/FileSchemaTestClass.cs
+src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs
+src/Org.OpenAPITools/Model/Foo.cs
+src/Org.OpenAPITools/Model/FooGetDefaultResponse.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/IsoscelesTriangle.cs
+src/Org.OpenAPITools/Model/List.cs
+src/Org.OpenAPITools/Model/LiteralStringClass.cs
+src/Org.OpenAPITools/Model/Mammal.cs
+src/Org.OpenAPITools/Model/MapTest.cs
+src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.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/NotificationtestGetElementsV1ResponseMPayload.cs
+src/Org.OpenAPITools/Model/NullableClass.cs
+src/Org.OpenAPITools/Model/NullableGuidClass.cs
+src/Org.OpenAPITools/Model/NullableShape.cs
+src/Org.OpenAPITools/Model/NumberOnly.cs
+src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs
+src/Org.OpenAPITools/Model/OneOfString.cs
+src/Org.OpenAPITools/Model/Order.cs
+src/Org.OpenAPITools/Model/OrderStatus.cs
+src/Org.OpenAPITools/Model/OuterComposite.cs
+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/OuterEnumTest.cs
+src/Org.OpenAPITools/Model/ParentPet.cs
+src/Org.OpenAPITools/Model/Pet.cs
+src/Org.OpenAPITools/Model/PetStatus.cs
+src/Org.OpenAPITools/Model/Pig.cs
+src/Org.OpenAPITools/Model/PolymorphicProperty.cs
+src/Org.OpenAPITools/Model/Quadrilateral.cs
+src/Org.OpenAPITools/Model/QuadrilateralInterface.cs
+src/Org.OpenAPITools/Model/ReadOnlyFirst.cs
+src/Org.OpenAPITools/Model/RequiredClass.cs
+src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs
+src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs
+src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs
+src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs
+src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs
+src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs
+src/Org.OpenAPITools/Model/Return.cs
+src/Org.OpenAPITools/Model/RolesReportsHash.cs
+src/Org.OpenAPITools/Model/RolesReportsHashRole.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/TestCollectionEndingWithWordList.cs
+src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs
+src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs
+src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs
+src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs
+src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs
+src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs
+src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.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/Model/ZebraType.cs
+src/Org.OpenAPITools/Model/ZeroBasedEnum.cs
+src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs
+src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs
+src/Org.OpenAPITools/Org.OpenAPITools.csproj
+src/Org.OpenAPITools/README.md
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator/VERSION b/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator/VERSION
new file mode 100644
index 00000000000..08bfd0643b8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/.openapi-generator/VERSION
@@ -0,0 +1 @@
+7.5.0-SNAPSHOT
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/Org.OpenAPITools.sln b/samples/client/petstore/csharp/generichost/net8/FormModels/Org.OpenAPITools.sln
new file mode 100644
index 00000000000..5b15451c9dc
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/Org.OpenAPITools.sln
@@ -0,0 +1,27 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+VisualStudioVersion = 12.0.0.0
+MinimumVisualStudioVersion = 10.0.0.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{321C8C3F-0156-40C1-AE42-D59761FB9B6C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools.Test", "src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
\ No newline at end of file
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/README.md b/samples/client/petstore/csharp/generichost/net8/FormModels/README.md
new file mode 100644
index 00000000000..f9c1c7f7462
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/README.md
@@ -0,0 +1 @@
+# Created with Openapi Generator
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml
new file mode 100644
index 00000000000..e0dd3b46457
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml
@@ -0,0 +1,2872 @@
+openapi: 3.0.0
+info:
+ description: "This spec is mainly for testing Petstore server and contains fake\
+ \ endpoints, models. Please do not use this for any other purpose. Special characters:\
+ \ \" \\"
+ license:
+ name: Apache-2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ title: OpenAPI Petstore
+ version: 1.0.0
+servers:
+- description: petstore server
+ url: "http://{server}.swagger.io:{port}/v2"
+ variables:
+ server:
+ default: petstore
+ enum:
+ - petstore
+ - qa-petstore
+ - dev-petstore
+ port:
+ default: "80"
+ enum:
+ - "80"
+ - "8080"
+- description: The local server
+ url: "https://localhost:8080/{version}"
+ variables:
+ version:
+ default: v2
+ enum:
+ - v1
+ - v2
+- description: The local server without variables
+ url: https://127.0.0.1/no_variable
+tags:
+- description: Everything about your Pets
+ name: pet
+- description: Access to Petstore orders
+ name: store
+- description: Operations about user
+ name: user
+paths:
+ /roles/report:
+ get:
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/RolesReport'
+ type: array
+ description: returns report
+ /hello:
+ get:
+ description: Hello
+ operationId: Hello
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ description: UUIDs
+ summary: Hello
+ /foo:
+ get:
+ responses:
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/_foo_get_default_response'
+ description: response
+ /pet:
+ post:
+ description: ""
+ operationId: addPet
+ requestBody:
+ $ref: '#/components/requestBodies/Pet'
+ responses:
+ "405":
+ description: Invalid input
+ security:
+ - http_signature_test: []
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Add a new pet to the store
+ tags:
+ - pet
+ put:
+ description: ""
+ operationId: updatePet
+ requestBody:
+ $ref: '#/components/requestBodies/Pet'
+ responses:
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Pet not found
+ "405":
+ description: Validation exception
+ security:
+ - http_signature_test: []
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Update an existing pet
+ tags:
+ - pet
+ servers:
+ - url: http://petstore.swagger.io/v2
+ - url: http://path-server-test.petstore.local/v2
+ /pet/findByStatus:
+ get:
+ description: Multiple status values can be provided with comma separated strings
+ operationId: findPetsByStatus
+ parameters:
+ - deprecated: true
+ description: Status values that need to be considered for filter
+ explode: false
+ in: query
+ name: status
+ required: true
+ schema:
+ items:
+ $ref: '#/components/schemas/findPetsByStatus_status_parameter_inner'
+ type: array
+ style: form
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ description: successful operation
+ "400":
+ description: Invalid status value
+ security:
+ - http_signature_test: []
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Finds Pets by status
+ tags:
+ - pet
+ /pet/findByTags:
+ get:
+ deprecated: true
+ description: "Multiple tags can be provided with comma separated strings. Use\
+ \ tag1, tag2, tag3 for testing."
+ operationId: findPetsByTags
+ parameters:
+ - description: Tags to filter by
+ explode: false
+ in: query
+ name: tags
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ description: successful operation
+ "400":
+ description: Invalid tag value
+ security:
+ - http_signature_test: []
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Finds Pets by tags
+ tags:
+ - pet
+ /pet/{petId}:
+ delete:
+ description: ""
+ operationId: deletePet
+ parameters:
+ - explode: false
+ in: header
+ name: api_key
+ required: false
+ schema:
+ type: string
+ style: simple
+ - description: Pet id to delete
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ responses:
+ "400":
+ description: Invalid pet value
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Deletes a pet
+ tags:
+ - pet
+ get:
+ description: Returns a single pet
+ operationId: getPetById
+ parameters:
+ - description: ID of pet to return
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ description: successful operation
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Pet not found
+ security:
+ - api_key: []
+ - api_key_query: []
+ summary: Find pet by ID
+ tags:
+ - pet
+ post:
+ description: ""
+ operationId: updatePetWithForm
+ parameters:
+ - description: ID of pet that needs to be updated
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/updatePetWithForm_request'
+ responses:
+ "405":
+ description: Invalid input
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Updates a pet in the store with form data
+ tags:
+ - pet
+ /pet/{petId}/uploadImage:
+ post:
+ description: ""
+ operationId: uploadFile
+ parameters:
+ - description: ID of pet to update
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/uploadFile_request'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiResponse'
+ description: successful operation
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: uploads an image
+ tags:
+ - pet
+ /store/inventory:
+ get:
+ description: Returns a map of status codes to quantities
+ operationId: getInventory
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ additionalProperties:
+ format: int32
+ type: integer
+ type: object
+ description: successful operation
+ security:
+ - api_key: []
+ summary: Returns pet inventories by status
+ tags:
+ - store
+ /store/order:
+ post:
+ description: ""
+ operationId: placeOrder
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Order'
+ description: order placed for purchasing the pet
+ required: true
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Order'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Order'
+ description: successful operation
+ "400":
+ description: Invalid Order
+ summary: Place an order for a pet
+ tags:
+ - store
+ /store/order/{order_id}:
+ delete:
+ description: For valid response try integer IDs with value < 1000. Anything
+ above 1000 or nonintegers will generate API errors
+ operationId: deleteOrder
+ parameters:
+ - description: ID of the order that needs to be deleted
+ explode: false
+ in: path
+ name: order_id
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Order not found
+ summary: Delete purchase order by ID
+ tags:
+ - store
+ get:
+ description: For valid response try integer IDs with value <= 5 or > 10. Other
+ values will generate exceptions
+ operationId: getOrderById
+ parameters:
+ - description: ID of pet that needs to be fetched
+ explode: false
+ in: path
+ name: order_id
+ required: true
+ schema:
+ format: int64
+ maximum: 5
+ minimum: 1
+ type: integer
+ style: simple
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Order'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Order'
+ description: successful operation
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Order not found
+ summary: Find purchase order by ID
+ tags:
+ - store
+ /user:
+ post:
+ description: This can only be done by the logged in user.
+ operationId: createUser
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: Created user object
+ required: true
+ responses:
+ default:
+ description: successful operation
+ summary: Create user
+ tags:
+ - user
+ /user/createWithArray:
+ post:
+ description: ""
+ operationId: createUsersWithArrayInput
+ requestBody:
+ $ref: '#/components/requestBodies/UserArray'
+ responses:
+ default:
+ description: successful operation
+ summary: Creates list of users with given input array
+ tags:
+ - user
+ /user/createWithList:
+ post:
+ description: ""
+ operationId: createUsersWithListInput
+ requestBody:
+ $ref: '#/components/requestBodies/UserArray'
+ responses:
+ default:
+ description: successful operation
+ summary: Creates list of users with given input array
+ tags:
+ - user
+ /user/login:
+ get:
+ description: ""
+ operationId: loginUser
+ parameters:
+ - description: The user name for login
+ explode: true
+ in: query
+ name: username
+ required: true
+ schema:
+ type: string
+ style: form
+ - description: The password for login in clear text
+ explode: true
+ in: query
+ name: password
+ required: true
+ schema:
+ type: string
+ style: form
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ type: string
+ application/json:
+ schema:
+ type: string
+ description: successful operation
+ headers:
+ Set-Cookie:
+ description: Cookie authentication key for use with the `api_key` apiKey
+ authentication.
+ explode: false
+ schema:
+ example: AUTH_KEY=abcde12345; Path=/; HttpOnly
+ type: string
+ style: simple
+ X-Rate-Limit:
+ description: calls per hour allowed by the user
+ explode: false
+ schema:
+ format: int32
+ type: integer
+ style: simple
+ X-Expires-After:
+ description: date in UTC when token expires
+ explode: false
+ schema:
+ format: date-time
+ type: string
+ style: simple
+ "400":
+ description: Invalid username/password supplied
+ summary: Logs user into the system
+ tags:
+ - user
+ /user/logout:
+ get:
+ description: ""
+ operationId: logoutUser
+ responses:
+ default:
+ description: successful operation
+ summary: Logs out current logged in user session
+ tags:
+ - user
+ /user/{username}:
+ delete:
+ description: This can only be done by the logged in user.
+ operationId: deleteUser
+ parameters:
+ - description: The name that needs to be deleted
+ explode: false
+ in: path
+ name: username
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "400":
+ description: Invalid username supplied
+ "404":
+ description: User not found
+ summary: Delete user
+ tags:
+ - user
+ get:
+ description: ""
+ operationId: getUserByName
+ parameters:
+ - description: The name that needs to be fetched. Use user1 for testing.
+ explode: false
+ in: path
+ name: username
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/User'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: successful operation
+ "400":
+ description: Invalid username supplied
+ "404":
+ description: User not found
+ "598":
+ description: Not a real HTTP status code
+ "599":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: Not a real HTTP status code with a return object
+ summary: Get user by user name
+ tags:
+ - user
+ put:
+ description: This can only be done by the logged in user.
+ operationId: updateUser
+ parameters:
+ - description: name that need to be deleted
+ explode: false
+ in: path
+ name: username
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: Updated user object
+ required: true
+ responses:
+ "400":
+ description: Invalid user supplied
+ "404":
+ description: User not found
+ summary: Updated user
+ tags:
+ - user
+ /fake_classname_test:
+ patch:
+ description: To test class name in snake case
+ operationId: testClassname
+ requestBody:
+ $ref: '#/components/requestBodies/Client'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: successful operation
+ security:
+ - api_key_query: []
+ summary: To test class name in snake case
+ tags:
+ - fake_classname_tags 123#$%^
+ /fake:
+ delete:
+ description: Fake endpoint to test group parameters (optional)
+ operationId: testGroupParameters
+ parameters:
+ - description: Required String in group parameters
+ explode: true
+ in: query
+ name: required_string_group
+ required: true
+ schema:
+ type: integer
+ style: form
+ - description: Required Boolean in group parameters
+ explode: false
+ in: header
+ name: required_boolean_group
+ required: true
+ schema:
+ type: boolean
+ style: simple
+ - description: Required Integer in group parameters
+ explode: true
+ in: query
+ name: required_int64_group
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: form
+ - description: String in group parameters
+ explode: true
+ in: query
+ name: string_group
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Boolean in group parameters
+ explode: false
+ in: header
+ name: boolean_group
+ required: false
+ schema:
+ type: boolean
+ style: simple
+ - description: Integer in group parameters
+ explode: true
+ in: query
+ name: int64_group
+ required: false
+ schema:
+ format: int64
+ type: integer
+ style: form
+ responses:
+ "400":
+ description: Something wrong
+ security:
+ - bearer_test: []
+ summary: Fake endpoint to test group parameters (optional)
+ tags:
+ - fake
+ x-group-parameters: true
+ get:
+ description: To test enum parameters
+ operationId: testEnumParameters
+ parameters:
+ - description: Header parameter enum test (string array)
+ explode: false
+ in: header
+ name: enum_header_string_array
+ required: false
+ schema:
+ items:
+ $ref: '#/components/schemas/testEnumParameters_request_enum_form_string_array_inner'
+ type: array
+ style: simple
+ - description: Header parameter enum test (string)
+ explode: false
+ in: header
+ name: enum_header_string
+ required: false
+ schema:
+ $ref: '#/components/schemas/testEnumParameters_enum_header_string_parameter'
+ style: simple
+ - description: Query parameter enum test (string array)
+ explode: true
+ in: query
+ name: enum_query_string_array
+ required: false
+ schema:
+ items:
+ $ref: '#/components/schemas/testEnumParameters_request_enum_form_string_array_inner'
+ type: array
+ style: form
+ - description: Query parameter enum test (string)
+ explode: true
+ in: query
+ name: enum_query_string
+ required: false
+ schema:
+ $ref: '#/components/schemas/testEnumParameters_enum_header_string_parameter'
+ style: form
+ - description: Query parameter enum test (double)
+ explode: true
+ in: query
+ name: enum_query_integer
+ required: false
+ schema:
+ $ref: '#/components/schemas/testEnumParameters_enum_query_integer_parameter'
+ style: form
+ - description: Query parameter enum test (double)
+ explode: true
+ in: query
+ name: enum_query_double
+ required: false
+ schema:
+ $ref: '#/components/schemas/testEnumParameters_enum_query_double_parameter'
+ style: form
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/testEnumParameters_request'
+ responses:
+ "400":
+ description: Invalid request
+ "404":
+ description: Not found
+ summary: To test enum parameters
+ tags:
+ - fake
+ patch:
+ description: To test "client" model
+ operationId: testClientModel
+ requestBody:
+ $ref: '#/components/requestBodies/Client'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: successful operation
+ summary: To test "client" model
+ tags:
+ - fake
+ post:
+ description: |
+ Fake endpoint for testing various parameters
+ 假端點
+ 偽のエンドポイント
+ 가짜 엔드 포인트
+ operationId: testEndpointParameters
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/testEndpointParameters_request'
+ responses:
+ "400":
+ description: Invalid username supplied
+ "404":
+ description: User not found
+ security:
+ - http_basic_test: []
+ summary: |
+ Fake endpoint for testing various parameters
+ 假端點
+ 偽のエンドポイント
+ 가짜 엔드 포인트
+ tags:
+ - fake
+ /fake/outer/number:
+ post:
+ description: Test serialization of outer number types
+ operationId: fakeOuterNumberSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterNumber'
+ description: Input number as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterNumber'
+ description: Output number
+ tags:
+ - fake
+ /fake/outer/string:
+ post:
+ description: Test serialization of outer string types
+ operationId: fakeOuterStringSerialize
+ parameters:
+ - description: Required UUID String
+ explode: true
+ in: query
+ name: required_string_uuid
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterString'
+ description: Input string as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterString'
+ description: Output string
+ tags:
+ - fake
+ /fake/outer/boolean:
+ post:
+ description: Test serialization of outer boolean types
+ operationId: fakeOuterBooleanSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterBoolean'
+ description: Input boolean as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterBoolean'
+ description: Output boolean
+ tags:
+ - fake
+ /fake/outer/composite:
+ post:
+ description: Test serialization of object with outer number type
+ operationId: fakeOuterCompositeSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterComposite'
+ description: Input composite as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterComposite'
+ description: Output composite
+ tags:
+ - fake
+ /fake/jsonFormData:
+ get:
+ description: ""
+ operationId: testJsonFormData
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/testJsonFormData_request'
+ responses:
+ "200":
+ description: successful operation
+ summary: test json serialization of form data
+ tags:
+ - fake
+ /fake/additionalProperties-reference:
+ post:
+ description: ""
+ operationId: testAdditionalPropertiesReference
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FreeFormObject'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test referenced additionalProperties
+ tags:
+ - fake
+ /fake/stringMap-reference:
+ post:
+ description: ""
+ operationId: testStringMapReference
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MapOfString'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test referenced string map
+ tags:
+ - fake
+ /fake/inline-additionalProperties:
+ post:
+ description: ""
+ operationId: testInlineAdditionalProperties
+ requestBody:
+ content:
+ application/json:
+ schema:
+ additionalProperties:
+ type: string
+ type: object
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test inline additionalProperties
+ tags:
+ - fake
+ /fake/inline-freeform-additionalProperties:
+ post:
+ description: ""
+ operationId: testInlineFreeformAdditionalProperties
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/testInlineFreeformAdditionalProperties_request'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test inline free-form additionalProperties
+ tags:
+ - fake
+ /fake/body-with-query-params:
+ put:
+ operationId: testBodyWithQueryParams
+ parameters:
+ - explode: true
+ in: query
+ name: query
+ required: true
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ required: true
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ /another-fake/dummy:
+ patch:
+ description: To test special tags and operation ID starting with number
+ operationId: 123_test_@#$%_special_tags
+ requestBody:
+ $ref: '#/components/requestBodies/Client'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: successful operation
+ summary: To test special tags
+ tags:
+ - $another-fake?
+ /fake/body-with-file-schema:
+ put:
+ description: "For this test, the body for this request much reference a schema\
+ \ named `File`."
+ operationId: testBodyWithFileSchema
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FileSchemaTestClass'
+ required: true
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ /fake/test-query-parameters:
+ put:
+ description: To test the collection format in query parameters
+ operationId: testQueryParameterCollectionFormat
+ parameters:
+ - explode: true
+ in: query
+ name: pipe
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: false
+ in: query
+ name: ioutil
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: false
+ in: query
+ name: http
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: spaceDelimited
+ - explode: false
+ in: query
+ name: url
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: context
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: requiredNotNullable
+ required: true
+ schema:
+ nullable: false
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: requiredNullable
+ required: true
+ schema:
+ nullable: true
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: notRequiredNotNullable
+ required: false
+ schema:
+ nullable: false
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: notRequiredNullable
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: form
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ /fake/{petId}/uploadImageWithRequiredFile:
+ post:
+ description: ""
+ operationId: uploadFileWithRequiredFile
+ parameters:
+ - description: ID of pet to update
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/uploadFileWithRequiredFile_request'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiResponse'
+ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
+ schema:
+ $ref: '#/components/schemas/ApiResponse'
+ description: successful operation
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: uploads an image (required)
+ tags:
+ - pet
+ /fake/health:
+ get:
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HealthCheckResult'
+ description: The instance started successfully
+ summary: Health check endpoint
+ tags:
+ - fake
+ /fake/array-of-enums:
+ get:
+ operationId: getArrayOfEnums
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ArrayOfEnums'
+ description: Got named array of enums
+ summary: Array of Enums
+ tags:
+ - fake
+ /country:
+ post:
+ operationId: getCountry
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/getCountry_request'
+ responses:
+ "200":
+ description: OK
+ /test:
+ get:
+ operationId: Test
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/notificationtest-getElements-v1-Response-mPayload'
+ description: Successful response
+ summary: Retrieve an existing Notificationtest's Elements
+components:
+ requestBodies:
+ UserArray:
+ content:
+ application/json:
+ examples:
+ simple-list:
+ description: Should not get into code examples
+ summary: Simple list example
+ value:
+ - username: foo
+ - username: bar
+ schema:
+ items:
+ $ref: '#/components/schemas/User'
+ type: array
+ description: List of user object
+ required: true
+ Client:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: client model
+ required: true
+ Pet:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ description: Pet object that needs to be added to the store
+ required: true
+ schemas:
+ RolesReport:
+ description: Roles report
+ items:
+ $ref: '#/components/schemas/RolesReportsHash'
+ type: array
+ RolesReportsHash:
+ description: Role report Hash
+ properties:
+ role_uuid:
+ format: uuid
+ type: string
+ role:
+ $ref: '#/components/schemas/RolesReportsHash_role'
+ type: object
+ Foo:
+ example:
+ bar: bar
+ properties:
+ bar:
+ default: bar
+ type: string
+ type: object
+ Bar:
+ default: bar
+ type: string
+ Order:
+ example:
+ petId: 6
+ quantity: 1
+ id: 0
+ shipDate: 2020-02-02T20:20:20.000222Z
+ complete: false
+ status: null
+ properties:
+ id:
+ format: int64
+ type: integer
+ petId:
+ format: int64
+ type: integer
+ quantity:
+ format: int32
+ type: integer
+ shipDate:
+ example: 2020-02-02T20:20:20.000222Z
+ format: date-time
+ type: string
+ status:
+ $ref: '#/components/schemas/Order_status'
+ complete:
+ default: false
+ type: boolean
+ type: object
+ xml:
+ name: Order
+ Category:
+ example:
+ name: default-name
+ id: 6
+ properties:
+ id:
+ format: int64
+ type: integer
+ name:
+ default: default-name
+ type: string
+ required:
+ - name
+ type: object
+ xml:
+ name: Category
+ User:
+ example:
+ firstName: firstName
+ lastName: lastName
+ password: password
+ userStatus: 6
+ objectWithNoDeclaredPropsNullable: "{}"
+ phone: phone
+ objectWithNoDeclaredProps: "{}"
+ id: 0
+ anyTypePropNullable: ""
+ email: email
+ anyTypeProp: ""
+ username: username
+ properties:
+ id:
+ format: int64
+ type: integer
+ x-is-unique: true
+ username:
+ type: string
+ firstName:
+ type: string
+ lastName:
+ type: string
+ email:
+ type: string
+ password:
+ type: string
+ phone:
+ type: string
+ userStatus:
+ description: User Status
+ format: int32
+ type: integer
+ objectWithNoDeclaredProps:
+ description: test code generation for objects Value must be a map of strings
+ to values. It cannot be the 'null' value.
+ type: object
+ objectWithNoDeclaredPropsNullable:
+ description: test code generation for nullable objects. Value must be a
+ map of strings to values or the 'null' value.
+ nullable: true
+ type: object
+ anyTypeProp:
+ description: "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"
+ anyTypePropNullable:
+ description: "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."
+ nullable: true
+ type: object
+ xml:
+ name: User
+ Tag:
+ example:
+ name: name
+ id: 1
+ properties:
+ id:
+ format: int64
+ type: integer
+ name:
+ type: string
+ type: object
+ xml:
+ name: Tag
+ Pet:
+ example:
+ photoUrls:
+ - photoUrls
+ - photoUrls
+ name: doggie
+ id: 0
+ category:
+ name: default-name
+ id: 6
+ tags:
+ - name: name
+ id: 1
+ - name: name
+ id: 1
+ status: null
+ properties:
+ id:
+ format: int64
+ type: integer
+ x-is-unique: true
+ category:
+ $ref: '#/components/schemas/Category'
+ name:
+ example: doggie
+ type: string
+ photoUrls:
+ items:
+ type: string
+ type: array
+ xml:
+ name: photoUrl
+ wrapped: true
+ tags:
+ items:
+ $ref: '#/components/schemas/Tag'
+ type: array
+ xml:
+ name: tag
+ wrapped: true
+ status:
+ $ref: '#/components/schemas/Pet_status'
+ required:
+ - name
+ - photoUrls
+ type: object
+ xml:
+ name: Pet
+ ApiResponse:
+ example:
+ code: 0
+ type: type
+ message: message
+ properties:
+ code:
+ format: int32
+ type: integer
+ type:
+ type: string
+ message:
+ type: string
+ type: object
+ Return:
+ description: Model for testing reserved words
+ properties:
+ return:
+ format: int32
+ type: integer
+ lock:
+ type: string
+ abstract:
+ nullable: true
+ type: string
+ unsafe:
+ type: string
+ required:
+ - abstract
+ - lock
+ xml:
+ name: Return
+ Name:
+ description: Model for testing model name same as property name
+ properties:
+ name:
+ format: int32
+ type: integer
+ snake_case:
+ format: int32
+ readOnly: true
+ type: integer
+ property:
+ type: string
+ "123Number":
+ readOnly: true
+ type: integer
+ required:
+ - name
+ xml:
+ name: Name
+ "200_response":
+ description: Model for testing model name starting with number
+ properties:
+ name:
+ format: int32
+ type: integer
+ class:
+ type: string
+ xml:
+ name: Name
+ ClassModel:
+ description: Model for testing model with "_class" property
+ properties:
+ _class:
+ type: string
+ Dog:
+ allOf:
+ - $ref: '#/components/schemas/Animal'
+ - properties:
+ breed:
+ type: string
+ type: object
+ Cat:
+ allOf:
+ - $ref: '#/components/schemas/Animal'
+ - $ref: '#/components/schemas/Address'
+ - properties:
+ declawed:
+ type: boolean
+ type: object
+ Address:
+ additionalProperties:
+ type: integer
+ type: object
+ Animal:
+ discriminator:
+ propertyName: className
+ properties:
+ className:
+ type: string
+ color:
+ default: red
+ type: string
+ required:
+ - className
+ type: object
+ AnimalFarm:
+ items:
+ $ref: '#/components/schemas/Animal'
+ type: array
+ format_test:
+ properties:
+ integer:
+ maximum: 100
+ minimum: 10
+ multipleOf: 2
+ type: integer
+ int32:
+ format: int32
+ maximum: 200
+ minimum: 20
+ type: integer
+ unsigned_integer:
+ format: int32
+ maximum: 200
+ minimum: 20
+ type: integer
+ x-unsigned: true
+ int64:
+ format: int64
+ type: integer
+ unsigned_long:
+ format: int64
+ type: integer
+ x-unsigned: true
+ number:
+ maximum: 543.2
+ minimum: 32.1
+ multipleOf: 32.5
+ type: number
+ float:
+ format: float
+ maximum: 987.6
+ minimum: 54.3
+ type: number
+ double:
+ format: double
+ maximum: 123.4
+ minimum: 67.8
+ type: number
+ decimal:
+ format: number
+ type: string
+ string:
+ pattern: "/[a-z]/i"
+ type: string
+ byte:
+ format: byte
+ type: string
+ binary:
+ format: binary
+ type: string
+ date:
+ example: 2020-02-02
+ format: date
+ type: string
+ dateTime:
+ example: 2007-12-03T10:15:30+01:00
+ format: date-time
+ type: string
+ uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ type: string
+ password:
+ format: password
+ maxLength: 64
+ minLength: 10
+ type: string
+ pattern_with_digits:
+ description: A string that is a 10 digit number. Can have leading zeros.
+ pattern: "^\\d{10}$"
+ type: string
+ pattern_with_digits_and_delimiter:
+ description: A string starting with 'image_' (case insensitive) and one
+ to three digits following i.e. Image_01.
+ pattern: "/^image_\\d{1,3}$/i"
+ type: string
+ pattern_with_backslash:
+ description: None
+ pattern: "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\\
+ /([0-9]|[1-2][0-9]|3[0-2]))$"
+ type: string
+ required:
+ - byte
+ - date
+ - number
+ - password
+ type: object
+ EnumClass:
+ default: -efg
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ Outer_Enum_Test:
+ enum:
+ - UPPER
+ - lower
+ - ""
+ - "Value\twith tab"
+ - Value with " quote
+ - Value with escaped \" quote
+ - |-
+ Duplicate
+ value
+ - "Duplicate\r\nvalue"
+ type: string
+ Enum_Test:
+ properties:
+ enum_string:
+ $ref: '#/components/schemas/Enum_Test_enum_string'
+ enum_string_required:
+ $ref: '#/components/schemas/Enum_Test_enum_string'
+ enum_integer:
+ $ref: '#/components/schemas/Enum_Test_enum_integer'
+ enum_integer_only:
+ $ref: '#/components/schemas/Enum_Test_enum_integer_only'
+ enum_number:
+ $ref: '#/components/schemas/testEnumParameters_enum_query_double_parameter'
+ outerEnum:
+ $ref: '#/components/schemas/OuterEnum'
+ outerEnumInteger:
+ $ref: '#/components/schemas/OuterEnumInteger'
+ outerEnumDefaultValue:
+ $ref: '#/components/schemas/OuterEnumDefaultValue'
+ outerEnumIntegerDefaultValue:
+ $ref: '#/components/schemas/OuterEnumIntegerDefaultValue'
+ required:
+ - enum_string_required
+ type: object
+ AdditionalPropertiesClass:
+ properties:
+ map_property:
+ additionalProperties:
+ type: string
+ type: object
+ map_of_map_property:
+ additionalProperties:
+ additionalProperties:
+ type: string
+ type: object
+ type: object
+ anytype_1: {}
+ map_with_undeclared_properties_anytype_1:
+ type: object
+ map_with_undeclared_properties_anytype_2:
+ properties: {}
+ type: object
+ map_with_undeclared_properties_anytype_3:
+ additionalProperties: true
+ type: object
+ empty_map:
+ additionalProperties: false
+ description: "an object with no declared properties and no undeclared properties,\
+ \ hence it's an empty map."
+ type: object
+ map_with_undeclared_properties_string:
+ additionalProperties:
+ type: string
+ type: object
+ type: object
+ MixedPropertiesAndAdditionalPropertiesClass:
+ properties:
+ uuid_with_pattern:
+ format: uuid
+ pattern: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
+ type: string
+ uuid:
+ format: uuid
+ type: string
+ dateTime:
+ format: date-time
+ type: string
+ map:
+ additionalProperties:
+ $ref: '#/components/schemas/Animal'
+ type: object
+ type: object
+ List:
+ properties:
+ "123-list":
+ type: string
+ type: object
+ Client:
+ example:
+ client: client
+ properties:
+ client:
+ type: string
+ type: object
+ ReadOnlyFirst:
+ properties:
+ bar:
+ readOnly: true
+ type: string
+ baz:
+ type: string
+ type: object
+ hasOnlyReadOnly:
+ properties:
+ bar:
+ readOnly: true
+ type: string
+ foo:
+ readOnly: true
+ type: string
+ type: object
+ Capitalization:
+ properties:
+ smallCamel:
+ type: string
+ CapitalCamel:
+ type: string
+ small_Snake:
+ type: string
+ Capital_Snake:
+ type: string
+ SCA_ETH_Flow_Points:
+ type: string
+ ATT_NAME:
+ description: |
+ Name of the pet
+ type: string
+ type: object
+ MapTest:
+ properties:
+ map_map_of_string:
+ additionalProperties:
+ additionalProperties:
+ type: string
+ type: object
+ type: object
+ map_of_enum_string:
+ additionalProperties:
+ $ref: '#/components/schemas/MapTest_map_of_enum_string_value'
+ type: object
+ direct_map:
+ additionalProperties:
+ type: boolean
+ type: object
+ indirect_map:
+ additionalProperties:
+ type: boolean
+ type: object
+ type: object
+ ArrayTest:
+ properties:
+ array_of_string:
+ items:
+ type: string
+ type: array
+ array_array_of_integer:
+ items:
+ items:
+ format: int64
+ type: integer
+ type: array
+ type: array
+ array_array_of_model:
+ items:
+ items:
+ $ref: '#/components/schemas/ReadOnlyFirst'
+ type: array
+ type: array
+ type: object
+ NumberOnly:
+ properties:
+ JustNumber:
+ type: number
+ type: object
+ x-cls-compliant: true
+ x-com-visible: true
+ ArrayOfNumberOnly:
+ properties:
+ ArrayNumber:
+ items:
+ type: number
+ type: array
+ type: object
+ ArrayOfArrayOfNumberOnly:
+ properties:
+ ArrayArrayNumber:
+ items:
+ items:
+ type: number
+ type: array
+ type: array
+ type: object
+ EnumArrays:
+ properties:
+ just_symbol:
+ $ref: '#/components/schemas/EnumArrays_just_symbol'
+ array_enum:
+ items:
+ $ref: '#/components/schemas/EnumArrays_array_enum_inner'
+ type: array
+ type: object
+ FreeFormObject:
+ additionalProperties: true
+ description: A schema consisting only of additional properties
+ type: object
+ MapOfString:
+ additionalProperties:
+ type: string
+ description: A schema consisting only of additional properties of type string
+ type: object
+ OuterEnum:
+ enum:
+ - placed
+ - approved
+ - delivered
+ nullable: true
+ type: string
+ OuterEnumInteger:
+ enum:
+ - 0
+ - 1
+ - 2
+ type: integer
+ OuterEnumDefaultValue:
+ default: placed
+ enum:
+ - placed
+ - approved
+ - delivered
+ type: string
+ OuterEnumIntegerDefaultValue:
+ default: 0
+ enum:
+ - 0
+ - 1
+ - 2
+ type: integer
+ OuterComposite:
+ example:
+ my_string: my_string
+ my_number: 0.8008281904610115
+ my_boolean: true
+ properties:
+ my_number:
+ type: number
+ my_string:
+ type: string
+ my_boolean:
+ type: boolean
+ x-codegen-body-parameter-name: boolean_post_body
+ type: object
+ OuterNumber:
+ type: number
+ OuterString:
+ type: string
+ OuterBoolean:
+ type: boolean
+ x-codegen-body-parameter-name: boolean_post_body
+ StringBooleanMap:
+ additionalProperties:
+ type: boolean
+ type: object
+ FileSchemaTestClass:
+ example:
+ file:
+ sourceURI: sourceURI
+ files:
+ - sourceURI: sourceURI
+ - sourceURI: sourceURI
+ properties:
+ file:
+ $ref: '#/components/schemas/File'
+ files:
+ items:
+ $ref: '#/components/schemas/File'
+ type: array
+ type: object
+ File:
+ description: Must be named `File` for test.
+ example:
+ sourceURI: sourceURI
+ properties:
+ sourceURI:
+ description: Test capitalization
+ type: string
+ type: object
+ _special_model.name_:
+ properties:
+ $special[property.name]:
+ format: int64
+ type: integer
+ _special_model.name_:
+ type: string
+ xml:
+ name: "$special[model.name]"
+ HealthCheckResult:
+ description: Just a string to inform instance is up and running. Make it nullable
+ in hope to get it as pointer in generated model.
+ example:
+ NullableMessage: NullableMessage
+ properties:
+ NullableMessage:
+ nullable: true
+ type: string
+ type: object
+ RequiredClass:
+ properties:
+ required_nullable_integer_prop:
+ nullable: true
+ type: integer
+ required_notnullableinteger_prop:
+ nullable: false
+ type: integer
+ not_required_nullable_integer_prop:
+ nullable: true
+ type: integer
+ not_required_notnullableinteger_prop:
+ nullable: false
+ type: integer
+ required_nullable_string_prop:
+ nullable: true
+ type: string
+ required_notnullable_string_prop:
+ nullable: false
+ type: string
+ notrequired_nullable_string_prop:
+ nullable: true
+ type: string
+ notrequired_notnullable_string_prop:
+ nullable: false
+ type: string
+ required_nullable_boolean_prop:
+ nullable: true
+ type: boolean
+ required_notnullable_boolean_prop:
+ nullable: false
+ type: boolean
+ notrequired_nullable_boolean_prop:
+ nullable: true
+ type: boolean
+ notrequired_notnullable_boolean_prop:
+ nullable: false
+ type: boolean
+ required_nullable_date_prop:
+ format: date
+ nullable: true
+ type: string
+ required_not_nullable_date_prop:
+ format: date
+ nullable: false
+ type: string
+ not_required_nullable_date_prop:
+ format: date
+ nullable: true
+ type: string
+ not_required_notnullable_date_prop:
+ format: date
+ nullable: false
+ type: string
+ required_notnullable_datetime_prop:
+ format: date-time
+ nullable: false
+ type: string
+ required_nullable_datetime_prop:
+ format: date-time
+ nullable: true
+ type: string
+ notrequired_nullable_datetime_prop:
+ format: date-time
+ nullable: true
+ type: string
+ notrequired_notnullable_datetime_prop:
+ format: date-time
+ nullable: false
+ type: string
+ required_nullable_enum_integer:
+ $ref: '#/components/schemas/RequiredClass_required_nullable_enum_integer'
+ required_notnullable_enum_integer:
+ $ref: '#/components/schemas/RequiredClass_required_notnullable_enum_integer'
+ notrequired_nullable_enum_integer:
+ $ref: '#/components/schemas/RequiredClass_required_nullable_enum_integer'
+ notrequired_notnullable_enum_integer:
+ $ref: '#/components/schemas/RequiredClass_required_notnullable_enum_integer'
+ required_nullable_enum_integer_only:
+ $ref: '#/components/schemas/RequiredClass_required_nullable_enum_integer_only'
+ required_notnullable_enum_integer_only:
+ $ref: '#/components/schemas/RequiredClass_required_notnullable_enum_integer_only'
+ notrequired_nullable_enum_integer_only:
+ $ref: '#/components/schemas/RequiredClass_required_nullable_enum_integer_only'
+ notrequired_notnullable_enum_integer_only:
+ $ref: '#/components/schemas/RequiredClass_required_notnullable_enum_integer_only'
+ required_notnullable_enum_string:
+ $ref: '#/components/schemas/RequiredClass_required_notnullable_enum_string'
+ required_nullable_enum_string:
+ $ref: '#/components/schemas/RequiredClass_required_nullable_enum_string'
+ notrequired_nullable_enum_string:
+ $ref: '#/components/schemas/RequiredClass_required_nullable_enum_string'
+ notrequired_notnullable_enum_string:
+ $ref: '#/components/schemas/RequiredClass_required_notnullable_enum_string'
+ required_nullable_outerEnumDefaultValue:
+ allOf:
+ - $ref: '#/components/schemas/OuterEnumDefaultValue'
+ nullable: true
+ required_notnullable_outerEnumDefaultValue:
+ allOf:
+ - $ref: '#/components/schemas/OuterEnumDefaultValue'
+ nullable: false
+ notrequired_nullable_outerEnumDefaultValue:
+ allOf:
+ - $ref: '#/components/schemas/OuterEnumDefaultValue'
+ nullable: true
+ notrequired_notnullable_outerEnumDefaultValue:
+ allOf:
+ - $ref: '#/components/schemas/OuterEnumDefaultValue'
+ nullable: false
+ required_nullable_uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ nullable: true
+ type: string
+ required_notnullable_uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ nullable: false
+ type: string
+ notrequired_nullable_uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ nullable: true
+ type: string
+ notrequired_notnullable_uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ nullable: false
+ type: string
+ required_nullable_array_of_string:
+ items:
+ type: string
+ nullable: true
+ type: array
+ required_notnullable_array_of_string:
+ items:
+ type: string
+ nullable: false
+ type: array
+ notrequired_nullable_array_of_string:
+ items:
+ type: string
+ nullable: true
+ type: array
+ notrequired_notnullable_array_of_string:
+ items:
+ type: string
+ nullable: false
+ type: array
+ required:
+ - required_not_nullable_date_prop
+ - required_notnullable_array_of_string
+ - required_notnullable_boolean_prop
+ - required_notnullable_datetime_prop
+ - required_notnullable_enum_integer
+ - required_notnullable_enum_integer_only
+ - required_notnullable_enum_string
+ - required_notnullable_outerEnumDefaultValue
+ - required_notnullable_string_prop
+ - required_notnullable_uuid
+ - required_notnullableinteger_prop
+ - required_nullable_array_of_string
+ - required_nullable_boolean_prop
+ - required_nullable_date_prop
+ - required_nullable_datetime_prop
+ - required_nullable_enum_integer
+ - required_nullable_enum_integer_only
+ - required_nullable_enum_string
+ - required_nullable_integer_prop
+ - required_nullable_outerEnumDefaultValue
+ - required_nullable_string_prop
+ - required_nullable_uuid
+ type: object
+ NullableClass:
+ additionalProperties:
+ nullable: true
+ type: object
+ properties:
+ integer_prop:
+ nullable: true
+ type: integer
+ number_prop:
+ nullable: true
+ type: number
+ boolean_prop:
+ nullable: true
+ type: boolean
+ string_prop:
+ nullable: true
+ type: string
+ date_prop:
+ format: date
+ nullable: true
+ type: string
+ datetime_prop:
+ format: date-time
+ nullable: true
+ type: string
+ array_nullable_prop:
+ items:
+ type: object
+ nullable: true
+ type: array
+ array_and_items_nullable_prop:
+ items:
+ nullable: true
+ type: object
+ nullable: true
+ type: array
+ array_items_nullable:
+ items:
+ nullable: true
+ type: object
+ type: array
+ object_nullable_prop:
+ additionalProperties:
+ type: object
+ nullable: true
+ type: object
+ object_and_items_nullable_prop:
+ additionalProperties:
+ nullable: true
+ type: object
+ nullable: true
+ type: object
+ object_items_nullable:
+ additionalProperties:
+ nullable: true
+ type: object
+ type: object
+ type: object
+ fruit:
+ additionalProperties: false
+ oneOf:
+ - $ref: '#/components/schemas/apple'
+ - $ref: '#/components/schemas/banana'
+ properties:
+ color:
+ type: string
+ apple:
+ nullable: true
+ properties:
+ cultivar:
+ pattern: "^[a-zA-Z\\s]*$"
+ type: string
+ origin:
+ pattern: "/^[A-Z\\s]*$/i"
+ type: string
+ color_code:
+ pattern: "^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$"
+ type: string
+ type: object
+ banana:
+ properties:
+ lengthCm:
+ type: number
+ type: object
+ mammal:
+ discriminator:
+ propertyName: className
+ oneOf:
+ - $ref: '#/components/schemas/whale'
+ - $ref: '#/components/schemas/zebra'
+ - $ref: '#/components/schemas/Pig'
+ whale:
+ properties:
+ hasBaleen:
+ type: boolean
+ hasTeeth:
+ type: boolean
+ className:
+ type: string
+ required:
+ - className
+ type: object
+ zebra:
+ additionalProperties: true
+ properties:
+ type:
+ $ref: '#/components/schemas/zebra_type'
+ className:
+ type: string
+ required:
+ - className
+ type: object
+ Pig:
+ discriminator:
+ propertyName: className
+ oneOf:
+ - $ref: '#/components/schemas/BasquePig'
+ - $ref: '#/components/schemas/DanishPig'
+ BasquePig:
+ properties:
+ className:
+ type: string
+ required:
+ - className
+ type: object
+ DanishPig:
+ properties:
+ className:
+ type: string
+ required:
+ - className
+ type: object
+ gmFruit:
+ additionalProperties: false
+ anyOf:
+ - $ref: '#/components/schemas/apple'
+ - $ref: '#/components/schemas/banana'
+ properties:
+ color:
+ type: string
+ fruitReq:
+ additionalProperties: false
+ nullable: true
+ oneOf:
+ - $ref: '#/components/schemas/appleReq'
+ - $ref: '#/components/schemas/bananaReq'
+ appleReq:
+ additionalProperties: false
+ properties:
+ cultivar:
+ type: string
+ mealy:
+ type: boolean
+ required:
+ - cultivar
+ type: object
+ bananaReq:
+ additionalProperties: false
+ properties:
+ lengthCm:
+ type: number
+ sweet:
+ type: boolean
+ required:
+ - lengthCm
+ type: object
+ Drawing:
+ additionalProperties:
+ $ref: '#/components/schemas/fruit'
+ properties:
+ mainShape:
+ $ref: '#/components/schemas/Shape'
+ shapeOrNull:
+ $ref: '#/components/schemas/ShapeOrNull'
+ nullableShape:
+ $ref: '#/components/schemas/NullableShape'
+ shapes:
+ items:
+ $ref: '#/components/schemas/Shape'
+ type: array
+ type: object
+ Shape:
+ discriminator:
+ propertyName: shapeType
+ oneOf:
+ - $ref: '#/components/schemas/Triangle'
+ - $ref: '#/components/schemas/Quadrilateral'
+ ShapeOrNull:
+ description: The value may be a shape or the 'null' value. This is introduced
+ in OAS schema >= 3.1.
+ discriminator:
+ propertyName: shapeType
+ nullable: true
+ oneOf:
+ - $ref: '#/components/schemas/Triangle'
+ - $ref: '#/components/schemas/Quadrilateral'
+ NullableShape:
+ description: 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.
+ discriminator:
+ propertyName: shapeType
+ nullable: true
+ oneOf:
+ - $ref: '#/components/schemas/Triangle'
+ - $ref: '#/components/schemas/Quadrilateral'
+ ShapeInterface:
+ properties:
+ shapeType:
+ type: string
+ required:
+ - shapeType
+ TriangleInterface:
+ properties:
+ triangleType:
+ type: string
+ required:
+ - triangleType
+ Triangle:
+ discriminator:
+ propertyName: triangleType
+ oneOf:
+ - $ref: '#/components/schemas/EquilateralTriangle'
+ - $ref: '#/components/schemas/IsoscelesTriangle'
+ - $ref: '#/components/schemas/ScaleneTriangle'
+ EquilateralTriangle:
+ allOf:
+ - $ref: '#/components/schemas/ShapeInterface'
+ - $ref: '#/components/schemas/TriangleInterface'
+ IsoscelesTriangle:
+ additionalProperties: false
+ allOf:
+ - $ref: '#/components/schemas/ShapeInterface'
+ - $ref: '#/components/schemas/TriangleInterface'
+ ScaleneTriangle:
+ allOf:
+ - $ref: '#/components/schemas/ShapeInterface'
+ - $ref: '#/components/schemas/TriangleInterface'
+ QuadrilateralInterface:
+ properties:
+ quadrilateralType:
+ type: string
+ required:
+ - quadrilateralType
+ Quadrilateral:
+ discriminator:
+ propertyName: quadrilateralType
+ oneOf:
+ - $ref: '#/components/schemas/SimpleQuadrilateral'
+ - $ref: '#/components/schemas/ComplexQuadrilateral'
+ SimpleQuadrilateral:
+ allOf:
+ - $ref: '#/components/schemas/ShapeInterface'
+ - $ref: '#/components/schemas/QuadrilateralInterface'
+ ComplexQuadrilateral:
+ allOf:
+ - $ref: '#/components/schemas/ShapeInterface'
+ - $ref: '#/components/schemas/QuadrilateralInterface'
+ GrandparentAnimal:
+ discriminator:
+ propertyName: pet_type
+ properties:
+ pet_type:
+ type: string
+ required:
+ - pet_type
+ type: object
+ ParentPet:
+ allOf:
+ - $ref: '#/components/schemas/GrandparentAnimal'
+ type: object
+ ChildCat:
+ allOf:
+ - $ref: '#/components/schemas/ParentPet'
+ - properties:
+ name:
+ type: string
+ pet_type:
+ $ref: '#/components/schemas/ChildCat_allOf_pet_type'
+ required:
+ - pet_type
+ type: object
+ ArrayOfEnums:
+ items:
+ $ref: '#/components/schemas/OuterEnum'
+ type: array
+ DateTimeTest:
+ default: 2010-01-01T10:10:10.000111+01:00
+ example: 2010-01-01T10:10:10.000111+01:00
+ format: date-time
+ type: string
+ DeprecatedObject:
+ deprecated: true
+ properties:
+ name:
+ type: string
+ type: object
+ ObjectWithDeprecatedFields:
+ properties:
+ uuid:
+ type: string
+ id:
+ deprecated: true
+ type: number
+ deprecatedRef:
+ $ref: '#/components/schemas/DeprecatedObject'
+ bars:
+ deprecated: true
+ items:
+ $ref: '#/components/schemas/Bar'
+ type: array
+ type: object
+ PolymorphicProperty:
+ oneOf:
+ - type: boolean
+ - type: string
+ - type: object
+ - items:
+ $ref: '#/components/schemas/StringArrayItem'
+ type: array
+ StringArrayItem:
+ format: string
+ type: string
+ Activity:
+ description: test map of maps
+ properties:
+ activity_outputs:
+ additionalProperties:
+ $ref: '#/components/schemas/ActivityOutputRepresentation'
+ type: object
+ type: object
+ ActivityOutputRepresentation:
+ items:
+ $ref: '#/components/schemas/ActivityOutputElementRepresentation'
+ type: array
+ ActivityOutputElementRepresentation:
+ properties:
+ prop1:
+ type: string
+ prop2:
+ type: object
+ type: object
+ NullableGuidClass:
+ properties:
+ uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ nullable: true
+ type: string
+ type: object
+ DateOnlyClass:
+ properties:
+ dateOnlyProperty:
+ example: 2017-07-21
+ format: date
+ type: string
+ type: object
+ TestCollectionEndingWithWordListObject:
+ properties:
+ TestCollectionEndingWithWordList:
+ items:
+ $ref: '#/components/schemas/TestCollectionEndingWithWordList'
+ type: array
+ type: object
+ TestCollectionEndingWithWordList:
+ properties:
+ value:
+ type: string
+ type: object
+ LiteralStringClass:
+ properties:
+ escapedLiteralString:
+ default: C:\\Users\\username
+ type: string
+ unescapedLiteralString:
+ default: C:\Users\username
+ type: string
+ type: object
+ OneOfString:
+ oneOf:
+ - pattern: ^a
+ type: string
+ - pattern: ^b
+ type: string
+ ZeroBasedEnum:
+ enum:
+ - unknown
+ - notUnknown
+ type: string
+ ZeroBasedEnumClass:
+ properties:
+ ZeroBasedEnum:
+ $ref: '#/components/schemas/ZeroBasedEnumClass_ZeroBasedEnum'
+ type: object
+ Custom-Variableobject-Response:
+ additionalProperties: true
+ description: A Variable object without predefined property names
+ type: object
+ Field-pkiNotificationtestID:
+ type: integer
+ notificationtest-getElements-v1-Response-mPayload:
+ example:
+ a_objVariableobject:
+ - null
+ - null
+ pkiNotificationtestID: 0
+ properties:
+ pkiNotificationtestID:
+ type: integer
+ a_objVariableobject:
+ items:
+ $ref: '#/components/schemas/Custom-Variableobject-Response'
+ type: array
+ required:
+ - a_objVariableobject
+ - pkiNotificationtestID
+ type: object
+ _foo_get_default_response:
+ example:
+ string:
+ bar: bar
+ properties:
+ string:
+ $ref: '#/components/schemas/Foo'
+ type: object
+ findPetsByStatus_status_parameter_inner:
+ default: available
+ enum:
+ - available
+ - pending
+ - sold
+ type: string
+ updatePetWithForm_request:
+ properties:
+ name:
+ description: Updated name of the pet
+ type: string
+ status:
+ description: Updated status of the pet
+ type: string
+ type: object
+ uploadFile_request:
+ properties:
+ additionalMetadata:
+ description: Additional data to pass to server
+ type: string
+ file:
+ description: file to upload
+ format: binary
+ type: string
+ type: object
+ testEnumParameters_request_enum_form_string_array_inner:
+ default: $
+ enum:
+ - '>'
+ - $
+ type: string
+ testEnumParameters_request_enum_form_string:
+ default: -efg
+ description: Form parameter enum test (string)
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ testEnumParameters_request:
+ properties:
+ enum_form_string_array:
+ description: Form parameter enum test (string array)
+ items:
+ $ref: '#/components/schemas/testEnumParameters_request_enum_form_string_array_inner'
+ type: array
+ enum_form_string:
+ $ref: '#/components/schemas/testEnumParameters_request_enum_form_string'
+ type: object
+ testEnumParameters_enum_header_string_parameter:
+ default: -efg
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ testEnumParameters_enum_query_integer_parameter:
+ enum:
+ - 1
+ - -2
+ format: int32
+ type: integer
+ testEnumParameters_enum_query_double_parameter:
+ enum:
+ - 1.1
+ - -1.2
+ format: double
+ type: number
+ testEndpointParameters_request:
+ properties:
+ integer:
+ description: None
+ maximum: 100
+ minimum: 10
+ type: integer
+ int32:
+ description: None
+ format: int32
+ maximum: 200
+ minimum: 20
+ type: integer
+ int64:
+ description: None
+ format: int64
+ type: integer
+ number:
+ description: None
+ maximum: 543.2
+ minimum: 32.1
+ type: number
+ float:
+ description: None
+ format: float
+ maximum: 987.6
+ type: number
+ double:
+ description: None
+ format: double
+ maximum: 123.4
+ minimum: 67.8
+ type: number
+ string:
+ description: None
+ pattern: "/[a-z]/i"
+ type: string
+ pattern_without_delimiter:
+ description: None
+ pattern: "^[A-Z].*"
+ type: string
+ byte:
+ description: None
+ format: byte
+ type: string
+ binary:
+ description: None
+ format: binary
+ type: string
+ date:
+ description: None
+ format: date
+ type: string
+ dateTime:
+ default: 2010-02-01T10:20:10.11111+01:00
+ description: None
+ example: 2020-02-02T20:20:20.22222Z
+ format: date-time
+ type: string
+ password:
+ description: None
+ format: password
+ maxLength: 64
+ minLength: 10
+ type: string
+ callback:
+ description: None
+ type: string
+ required:
+ - byte
+ - double
+ - number
+ - pattern_without_delimiter
+ type: object
+ testJsonFormData_request:
+ properties:
+ param:
+ description: field1
+ type: string
+ param2:
+ description: field2
+ type: string
+ required:
+ - param
+ - param2
+ type: object
+ testInlineFreeformAdditionalProperties_request:
+ additionalProperties: true
+ properties:
+ someProperty:
+ type: string
+ type: object
+ uploadFileWithRequiredFile_request:
+ properties:
+ additionalMetadata:
+ description: Additional data to pass to server
+ type: string
+ requiredFile:
+ description: file to upload
+ format: binary
+ type: string
+ required:
+ - requiredFile
+ type: object
+ getCountry_request:
+ allOf:
+ - properties:
+ country:
+ type: string
+ required:
+ - country
+ type: object
+ RolesReportsHash_role:
+ properties:
+ name:
+ type: string
+ type: object
+ Order_status:
+ description: Order Status
+ enum:
+ - placed
+ - approved
+ - delivered
+ type: string
+ Pet_status:
+ description: pet status in the store
+ enum:
+ - available
+ - pending
+ - sold
+ type: string
+ Enum_Test_enum_string:
+ enum:
+ - UPPER
+ - lower
+ - ""
+ - "Value\twith tab"
+ - Value with " quote
+ - Value with escaped \" quote
+ - |-
+ Duplicate
+ value
+ - "Duplicate\r\nvalue"
+ type: string
+ Enum_Test_enum_integer:
+ enum:
+ - 1
+ - -1
+ format: int32
+ type: integer
+ Enum_Test_enum_integer_only:
+ enum:
+ - 2
+ - -2
+ type: integer
+ MapTest_map_of_enum_string_value:
+ enum:
+ - UPPER
+ - lower
+ type: string
+ EnumArrays_just_symbol:
+ enum:
+ - '>='
+ - $
+ type: string
+ EnumArrays_array_enum_inner:
+ enum:
+ - fish
+ - crab
+ type: string
+ RequiredClass_required_nullable_enum_integer:
+ enum:
+ - 1
+ - -1
+ format: int32
+ nullable: true
+ type: integer
+ RequiredClass_required_notnullable_enum_integer:
+ enum:
+ - 1
+ - -1
+ format: int32
+ nullable: false
+ type: integer
+ RequiredClass_required_nullable_enum_integer_only:
+ enum:
+ - 2
+ - -2
+ nullable: true
+ type: integer
+ RequiredClass_required_notnullable_enum_integer_only:
+ enum:
+ - 2
+ - -2
+ nullable: false
+ type: integer
+ RequiredClass_required_notnullable_enum_string:
+ enum:
+ - UPPER
+ - lower
+ - ""
+ - "Value\twith tab"
+ - Value with " quote
+ - Value with escaped \" quote
+ - |-
+ Duplicate
+ value
+ - "Duplicate\r\nvalue"
+ nullable: false
+ type: string
+ RequiredClass_required_nullable_enum_string:
+ enum:
+ - UPPER
+ - lower
+ - ""
+ - "Value\twith tab"
+ - Value with " quote
+ - Value with escaped \" quote
+ - |-
+ Duplicate
+ value
+ - "Duplicate\r\nvalue"
+ nullable: true
+ type: string
+ zebra_type:
+ enum:
+ - plains
+ - mountain
+ - grevys
+ type: string
+ ChildCat_allOf_pet_type:
+ default: ChildCat
+ enum:
+ - ChildCat
+ type: string
+ x-enum-as-string: true
+ ZeroBasedEnumClass_ZeroBasedEnum:
+ enum:
+ - unknown
+ - notUnknown
+ type: string
+ securitySchemes:
+ petstore_auth:
+ flows:
+ implicit:
+ authorizationUrl: http://petstore.swagger.io/api/oauth/dialog
+ scopes:
+ write:pets: modify pets in your account
+ read:pets: read your pets
+ type: oauth2
+ api_key:
+ in: header
+ name: api_key
+ type: apiKey
+ api_key_query:
+ in: query
+ name: api_key_query
+ type: apiKey
+ http_basic_test:
+ scheme: basic
+ type: http
+ bearer_test:
+ bearerFormat: JWT
+ scheme: bearer
+ type: http
+ http_signature_test:
+ scheme: signature
+ type: http
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/appveyor.yml b/samples/client/petstore/csharp/generichost/net8/FormModels/appveyor.yml
new file mode 100644
index 00000000000..f76f63cee50
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/appveyor.yml
@@ -0,0 +1,9 @@
+# auto-generated by OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator)
+#
+image: Visual Studio 2019
+clone_depth: 1
+build_script:
+- dotnet build -c Release
+- dotnet test -c Release
+after_build:
+- dotnet pack .\src\Org.OpenAPITools\Org.OpenAPITools.csproj -o ../../output -c Release --no-build
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/AnotherFakeApi.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/AnotherFakeApi.md
new file mode 100644
index 00000000000..36948898657
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/AnotherFakeApi.md
@@ -0,0 +1,99 @@
+# Org.OpenAPITools.Api.AnotherFakeApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags |
+
+
+# **Call123TestSpecialTags**
+> ModelClient Call123TestSpecialTags (ModelClient modelClient)
+
+To test special tags
+
+To test special tags and operation ID starting with number
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class Call123TestSpecialTagsExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new AnotherFakeApi(config);
+ var modelClient = new ModelClient(); // ModelClient | client model
+
+ try
+ {
+ // To test special tags
+ ModelClient result = apiInstance.Call123TestSpecialTags(modelClient);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling AnotherFakeApi.Call123TestSpecialTags: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the Call123TestSpecialTagsWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // To test special tags
+ ApiResponse response = apiInstance.Call123TestSpecialTagsWithHttpInfo(modelClient);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling AnotherFakeApi.Call123TestSpecialTagsWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **modelClient** | [**ModelClient**](ModelClient.md) | client model | |
+
+### Return type
+
+[**ModelClient**](ModelClient.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/DefaultApi.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/DefaultApi.md
new file mode 100644
index 00000000000..0bdfd6af347
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/DefaultApi.md
@@ -0,0 +1,429 @@
+# Org.OpenAPITools.Api.DefaultApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**FooGet**](DefaultApi.md#fooget) | **GET** /foo | |
+| [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | |
+| [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello |
+| [**RolesReportGet**](DefaultApi.md#rolesreportget) | **GET** /roles/report | |
+| [**Test**](DefaultApi.md#test) | **GET** /test | Retrieve an existing Notificationtest's Elements |
+
+
+# **FooGet**
+> FooGetDefaultResponse FooGet ()
+
+
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class FooGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new DefaultApi(config);
+
+ try
+ {
+ FooGetDefaultResponse result = apiInstance.FooGet();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling DefaultApi.FooGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FooGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse response = apiInstance.FooGetWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling DefaultApi.FooGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+[**FooGetDefaultResponse**](FooGetDefaultResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | response | - |
+
+[[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)
+
+
+# **GetCountry**
+> void GetCountry (string country)
+
+
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class GetCountryExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new DefaultApi(config);
+ var country = "country_example"; // string |
+
+ try
+ {
+ apiInstance.GetCountry(country);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling DefaultApi.GetCountry: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetCountryWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ apiInstance.GetCountryWithHttpInfo(country);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling DefaultApi.GetCountryWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **country** | **string** | | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/x-www-form-urlencoded
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+
+[[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)
+
+
+# **Hello**
+> List<Guid> Hello ()
+
+Hello
+
+Hello
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class HelloExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new DefaultApi(config);
+
+ try
+ {
+ // Hello
+ List result = apiInstance.Hello();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling DefaultApi.Hello: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the HelloWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Hello
+ ApiResponse> response = apiInstance.HelloWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling DefaultApi.HelloWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+**List**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | UUIDs | - |
+
+[[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)
+
+
+# **RolesReportGet**
+> List<List<RolesReportsHash>> RolesReportGet ()
+
+
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class RolesReportGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new DefaultApi(config);
+
+ try
+ {
+ List> result = apiInstance.RolesReportGet();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling DefaultApi.RolesReportGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the RolesReportGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse>> response = apiInstance.RolesReportGetWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling DefaultApi.RolesReportGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+**List>**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | returns report | - |
+
+[[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)
+
+
+# **Test**
+> NotificationtestGetElementsV1ResponseMPayload Test ()
+
+Retrieve an existing Notificationtest's Elements
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new DefaultApi(config);
+
+ try
+ {
+ // Retrieve an existing Notificationtest's Elements
+ NotificationtestGetElementsV1ResponseMPayload result = apiInstance.Test();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling DefaultApi.Test: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Retrieve an existing Notificationtest's Elements
+ ApiResponse response = apiInstance.TestWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling DefaultApi.TestWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+[**NotificationtestGetElementsV1ResponseMPayload**](NotificationtestGetElementsV1ResponseMPayload.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful response | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/FakeApi.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/FakeApi.md
new file mode 100644
index 00000000000..187a580b89a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/FakeApi.md
@@ -0,0 +1,1660 @@
+# Org.OpenAPITools.Api.FakeApi
+
+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 |
+| [**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 |
+| [**TestAdditionalPropertiesReference**](FakeApi.md#testadditionalpropertiesreference) | **POST** /fake/additionalProperties-reference | test referenced additionalProperties |
+| [**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 |
+| [**TestEndpointParameters**](FakeApi.md#testendpointparameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 |
+| [**TestEnumParameters**](FakeApi.md#testenumparameters) | **GET** /fake | To test enum parameters |
+| [**TestGroupParameters**](FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional) |
+| [**TestInlineAdditionalProperties**](FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties |
+| [**TestInlineFreeformAdditionalProperties**](FakeApi.md#testinlinefreeformadditionalproperties) | **POST** /fake/inline-freeform-additionalProperties | test inline free-form additionalProperties |
+| [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data |
+| [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | |
+| [**TestStringMapReference**](FakeApi.md#teststringmapreference) | **POST** /fake/stringMap-reference | test referenced string map |
+
+
+# **FakeHealthGet**
+> HealthCheckResult FakeHealthGet ()
+
+Health check endpoint
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class FakeHealthGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+
+ try
+ {
+ // Health check endpoint
+ HealthCheckResult result = apiInstance.FakeHealthGet();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.FakeHealthGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FakeHealthGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Health check endpoint
+ ApiResponse response = apiInstance.FakeHealthGetWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.FakeHealthGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+[**HealthCheckResult**](HealthCheckResult.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | The instance started successfully | - |
+
+[[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)
+
+
+
+Test serialization of outer boolean types
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ 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 body = true; // bool | Input boolean as post body (optional)
+
+ try
+ {
+ bool result = apiInstance.FakeOuterBooleanSerialize(body);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.FakeOuterBooleanSerialize: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FakeOuterBooleanSerializeWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse response = apiInstance.FakeOuterBooleanSerializeWithHttpInfo(body);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.FakeOuterBooleanSerializeWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **body** | **bool** | Input boolean as post body | [optional] |
+
+### Return type
+
+**bool**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **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)
+
+
+# **FakeOuterCompositeSerialize**
+> OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null)
+
+
+
+Test serialization of object with outer number type
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ 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 outerComposite = new OuterComposite(); // OuterComposite | Input composite as post body (optional)
+
+ try
+ {
+ OuterComposite result = apiInstance.FakeOuterCompositeSerialize(outerComposite);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.FakeOuterCompositeSerialize: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FakeOuterCompositeSerializeWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse response = apiInstance.FakeOuterCompositeSerializeWithHttpInfo(outerComposite);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.FakeOuterCompositeSerializeWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **outerComposite** | [**OuterComposite**](OuterComposite.md) | Input composite as post body | [optional] |
+
+### Return type
+
+[**OuterComposite**](OuterComposite.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **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)
+
+
+# **FakeOuterNumberSerialize**
+> decimal FakeOuterNumberSerialize (decimal body = null)
+
+
+
+Test serialization of outer number types
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ 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 body = 8.14D; // decimal | Input number as post body (optional)
+
+ try
+ {
+ decimal result = apiInstance.FakeOuterNumberSerialize(body);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.FakeOuterNumberSerialize: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FakeOuterNumberSerializeWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse response = apiInstance.FakeOuterNumberSerializeWithHttpInfo(body);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.FakeOuterNumberSerializeWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **body** | **decimal** | Input number as post body | [optional] |
+
+### Return type
+
+**decimal**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **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)
+
+
+# **FakeOuterStringSerialize**
+> string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null)
+
+
+
+Test serialization of outer string types
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ 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 requiredStringUuid = "requiredStringUuid_example"; // Guid | Required UUID String
+ var body = "body_example"; // string | Input string as post body (optional)
+
+ try
+ {
+ string result = apiInstance.FakeOuterStringSerialize(requiredStringUuid, body);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.FakeOuterStringSerialize: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FakeOuterStringSerializeWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse response = apiInstance.FakeOuterStringSerializeWithHttpInfo(requiredStringUuid, body);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.FakeOuterStringSerializeWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **requiredStringUuid** | **Guid** | Required UUID String | |
+| **body** | **string** | Input string as post body | [optional] |
+
+### Return type
+
+**string**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **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)
+
+
+# **GetArrayOfEnums**
+> List<OuterEnum> GetArrayOfEnums ()
+
+Array of Enums
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class GetArrayOfEnumsExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+
+ try
+ {
+ // Array of Enums
+ List result = apiInstance.GetArrayOfEnums();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.GetArrayOfEnums: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetArrayOfEnumsWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Array of Enums
+ ApiResponse> response = apiInstance.GetArrayOfEnumsWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.GetArrayOfEnumsWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+[**List<OuterEnum>**](OuterEnum.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **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)
+
+
+# **TestAdditionalPropertiesReference**
+> void TestAdditionalPropertiesReference (Dictionary requestBody)
+
+test referenced additionalProperties
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestAdditionalPropertiesReferenceExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var requestBody = new Dictionary(); // Dictionary | request body
+
+ try
+ {
+ // test referenced additionalProperties
+ apiInstance.TestAdditionalPropertiesReference(requestBody);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestAdditionalPropertiesReference: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestAdditionalPropertiesReferenceWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // test referenced additionalProperties
+ apiInstance.TestAdditionalPropertiesReferenceWithHttpInfo(requestBody);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestAdditionalPropertiesReferenceWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **requestBody** | [**Dictionary<string, Object>**](Object.md) | request body | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **TestBodyWithFileSchema**
+> void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass)
+
+
+
+For this test, the body for this request much reference a schema named `File`.
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestBodyWithFileSchemaExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var fileSchemaTestClass = new FileSchemaTestClass(); // FileSchemaTestClass |
+
+ try
+ {
+ apiInstance.TestBodyWithFileSchema(fileSchemaTestClass);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestBodyWithFileSchema: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestBodyWithFileSchemaWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ apiInstance.TestBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestBodyWithFileSchemaWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **fileSchemaTestClass** | [**FileSchemaTestClass**](FileSchemaTestClass.md) | | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+[[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)
+
+
+# **TestBodyWithQueryParams**
+> void TestBodyWithQueryParams (User user, string query)
+
+
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestBodyWithQueryParamsExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var user = new User(); // User |
+ var query = "query_example"; // string |
+
+ try
+ {
+ apiInstance.TestBodyWithQueryParams(user, query);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestBodyWithQueryParams: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestBodyWithQueryParamsWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ apiInstance.TestBodyWithQueryParamsWithHttpInfo(user, query);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestBodyWithQueryParamsWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **user** | [**User**](User.md) | | |
+| **query** | **string** | | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+[[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)
+
+
+# **TestClientModel**
+> ModelClient TestClientModel (ModelClient modelClient)
+
+To test \"client\" model
+
+To test \"client\" model
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestClientModelExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var modelClient = new ModelClient(); // ModelClient | client model
+
+ try
+ {
+ // To test \"client\" model
+ ModelClient result = apiInstance.TestClientModel(modelClient);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestClientModel: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestClientModelWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // To test \"client\" model
+ ApiResponse response = apiInstance.TestClientModelWithHttpInfo(modelClient);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestClientModelWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **modelClient** | [**ModelClient**](ModelClient.md) | client model | |
+
+### Return type
+
+[**ModelClient**](ModelClient.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **TestEndpointParameters**
+> void TestEndpointParameters (byte[] varByte, decimal number, double varDouble, string patternWithoutDelimiter, DateOnly date = null, System.IO.Stream binary = null, float varFloat = null, int integer = null, int int32 = null, long int64 = null, string varString = null, string password = null, string callback = null, DateTime dateTime = null)
+
+Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+
+Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestEndpointParametersExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure HTTP basic authorization: http_basic_test
+ config.Username = "YOUR_USERNAME";
+ config.Password = "YOUR_PASSWORD";
+
+ var apiInstance = new FakeApi(config);
+ var varByte = System.Text.Encoding.ASCII.GetBytes("BYTE_ARRAY_DATA_HERE"); // byte[] | None
+ var number = 8.14D; // decimal | None
+ var varDouble = 1.2D; // double | None
+ var patternWithoutDelimiter = "patternWithoutDelimiter_example"; // string | None
+ var date = DateOnly.Parse("2013-10-20"); // DateOnly | None (optional)
+ var binary = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream | None (optional)
+ var varFloat = 3.4F; // float | None (optional)
+ var integer = 56; // int | None (optional)
+ var int32 = 56; // int | None (optional)
+ var int64 = 789L; // long | None (optional)
+ var varString = "varString_example"; // string | None (optional)
+ var password = "password_example"; // string | None (optional)
+ var callback = "callback_example"; // string | None (optional)
+ var dateTime = DateTime.Parse(""2010-02-01T10:20:10.111110+01:00""); // DateTime | None (optional) (default to "2010-02-01T10:20:10.111110+01:00")
+
+ try
+ {
+ // Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ apiInstance.TestEndpointParameters(varByte, number, varDouble, patternWithoutDelimiter, date, binary, varFloat, integer, int32, int64, varString, password, callback, dateTime);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestEndpointParameters: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestEndpointParametersWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ apiInstance.TestEndpointParametersWithHttpInfo(varByte, number, varDouble, patternWithoutDelimiter, date, binary, varFloat, integer, int32, int64, varString, password, callback, dateTime);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestEndpointParametersWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **varByte** | **byte[]** | None | |
+| **number** | **decimal** | None | |
+| **varDouble** | **double** | None | |
+| **patternWithoutDelimiter** | **string** | None | |
+| **date** | **DateOnly** | None | [optional] |
+| **binary** | **System.IO.Stream****System.IO.Stream** | None | [optional] |
+| **varFloat** | **float** | None | [optional] |
+| **integer** | **int** | None | [optional] |
+| **int32** | **int** | None | [optional] |
+| **int64** | **long** | None | [optional] |
+| **varString** | **string** | None | [optional] |
+| **password** | **string** | None | [optional] |
+| **callback** | **string** | None | [optional] |
+| **dateTime** | **DateTime** | None | [optional] [default to "2010-02-01T10:20:10.111110+01:00"] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[http_basic_test](../README.md#http_basic_test)
+
+### HTTP request headers
+
+ - **Content-Type**: application/x-www-form-urlencoded
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid username supplied | - |
+| **404** | User not found | - |
+
+[[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)
+
+
+# **TestEnumParameters**
+> void TestEnumParameters (List enumHeaderStringArray = null, List enumQueryStringArray = null, List enumFormStringArray = null, TestEnumParametersEnumHeaderStringParameter enumHeaderString = null, TestEnumParametersEnumHeaderStringParameter enumQueryString = null, TestEnumParametersEnumQueryDoubleParameter enumQueryDouble = null, TestEnumParametersEnumQueryIntegerParameter enumQueryInteger = null, TestEnumParametersRequestEnumFormString enumFormString = null)
+
+To test enum parameters
+
+To test enum parameters
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestEnumParametersExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var enumHeaderStringArray = new List(); // List | Header parameter enum test (string array) (optional)
+ var enumQueryStringArray = new List(); // List | Query parameter enum test (string array) (optional)
+ var enumFormStringArray = new List(); // List | Form parameter enum test (string array) (optional)
+ var enumHeaderString = (TestEnumParametersEnumHeaderStringParameter) "_abc"; // TestEnumParametersEnumHeaderStringParameter | Header parameter enum test (string) (optional)
+ var enumQueryString = (TestEnumParametersEnumHeaderStringParameter) "_abc"; // TestEnumParametersEnumHeaderStringParameter | Query parameter enum test (string) (optional)
+ var enumQueryDouble = (TestEnumParametersEnumQueryDoubleParameter) "1.1"; // TestEnumParametersEnumQueryDoubleParameter | Query parameter enum test (double) (optional)
+ var enumQueryInteger = (TestEnumParametersEnumQueryIntegerParameter) "1"; // TestEnumParametersEnumQueryIntegerParameter | Query parameter enum test (double) (optional)
+ var enumFormString = (TestEnumParametersRequestEnumFormString) "_abc"; // TestEnumParametersRequestEnumFormString | (optional)
+
+ try
+ {
+ // To test enum parameters
+ apiInstance.TestEnumParameters(enumHeaderStringArray, enumQueryStringArray, enumFormStringArray, enumHeaderString, enumQueryString, enumQueryDouble, enumQueryInteger, enumFormString);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestEnumParameters: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestEnumParametersWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // To test enum parameters
+ apiInstance.TestEnumParametersWithHttpInfo(enumHeaderStringArray, enumQueryStringArray, enumFormStringArray, enumHeaderString, enumQueryString, enumQueryDouble, enumQueryInteger, enumFormString);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestEnumParametersWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **enumHeaderStringArray** | [**List<TestEnumParametersRequestEnumFormStringArrayInner>**](TestEnumParametersRequestEnumFormStringArrayInner.md) | Header parameter enum test (string array) | [optional] |
+| **enumQueryStringArray** | [**List<TestEnumParametersRequestEnumFormStringArrayInner>**](TestEnumParametersRequestEnumFormStringArrayInner.md) | Query parameter enum test (string array) | [optional] |
+| **enumFormStringArray** | [**List<TestEnumParametersRequestEnumFormStringArrayInner>**](TestEnumParametersRequestEnumFormStringArrayInner.md) | Form parameter enum test (string array) | [optional] |
+| **enumHeaderString** | **TestEnumParametersEnumHeaderStringParameter** | Header parameter enum test (string) | [optional] |
+| **enumQueryString** | **TestEnumParametersEnumHeaderStringParameter** | Query parameter enum test (string) | [optional] |
+| **enumQueryDouble** | **TestEnumParametersEnumQueryDoubleParameter** | Query parameter enum test (double) | [optional] |
+| **enumQueryInteger** | **TestEnumParametersEnumQueryIntegerParameter** | Query parameter enum test (double) | [optional] |
+| **enumFormString** | **TestEnumParametersRequestEnumFormString** | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/x-www-form-urlencoded
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid request | - |
+| **404** | Not found | - |
+
+[[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)
+
+
+# **TestGroupParameters**
+> void TestGroupParameters (bool requiredBooleanGroup, int requiredStringGroup, long requiredInt64Group, bool booleanGroup = null, int stringGroup = null, long int64Group = null)
+
+Fake endpoint to test group parameters (optional)
+
+Fake endpoint to test group parameters (optional)
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestGroupParametersExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure Bearer token for authorization: bearer_test
+ config.AccessToken = "YOUR_BEARER_TOKEN";
+
+ var apiInstance = new FakeApi(config);
+ var requiredBooleanGroup = true; // bool | Required Boolean in group parameters
+ var requiredStringGroup = 56; // int | Required String in group parameters
+ var requiredInt64Group = 789L; // long | Required Integer in group parameters
+ var booleanGroup = true; // bool | Boolean in group parameters (optional)
+ var stringGroup = 56; // int | String in group parameters (optional)
+ var int64Group = 789L; // long | Integer in group parameters (optional)
+
+ try
+ {
+ // Fake endpoint to test group parameters (optional)
+ apiInstance.TestGroupParameters(requiredBooleanGroup, requiredStringGroup, requiredInt64Group, booleanGroup, stringGroup, int64Group);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestGroupParameters: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestGroupParametersWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Fake endpoint to test group parameters (optional)
+ apiInstance.TestGroupParametersWithHttpInfo(requiredBooleanGroup, requiredStringGroup, requiredInt64Group, booleanGroup, stringGroup, int64Group);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestGroupParametersWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **requiredBooleanGroup** | **bool** | Required Boolean in group parameters | |
+| **requiredStringGroup** | **int** | Required String in group parameters | |
+| **requiredInt64Group** | **long** | Required Integer in group parameters | |
+| **booleanGroup** | **bool** | Boolean in group parameters | [optional] |
+| **stringGroup** | **int** | String in group parameters | [optional] |
+| **int64Group** | **long** | Integer in group parameters | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[bearer_test](../README.md#bearer_test)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Something wrong | - |
+
+[[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)
+
+
+# **TestInlineAdditionalProperties**
+> void TestInlineAdditionalProperties (Dictionary requestBody)
+
+test inline additionalProperties
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestInlineAdditionalPropertiesExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var requestBody = new Dictionary(); // Dictionary | request body
+
+ try
+ {
+ // test inline additionalProperties
+ apiInstance.TestInlineAdditionalProperties(requestBody);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestInlineAdditionalProperties: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestInlineAdditionalPropertiesWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // test inline additionalProperties
+ apiInstance.TestInlineAdditionalPropertiesWithHttpInfo(requestBody);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestInlineAdditionalPropertiesWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **requestBody** | [**Dictionary<string, string>**](string.md) | request body | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **TestInlineFreeformAdditionalProperties**
+> void TestInlineFreeformAdditionalProperties (TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest)
+
+test inline free-form additionalProperties
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestInlineFreeformAdditionalPropertiesExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var testInlineFreeformAdditionalPropertiesRequest = new TestInlineFreeformAdditionalPropertiesRequest(); // TestInlineFreeformAdditionalPropertiesRequest | request body
+
+ try
+ {
+ // test inline free-form additionalProperties
+ apiInstance.TestInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestInlineFreeformAdditionalProperties: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestInlineFreeformAdditionalPropertiesWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // test inline free-form additionalProperties
+ apiInstance.TestInlineFreeformAdditionalPropertiesWithHttpInfo(testInlineFreeformAdditionalPropertiesRequest);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestInlineFreeformAdditionalPropertiesWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **testInlineFreeformAdditionalPropertiesRequest** | [**TestInlineFreeformAdditionalPropertiesRequest**](TestInlineFreeformAdditionalPropertiesRequest.md) | request body | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **TestJsonFormData**
+> void TestJsonFormData (string param, string param2)
+
+test json serialization of form data
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestJsonFormDataExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var param = "param_example"; // string | field1
+ var param2 = "param2_example"; // string | field2
+
+ try
+ {
+ // test json serialization of form data
+ apiInstance.TestJsonFormData(param, param2);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestJsonFormData: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestJsonFormDataWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // test json serialization of form data
+ apiInstance.TestJsonFormDataWithHttpInfo(param, param2);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestJsonFormDataWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **param** | **string** | field1 | |
+| **param2** | **string** | field2 | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/x-www-form-urlencoded
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **TestQueryParameterCollectionFormat**
+> void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context, string requiredNotNullable, string requiredNullable, string notRequiredNotNullable = null, string notRequiredNullable = null)
+
+
+
+To test the collection format in query parameters
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestQueryParameterCollectionFormatExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var pipe = new List(); // List |
+ var ioutil = new List(); // List |
+ var http = new List(); // List |
+ var url = new List(); // List |
+ var context = new List(); // List |
+ var requiredNotNullable = "requiredNotNullable_example"; // string |
+ var requiredNullable = "requiredNullable_example"; // string |
+ var notRequiredNotNullable = "notRequiredNotNullable_example"; // string | (optional)
+ var notRequiredNullable = "notRequiredNullable_example"; // string | (optional)
+
+ try
+ {
+ apiInstance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormat: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestQueryParameterCollectionFormatWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ apiInstance.TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormatWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **pipe** | [**List<string>**](string.md) | | |
+| **ioutil** | [**List<string>**](string.md) | | |
+| **http** | [**List<string>**](string.md) | | |
+| **url** | [**List<string>**](string.md) | | |
+| **context** | [**List<string>**](string.md) | | |
+| **requiredNotNullable** | **string** | | |
+| **requiredNullable** | **string** | | |
+| **notRequiredNotNullable** | **string** | | [optional] |
+| **notRequiredNullable** | **string** | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+[[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)
+
+
+# **TestStringMapReference**
+> void TestStringMapReference (Dictionary requestBody)
+
+test referenced string map
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestStringMapReferenceExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new FakeApi(config);
+ var requestBody = new Dictionary(); // Dictionary | request body
+
+ try
+ {
+ // test referenced string map
+ apiInstance.TestStringMapReference(requestBody);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeApi.TestStringMapReference: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestStringMapReferenceWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // test referenced string map
+ apiInstance.TestStringMapReferenceWithHttpInfo(requestBody);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeApi.TestStringMapReferenceWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **requestBody** | [**Dictionary<string, string>**](string.md) | request body | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/FakeClassnameTags123Api.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/FakeClassnameTags123Api.md
new file mode 100644
index 00000000000..dfe1adefd0a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/FakeClassnameTags123Api.md
@@ -0,0 +1,104 @@
+# Org.OpenAPITools.Api.FakeClassnameTags123Api
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case |
+
+
+# **TestClassname**
+> ModelClient TestClassname (ModelClient modelClient)
+
+To test class name in snake case
+
+To test class name in snake case
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class TestClassnameExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure API key authorization: api_key_query
+ config.AddApiKey("api_key_query", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("api_key_query", "Bearer");
+
+ var apiInstance = new FakeClassnameTags123Api(config);
+ var modelClient = new ModelClient(); // ModelClient | client model
+
+ try
+ {
+ // To test class name in snake case
+ ModelClient result = apiInstance.TestClassname(modelClient);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling FakeClassnameTags123Api.TestClassname: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the TestClassnameWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // To test class name in snake case
+ ApiResponse response = apiInstance.TestClassnameWithHttpInfo(modelClient);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling FakeClassnameTags123Api.TestClassnameWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **modelClient** | [**ModelClient**](ModelClient.md) | client model | |
+
+### Return type
+
+[**ModelClient**](ModelClient.md)
+
+### Authorization
+
+[api_key_query](../README.md#api_key_query)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/PetApi.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/PetApi.md
new file mode 100644
index 00000000000..862c66f0bee
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/PetApi.md
@@ -0,0 +1,860 @@
+# Org.OpenAPITools.Api.PetApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**AddPet**](PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| [**DeletePet**](PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**FindPetsByStatus**](PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**FindPetsByTags**](PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**GetPetById**](PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| [**UpdatePet**](PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| [**UpdatePetWithForm**](PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) |
+
+
+# **AddPet**
+> void AddPet (Pet pet)
+
+Add a new pet to the store
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class AddPetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var pet = new Pet(); // Pet | Pet object that needs to be added to the store
+
+ try
+ {
+ // Add a new pet to the store
+ apiInstance.AddPet(pet);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.AddPet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the AddPetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Add a new pet to the store
+ apiInstance.AddPetWithHttpInfo(pet);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.AddPetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **pet** | [**Pet**](Pet.md) | Pet object that needs to be added to the store | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth), [http_signature_test](../README.md#http_signature_test)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json, application/xml
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **405** | Invalid input | - |
+
+[[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)
+
+
+# **DeletePet**
+> void DeletePet (long petId, string apiKey = null)
+
+Deletes a pet
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class DeletePetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var petId = 789L; // long | Pet id to delete
+ var apiKey = "apiKey_example"; // string | (optional)
+
+ try
+ {
+ // Deletes a pet
+ apiInstance.DeletePet(petId, apiKey);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.DeletePet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the DeletePetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Deletes a pet
+ apiInstance.DeletePetWithHttpInfo(petId, apiKey);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.DeletePetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **petId** | **long** | Pet id to delete | |
+| **apiKey** | **string** | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid pet value | - |
+
+[[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)
+
+
+# **FindPetsByStatus**
+> List<Pet> FindPetsByStatus (List status)
+
+Finds Pets by status
+
+Multiple status values can be provided with comma separated strings
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class FindPetsByStatusExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var status = new List(); // List | Status values that need to be considered for filter
+
+ try
+ {
+ // Finds Pets by status
+ List result = apiInstance.FindPetsByStatus(status);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.FindPetsByStatus: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FindPetsByStatusWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Finds Pets by status
+ ApiResponse> response = apiInstance.FindPetsByStatusWithHttpInfo(status);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.FindPetsByStatusWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **status** | [**List<FindPetsByStatusStatusParameterInner>**](FindPetsByStatusStatusParameterInner.md) | Status values that need to be considered for filter | |
+
+### Return type
+
+[**List<Pet>**](Pet.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth), [http_signature_test](../README.md#http_signature_test)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid status value | - |
+
+[[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)
+
+
+# **FindPetsByTags**
+> List<Pet> FindPetsByTags (List tags)
+
+Finds Pets by tags
+
+Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class FindPetsByTagsExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var tags = new List(); // List | Tags to filter by
+
+ try
+ {
+ // Finds Pets by tags
+ List result = apiInstance.FindPetsByTags(tags);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.FindPetsByTags: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the FindPetsByTagsWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Finds Pets by tags
+ ApiResponse> response = apiInstance.FindPetsByTagsWithHttpInfo(tags);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.FindPetsByTagsWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **tags** | [**List<string>**](string.md) | Tags to filter by | |
+
+### Return type
+
+[**List<Pet>**](Pet.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth), [http_signature_test](../README.md#http_signature_test)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid tag value | - |
+
+[[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)
+
+
+# **GetPetById**
+> Pet GetPetById (long petId)
+
+Find pet by ID
+
+Returns a single pet
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class GetPetByIdExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure API key authorization: api_key
+ config.AddApiKey("api_key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("api_key", "Bearer");
+ // Configure API key authorization: api_key_query
+ config.AddApiKey("api_key_query", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("api_key_query", "Bearer");
+
+ var apiInstance = new PetApi(config);
+ var petId = 789L; // long | ID of pet to return
+
+ try
+ {
+ // Find pet by ID
+ Pet result = apiInstance.GetPetById(petId);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.GetPetById: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetPetByIdWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Find pet by ID
+ ApiResponse response = apiInstance.GetPetByIdWithHttpInfo(petId);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.GetPetByIdWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **petId** | **long** | ID of pet to return | |
+
+### Return type
+
+[**Pet**](Pet.md)
+
+### Authorization
+
+[api_key](../README.md#api_key), [api_key_query](../README.md#api_key_query)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid ID supplied | - |
+| **404** | Pet not found | - |
+
+[[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)
+
+
+# **UpdatePet**
+> void UpdatePet (Pet pet)
+
+Update an existing pet
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class UpdatePetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var pet = new Pet(); // Pet | Pet object that needs to be added to the store
+
+ try
+ {
+ // Update an existing pet
+ apiInstance.UpdatePet(pet);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.UpdatePet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the UpdatePetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Update an existing pet
+ apiInstance.UpdatePetWithHttpInfo(pet);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.UpdatePetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **pet** | [**Pet**](Pet.md) | Pet object that needs to be added to the store | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth), [http_signature_test](../README.md#http_signature_test)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json, application/xml
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid ID supplied | - |
+| **404** | Pet not found | - |
+| **405** | Validation exception | - |
+
+[[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)
+
+
+# **UpdatePetWithForm**
+> void UpdatePetWithForm (long petId, string name = null, string status = null)
+
+Updates a pet in the store with form data
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class UpdatePetWithFormExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var petId = 789L; // long | ID of pet that needs to be updated
+ var name = "name_example"; // string | Updated name of the pet (optional)
+ var status = "status_example"; // string | Updated status of the pet (optional)
+
+ try
+ {
+ // Updates a pet in the store with form data
+ apiInstance.UpdatePetWithForm(petId, name, status);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.UpdatePetWithForm: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the UpdatePetWithFormWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Updates a pet in the store with form data
+ apiInstance.UpdatePetWithFormWithHttpInfo(petId, name, status);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.UpdatePetWithFormWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **petId** | **long** | ID of pet that needs to be updated | |
+| **name** | **string** | Updated name of the pet | [optional] |
+| **status** | **string** | Updated status of the pet | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+ - **Content-Type**: application/x-www-form-urlencoded
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **405** | Invalid input | - |
+
+[[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)
+
+
+# **UploadFile**
+> ApiResponse UploadFile (long petId, System.IO.Stream file = null, string additionalMetadata = null)
+
+uploads an image
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class UploadFileExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var petId = 789L; // long | ID of pet to update
+ var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream | file to upload (optional)
+ var additionalMetadata = "additionalMetadata_example"; // string | Additional data to pass to server (optional)
+
+ try
+ {
+ // uploads an image
+ ApiResponse result = apiInstance.UploadFile(petId, file, additionalMetadata);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.UploadFile: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the UploadFileWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // uploads an image
+ ApiResponse response = apiInstance.UploadFileWithHttpInfo(petId, file, additionalMetadata);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.UploadFileWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **petId** | **long** | ID of pet to update | |
+| **file** | **System.IO.Stream****System.IO.Stream** | file to upload | [optional] |
+| **additionalMetadata** | **string** | Additional data to pass to server | [optional] |
+
+### Return type
+
+[**ApiResponse**](ApiResponse.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **UploadFileWithRequiredFile**
+> ApiResponse UploadFileWithRequiredFile (System.IO.Stream requiredFile, long petId, string additionalMetadata = null)
+
+uploads an image (required)
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class UploadFileWithRequiredFileExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure OAuth2 access token for authorization: petstore_auth
+ config.AccessToken = "YOUR_ACCESS_TOKEN";
+
+ var apiInstance = new PetApi(config);
+ var requiredFile = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream | file to upload
+ var petId = 789L; // long | ID of pet to update
+ var additionalMetadata = "additionalMetadata_example"; // string | Additional data to pass to server (optional)
+
+ try
+ {
+ // uploads an image (required)
+ ApiResponse result = apiInstance.UploadFileWithRequiredFile(requiredFile, petId, additionalMetadata);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling PetApi.UploadFileWithRequiredFile: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the UploadFileWithRequiredFileWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // uploads an image (required)
+ ApiResponse response = apiInstance.UploadFileWithRequiredFileWithHttpInfo(requiredFile, petId, additionalMetadata);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling PetApi.UploadFileWithRequiredFileWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **requiredFile** | **System.IO.Stream****System.IO.Stream** | file to upload | |
+| **petId** | **long** | ID of pet to update | |
+| **additionalMetadata** | **string** | Additional data to pass to server | [optional] |
+
+### Return type
+
+[**ApiResponse**](ApiResponse.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data
+ - **Accept**: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/StoreApi.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/StoreApi.md
new file mode 100644
index 00000000000..4a1cd29ada7
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/StoreApi.md
@@ -0,0 +1,373 @@
+# Org.OpenAPITools.Api.StoreApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**DeleteOrder**](StoreApi.md#deleteorder) | **DELETE** /store/order/{order_id} | Delete purchase order by ID |
+| [**GetInventory**](StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID |
+| [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+
+
+# **DeleteOrder**
+> void DeleteOrder (string orderId)
+
+Delete purchase order by ID
+
+For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class DeleteOrderExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new StoreApi(config);
+ var orderId = "orderId_example"; // string | ID of the order that needs to be deleted
+
+ try
+ {
+ // Delete purchase order by ID
+ apiInstance.DeleteOrder(orderId);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling StoreApi.DeleteOrder: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the DeleteOrderWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Delete purchase order by ID
+ apiInstance.DeleteOrderWithHttpInfo(orderId);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling StoreApi.DeleteOrderWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **orderId** | **string** | ID of the order that needs to be deleted | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid ID supplied | - |
+| **404** | Order not found | - |
+
+[[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)
+
+
+# **GetInventory**
+> Dictionary<string, int> GetInventory ()
+
+Returns pet inventories by status
+
+Returns a map of status codes to quantities
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class GetInventoryExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ // Configure API key authorization: api_key
+ config.AddApiKey("api_key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("api_key", "Bearer");
+
+ var apiInstance = new StoreApi(config);
+
+ try
+ {
+ // Returns pet inventories by status
+ Dictionary result = apiInstance.GetInventory();
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling StoreApi.GetInventory: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetInventoryWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Returns pet inventories by status
+ ApiResponse> response = apiInstance.GetInventoryWithHttpInfo();
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling StoreApi.GetInventoryWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+**Dictionary**
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+[[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)
+
+
+# **GetOrderById**
+> Order GetOrderById (long orderId)
+
+Find purchase order by ID
+
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class GetOrderByIdExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new StoreApi(config);
+ var orderId = 789L; // long | ID of pet that needs to be fetched
+
+ try
+ {
+ // Find purchase order by ID
+ Order result = apiInstance.GetOrderById(orderId);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling StoreApi.GetOrderById: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetOrderByIdWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Find purchase order by ID
+ ApiResponse response = apiInstance.GetOrderByIdWithHttpInfo(orderId);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling StoreApi.GetOrderByIdWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **orderId** | **long** | ID of pet that needs to be fetched | |
+
+### Return type
+
+[**Order**](Order.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid ID supplied | - |
+| **404** | Order not found | - |
+
+[[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)
+
+
+# **PlaceOrder**
+> Order PlaceOrder (Order order)
+
+Place an order for a pet
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class PlaceOrderExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new StoreApi(config);
+ var order = new Order(); // Order | order placed for purchasing the pet
+
+ try
+ {
+ // Place an order for a pet
+ Order result = apiInstance.PlaceOrder(order);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling StoreApi.PlaceOrder: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the PlaceOrderWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Place an order for a pet
+ ApiResponse response = apiInstance.PlaceOrderWithHttpInfo(order);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling StoreApi.PlaceOrderWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **order** | [**Order**](Order.md) | order placed for purchasing the pet | |
+
+### Return type
+
+[**Order**](Order.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid Order | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/UserApi.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/UserApi.md
new file mode 100644
index 00000000000..ee189c866ec
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/apis/UserApi.md
@@ -0,0 +1,715 @@
+# Org.OpenAPITools.Api.UserApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**CreateUser**](UserApi.md#createuser) | **POST** /user | Create user |
+| [**CreateUsersWithArrayInput**](UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**CreateUsersWithListInput**](UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**DeleteUser**](UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| [**GetUserByName**](UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| [**LoginUser**](UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
+
+
+# **CreateUser**
+> void CreateUser (User user)
+
+Create user
+
+This can only be done by the logged in user.
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class CreateUserExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var user = new User(); // User | Created user object
+
+ try
+ {
+ // Create user
+ apiInstance.CreateUser(user);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.CreateUser: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the CreateUserWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Create user
+ apiInstance.CreateUserWithHttpInfo(user);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.CreateUserWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **user** | [**User**](User.md) | Created user object | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+[[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)
+
+
+# **CreateUsersWithArrayInput**
+> void CreateUsersWithArrayInput (List user)
+
+Creates list of users with given input array
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class CreateUsersWithArrayInputExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var user = new List(); // List | List of user object
+
+ try
+ {
+ // Creates list of users with given input array
+ apiInstance.CreateUsersWithArrayInput(user);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.CreateUsersWithArrayInput: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the CreateUsersWithArrayInputWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Creates list of users with given input array
+ apiInstance.CreateUsersWithArrayInputWithHttpInfo(user);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.CreateUsersWithArrayInputWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **user** | [**List<User>**](User.md) | List of user object | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+[[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)
+
+
+# **CreateUsersWithListInput**
+> void CreateUsersWithListInput (List user)
+
+Creates list of users with given input array
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class CreateUsersWithListInputExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var user = new List(); // List | List of user object
+
+ try
+ {
+ // Creates list of users with given input array
+ apiInstance.CreateUsersWithListInput(user);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.CreateUsersWithListInput: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the CreateUsersWithListInputWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Creates list of users with given input array
+ apiInstance.CreateUsersWithListInputWithHttpInfo(user);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.CreateUsersWithListInputWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **user** | [**List<User>**](User.md) | List of user object | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+[[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)
+
+
+# **DeleteUser**
+> void DeleteUser (string username)
+
+Delete user
+
+This can only be done by the logged in user.
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class DeleteUserExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var username = "username_example"; // string | The name that needs to be deleted
+
+ try
+ {
+ // Delete user
+ apiInstance.DeleteUser(username);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.DeleteUser: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the DeleteUserWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Delete user
+ apiInstance.DeleteUserWithHttpInfo(username);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.DeleteUserWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **username** | **string** | The name that needs to be deleted | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid username supplied | - |
+| **404** | User not found | - |
+
+[[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)
+
+
+# **GetUserByName**
+> User GetUserByName (string username)
+
+Get user by user name
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class GetUserByNameExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var username = "username_example"; // string | The name that needs to be fetched. Use user1 for testing.
+
+ try
+ {
+ // Get user by user name
+ User result = apiInstance.GetUserByName(username);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.GetUserByName: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetUserByNameWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Get user by user name
+ ApiResponse response = apiInstance.GetUserByNameWithHttpInfo(username);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.GetUserByNameWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **username** | **string** | The name that needs to be fetched. Use user1 for testing. | |
+
+### Return type
+
+[**User**](User.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid username supplied | - |
+| **404** | User not found | - |
+| **598** | Not a real HTTP status code | - |
+| **599** | Not a real HTTP status code with a return object | - |
+
+[[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)
+
+
+# **LoginUser**
+> string LoginUser (string username, string password)
+
+Logs user into the system
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class LoginUserExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var username = "username_example"; // string | The user name for login
+ var password = "password_example"; // string | The password for login in clear text
+
+ try
+ {
+ // Logs user into the system
+ string result = apiInstance.LoginUser(username, password);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.LoginUser: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the LoginUserWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Logs user into the system
+ ApiResponse response = apiInstance.LoginUserWithHttpInfo(username, password);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.LoginUserWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **username** | **string** | The user name for login | |
+| **password** | **string** | The password for login in clear text | |
+
+### Return type
+
+**string**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | * Set-Cookie - Cookie authentication key for use with the `api_key` apiKey authentication.
* X-Rate-Limit - calls per hour allowed by the user
* X-Expires-After - date in UTC when token expires
|
+| **400** | Invalid username/password supplied | - |
+
+[[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)
+
+
+# **LogoutUser**
+> void LogoutUser ()
+
+Logs out current logged in user session
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class LogoutUserExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+
+ try
+ {
+ // Logs out current logged in user session
+ apiInstance.LogoutUser();
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.LogoutUser: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the LogoutUserWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Logs out current logged in user session
+ apiInstance.LogoutUserWithHttpInfo();
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.LogoutUserWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+[[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)
+
+
+# **UpdateUser**
+> void UpdateUser (User user, string username)
+
+Updated user
+
+This can only be done by the logged in user.
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Model;
+
+namespace Example
+{
+ public class UpdateUserExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://petstore.swagger.io:80/v2";
+ var apiInstance = new UserApi(config);
+ var user = new User(); // User | Updated user object
+ var username = "username_example"; // string | name that need to be deleted
+
+ try
+ {
+ // Updated user
+ apiInstance.UpdateUser(user, username);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling UserApi.UpdateUser: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the UpdateUserWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Updated user
+ apiInstance.UpdateUserWithHttpInfo(user, username);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling UserApi.UpdateUserWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **user** | [**User**](User.md) | Updated user object | |
+| **username** | **string** | name that need to be deleted | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid user supplied | - |
+| **404** | User not found | - |
+
+[[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)
+
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Activity.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Activity.md
new file mode 100644
index 00000000000..6f69ec32545
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Activity.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.Activity
+test map of maps
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ActivityOutputs** | **Dictionary<string, List<ActivityOutputElementRepresentation>>** | | [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/generichost/net8/FormModels/docs/models/ActivityOutputElementRepresentation.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ActivityOutputElementRepresentation.md
new file mode 100644
index 00000000000..33d79a27692
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ActivityOutputElementRepresentation.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.ActivityOutputElementRepresentation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Prop1** | **string** | | [optional]
+**Prop2** | **Object** | | [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/generichost/net8/FormModels/docs/models/AdditionalPropertiesClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/AdditionalPropertiesClass.md
new file mode 100644
index 00000000000..2bbe882fcfc
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/AdditionalPropertiesClass.md
@@ -0,0 +1,17 @@
+# Org.OpenAPITools.Model.AdditionalPropertiesClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Anytype1** | **Object** | | [optional]
+**EmptyMap** | **Object** | an object with no declared properties and no undeclared properties, hence it's an empty map. | [optional]
+**MapOfMapProperty** | **Dictionary<string, Dictionary<string, string>>** | | [optional]
+**MapProperty** | **Dictionary<string, string>** | | [optional]
+**MapWithUndeclaredPropertiesAnytype1** | **Object** | | [optional]
+**MapWithUndeclaredPropertiesAnytype2** | **Object** | | [optional]
+**MapWithUndeclaredPropertiesAnytype3** | **Dictionary<string, Object>** | | [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/generichost/net8/FormModels/docs/models/Animal.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Animal.md
new file mode 100644
index 00000000000..1a1760bd869
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Animal.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.Animal
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+**Color** | **string** | | [optional] [default to "red"]
+
+[[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/generichost/net8/FormModels/docs/models/ApiResponse.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ApiResponse.md
new file mode 100644
index 00000000000..d89ed1a25dc
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ApiResponse.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.ApiResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Code** | **int** | | [optional]
+**Message** | **string** | | [optional]
+**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/generichost/net8/FormModels/docs/models/Apple.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Apple.md
new file mode 100644
index 00000000000..9ad1da8cd68
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Apple.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Apple
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ColorCode** | **string** | | [optional]
+**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/generichost/net8/FormModels/docs/models/AppleReq.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/AppleReq.md
new file mode 100644
index 00000000000..325521123f1
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/AppleReq.md
@@ -0,0 +1,11 @@
+# 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/generichost/net8/FormModels/docs/models/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ArrayOfArrayOfNumberOnly.md
new file mode 100644
index 00000000000..a23ba59e609
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ArrayOfArrayOfNumberOnly.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.ArrayOfArrayOfNumberOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ArrayArrayNumber** | **List<List<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/generichost/net8/FormModels/docs/models/ArrayOfNumberOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ArrayOfNumberOnly.md
new file mode 100644
index 00000000000..10b8413439b
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ArrayOfNumberOnly.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.ArrayOfNumberOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ArrayNumber** | **List<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/generichost/net8/FormModels/docs/models/ArrayTest.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ArrayTest.md
new file mode 100644
index 00000000000..ed572120cd6
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ArrayTest.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.ArrayTest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ArrayArrayOfInteger** | **List<List<long>>** | | [optional]
+**ArrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional]
+**ArrayOfString** | **List<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/generichost/net8/FormModels/docs/models/Banana.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Banana.md
new file mode 100644
index 00000000000..d32e90cf298
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Banana.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/BananaReq.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/BananaReq.md
new file mode 100644
index 00000000000..c8372b73c5f
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/BananaReq.md
@@ -0,0 +1,11 @@
+# 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/generichost/net8/FormModels/docs/models/BasquePig.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/BasquePig.md
new file mode 100644
index 00000000000..db4f7a36226
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/BasquePig.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/Capitalization.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Capitalization.md
new file mode 100644
index 00000000000..9e225c17232
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Capitalization.md
@@ -0,0 +1,15 @@
+# Org.OpenAPITools.Model.Capitalization
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ATT_NAME** | **string** | Name of the pet | [optional]
+**CapitalCamel** | **string** | | [optional]
+**CapitalSnake** | **string** | | [optional]
+**SCAETHFlowPoints** | **string** | | [optional]
+**SmallCamel** | **string** | | [optional]
+**SmallSnake** | **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/generichost/net8/FormModels/docs/models/Cat.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Cat.md
new file mode 100644
index 00000000000..310a5e6575e
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Cat.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Cat
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+**Color** | **string** | | [optional] [default to "red"]
+**Declawed** | **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/generichost/net8/FormModels/docs/models/Category.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Category.md
new file mode 100644
index 00000000000..6eb0a2e13ea
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Category.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.Category
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long** | | [optional]
+**Name** | **string** | | [default to "default-name"]
+
+[[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/generichost/net8/FormModels/docs/models/ChildCat.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ChildCat.md
new file mode 100644
index 00000000000..4085cdef26d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ChildCat.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.ChildCat
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PetType** | **ChildCatAllOfPetType** | |
+**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/generichost/net8/FormModels/docs/models/ChildCatAllOfPetType.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ChildCatAllOfPetType.md
new file mode 100644
index 00000000000..47a390dc581
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ChildCatAllOfPetType.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ChildCatAllOfPetType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/ClassModel.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ClassModel.md
new file mode 100644
index 00000000000..bb35816c914
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ClassModel.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.ClassModel
+Model for testing model with \"_class\" property
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Class** | **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/generichost/net8/FormModels/docs/models/ComplexQuadrilateral.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ComplexQuadrilateral.md
new file mode 100644
index 00000000000..fb00d4ebf08
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ComplexQuadrilateral.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.ComplexQuadrilateral
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**QuadrilateralType** | **string** | |
+**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/generichost/net8/FormModels/docs/models/DanishPig.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/DanishPig.md
new file mode 100644
index 00000000000..4d6ec1400a7
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/DanishPig.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/DateOnlyClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/DateOnlyClass.md
new file mode 100644
index 00000000000..4fc3775ed87
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/DateOnlyClass.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.DateOnlyClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DateOnlyProperty** | **DateOnly** | | [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/generichost/net8/FormModels/docs/models/DeprecatedObject.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/DeprecatedObject.md
new file mode 100644
index 00000000000..e90c59555a0
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/DeprecatedObject.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.DeprecatedObject
+
+## 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/generichost/net8/FormModels/docs/models/Dog.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Dog.md
new file mode 100644
index 00000000000..70cdc80e83e
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Dog.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Dog
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+**Color** | **string** | | [optional] [default to "red"]
+**Breed** | **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/generichost/net8/FormModels/docs/models/Drawing.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Drawing.md
new file mode 100644
index 00000000000..95f49b2ed60
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Drawing.md
@@ -0,0 +1,13 @@
+# Org.OpenAPITools.Model.Drawing
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MainShape** | [**Shape**](Shape.md) | | [optional]
+**NullableShape** | [**NullableShape**](NullableShape.md) | | [optional]
+**ShapeOrNull** | [**ShapeOrNull**](ShapeOrNull.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/generichost/net8/FormModels/docs/models/EnumArrays.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumArrays.md
new file mode 100644
index 00000000000..ae3e81632c1
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumArrays.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.EnumArrays
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ArrayEnum** | [**List<EnumArraysArrayEnumInner>**](EnumArraysArrayEnumInner.md) | | [optional]
+**JustSymbol** | **EnumArraysJustSymbol** | | [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/generichost/net8/FormModels/docs/models/EnumArraysArrayEnumInner.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumArraysArrayEnumInner.md
new file mode 100644
index 00000000000..9c08ed9cfed
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumArraysArrayEnumInner.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.EnumArraysArrayEnumInner
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/EnumArraysJustSymbol.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumArraysJustSymbol.md
new file mode 100644
index 00000000000..4cf0e643400
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumArraysJustSymbol.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.EnumArraysJustSymbol
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/EnumClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumClass.md
new file mode 100644
index 00000000000..d259f0f4696
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumClass.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.EnumClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/EnumTest.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTest.md
new file mode 100644
index 00000000000..898c1ea1fb6
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTest.md
@@ -0,0 +1,18 @@
+# Org.OpenAPITools.Model.EnumTest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EnumStringRequired** | **EnumTestEnumString** | |
+**EnumInteger** | **EnumTestEnumInteger** | | [optional]
+**EnumIntegerOnly** | **EnumTestEnumIntegerOnly** | | [optional]
+**EnumNumber** | **TestEnumParametersEnumQueryDoubleParameter** | | [optional]
+**EnumString** | **EnumTestEnumString** | | [optional]
+**OuterEnum** | **OuterEnum** | | [optional]
+**OuterEnumDefaultValue** | **OuterEnumDefaultValue** | | [optional]
+**OuterEnumInteger** | **OuterEnumInteger** | | [optional]
+**OuterEnumIntegerDefaultValue** | **OuterEnumIntegerDefaultValue** | | [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/generichost/net8/FormModels/docs/models/EnumTestEnumInteger.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTestEnumInteger.md
new file mode 100644
index 00000000000..2476caf61c7
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTestEnumInteger.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.EnumTestEnumInteger
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/EnumTestEnumIntegerOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTestEnumIntegerOnly.md
new file mode 100644
index 00000000000..08f59f08776
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTestEnumIntegerOnly.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.EnumTestEnumIntegerOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/EnumTestEnumString.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTestEnumString.md
new file mode 100644
index 00000000000..783198941ba
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EnumTestEnumString.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.EnumTestEnumString
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/EquilateralTriangle.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EquilateralTriangle.md
new file mode 100644
index 00000000000..8360b5c16a5
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/EquilateralTriangle.md
@@ -0,0 +1,11 @@
+# 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/generichost/net8/FormModels/docs/models/File.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/File.md
new file mode 100644
index 00000000000..58b9c2fc369
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/File.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.File
+Must be named `File` for test.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SourceURI** | **string** | Test capitalization | [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/generichost/net8/FormModels/docs/models/FileSchemaTestClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FileSchemaTestClass.md
new file mode 100644
index 00000000000..a47efad77d8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FileSchemaTestClass.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.FileSchemaTestClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**File** | [**File**](File.md) | | [optional]
+**Files** | [**List<File>**](File.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/generichost/net8/FormModels/docs/models/FindPetsByStatusStatusParameterInner.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FindPetsByStatusStatusParameterInner.md
new file mode 100644
index 00000000000..e4b9110e6a6
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FindPetsByStatusStatusParameterInner.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.FindPetsByStatusStatusParameterInner
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/Foo.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Foo.md
new file mode 100644
index 00000000000..b9e7d261736
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Foo.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Foo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Bar** | **string** | | [optional] [default to "bar"]
+
+[[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/generichost/net8/FormModels/docs/models/FooGetDefaultResponse.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FooGetDefaultResponse.md
new file mode 100644
index 00000000000..47e50daca3e
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FooGetDefaultResponse.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.FooGetDefaultResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**String** | [**Foo**](Foo.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/generichost/net8/FormModels/docs/models/FormatTest.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FormatTest.md
new file mode 100644
index 00000000000..fec6adcefdf
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FormatTest.md
@@ -0,0 +1,28 @@
+# Org.OpenAPITools.Model.FormatTest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Byte** | **byte[]** | |
+**Date** | **DateOnly** | |
+**Number** | **decimal** | |
+**Password** | **string** | |
+**Binary** | **System.IO.Stream** | | [optional]
+**DateTime** | **DateTime** | | [optional]
+**Decimal** | **decimal** | | [optional]
+**Double** | **double** | | [optional]
+**Float** | **float** | | [optional]
+**Int32** | **int** | | [optional]
+**Int64** | **long** | | [optional]
+**Integer** | **int** | | [optional]
+**PatternWithBackslash** | **string** | None | [optional]
+**PatternWithDigits** | **string** | A string that is a 10 digit number. Can have leading zeros. | [optional]
+**PatternWithDigitsAndDelimiter** | **string** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional]
+**String** | **string** | | [optional]
+**UnsignedInteger** | **uint** | | [optional]
+**UnsignedLong** | **ulong** | | [optional]
+**Uuid** | **Guid** | | [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/generichost/net8/FormModels/docs/models/Fruit.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Fruit.md
new file mode 100644
index 00000000000..b3bee18f7ba
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Fruit.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Fruit
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Color** | **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/generichost/net8/FormModels/docs/models/FruitReq.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FruitReq.md
new file mode 100644
index 00000000000..38ab0c1a6ca
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/FruitReq.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.FruitReq
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/GmFruit.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/GmFruit.md
new file mode 100644
index 00000000000..584c4fd323d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/GmFruit.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.GmFruit
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Color** | **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/generichost/net8/FormModels/docs/models/GrandparentAnimal.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/GrandparentAnimal.md
new file mode 100644
index 00000000000..eca96162b6f
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/GrandparentAnimal.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/HasOnlyReadOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/HasOnlyReadOnly.md
new file mode 100644
index 00000000000..060a614a698
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/HasOnlyReadOnly.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.HasOnlyReadOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Bar** | **string** | | [optional] [readonly]
+**Foo** | **string** | | [optional] [readonly]
+
+[[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/generichost/net8/FormModels/docs/models/HealthCheckResult.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/HealthCheckResult.md
new file mode 100644
index 00000000000..682cfc50e3a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/HealthCheckResult.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.HealthCheckResult
+Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**NullableMessage** | **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/generichost/net8/FormModels/docs/models/IsoscelesTriangle.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/IsoscelesTriangle.md
new file mode 100644
index 00000000000..07c62ac9338
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/IsoscelesTriangle.md
@@ -0,0 +1,11 @@
+# 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/generichost/net8/FormModels/docs/models/List.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/List.md
new file mode 100644
index 00000000000..0b54858ac24
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/List.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.List
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Var123List** | **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/generichost/net8/FormModels/docs/models/LiteralStringClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/LiteralStringClass.md
new file mode 100644
index 00000000000..78202190965
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/LiteralStringClass.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.LiteralStringClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EscapedLiteralString** | **string** | | [optional] [default to "C:\\Users\\username"]
+**UnescapedLiteralString** | **string** | | [optional] [default to "C:\Users\username"]
+
+[[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/generichost/net8/FormModels/docs/models/Mammal.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Mammal.md
new file mode 100644
index 00000000000..ac14f00c0ff
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Mammal.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Mammal
+
+## 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/generichost/net8/FormModels/docs/models/MapTest.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/MapTest.md
new file mode 100644
index 00000000000..b2dea1b6cb4
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/MapTest.md
@@ -0,0 +1,13 @@
+# Org.OpenAPITools.Model.MapTest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DirectMap** | **Dictionary<string, bool>** | | [optional]
+**IndirectMap** | **Dictionary<string, bool>** | | [optional]
+**MapMapOfString** | **Dictionary<string, Dictionary<string, string>>** | | [optional]
+**MapOfEnumString** | [**Dictionary<string, MapTestMapOfEnumStringValue>**](MapTestMapOfEnumStringValue.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/generichost/net8/FormModels/docs/models/MapTestMapOfEnumStringValue.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/MapTestMapOfEnumStringValue.md
new file mode 100644
index 00000000000..f587f829988
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/MapTestMapOfEnumStringValue.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.MapTestMapOfEnumStringValue
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md
new file mode 100644
index 00000000000..1bc0740add9
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -0,0 +1,13 @@
+# Org.OpenAPITools.Model.MixedPropertiesAndAdditionalPropertiesClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DateTime** | **DateTime** | | [optional]
+**Map** | [**Dictionary<string, Animal>**](Animal.md) | | [optional]
+**Uuid** | **Guid** | | [optional]
+**UuidWithPattern** | **Guid** | | [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/generichost/net8/FormModels/docs/models/Model200Response.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Model200Response.md
new file mode 100644
index 00000000000..2752a0d87c8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Model200Response.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Model200Response
+Model for testing model name starting with number
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Class** | **string** | | [optional]
+**Name** | **int** | | [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/generichost/net8/FormModels/docs/models/ModelClient.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ModelClient.md
new file mode 100644
index 00000000000..c658e84ef57
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ModelClient.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.ModelClient
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VarClient** | **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/generichost/net8/FormModels/docs/models/Name.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Name.md
new file mode 100644
index 00000000000..ffe61a31d61
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Name.md
@@ -0,0 +1,14 @@
+# Org.OpenAPITools.Model.Name
+Model for testing model name same as property name
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VarName** | **int** | |
+**Property** | **string** | | [optional]
+**SnakeCase** | **int** | | [optional] [readonly]
+**Var123Number** | **int** | | [optional] [readonly]
+
+[[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/generichost/net8/FormModels/docs/models/NotificationtestGetElementsV1ResponseMPayload.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NotificationtestGetElementsV1ResponseMPayload.md
new file mode 100644
index 00000000000..25f223a8360
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NotificationtestGetElementsV1ResponseMPayload.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AObjVariableobject** | **List<Dictionary<string, Object>>** | |
+**PkiNotificationtestID** | **int** | |
+
+[[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/generichost/net8/FormModels/docs/models/NullableClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NullableClass.md
new file mode 100644
index 00000000000..c9afe86510d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NullableClass.md
@@ -0,0 +1,21 @@
+# Org.OpenAPITools.Model.NullableClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ArrayAndItemsNullableProp** | **List<Object>** | | [optional]
+**ArrayItemsNullable** | **List<Object>** | | [optional]
+**ArrayNullableProp** | **List<Object>** | | [optional]
+**BooleanProp** | **bool** | | [optional]
+**DateProp** | **DateOnly** | | [optional]
+**DatetimeProp** | **DateTime** | | [optional]
+**IntegerProp** | **int** | | [optional]
+**NumberProp** | **decimal** | | [optional]
+**ObjectAndItemsNullableProp** | **Dictionary<string, Object>** | | [optional]
+**ObjectItemsNullable** | **Dictionary<string, Object>** | | [optional]
+**ObjectNullableProp** | **Dictionary<string, Object>** | | [optional]
+**StringProp** | **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/generichost/net8/FormModels/docs/models/NullableGuidClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NullableGuidClass.md
new file mode 100644
index 00000000000..8d939afe998
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NullableGuidClass.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.NullableGuidClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Uuid** | **Guid** | | [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/generichost/net8/FormModels/docs/models/NullableShape.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NullableShape.md
new file mode 100644
index 00000000000..2720167ccaa
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/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** | |
+
+[[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/generichost/net8/FormModels/docs/models/NumberOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NumberOnly.md
new file mode 100644
index 00000000000..1b83cce764d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/NumberOnly.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.NumberOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**JustNumber** | **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/generichost/net8/FormModels/docs/models/ObjectWithDeprecatedFields.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ObjectWithDeprecatedFields.md
new file mode 100644
index 00000000000..9f44c24d19a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ObjectWithDeprecatedFields.md
@@ -0,0 +1,13 @@
+# Org.OpenAPITools.Model.ObjectWithDeprecatedFields
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Bars** | **List<string>** | | [optional]
+**DeprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional]
+**Id** | **decimal** | | [optional]
+**Uuid** | **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/generichost/net8/FormModels/docs/models/OneOfString.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OneOfString.md
new file mode 100644
index 00000000000..54caf618776
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OneOfString.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.OneOfString
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/Order.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Order.md
new file mode 100644
index 00000000000..f3fcb0f21f8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Order.md
@@ -0,0 +1,15 @@
+# Org.OpenAPITools.Model.Order
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Complete** | **bool** | | [optional] [default to false]
+**Id** | **long** | | [optional]
+**PetId** | **long** | | [optional]
+**Quantity** | **int** | | [optional]
+**ShipDate** | **DateTime** | | [optional]
+**Status** | **OrderStatus** | | [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/generichost/net8/FormModels/docs/models/OrderStatus.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OrderStatus.md
new file mode 100644
index 00000000000..5a80d8efa8c
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OrderStatus.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.OrderStatus
+Order Status
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/OuterComposite.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterComposite.md
new file mode 100644
index 00000000000..8985c59d094
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterComposite.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.OuterComposite
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MyBoolean** | **bool** | | [optional]
+**MyNumber** | **decimal** | | [optional]
+**MyString** | **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/generichost/net8/FormModels/docs/models/OuterEnum.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnum.md
new file mode 100644
index 00000000000..36844bc4b17
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnum.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.OuterEnum
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/OuterEnumDefaultValue.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumDefaultValue.md
new file mode 100644
index 00000000000..351383f0aea
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumDefaultValue.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.OuterEnumDefaultValue
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/OuterEnumInteger.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumInteger.md
new file mode 100644
index 00000000000..1013b5b1956
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumInteger.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.OuterEnumInteger
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumIntegerDefaultValue.md
new file mode 100644
index 00000000000..55e314e3102
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumIntegerDefaultValue.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.OuterEnumIntegerDefaultValue
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/OuterEnumTest.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumTest.md
new file mode 100644
index 00000000000..b99d27c2c2e
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/OuterEnumTest.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.OuterEnumTest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/ParentPet.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ParentPet.md
new file mode 100644
index 00000000000..bdf57005637
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ParentPet.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/Pet.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Pet.md
new file mode 100644
index 00000000000..2de6e7ef512
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Pet.md
@@ -0,0 +1,15 @@
+# Org.OpenAPITools.Model.Pet
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **string** | |
+**PhotoUrls** | **List<string>** | |
+**Category** | [**Category**](Category.md) | | [optional]
+**Id** | **long** | | [optional]
+**Status** | **PetStatus** | | [optional]
+**Tags** | [**List<Tag>**](Tag.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/generichost/net8/FormModels/docs/models/PetStatus.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/PetStatus.md
new file mode 100644
index 00000000000..c710ca8cbce
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/PetStatus.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.PetStatus
+pet status in the store
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/Pig.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Pig.md
new file mode 100644
index 00000000000..fd7bb9359ac
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Pig.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/PolymorphicProperty.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/PolymorphicProperty.md
new file mode 100644
index 00000000000..4507ec41cd5
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/PolymorphicProperty.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.PolymorphicProperty
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/Quadrilateral.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Quadrilateral.md
new file mode 100644
index 00000000000..fbbf4f81cec
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Quadrilateral.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Quadrilateral
+
+## 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/generichost/net8/FormModels/docs/models/QuadrilateralInterface.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/QuadrilateralInterface.md
new file mode 100644
index 00000000000..756ba09c6dd
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/QuadrilateralInterface.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/ReadOnlyFirst.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ReadOnlyFirst.md
new file mode 100644
index 00000000000..afaf2ee4fb6
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ReadOnlyFirst.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.ReadOnlyFirst
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Bar** | **string** | | [optional] [readonly]
+**Baz** | **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/generichost/net8/FormModels/docs/models/RequiredClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClass.md
new file mode 100644
index 00000000000..f336a29afea
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClass.md
@@ -0,0 +1,53 @@
+# Org.OpenAPITools.Model.RequiredClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RequiredNotNullableDateProp** | **DateOnly** | |
+**RequiredNotnullableArrayOfString** | **List<string>** | |
+**RequiredNotnullableBooleanProp** | **bool** | |
+**RequiredNotnullableDatetimeProp** | **DateTime** | |
+**RequiredNotnullableEnumInteger** | **RequiredClassRequiredNotnullableEnumInteger** | |
+**RequiredNotnullableEnumIntegerOnly** | **RequiredClassRequiredNotnullableEnumIntegerOnly** | |
+**RequiredNotnullableEnumString** | **RequiredClassRequiredNotnullableEnumString** | |
+**RequiredNotnullableOuterEnumDefaultValue** | **OuterEnumDefaultValue** | |
+**RequiredNotnullableStringProp** | **string** | |
+**RequiredNotnullableUuid** | **Guid** | |
+**RequiredNotnullableintegerProp** | **int** | |
+**RequiredNullableArrayOfString** | **List<string>** | |
+**RequiredNullableBooleanProp** | **bool** | |
+**RequiredNullableDateProp** | **DateOnly** | |
+**RequiredNullableDatetimeProp** | **DateTime** | |
+**RequiredNullableEnumInteger** | **RequiredClassRequiredNullableEnumInteger** | |
+**RequiredNullableEnumIntegerOnly** | **RequiredClassRequiredNullableEnumIntegerOnly** | |
+**RequiredNullableEnumString** | **RequiredClassRequiredNullableEnumString** | |
+**RequiredNullableIntegerProp** | **int** | |
+**RequiredNullableOuterEnumDefaultValue** | **OuterEnumDefaultValue** | |
+**RequiredNullableStringProp** | **string** | |
+**RequiredNullableUuid** | **Guid** | |
+**NotRequiredNotnullableDateProp** | **DateOnly** | | [optional]
+**NotRequiredNotnullableintegerProp** | **int** | | [optional]
+**NotRequiredNullableDateProp** | **DateOnly** | | [optional]
+**NotRequiredNullableIntegerProp** | **int** | | [optional]
+**NotrequiredNotnullableArrayOfString** | **List<string>** | | [optional]
+**NotrequiredNotnullableBooleanProp** | **bool** | | [optional]
+**NotrequiredNotnullableDatetimeProp** | **DateTime** | | [optional]
+**NotrequiredNotnullableEnumInteger** | **RequiredClassRequiredNotnullableEnumInteger** | | [optional]
+**NotrequiredNotnullableEnumIntegerOnly** | **RequiredClassRequiredNotnullableEnumIntegerOnly** | | [optional]
+**NotrequiredNotnullableEnumString** | **RequiredClassRequiredNotnullableEnumString** | | [optional]
+**NotrequiredNotnullableOuterEnumDefaultValue** | **OuterEnumDefaultValue** | | [optional]
+**NotrequiredNotnullableStringProp** | **string** | | [optional]
+**NotrequiredNotnullableUuid** | **Guid** | | [optional]
+**NotrequiredNullableArrayOfString** | **List<string>** | | [optional]
+**NotrequiredNullableBooleanProp** | **bool** | | [optional]
+**NotrequiredNullableDatetimeProp** | **DateTime** | | [optional]
+**NotrequiredNullableEnumInteger** | **RequiredClassRequiredNullableEnumInteger** | | [optional]
+**NotrequiredNullableEnumIntegerOnly** | **RequiredClassRequiredNullableEnumIntegerOnly** | | [optional]
+**NotrequiredNullableEnumString** | **RequiredClassRequiredNullableEnumString** | | [optional]
+**NotrequiredNullableOuterEnumDefaultValue** | **OuterEnumDefaultValue** | | [optional]
+**NotrequiredNullableStringProp** | **string** | | [optional]
+**NotrequiredNullableUuid** | **Guid** | | [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/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumInteger.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumInteger.md
new file mode 100644
index 00000000000..e229576c45b
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumInteger.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.RequiredClassRequiredNotnullableEnumInteger
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumIntegerOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumIntegerOnly.md
new file mode 100644
index 00000000000..da648bc919d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumIntegerOnly.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.RequiredClassRequiredNotnullableEnumIntegerOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumString.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumString.md
new file mode 100644
index 00000000000..d0e080d727c
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNotnullableEnumString.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.RequiredClassRequiredNotnullableEnumString
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumInteger.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumInteger.md
new file mode 100644
index 00000000000..7f04aa4d245
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumInteger.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.RequiredClassRequiredNullableEnumInteger
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumIntegerOnly.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumIntegerOnly.md
new file mode 100644
index 00000000000..2d0eb8b05c5
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumIntegerOnly.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.RequiredClassRequiredNullableEnumIntegerOnly
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumString.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumString.md
new file mode 100644
index 00000000000..cb0fbdac213
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RequiredClassRequiredNullableEnumString.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.RequiredClassRequiredNullableEnumString
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/Return.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Return.md
new file mode 100644
index 00000000000..ad96a170bbb
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Return.md
@@ -0,0 +1,14 @@
+# Org.OpenAPITools.Model.Return
+Model for testing reserved words
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Lock** | **string** | |
+**Abstract** | **string** | |
+**VarReturn** | **int** | | [optional]
+**Unsafe** | **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/generichost/net8/FormModels/docs/models/RolesReportsHash.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RolesReportsHash.md
new file mode 100644
index 00000000000..d92c01de9ef
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RolesReportsHash.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.RolesReportsHash
+Role report Hash
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Role** | [**RolesReportsHashRole**](RolesReportsHashRole.md) | | [optional]
+**RoleUuid** | **Guid** | | [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/generichost/net8/FormModels/docs/models/RolesReportsHashRole.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RolesReportsHashRole.md
new file mode 100644
index 00000000000..760f77b30e7
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/RolesReportsHashRole.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.RolesReportsHashRole
+
+## 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/generichost/net8/FormModels/docs/models/ScaleneTriangle.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ScaleneTriangle.md
new file mode 100644
index 00000000000..d3f15354bcc
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ScaleneTriangle.md
@@ -0,0 +1,11 @@
+# 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/generichost/net8/FormModels/docs/models/Shape.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Shape.md
new file mode 100644
index 00000000000..ae75c592540
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Shape.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Shape
+
+## 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/generichost/net8/FormModels/docs/models/ShapeInterface.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ShapeInterface.md
new file mode 100644
index 00000000000..882d3186830
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ShapeInterface.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/ShapeOrNull.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ShapeOrNull.md
new file mode 100644
index 00000000000..7fcd31a3a5e
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/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** | |
+
+[[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/generichost/net8/FormModels/docs/models/SimpleQuadrilateral.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/SimpleQuadrilateral.md
new file mode 100644
index 00000000000..a9c7f93b67a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/SimpleQuadrilateral.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.SimpleQuadrilateral
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**QuadrilateralType** | **string** | |
+**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/generichost/net8/FormModels/docs/models/SpecialModelName.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/SpecialModelName.md
new file mode 100644
index 00000000000..890bcd923de
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/SpecialModelName.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.SpecialModelName
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VarSpecialModelName** | **string** | | [optional]
+**SpecialPropertyName** | **long** | | [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/generichost/net8/FormModels/docs/models/Tag.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Tag.md
new file mode 100644
index 00000000000..2b2d9674d61
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Tag.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.Tag
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **long** | | [optional]
+**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/generichost/net8/FormModels/docs/models/TestCollectionEndingWithWordList.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestCollectionEndingWithWordList.md
new file mode 100644
index 00000000000..5c5eb22d9a8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestCollectionEndingWithWordList.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.TestCollectionEndingWithWordList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Value** | **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/generichost/net8/FormModels/docs/models/TestCollectionEndingWithWordListObject.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestCollectionEndingWithWordListObject.md
new file mode 100644
index 00000000000..cfa933cc576
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestCollectionEndingWithWordListObject.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.TestCollectionEndingWithWordListObject
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TestCollectionEndingWithWordList** | [**List<TestCollectionEndingWithWordList>**](TestCollectionEndingWithWordList.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/generichost/net8/FormModels/docs/models/TestEnumParametersEnumHeaderStringParameter.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersEnumHeaderStringParameter.md
new file mode 100644
index 00000000000..b5768f76fa5
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersEnumHeaderStringParameter.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.TestEnumParametersEnumHeaderStringParameter
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/TestEnumParametersEnumQueryDoubleParameter.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersEnumQueryDoubleParameter.md
new file mode 100644
index 00000000000..72510955c1a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersEnumQueryDoubleParameter.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.TestEnumParametersEnumQueryDoubleParameter
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/TestEnumParametersEnumQueryIntegerParameter.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersEnumQueryIntegerParameter.md
new file mode 100644
index 00000000000..b2c9b9c5a9d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersEnumQueryIntegerParameter.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.TestEnumParametersEnumQueryIntegerParameter
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/TestEnumParametersRequestEnumFormString.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersRequestEnumFormString.md
new file mode 100644
index 00000000000..b734496b5fb
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersRequestEnumFormString.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.TestEnumParametersRequestEnumFormString
+Form parameter enum test (string)
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/TestEnumParametersRequestEnumFormStringArrayInner.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersRequestEnumFormStringArrayInner.md
new file mode 100644
index 00000000000..ca4e762853a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestEnumParametersRequestEnumFormStringArrayInner.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.TestEnumParametersRequestEnumFormStringArrayInner
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestInlineFreeformAdditionalPropertiesRequest.md
new file mode 100644
index 00000000000..b6f9fc94847
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TestInlineFreeformAdditionalPropertiesRequest.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.TestInlineFreeformAdditionalPropertiesRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SomeProperty** | **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/generichost/net8/FormModels/docs/models/Triangle.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Triangle.md
new file mode 100644
index 00000000000..e1510991195
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Triangle.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.Triangle
+
+## 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/generichost/net8/FormModels/docs/models/TriangleInterface.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TriangleInterface.md
new file mode 100644
index 00000000000..4127c08b14f
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/TriangleInterface.md
@@ -0,0 +1,10 @@
+# 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/generichost/net8/FormModels/docs/models/User.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/User.md
new file mode 100644
index 00000000000..b5700f1c75d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/User.md
@@ -0,0 +1,21 @@
+# Org.OpenAPITools.Model.User
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**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]
+**Email** | **string** | | [optional]
+**FirstName** | **string** | | [optional]
+**Id** | **long** | | [optional]
+**LastName** | **string** | | [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]
+**Password** | **string** | | [optional]
+**Phone** | **string** | | [optional]
+**UserStatus** | **int** | User Status | [optional]
+**Username** | **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/generichost/net8/FormModels/docs/models/Whale.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Whale.md
new file mode 100644
index 00000000000..1c633fdce61
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Whale.md
@@ -0,0 +1,12 @@
+# Org.OpenAPITools.Model.Whale
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+**HasBaleen** | **bool** | | [optional]
+**HasTeeth** | **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/generichost/net8/FormModels/docs/models/Zebra.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Zebra.md
new file mode 100644
index 00000000000..5b0d6780969
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/Zebra.md
@@ -0,0 +1,11 @@
+# Org.OpenAPITools.Model.Zebra
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClassName** | **string** | |
+**Type** | **ZebraType** | | [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/generichost/net8/FormModels/docs/models/ZebraType.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZebraType.md
new file mode 100644
index 00000000000..d3197017490
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZebraType.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ZebraType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/ZeroBasedEnum.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZeroBasedEnum.md
new file mode 100644
index 00000000000..cb71966c4c8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZeroBasedEnum.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ZeroBasedEnum
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/models/ZeroBasedEnumClass.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZeroBasedEnumClass.md
new file mode 100644
index 00000000000..afb2e863064
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZeroBasedEnumClass.md
@@ -0,0 +1,10 @@
+# Org.OpenAPITools.Model.ZeroBasedEnumClass
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ZeroBasedEnum** | **ZeroBasedEnumClassZeroBasedEnum** | | [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/generichost/net8/FormModels/docs/models/ZeroBasedEnumClassZeroBasedEnum.md b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZeroBasedEnumClassZeroBasedEnum.md
new file mode 100644
index 00000000000..bf5145894ad
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/models/ZeroBasedEnumClassZeroBasedEnum.md
@@ -0,0 +1,9 @@
+# Org.OpenAPITools.Model.ZeroBasedEnumClassZeroBasedEnum
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[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/generichost/net8/FormModels/docs/scripts/git_push.ps1 b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/scripts/git_push.ps1
new file mode 100644
index 00000000000..73ed35c2bb1
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/scripts/git_push.ps1
@@ -0,0 +1,75 @@
+param(
+ [Parameter()][Alias("g")][String]$GitHost = "github.com",
+ [Parameter()][Alias("u")][String]$GitUserId = "GIT_USER_ID",
+ [Parameter()][Alias("r")][String]$GitRepoId = "GIT_REPO_ID",
+ [Parameter()][Alias("m")][string]$Message = "Minor update",
+ [Parameter()][Alias("h")][switch]$Help
+)
+
+function Publish-ToGitHost{
+ if ([string]::IsNullOrWhiteSpace($Message) -or $Message -eq "Minor update"){
+ # it seems unlikely that we would want our git commit message to be the default, so lets prompt the user
+ $Message = Read-Host -Prompt "Please provide a commit message or press enter"
+ $Message = if([string]::IsNullOrWhiteSpace($Message)) { "no message provided" } else { $Message }
+ }
+
+ git init
+ git add .
+ git commit -am "${Message}"
+ $branchName=$(git rev-parse --abbrev-ref HEAD)
+ $gitRemote=$(git remote)
+
+ if([string]::IsNullOrWhiteSpace($gitRemote)){
+ git remote add origin https://${GitHost}/${GitUserId}/${GitRepoId}.git
+ }
+
+ Write-Output "Pulling from https://${GitHost}/${GitUserId}/${GitRepoId}.git"
+ git pull origin $branchName --ff-only
+
+ if ($LastExitCode -ne 0){
+ if (${GitHost} -eq "github.com"){
+ Write-Output "The ${GitRepoId} repository may not exist yet. Creating it now with the GitHub CLI."
+ gh auth login --hostname github.com --web
+ gh repo create $GitRepoId --private
+ # sleep 2 seconds to ensure git finishes creation of the repo
+ Start-Sleep -Seconds 2
+ }
+ else{
+ throw "There was an issue pulling the origin branch. The remote repository may not exist yet."
+ }
+ }
+
+ Write-Output "Pushing to https://${GitHost}/${GitUserId}/${GitRepoId}.git"
+ git push origin $branchName
+}
+
+$ErrorActionPreference = "Stop"
+Set-StrictMode -Version 3.0
+
+if ($Help){
+ Write-Output "
+ This script will initialize a git repository, then add and commit all files.
+ The local repository will then be pushed to your preferred git provider.
+ If the remote repository does not exist yet and you are using GitHub,
+ the repository will be created for you provided you have the GitHub CLI installed.
+
+ Parameters:
+ -g | -GitHost -> ex: github.com
+ -m | -Message -> the git commit message
+ -r | -GitRepoId -> the name of the repository
+ -u | -GitUserId -> your user id
+ "
+
+ return
+}
+
+$rootPath=Resolve-Path -Path $PSScriptRoot/../..
+
+Push-Location $rootPath
+
+try {
+ Publish-ToGitHost $GitHost $GitUserId $GitRepoId $Message
+}
+finally{
+ Pop-Location
+}
\ No newline at end of file
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/docs/scripts/git_push.sh b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/scripts/git_push.sh
new file mode 100644
index 00000000000..88210492218
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/docs/scripts/git_push.sh
@@ -0,0 +1,49 @@
+#!/bin/sh
+# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
+#
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
+
+git_user_id=${1:-GIT_USER_ID}
+git_repo_id=${2:-GIT_REPO_ID}
+release_note=${3:-Minor update}
+git_host=${4:-github.com}
+
+starting_directory=$(pwd)
+script_root="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
+cd $script_root
+cd ../..
+
+if [ "$release_note" = "" ] || [ "$release_note" = "Minor update" ]; then
+ # it seems unlikely that we would want our git commit message to be the default, so lets prompt the user
+ echo "Please provide a commit message or press enter"
+ read user_input
+ release_note=$user_input
+ if [ "$release_note" = "" ]; then
+ release_note="no message provided"
+ fi
+fi
+
+git init
+git add .
+git commit -am "$release_note"
+branch_name=$(git rev-parse --abbrev-ref HEAD)
+git_remote=$(git remote)
+
+if [ "$git_remote" = "" ]; then # git remote not defined
+
+ if [ "$GIT_TOKEN" = "" ]; then
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
+ else
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
+ fi
+
+fi
+
+echo "[INFO] Pulling from https://${git_host}/${git_user_id}/${git_repo_id}.git"
+git pull origin $branch_name --ff-only
+
+echo "[INFO] Pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
+git push origin $branch_name
+
+cd $starting_directory
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/AnotherFakeApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/AnotherFakeApiTests.cs
new file mode 100644
index 00000000000..cf82a3e39bd
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/AnotherFakeApiTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing AnotherFakeApi
+ ///
+ public sealed class AnotherFakeApiTests : ApiTestsBase
+ {
+ private readonly IAnotherFakeApi _instance;
+
+ public AnotherFakeApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test Call123TestSpecialTags
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task Call123TestSpecialTagsAsyncTest()
+ {
+ ModelClient modelClient = default;
+ var response = await _instance.Call123TestSpecialTagsAsync(modelClient);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/ApiTestsBase.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/ApiTestsBase.cs
new file mode 100644
index 00000000000..03ad026fa14
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/ApiTestsBase.cs
@@ -0,0 +1,81 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Security.Cryptography;
+using Microsoft.Extensions.Hosting;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Extensions;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Base class for API tests
+ ///
+ public class ApiTestsBase
+ {
+ protected readonly IHost _host;
+
+ public ApiTestsBase(string[] args)
+ {
+ _host = CreateHostBuilder(args).Build();
+ }
+
+ public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args)
+ .ConfigureApi((context, services, options) =>
+ {
+ string apiKeyTokenValue1 = context.Configuration[""] ?? throw new Exception("Token not found.");
+ ApiKeyToken apiKeyToken1 = new(apiKeyTokenValue1, ClientUtils.ApiKeyHeader.Api_key, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken1);
+
+ string apiKeyTokenValue2 = context.Configuration[""] ?? throw new Exception("Token not found.");
+ ApiKeyToken apiKeyToken2 = new(apiKeyTokenValue2, ClientUtils.ApiKeyHeader.Api_key_query, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken2);
+
+ string bearerTokenValue1 = context.Configuration[""] ?? throw new Exception("Token not found.");
+ BearerToken bearerToken1 = new(bearerTokenValue1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(bearerToken1);
+
+ string basicTokenUsername1 = context.Configuration[""] ?? throw new Exception("Username not found.");
+ string basicTokenPassword1 = context.Configuration[""] ?? throw new Exception("Password not found.");
+ BasicToken basicToken1 = new(basicTokenUsername1, basicTokenPassword1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(basicToken1);
+
+ HttpSigningConfiguration config1 = new("", "", null, new List(), HashAlgorithmName.SHA256, "", 0);
+ HttpSignatureToken httpSignatureToken1 = new(config1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(httpSignatureToken1);
+
+ string oauthTokenValue1 = context.Configuration[""] ?? throw new Exception("Token not found.");
+ OAuthToken oauthToken1 = new(oauthTokenValue1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(oauthToken1);
+ });
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
new file mode 100644
index 00000000000..88cf05ba9ed
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DefaultApiTests.cs
@@ -0,0 +1,107 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing DefaultApi
+ ///
+ public sealed class DefaultApiTests : ApiTestsBase
+ {
+ private readonly IDefaultApi _instance;
+
+ public DefaultApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test FooGet
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FooGetAsyncTest()
+ {
+ var response = await _instance.FooGetAsync();
+ var model = response.Default();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test GetCountry
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task GetCountryAsyncTest()
+ {
+ string country = default;
+ await _instance.GetCountryAsync(country);
+ }
+
+ ///
+ /// Test Hello
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task HelloAsyncTest()
+ {
+ var response = await _instance.HelloAsync();
+ var model = response.Ok();
+ Assert.IsType>(model);
+ }
+
+ ///
+ /// Test RolesReportGet
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task RolesReportGetAsyncTest()
+ {
+ var response = await _instance.RolesReportGetAsync();
+ var model = response.Ok();
+ Assert.IsType>>(model);
+ }
+
+ ///
+ /// Test Test
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestAsyncTest()
+ {
+ var response = await _instance.TestAsync();
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DependencyInjectionTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DependencyInjectionTests.cs
new file mode 100644
index 00000000000..028d71f4335
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/DependencyInjectionTests.cs
@@ -0,0 +1,243 @@
+/*
+ * 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 System;
+using Microsoft.Extensions.Hosting;
+using Microsoft.Extensions.DependencyInjection;
+using System.Collections.Generic;
+using System.Security.Cryptography;
+using Org.OpenAPITools.Client;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Extensions;
+using Xunit;
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Tests the dependency injection.
+ ///
+ public class DependencyInjectionTest
+ {
+ private readonly IHost _hostUsingConfigureWithoutAClient =
+ Host.CreateDefaultBuilder([]).ConfigureApi((context, services, options) =>
+ {
+ ApiKeyToken apiKeyToken1 = new("", ClientUtils.ApiKeyHeader.Api_key, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken1);
+
+ ApiKeyToken apiKeyToken2 = new("", ClientUtils.ApiKeyHeader.Api_key_query, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken2);
+
+ BearerToken bearerToken1 = new("", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(bearerToken1);
+
+ BasicToken basicToken1 = new("", "", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(basicToken1);
+
+ HttpSigningConfiguration config1 = new("", "", null, [], HashAlgorithmName.SHA256, "", 0);
+ HttpSignatureToken httpSignatureToken1 = new(config1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(httpSignatureToken1);
+
+ OAuthToken oauthToken1 = new("token", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(oauthToken1);
+ })
+ .Build();
+
+ private readonly IHost _hostUsingConfigureWithAClient =
+ Host.CreateDefaultBuilder([]).ConfigureApi((context, services, options) =>
+ {
+ ApiKeyToken apiKeyToken1 = new("", ClientUtils.ApiKeyHeader.Api_key, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken1);
+
+ ApiKeyToken apiKeyToken2 = new("", ClientUtils.ApiKeyHeader.Api_key_query, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken2);
+
+ BearerToken bearerToken1 = new("", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(bearerToken1);
+
+ BasicToken basicToken1 = new("", "", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(basicToken1);
+
+ HttpSigningConfiguration config1 = new("", "", null, [], HashAlgorithmName.SHA256, "", 0);
+ HttpSignatureToken httpSignatureToken1 = new(config1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(httpSignatureToken1);
+
+ OAuthToken oauthToken = new("token", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(oauthToken);
+ options.AddApiHttpClients(client => client.BaseAddress = new Uri(ClientUtils.BASE_ADDRESS));
+ })
+ .Build();
+
+ private readonly IHost _hostUsingAddWithoutAClient =
+ Host.CreateDefaultBuilder([]).ConfigureServices((host, services) =>
+ {
+ services.AddApi(options =>
+ {
+ ApiKeyToken apiKeyToken1 = new("", ClientUtils.ApiKeyHeader.Api_key, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken1);
+
+ ApiKeyToken apiKeyToken2 = new("", ClientUtils.ApiKeyHeader.Api_key_query, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken2);
+
+ BearerToken bearerToken1 = new("", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(bearerToken1);
+
+ BasicToken basicToken1 = new("", "", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(basicToken1);
+
+ HttpSigningConfiguration config1 = new("", "", null, [], HashAlgorithmName.SHA256, "", 0);
+ HttpSignatureToken httpSignatureToken1 = new(config1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(httpSignatureToken1);
+
+ OAuthToken oauthToken1 = new("token", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(oauthToken1);
+ });
+ })
+ .Build();
+
+ private readonly IHost _hostUsingAddWithAClient =
+ Host.CreateDefaultBuilder([]).ConfigureServices((host, services) =>
+ {
+ services.AddApi(options =>
+ {
+ ApiKeyToken apiKeyToken1 = new("", ClientUtils.ApiKeyHeader.Api_key, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken1);
+
+ ApiKeyToken apiKeyToken2 = new("", ClientUtils.ApiKeyHeader.Api_key_query, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(apiKeyToken2);
+
+ BearerToken bearerToken1 = new("", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(bearerToken1);
+
+ BasicToken basicToken1 = new("", "", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(basicToken1);
+
+ HttpSigningConfiguration config1 = new("", "", null, [], HashAlgorithmName.SHA256, "", 0);
+ HttpSignatureToken httpSignatureToken1 = new(config1, timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(httpSignatureToken1);
+
+ OAuthToken oauthToken1 = new("token", timeout: TimeSpan.FromSeconds(1));
+ options.AddTokens(oauthToken1);
+ options.AddApiHttpClients(client => client.BaseAddress = new Uri(ClientUtils.BASE_ADDRESS));
+ });
+ })
+ .Build();
+
+ ///
+ /// Test dependency injection when using the configure method
+ ///
+ [Fact]
+ public void ConfigureApiWithAClientTest()
+ {
+ var anotherFakeApi = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(anotherFakeApi.HttpClient.BaseAddress != null);
+
+ var defaultApi = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(defaultApi.HttpClient.BaseAddress != null);
+
+ var fakeApi = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(fakeApi.HttpClient.BaseAddress != null);
+
+ var fakeClassnameTags123Api = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(fakeClassnameTags123Api.HttpClient.BaseAddress != null);
+
+ var petApi = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(petApi.HttpClient.BaseAddress != null);
+
+ var storeApi = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(storeApi.HttpClient.BaseAddress != null);
+
+ var userApi = _hostUsingConfigureWithAClient.Services.GetRequiredService();
+ Assert.True(userApi.HttpClient.BaseAddress != null);
+ }
+
+ ///
+ /// Test dependency injection when using the configure method
+ ///
+ [Fact]
+ public void ConfigureApiWithoutAClientTest()
+ {
+ var anotherFakeApi = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(anotherFakeApi.HttpClient.BaseAddress != null);
+
+ var defaultApi = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(defaultApi.HttpClient.BaseAddress != null);
+
+ var fakeApi = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(fakeApi.HttpClient.BaseAddress != null);
+
+ var fakeClassnameTags123Api = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(fakeClassnameTags123Api.HttpClient.BaseAddress != null);
+
+ var petApi = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(petApi.HttpClient.BaseAddress != null);
+
+ var storeApi = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(storeApi.HttpClient.BaseAddress != null);
+
+ var userApi = _hostUsingConfigureWithoutAClient.Services.GetRequiredService();
+ Assert.True(userApi.HttpClient.BaseAddress != null);
+ }
+
+ ///
+ /// Test dependency injection when using the add method
+ ///
+ [Fact]
+ public void AddApiWithAClientTest()
+ {
+ var anotherFakeApi = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(anotherFakeApi.HttpClient.BaseAddress != null);
+
+ var defaultApi = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(defaultApi.HttpClient.BaseAddress != null);
+
+ var fakeApi = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(fakeApi.HttpClient.BaseAddress != null);
+
+ var fakeClassnameTags123Api = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(fakeClassnameTags123Api.HttpClient.BaseAddress != null);
+
+ var petApi = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(petApi.HttpClient.BaseAddress != null);
+
+ var storeApi = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(storeApi.HttpClient.BaseAddress != null);
+
+ var userApi = _hostUsingAddWithAClient.Services.GetRequiredService();
+ Assert.True(userApi.HttpClient.BaseAddress != null);
+ }
+
+ ///
+ /// Test dependency injection when using the add method
+ ///
+ [Fact]
+ public void AddApiWithoutAClientTest()
+ {
+ var anotherFakeApi = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(anotherFakeApi.HttpClient.BaseAddress != null);
+
+ var defaultApi = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(defaultApi.HttpClient.BaseAddress != null);
+
+ var fakeApi = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(fakeApi.HttpClient.BaseAddress != null);
+
+ var fakeClassnameTags123Api = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(fakeClassnameTags123Api.HttpClient.BaseAddress != null);
+
+ var petApi = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(petApi.HttpClient.BaseAddress != null);
+
+ var storeApi = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(storeApi.HttpClient.BaseAddress != null);
+
+ var userApi = _hostUsingAddWithoutAClient.Services.GetRequiredService();
+ Assert.True(userApi.HttpClient.BaseAddress != null);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
new file mode 100644
index 00000000000..090238dc8cb
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/FakeApiTests.cs
@@ -0,0 +1,281 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing FakeApi
+ ///
+ public sealed class FakeApiTests : ApiTestsBase
+ {
+ private readonly IFakeApi _instance;
+
+ public FakeApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test FakeHealthGet
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FakeHealthGetAsyncTest()
+ {
+ var response = await _instance.FakeHealthGetAsync();
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test FakeOuterBooleanSerialize
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FakeOuterBooleanSerializeAsyncTest()
+ {
+ Client.Option body = default;
+ var response = await _instance.FakeOuterBooleanSerializeAsync(body);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test FakeOuterCompositeSerialize
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FakeOuterCompositeSerializeAsyncTest()
+ {
+ Client.Option outerComposite = default;
+ var response = await _instance.FakeOuterCompositeSerializeAsync(outerComposite);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test FakeOuterNumberSerialize
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FakeOuterNumberSerializeAsyncTest()
+ {
+ Client.Option body = default;
+ var response = await _instance.FakeOuterNumberSerializeAsync(body);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test FakeOuterStringSerialize
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FakeOuterStringSerializeAsyncTest()
+ {
+ Guid requiredStringUuid = default;
+ Client.Option body = default;
+ var response = await _instance.FakeOuterStringSerializeAsync(requiredStringUuid, body);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test GetArrayOfEnums
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task GetArrayOfEnumsAsyncTest()
+ {
+ var response = await _instance.GetArrayOfEnumsAsync();
+ var model = response.Ok();
+ Assert.IsType>(model);
+ }
+
+ ///
+ /// Test TestAdditionalPropertiesReference
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestAdditionalPropertiesReferenceAsyncTest()
+ {
+ Dictionary requestBody = default;
+ await _instance.TestAdditionalPropertiesReferenceAsync(requestBody);
+ }
+
+ ///
+ /// Test TestBodyWithFileSchema
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestBodyWithFileSchemaAsyncTest()
+ {
+ FileSchemaTestClass fileSchemaTestClass = default;
+ await _instance.TestBodyWithFileSchemaAsync(fileSchemaTestClass);
+ }
+
+ ///
+ /// Test TestBodyWithQueryParams
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestBodyWithQueryParamsAsyncTest()
+ {
+ User user = default;
+ string query = default;
+ await _instance.TestBodyWithQueryParamsAsync(user, query);
+ }
+
+ ///
+ /// Test TestClientModel
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestClientModelAsyncTest()
+ {
+ ModelClient modelClient = default;
+ var response = await _instance.TestClientModelAsync(modelClient);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test TestEndpointParameters
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestEndpointParametersAsyncTest()
+ {
+ byte[] varByte = default;
+ decimal number = default;
+ double varDouble = default;
+ string patternWithoutDelimiter = default;
+ Client.Option date = default;
+ Client.Option binary = default;
+ Client.Option varFloat = default;
+ Client.Option integer = default;
+ Client.Option int32 = default;
+ Client.Option int64 = default;
+ Client.Option varString = default;
+ Client.Option password = default;
+ Client.Option callback = default;
+ Client.Option dateTime = default;
+ await _instance.TestEndpointParametersAsync(varByte, number, varDouble, patternWithoutDelimiter, date, binary, varFloat, integer, int32, int64, varString, password, callback, dateTime);
+ }
+
+ ///
+ /// Test TestEnumParameters
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestEnumParametersAsyncTest()
+ {
+ Client.Option> enumHeaderStringArray = default;
+ Client.Option> enumQueryStringArray = default;
+ Client.Option> enumFormStringArray = default;
+ Client.Option enumHeaderString = default;
+ Client.Option enumQueryString = default;
+ Client.Option enumQueryDouble = default;
+ Client.Option enumQueryInteger = default;
+ Client.Option enumFormString = default;
+ await _instance.TestEnumParametersAsync(enumHeaderStringArray, enumQueryStringArray, enumFormStringArray, enumHeaderString, enumQueryString, enumQueryDouble, enumQueryInteger, enumFormString);
+ }
+
+ ///
+ /// Test TestGroupParameters
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestGroupParametersAsyncTest()
+ {
+ bool requiredBooleanGroup = default;
+ int requiredStringGroup = default;
+ long requiredInt64Group = default;
+ Client.Option booleanGroup = default;
+ Client.Option stringGroup = default;
+ Client.Option int64Group = default;
+ await _instance.TestGroupParametersAsync(requiredBooleanGroup, requiredStringGroup, requiredInt64Group, booleanGroup, stringGroup, int64Group);
+ }
+
+ ///
+ /// Test TestInlineAdditionalProperties
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestInlineAdditionalPropertiesAsyncTest()
+ {
+ Dictionary requestBody = default;
+ await _instance.TestInlineAdditionalPropertiesAsync(requestBody);
+ }
+
+ ///
+ /// Test TestInlineFreeformAdditionalProperties
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestInlineFreeformAdditionalPropertiesAsyncTest()
+ {
+ TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = default;
+ await _instance.TestInlineFreeformAdditionalPropertiesAsync(testInlineFreeformAdditionalPropertiesRequest);
+ }
+
+ ///
+ /// Test TestJsonFormData
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestJsonFormDataAsyncTest()
+ {
+ string param = default;
+ string param2 = default;
+ await _instance.TestJsonFormDataAsync(param, param2);
+ }
+
+ ///
+ /// Test TestQueryParameterCollectionFormat
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestQueryParameterCollectionFormatAsyncTest()
+ {
+ List pipe = default;
+ List ioutil = default;
+ List http = default;
+ List url = default;
+ List context = default;
+ string requiredNotNullable = default;
+ string requiredNullable = default;
+ Client.Option notRequiredNotNullable = default;
+ Client.Option notRequiredNullable = default;
+ await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
+ }
+
+ ///
+ /// Test TestStringMapReference
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestStringMapReferenceAsyncTest()
+ {
+ Dictionary requestBody = default;
+ await _instance.TestStringMapReferenceAsync(requestBody);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/FakeClassnameTags123ApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/FakeClassnameTags123ApiTests.cs
new file mode 100644
index 00000000000..5964bf6e51d
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/FakeClassnameTags123ApiTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing FakeClassnameTags123Api
+ ///
+ public sealed class FakeClassnameTags123ApiTests : ApiTestsBase
+ {
+ private readonly IFakeClassnameTags123Api _instance;
+
+ public FakeClassnameTags123ApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test TestClassname
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task TestClassnameAsyncTest()
+ {
+ ModelClient modelClient = default;
+ var response = await _instance.TestClassnameAsync(modelClient);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/PetApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
new file mode 100644
index 00000000000..01ef5de875e
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
@@ -0,0 +1,160 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing PetApi
+ ///
+ public sealed class PetApiTests : ApiTestsBase
+ {
+ private readonly IPetApi _instance;
+
+ public PetApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test AddPet
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task AddPetAsyncTest()
+ {
+ Pet pet = default;
+ await _instance.AddPetAsync(pet);
+ }
+
+ ///
+ /// Test DeletePet
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task DeletePetAsyncTest()
+ {
+ long petId = default;
+ Client.Option apiKey = default;
+ await _instance.DeletePetAsync(petId, apiKey);
+ }
+
+ ///
+ /// Test FindPetsByStatus
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FindPetsByStatusAsyncTest()
+ {
+ List status = default;
+ var response = await _instance.FindPetsByStatusAsync(status);
+ var model = response.Ok();
+ Assert.IsType>(model);
+ }
+
+ ///
+ /// Test FindPetsByTags
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task FindPetsByTagsAsyncTest()
+ {
+ List tags = default;
+ var response = await _instance.FindPetsByTagsAsync(tags);
+ var model = response.Ok();
+ Assert.IsType>(model);
+ }
+
+ ///
+ /// Test GetPetById
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task GetPetByIdAsyncTest()
+ {
+ long petId = default;
+ var response = await _instance.GetPetByIdAsync(petId);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test UpdatePet
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task UpdatePetAsyncTest()
+ {
+ Pet pet = default;
+ await _instance.UpdatePetAsync(pet);
+ }
+
+ ///
+ /// Test UpdatePetWithForm
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task UpdatePetWithFormAsyncTest()
+ {
+ long petId = default;
+ Client.Option name = default;
+ Client.Option status = default;
+ await _instance.UpdatePetWithFormAsync(petId, name, status);
+ }
+
+ ///
+ /// Test UploadFile
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task UploadFileAsyncTest()
+ {
+ long petId = default;
+ Client.Option file = default;
+ Client.Option additionalMetadata = default;
+ var response = await _instance.UploadFileAsync(petId, file, additionalMetadata);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test UploadFileWithRequiredFile
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task UploadFileWithRequiredFileAsyncTest()
+ {
+ System.IO.Stream requiredFile = default;
+ long petId = default;
+ Client.Option additionalMetadata = default;
+ var response = await _instance.UploadFileWithRequiredFileAsync(requiredFile, petId, additionalMetadata);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/StoreApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/StoreApiTests.cs
new file mode 100644
index 00000000000..1b75e341700
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/StoreApiTests.cs
@@ -0,0 +1,98 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing StoreApi
+ ///
+ public sealed class StoreApiTests : ApiTestsBase
+ {
+ private readonly IStoreApi _instance;
+
+ public StoreApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test DeleteOrder
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task DeleteOrderAsyncTest()
+ {
+ string orderId = default;
+ await _instance.DeleteOrderAsync(orderId);
+ }
+
+ ///
+ /// Test GetInventory
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task GetInventoryAsyncTest()
+ {
+ var response = await _instance.GetInventoryAsync();
+ var model = response.Ok();
+ Assert.IsType>(model);
+ }
+
+ ///
+ /// Test GetOrderById
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task GetOrderByIdAsyncTest()
+ {
+ long orderId = default;
+ var response = await _instance.GetOrderByIdAsync(orderId);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test PlaceOrder
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task PlaceOrderAsyncTest()
+ {
+ Order order = default;
+ var response = await _instance.PlaceOrderAsync(order);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/UserApiTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/UserApiTests.cs
new file mode 100644
index 00000000000..38ee1125438
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Api/UserApiTests.cs
@@ -0,0 +1,138 @@
+/*
+ * 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 System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Xunit;
+using Microsoft.Extensions.DependencyInjection;
+using Org.OpenAPITools.Api;
+using Org.OpenAPITools.Model;
+
+
+/* *********************************************************************************
+* Follow these manual steps to construct tests.
+* This file will not be overwritten.
+* *********************************************************************************
+* 1. Navigate to ApiTests.Base.cs and ensure any tokens are being created correctly.
+* Take care not to commit credentials to any repository.
+*
+* 2. Mocking is coordinated by ApiTestsBase#AddApiHttpClients.
+* To mock the client, use the generic AddApiHttpClients.
+* To mock the server, change the client's BaseAddress.
+*
+* 3. Locate the test you want below
+* - remove the skip property from the Fact attribute
+* - set the value of any variables if necessary
+*
+* 4. Run the tests and ensure they work.
+*
+*/
+
+
+namespace Org.OpenAPITools.Test.Api
+{
+ ///
+ /// Class for testing UserApi
+ ///
+ public sealed class UserApiTests : ApiTestsBase
+ {
+ private readonly IUserApi _instance;
+
+ public UserApiTests(): base(Array.Empty())
+ {
+ _instance = _host.Services.GetRequiredService();
+ }
+
+ ///
+ /// Test CreateUser
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task CreateUserAsyncTest()
+ {
+ User user = default;
+ await _instance.CreateUserAsync(user);
+ }
+
+ ///
+ /// Test CreateUsersWithArrayInput
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task CreateUsersWithArrayInputAsyncTest()
+ {
+ List user = default;
+ await _instance.CreateUsersWithArrayInputAsync(user);
+ }
+
+ ///
+ /// Test CreateUsersWithListInput
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task CreateUsersWithListInputAsyncTest()
+ {
+ List user = default;
+ await _instance.CreateUsersWithListInputAsync(user);
+ }
+
+ ///
+ /// Test DeleteUser
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task DeleteUserAsyncTest()
+ {
+ string username = default;
+ await _instance.DeleteUserAsync(username);
+ }
+
+ ///
+ /// Test GetUserByName
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task GetUserByNameAsyncTest()
+ {
+ string username = default;
+ var response = await _instance.GetUserByNameAsync(username);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test LoginUser
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task LoginUserAsyncTest()
+ {
+ string username = default;
+ string password = default;
+ var response = await _instance.LoginUserAsync(username, password);
+ var model = response.Ok();
+ Assert.IsType(model);
+ }
+
+ ///
+ /// Test LogoutUser
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task LogoutUserAsyncTest()
+ {
+ await _instance.LogoutUserAsync();
+ }
+
+ ///
+ /// Test UpdateUser
+ ///
+ [Fact (Skip = "not implemented")]
+ public async Task UpdateUserAsyncTest()
+ {
+ User user = default;
+ string username = default;
+ await _instance.UpdateUserAsync(user, username);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
new file mode 100644
index 00000000000..adbf639fd72
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ActivityOutputElementRepresentationTests.cs
@@ -0,0 +1,74 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ActivityOutputElementRepresentation
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ActivityOutputElementRepresentationTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ActivityOutputElementRepresentation
+ //private ActivityOutputElementRepresentation instance;
+
+ public ActivityOutputElementRepresentationTests()
+ {
+ // TODO uncomment below to create an instance of ActivityOutputElementRepresentation
+ //instance = new ActivityOutputElementRepresentation();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ActivityOutputElementRepresentation
+ ///
+ [Fact]
+ public void ActivityOutputElementRepresentationInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ActivityOutputElementRepresentation
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'Prop1'
+ ///
+ [Fact]
+ public void Prop1Test()
+ {
+ // TODO unit test for the property 'Prop1'
+ }
+
+ ///
+ /// Test the property 'Prop2'
+ ///
+ [Fact]
+ public void Prop2Test()
+ {
+ // TODO unit test for the property 'Prop2'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ActivityTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
new file mode 100644
index 00000000000..6cc2927eaaf
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ActivityTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing Activity
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ActivityTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Activity
+ //private Activity instance;
+
+ public ActivityTests()
+ {
+ // TODO uncomment below to create an instance of Activity
+ //instance = new Activity();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Activity
+ ///
+ [Fact]
+ public void ActivityInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" Activity
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ActivityOutputs'
+ ///
+ [Fact]
+ public void ActivityOutputsTest()
+ {
+ // TODO unit test for the property 'ActivityOutputs'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
new file mode 100644
index 00000000000..e157b477193
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AdditionalPropertiesClassTests.cs
@@ -0,0 +1,128 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing AdditionalPropertiesClass
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class AdditionalPropertiesClassTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for AdditionalPropertiesClass
+ //private AdditionalPropertiesClass instance;
+
+ public AdditionalPropertiesClassTests()
+ {
+ // TODO uncomment below to create an instance of AdditionalPropertiesClass
+ //instance = new AdditionalPropertiesClass();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of AdditionalPropertiesClass
+ ///
+ [Fact]
+ public void AdditionalPropertiesClassInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" AdditionalPropertiesClass
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'Anytype1'
+ ///
+ [Fact]
+ public void Anytype1Test()
+ {
+ // TODO unit test for the property 'Anytype1'
+ }
+
+ ///
+ /// Test the property 'EmptyMap'
+ ///
+ [Fact]
+ public void EmptyMapTest()
+ {
+ // TODO unit test for the property 'EmptyMap'
+ }
+
+ ///
+ /// Test the property 'MapOfMapProperty'
+ ///
+ [Fact]
+ public void MapOfMapPropertyTest()
+ {
+ // TODO unit test for the property 'MapOfMapProperty'
+ }
+
+ ///
+ /// Test the property 'MapProperty'
+ ///
+ [Fact]
+ public void MapPropertyTest()
+ {
+ // TODO unit test for the property 'MapProperty'
+ }
+
+ ///
+ /// Test the property 'MapWithUndeclaredPropertiesAnytype1'
+ ///
+ [Fact]
+ public void MapWithUndeclaredPropertiesAnytype1Test()
+ {
+ // TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype1'
+ }
+
+ ///
+ /// Test the property 'MapWithUndeclaredPropertiesAnytype2'
+ ///
+ [Fact]
+ public void MapWithUndeclaredPropertiesAnytype2Test()
+ {
+ // TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype2'
+ }
+
+ ///
+ /// Test the property 'MapWithUndeclaredPropertiesAnytype3'
+ ///
+ [Fact]
+ public void MapWithUndeclaredPropertiesAnytype3Test()
+ {
+ // TODO unit test for the property 'MapWithUndeclaredPropertiesAnytype3'
+ }
+
+ ///
+ /// Test the property 'MapWithUndeclaredPropertiesString'
+ ///
+ [Fact]
+ public void MapWithUndeclaredPropertiesStringTest()
+ {
+ // TODO unit test for the property 'MapWithUndeclaredPropertiesString'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AnimalTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AnimalTests.cs
new file mode 100644
index 00000000000..1db9725afb8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AnimalTests.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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing Animal
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class AnimalTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Animal
+ //private Animal instance;
+
+ public AnimalTests()
+ {
+ // TODO uncomment below to create an instance of Animal
+ //instance = new Animal();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Animal
+ ///
+ [Fact]
+ public void AnimalInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" Animal
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test deserialize a Cat from type Animal
+ ///
+ [Fact]
+ public void CatDeserializeFromAnimalTest()
+ {
+ // TODO uncomment below to test deserialize a Cat from type Animal
+ //Assert.IsType(JsonConvert.DeserializeObject(new Cat().ToJson()));
+ }
+
+ ///
+ /// Test deserialize a Dog from type Animal
+ ///
+ [Fact]
+ public void DogDeserializeFromAnimalTest()
+ {
+ // TODO uncomment below to test deserialize a Dog from type Animal
+ //Assert.IsType(JsonConvert.DeserializeObject(new Dog().ToJson()));
+ }
+
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+
+ ///
+ /// Test the property 'Color'
+ ///
+ [Fact]
+ public void ColorTest()
+ {
+ // TODO unit test for the property 'Color'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
new file mode 100644
index 00000000000..c296a82116a
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ApiResponseTests.cs
@@ -0,0 +1,83 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ApiResponse
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ApiResponseTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ApiResponse
+ //private ApiResponse instance;
+
+ public ApiResponseTests()
+ {
+ // TODO uncomment below to create an instance of ApiResponse
+ //instance = new ApiResponse();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ApiResponse
+ ///
+ [Fact]
+ public void ApiResponseInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ApiResponse
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'Code'
+ ///
+ [Fact]
+ public void CodeTest()
+ {
+ // TODO unit test for the property 'Code'
+ }
+
+ ///
+ /// Test the property 'Message'
+ ///
+ [Fact]
+ public void MessageTest()
+ {
+ // TODO unit test for the property 'Message'
+ }
+
+ ///
+ /// Test the property 'Type'
+ ///
+ [Fact]
+ public void TypeTest()
+ {
+ // TODO unit test for the property 'Type'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
new file mode 100644
index 00000000000..d698ee44504
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AppleReqTests.cs
@@ -0,0 +1,74 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" AppleReq
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// 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/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AppleTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AppleTests.cs
new file mode 100644
index 00000000000..c7c8ccd47c1
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/AppleTests.cs
@@ -0,0 +1,83 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" Apple
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ColorCode'
+ ///
+ [Fact]
+ public void ColorCodeTest()
+ {
+ // TODO unit test for the property 'ColorCode'
+ }
+
+ ///
+ /// 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/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
new file mode 100644
index 00000000000..29fe9cfb1d4
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayOfArrayOfNumberOnlyTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ArrayOfArrayOfNumberOnly
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ArrayOfArrayOfNumberOnlyTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ArrayOfArrayOfNumberOnly
+ //private ArrayOfArrayOfNumberOnly instance;
+
+ public ArrayOfArrayOfNumberOnlyTests()
+ {
+ // TODO uncomment below to create an instance of ArrayOfArrayOfNumberOnly
+ //instance = new ArrayOfArrayOfNumberOnly();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ArrayOfArrayOfNumberOnly
+ ///
+ [Fact]
+ public void ArrayOfArrayOfNumberOnlyInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ArrayOfArrayOfNumberOnly
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ArrayArrayNumber'
+ ///
+ [Fact]
+ public void ArrayArrayNumberTest()
+ {
+ // TODO unit test for the property 'ArrayArrayNumber'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
new file mode 100644
index 00000000000..2b0956c0b98
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayOfNumberOnlyTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ArrayOfNumberOnly
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ArrayOfNumberOnlyTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ArrayOfNumberOnly
+ //private ArrayOfNumberOnly instance;
+
+ public ArrayOfNumberOnlyTests()
+ {
+ // TODO uncomment below to create an instance of ArrayOfNumberOnly
+ //instance = new ArrayOfNumberOnly();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ArrayOfNumberOnly
+ ///
+ [Fact]
+ public void ArrayOfNumberOnlyInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ArrayOfNumberOnly
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ArrayNumber'
+ ///
+ [Fact]
+ public void ArrayNumberTest()
+ {
+ // TODO unit test for the property 'ArrayNumber'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
new file mode 100644
index 00000000000..3b01d0b7abb
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ArrayTestTests.cs
@@ -0,0 +1,83 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ArrayTest
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ArrayTestTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ArrayTest
+ //private ArrayTest instance;
+
+ public ArrayTestTests()
+ {
+ // TODO uncomment below to create an instance of ArrayTest
+ //instance = new ArrayTest();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ArrayTest
+ ///
+ [Fact]
+ public void ArrayTestInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ArrayTest
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ArrayArrayOfInteger'
+ ///
+ [Fact]
+ public void ArrayArrayOfIntegerTest()
+ {
+ // TODO unit test for the property 'ArrayArrayOfInteger'
+ }
+
+ ///
+ /// Test the property 'ArrayArrayOfModel'
+ ///
+ [Fact]
+ public void ArrayArrayOfModelTest()
+ {
+ // TODO unit test for the property 'ArrayArrayOfModel'
+ }
+
+ ///
+ /// Test the property 'ArrayOfString'
+ ///
+ [Fact]
+ public void ArrayOfStringTest()
+ {
+ // TODO unit test for the property 'ArrayOfString'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
new file mode 100644
index 00000000000..1e54c1f3e41
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BananaReqTests.cs
@@ -0,0 +1,74 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" BananaReq
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// 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/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BananaTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BananaTests.cs
new file mode 100644
index 00000000000..5a88e9dabbd
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BananaTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" Banana
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'LengthCm'
+ ///
+ [Fact]
+ public void LengthCmTest()
+ {
+ // TODO unit test for the property 'LengthCm'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
new file mode 100644
index 00000000000..4ffd6c2c0c8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/BasquePigTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" BasquePig
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ClassName'
+ ///
+ [Fact]
+ public void ClassNameTest()
+ {
+ // TODO unit test for the property 'ClassName'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
new file mode 100644
index 00000000000..d0391fb47f8
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CapitalizationTests.cs
@@ -0,0 +1,110 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing Capitalization
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class CapitalizationTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Capitalization
+ //private Capitalization instance;
+
+ public CapitalizationTests()
+ {
+ // TODO uncomment below to create an instance of Capitalization
+ //instance = new Capitalization();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Capitalization
+ ///
+ [Fact]
+ public void CapitalizationInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" Capitalization
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'ATT_NAME'
+ ///
+ [Fact]
+ public void ATT_NAMETest()
+ {
+ // TODO unit test for the property 'ATT_NAME'
+ }
+
+ ///
+ /// Test the property 'CapitalCamel'
+ ///
+ [Fact]
+ public void CapitalCamelTest()
+ {
+ // TODO unit test for the property 'CapitalCamel'
+ }
+
+ ///
+ /// Test the property 'CapitalSnake'
+ ///
+ [Fact]
+ public void CapitalSnakeTest()
+ {
+ // TODO unit test for the property 'CapitalSnake'
+ }
+
+ ///
+ /// Test the property 'SCAETHFlowPoints'
+ ///
+ [Fact]
+ public void SCAETHFlowPointsTest()
+ {
+ // TODO unit test for the property 'SCAETHFlowPoints'
+ }
+
+ ///
+ /// Test the property 'SmallCamel'
+ ///
+ [Fact]
+ public void SmallCamelTest()
+ {
+ // TODO unit test for the property 'SmallCamel'
+ }
+
+ ///
+ /// Test the property 'SmallSnake'
+ ///
+ [Fact]
+ public void SmallSnakeTest()
+ {
+ // TODO unit test for the property 'SmallSnake'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CatTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CatTests.cs
new file mode 100644
index 00000000000..a5d4bf43bbf
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CatTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing Cat
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class CatTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Cat
+ //private Cat instance;
+
+ public CatTests()
+ {
+ // TODO uncomment below to create an instance of Cat
+ //instance = new Cat();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Cat
+ ///
+ [Fact]
+ public void CatInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" Cat
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'Declawed'
+ ///
+ [Fact]
+ public void DeclawedTest()
+ {
+ // TODO unit test for the property 'Declawed'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CategoryTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
new file mode 100644
index 00000000000..7fe8f333c81
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/CategoryTests.cs
@@ -0,0 +1,74 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing Category
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class CategoryTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for Category
+ //private Category instance;
+
+ public CategoryTests()
+ {
+ // TODO uncomment below to create an instance of Category
+ //instance = new Category();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of Category
+ ///
+ [Fact]
+ public void CategoryInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" Category
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'Id'
+ ///
+ [Fact]
+ public void IdTest()
+ {
+ // TODO unit test for the property 'Id'
+ }
+
+ ///
+ /// Test the property 'Name'
+ ///
+ [Fact]
+ public void NameTest()
+ {
+ // TODO unit test for the property 'Name'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ChildCatAllOfPetTypeTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ChildCatAllOfPetTypeTests.cs
new file mode 100644
index 00000000000..f24fa44b0e0
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ChildCatAllOfPetTypeTests.cs
@@ -0,0 +1,56 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ChildCatAllOfPetType
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ChildCatAllOfPetTypeTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ChildCatAllOfPetType
+ //private ChildCatAllOfPetType instance;
+
+ public ChildCatAllOfPetTypeTests()
+ {
+ // TODO uncomment below to create an instance of ChildCatAllOfPetType
+ //instance = new ChildCatAllOfPetType();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ChildCatAllOfPetType
+ ///
+ [Fact]
+ public void ChildCatAllOfPetTypeInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ChildCatAllOfPetType
+ //Assert.IsType(instance);
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
new file mode 100644
index 00000000000..4aecdf9bed3
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ChildCatTests.cs
@@ -0,0 +1,74 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" ChildCat
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'PetType'
+ ///
+ [Fact]
+ public void PetTypeTest()
+ {
+ // TODO unit test for the property 'PetType'
+ }
+
+ ///
+ /// Test the property 'Name'
+ ///
+ [Fact]
+ public void NameTest()
+ {
+ // TODO unit test for the property 'Name'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
new file mode 100644
index 00000000000..a866bfbe242
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ClassModelTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// Class for testing ClassModel
+ ///
+ ///
+ /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
+ /// Please update the test case below to test the model.
+ ///
+ public class ClassModelTests : IDisposable
+ {
+ // TODO uncomment below to declare an instance variable for ClassModel
+ //private ClassModel instance;
+
+ public ClassModelTests()
+ {
+ // TODO uncomment below to create an instance of ClassModel
+ //instance = new ClassModel();
+ }
+
+ public void Dispose()
+ {
+ // Cleanup when everything is done.
+ }
+
+ ///
+ /// Test an instance of ClassModel
+ ///
+ [Fact]
+ public void ClassModelInstanceTest()
+ {
+ // TODO uncomment below to test "IsType" ClassModel
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'Class'
+ ///
+ [Fact]
+ public void ClassTest()
+ {
+ // TODO unit test for the property 'Class'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
new file mode 100644
index 00000000000..a7a864154ac
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/ComplexQuadrilateralTests.cs
@@ -0,0 +1,74 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" ComplexQuadrilateral
+ //Assert.IsType(instance);
+ }
+
+ ///
+ /// Test the property 'QuadrilateralType'
+ ///
+ [Fact]
+ public void QuadrilateralTypeTest()
+ {
+ // TODO unit test for the property 'QuadrilateralType'
+ }
+
+ ///
+ /// Test the property 'ShapeType'
+ ///
+ [Fact]
+ public void ShapeTypeTest()
+ {
+ // TODO unit test for the property 'ShapeType'
+ }
+ }
+}
diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
new file mode 100644
index 00000000000..e7c505b5136
--- /dev/null
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools.Test/Model/DanishPigTests.cs
@@ -0,0 +1,65 @@
+/*
+ * 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.Model;
+using Org.OpenAPITools.Client;
+using System.Reflection;
+
+namespace Org.OpenAPITools.Test.Model
+{
+ ///
+ /// 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 "IsType" DanishPig
+ //Assert.IsType(instance);
+ }
+
+ ///