diff --git a/docs/generators/fsharp-functions.md b/docs/generators/fsharp-functions.md
index a20382152aab..33bd1f1c2922 100644
--- a/docs/generators/fsharp-functions.md
+++ b/docs/generators/fsharp-functions.md
@@ -34,7 +34,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
-|sourceFolder|source folder for generated code| |OpenAPI/src|
+|sourceFolder|source folder for generated code| |OpenAPI\src|
## IMPORT MAPPING
diff --git a/docs/generators/fsharp-giraffe-server.md b/docs/generators/fsharp-giraffe-server.md
index abe079e504fa..fb3e25b3d776 100644
--- a/docs/generators/fsharp-giraffe-server.md
+++ b/docs/generators/fsharp-giraffe-server.md
@@ -30,7 +30,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|packageVersion|F# package version.| |1.0.0|
|returnICollection|Return ICollection<T> instead of the concrete type.| |false|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
-|sourceFolder|source folder for generated code| |OpenAPI/src|
+|sourceFolder|source folder for generated code| |OpenAPI\src|
|useCollection|Deserialize array types to Collection<T> instead of List<T>.| |false|
|useDateTimeOffset|Use DateTimeOffset to model date-time properties| |false|
|useSwashbuckle|Uses the Swashbuckle.AspNetCore NuGet package for documentation.| |false|
diff --git a/docs/generators/java-inflector.md b/docs/generators/java-inflector.md
index 8b8b35ea29dc..19f35d579274 100644
--- a/docs/generators/java-inflector.md
+++ b/docs/generators/java-inflector.md
@@ -65,7 +65,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|snapshotVersion|Uses a SNAPSHOT version.|
**true**
Use a SnapShot Version
**false**
Use a Release Version
|null|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
-|sourceFolder|source folder for generated code| |src/gen/java|
+|sourceFolder|source folder for generated code| |src\gen\java|
|testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi|
|useJakartaEe|whether to use Jakarta EE namespace instead of javax| |false|
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|
diff --git a/docs/generators/jaxrs-cxf-client.md b/docs/generators/jaxrs-cxf-client.md
index 04ae1cfee4e1..e7ec0fadd8cc 100644
--- a/docs/generators/jaxrs-cxf-client.md
+++ b/docs/generators/jaxrs-cxf-client.md
@@ -65,7 +65,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|snapshotVersion|Uses a SNAPSHOT version.|
**true**
Use a SnapShot Version
**false**
Use a Release Version
|null|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
-|sourceFolder|source folder for generated code| |src/gen/java|
+|sourceFolder|source folder for generated code| |src\gen\java|
|testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi|
|useAbstractionForFiles|Use alternative types instead of java.io.File to allow passing bytes without a file on disk.| |false|
|useBeanValidation|Use BeanValidation API annotations| |false|
diff --git a/docs/generators/swift5.md b/docs/generators/swift5.md
index 519ad121b837..4bfb9b4d3778 100644
--- a/docs/generators/swift5.md
+++ b/docs/generators/swift5.md
@@ -48,13 +48,13 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|responseAs|Optionally use libraries to manage response. Currently PromiseKit, RxSwift, Result, Combine, AsyncAwait are available.| |null|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
-|swiftPackagePath|Set a custom source path instead of OpenAPIClient/Classes/OpenAPIs.| |null|
+|swiftPackagePath|Set a custom source path instead of OpenAPIClient\Classes\OpenAPIs.| |null|
|swiftUseApiNamespace|Flag to make all the API classes inner-class of {{projectName}}API| |null|
|useBacktickEscapes|Escape reserved words using backticks (default: false)| |false|
|useClasses|Use final classes for models instead of structs (default: false)| |false|
|useCustomDateWithoutTime|Uses a custom type to decode and encode dates without time information to support OpenAPIs date format (default: false)| |false|
|useJsonEncodable|Make models conform to JSONEncodable protocol (default: true)| |true|
-|useSPMFileStructure|Use SPM file structure and set the source path to Sources/{{projectName}} (default: false).| |null|
+|useSPMFileStructure|Use SPM file structure and set the source path to Sources\{{projectName}} (default: false).| |null|
|validatable|Make validation rules and validator for model properies (default: true)| |true|
## IMPORT MAPPING
diff --git a/samples/client/echo_api/csharp-restsharp/docs/Category.md b/samples/client/echo_api/csharp-restsharp/docs/Category.md
index fd3c5e2b257a..8208e1a2b6e6 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/Category.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/Category.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**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/echo_api/csharp-restsharp/docs/DataQuery.md b/samples/client/echo_api/csharp-restsharp/docs/DataQuery.md
index 0f1f76302ef0..9b79fbd4597b 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/DataQuery.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/DataQuery.md
@@ -4,11 +4,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | Query | [optional]
+**Id** | **long?** | Query | [optional]
**Outcomes** | **List<Query.OutcomesEnum>** | | [optional]
**Suffix** | **string** | test suffix | [optional]
**Text** | **string** | Some text containing white spaces | [optional]
-**Date** | **DateTime** | A date | [optional]
+**Date** | **DateTime?** | A date | [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/echo_api/csharp-restsharp/docs/DefaultValue.md b/samples/client/echo_api/csharp-restsharp/docs/DefaultValue.md
index 981eda3340e0..034d9f124118 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/DefaultValue.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/DefaultValue.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**ArrayStringEnumRefDefault** | [**List<StringEnumRef>**](StringEnumRef.md) | | [optional]
**ArrayStringEnumDefault** | **List<DefaultValue.ArrayStringEnumDefaultEnum>** | | [optional]
**ArrayStringDefault** | **List<string>** | | [optional]
-**ArrayIntegerDefault** | **List<int>** | | [optional]
+**ArrayIntegerDefault** | **List<int?>** | | [optional]
**ArrayString** | **List<string>** | | [optional]
**ArrayStringNullable** | **List<string>** | | [optional]
**ArrayStringExtensionNullable** | **List<string>** | | [optional]
diff --git a/samples/client/echo_api/csharp-restsharp/docs/NumberPropertiesOnly.md b/samples/client/echo_api/csharp-restsharp/docs/NumberPropertiesOnly.md
index f9c523da92eb..c894c7007524 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/NumberPropertiesOnly.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/NumberPropertiesOnly.md
@@ -4,9 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Number** | **decimal** | | [optional]
-**Float** | **float** | | [optional]
-**Double** | **double** | | [optional]
+**Number** | **decimal?** | | [optional]
+**Float** | **float?** | | [optional]
+**Double** | **double?** | | [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/echo_api/csharp-restsharp/docs/PathApi.md b/samples/client/echo_api/csharp-restsharp/docs/PathApi.md
index e83b85c62a56..3c58becc1a7e 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/PathApi.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/PathApi.md
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost:3000*
# **TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
-> string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath (string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath)
+> string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath (string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath)
Test path parameter(s)
@@ -32,7 +32,7 @@ namespace Example
config.BasePath = "http://localhost:3000";
var apiInstance = new PathApi(config);
var pathString = "pathString_example"; // string |
- var pathInteger = 56; // int |
+ var pathInteger = 56; // int? |
var enumNonrefStringPath = "success"; // string |
var enumRefStringPath = (StringEnumRef) "success"; // StringEnumRef |
@@ -78,7 +78,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **pathString** | **string** | | |
-| **pathInteger** | **int** | | |
+| **pathInteger** | **int?** | | |
| **enumNonrefStringPath** | **string** | | |
| **enumRefStringPath** | **StringEnumRef** | | |
diff --git a/samples/client/echo_api/csharp-restsharp/docs/Pet.md b/samples/client/echo_api/csharp-restsharp/docs/Pet.md
index ff2f348d392b..3853dac6aa37 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/Pet.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/Pet.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**Id** | **long?** | | [optional]
**Name** | **string** | |
**Category** | [**Category**](Category.md) | | [optional]
**PhotoUrls** | **List<string>** | |
diff --git a/samples/client/echo_api/csharp-restsharp/docs/Query.md b/samples/client/echo_api/csharp-restsharp/docs/Query.md
index c79503ef2a64..6e786b359f12 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/Query.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/Query.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | Query | [optional]
+**Id** | **long?** | Query | [optional]
**Outcomes** | **List<Query.OutcomesEnum>** | | [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/echo_api/csharp-restsharp/docs/QueryApi.md b/samples/client/echo_api/csharp-restsharp/docs/QueryApi.md
index c740ebd3c275..b2fa62cc9db2 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/QueryApi.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/QueryApi.md
@@ -482,7 +482,7 @@ No authorization required
# **TestQueryStyleFormExplodeFalseArrayInteger**
-> string TestQueryStyleFormExplodeFalseArrayInteger (List? queryObject = null)
+> string TestQueryStyleFormExplodeFalseArrayInteger (List? queryObject = null)
Test query parameter(s)
@@ -505,7 +505,7 @@ namespace Example
Configuration config = new Configuration();
config.BasePath = "http://localhost:3000";
var apiInstance = new QueryApi(config);
- var queryObject = new List?(); // List? | (optional)
+ var queryObject = new List?(); // List? | (optional)
try
{
@@ -548,7 +548,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **queryObject** | [**List<int>?**](int.md) | | [optional] |
+| **queryObject** | [**List<int?>?**](int?.md) | | [optional] |
### Return type
diff --git a/samples/client/echo_api/csharp-restsharp/docs/Tag.md b/samples/client/echo_api/csharp-restsharp/docs/Tag.md
index fdd22eb31fdd..f86abfc26e02 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/Tag.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/Tag.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**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/echo_api/csharp-restsharp/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md b/samples/client/echo_api/csharp-restsharp/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md
index dec380556c83..825b60592937 100644
--- a/samples/client/echo_api/csharp-restsharp/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md
+++ b/samples/client/echo_api/csharp-restsharp/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Size** | **string** | | [optional]
**Color** | **string** | | [optional]
-**Id** | **long** | | [optional]
+**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/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/PathApi.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/PathApi.cs
index a1ae25b575a6..de0a384cb79c 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/PathApi.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/PathApi.cs
@@ -40,7 +40,7 @@ public interface IPathApiSync : IApiAccessor
///
/// Index associated with the operation.
/// string
- string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
+ string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
///
/// Test path parameter(s)
@@ -55,7 +55,7 @@ public interface IPathApiSync : IApiAccessor
///
/// Index associated with the operation.
/// ApiResponse of string
- ApiResponse TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
+ ApiResponse TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
#endregion Synchronous Operations
}
@@ -79,7 +79,7 @@ public interface IPathApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of string
- System.Threading.Tasks.Task TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ System.Threading.Tasks.Task TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
///
/// Test path parameter(s)
@@ -95,7 +95,7 @@ public interface IPathApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (string)
- System.Threading.Tasks.Task> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -226,7 +226,7 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
///
/// Index associated with the operation.
/// string
- public string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
+ public string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
{
Org.OpenAPITools.Client.ApiResponse localVarResponse = TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
return localVarResponse.Data;
@@ -242,7 +242,7 @@ public string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnu
///
/// Index associated with the operation.
/// ApiResponse of string
- public Org.OpenAPITools.Client.ApiResponse TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
+ public Org.OpenAPITools.Client.ApiResponse TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
{
// verify the required parameter 'pathString' is set
if (pathString == null)
@@ -250,6 +250,12 @@ public Org.OpenAPITools.Client.ApiResponse TestsPathStringPathStringInte
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathString' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
}
+ // verify the required parameter 'pathInteger' is set
+ if (pathInteger == null)
+ {
+ throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathInteger' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
+ }
+
// verify the required parameter 'enumNonrefStringPath' is set
if (enumNonrefStringPath == null)
{
@@ -312,7 +318,7 @@ public Org.OpenAPITools.Client.ApiResponse TestsPathStringPathStringInte
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of string
- public async System.Threading.Tasks.Task TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, operationIndex, cancellationToken).ConfigureAwait(false);
return localVarResponse.Data;
@@ -329,7 +335,7 @@ public Org.OpenAPITools.Client.ApiResponse TestsPathStringPathStringInte
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (string)
- public async System.Threading.Tasks.Task> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int? pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
// verify the required parameter 'pathString' is set
if (pathString == null)
@@ -337,6 +343,12 @@ public Org.OpenAPITools.Client.ApiResponse TestsPathStringPathStringInte
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathString' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
}
+ // verify the required parameter 'pathInteger' is set
+ if (pathInteger == null)
+ {
+ throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathInteger' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
+ }
+
// verify the required parameter 'enumNonrefStringPath' is set
if (enumNonrefStringPath == null)
{
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs
index 5b5dd8318d56..44710bbf19f9 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs
@@ -162,7 +162,7 @@ public interface IQueryApiSync : IApiAccessor
/// (optional)
/// Index associated with the operation.
/// string
- string TestQueryStyleFormExplodeFalseArrayInteger(List? queryObject = default(List?), int operationIndex = 0);
+ string TestQueryStyleFormExplodeFalseArrayInteger(List? queryObject = default(List?), int operationIndex = 0);
///
/// Test query parameter(s)
@@ -174,7 +174,7 @@ public interface IQueryApiSync : IApiAccessor
/// (optional)
/// Index associated with the operation.
/// ApiResponse of string
- ApiResponse TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List? queryObject = default(List?), int operationIndex = 0);
+ ApiResponse TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List? queryObject = default(List?), int operationIndex = 0);
///
/// Test query parameter(s)
///
@@ -422,7 +422,7 @@ public interface IQueryApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of string
- System.Threading.Tasks.Task TestQueryStyleFormExplodeFalseArrayIntegerAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ System.Threading.Tasks.Task TestQueryStyleFormExplodeFalseArrayIntegerAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
///
/// Test query parameter(s)
@@ -435,7 +435,7 @@ public interface IQueryApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (string)
- System.Threading.Tasks.Task> TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfoAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfoAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
///
/// Test query parameter(s)
///
@@ -1457,7 +1457,7 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
/// (optional)
/// Index associated with the operation.
/// string
- public string TestQueryStyleFormExplodeFalseArrayInteger(List? queryObject = default(List?), int operationIndex = 0)
+ public string TestQueryStyleFormExplodeFalseArrayInteger(List? queryObject = default(List?), int operationIndex = 0)
{
Org.OpenAPITools.Client.ApiResponse localVarResponse = TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(queryObject);
return localVarResponse.Data;
@@ -1470,7 +1470,7 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
/// (optional)
/// Index associated with the operation.
/// ApiResponse of string
- public Org.OpenAPITools.Client.ApiResponse TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List? queryObject = default(List?), int operationIndex = 0)
+ public Org.OpenAPITools.Client.ApiResponse TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List? queryObject = default(List?), int operationIndex = 0)
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1525,7 +1525,7 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of string
- public async System.Threading.Tasks.Task TestQueryStyleFormExplodeFalseArrayIntegerAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task TestQueryStyleFormExplodeFalseArrayIntegerAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfoAsync(queryObject, operationIndex, cancellationToken).ConfigureAwait(false);
return localVarResponse.Data;
@@ -1539,7 +1539,7 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (string)
- public async System.Threading.Tasks.Task> TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfoAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestQueryStyleFormExplodeFalseArrayIntegerWithHttpInfoAsync(List? queryObject = default(List?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs
index 4c59b1d4f010..d7752f4bf47c 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs
@@ -37,7 +37,7 @@ public partial class Category : IEquatable, IValidatableObject
///
/// id.
/// name.
- public Category(long id = default(long), string name = default(string))
+ public Category(long? id = default(long?), string name = default(string))
{
this.Id = id;
this.Name = name;
@@ -48,7 +48,7 @@ public partial class Category : IEquatable, IValidatableObject
///
/// 1
[DataMember(Name = "id", EmitDefaultValue = false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Name
@@ -104,7 +104,8 @@ public bool Equals(Category input)
return
(
this.Id == input.Id ||
- this.Id.Equals(input.Id)
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
) &&
(
this.Name == input.Name ||
@@ -122,7 +123,10 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ if (this.Id != null)
+ {
+ hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ }
if (this.Name != null)
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs
index 92ba2761b5c6..448f61a286fe 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs
@@ -40,7 +40,7 @@ public partial class DataQuery : Query, IEquatable, IValidatableObjec
/// A date.
/// Query.
/// outcomes.
- public DataQuery(string suffix = default(string), string text = default(string), DateTime date = default(DateTime), long id = default(long), List outcomes = default(List)) : base(id, outcomes)
+ public DataQuery(string suffix = default(string), string text = default(string), DateTime? date = default(DateTime?), long? id = default(long?), List outcomes = default(List)) : base(id, outcomes)
{
this.Suffix = suffix;
this.Text = text;
@@ -67,7 +67,7 @@ public partial class DataQuery : Query, IEquatable, IValidatableObjec
///
/// A date
[DataMember(Name = "date", EmitDefaultValue = false)]
- public DateTime Date { get; set; }
+ public DateTime? Date { get; set; }
///
/// Returns the string presentation of the object
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs
index 3a0530813ead..957976bcad70 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs
@@ -68,7 +68,7 @@ public enum ArrayStringEnumDefaultEnum
/// arrayStringNullable.
/// arrayStringExtensionNullable.
/// stringNullable.
- public DefaultValue(List arrayStringEnumRefDefault = default(List), List arrayStringEnumDefault = default(List), List arrayStringDefault = default(List), List arrayIntegerDefault = default(List), List arrayString = default(List), List arrayStringNullable = default(List), List arrayStringExtensionNullable = default(List), string stringNullable = default(string))
+ public DefaultValue(List arrayStringEnumRefDefault = default(List), List arrayStringEnumDefault = default(List), List arrayStringDefault = default(List), List arrayIntegerDefault = default(List), List arrayString = default(List), List arrayStringNullable = default(List), List arrayStringExtensionNullable = default(List), string stringNullable = default(string))
{
this.ArrayStringEnumRefDefault = arrayStringEnumRefDefault;
this.ArrayStringEnumDefault = arrayStringEnumDefault;
@@ -102,7 +102,7 @@ public enum ArrayStringEnumDefaultEnum
/// Gets or Sets ArrayIntegerDefault
///
[DataMember(Name = "array_integer_default", EmitDefaultValue = false)]
- public List ArrayIntegerDefault { get; set; }
+ public List ArrayIntegerDefault { get; set; }
///
/// Gets or Sets ArrayString
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs
index ccf8e681847c..05f04231560b 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs
@@ -38,7 +38,7 @@ public partial class NumberPropertiesOnly : IEquatable, IV
/// number.
/// varFloat.
/// varDouble.
- public NumberPropertiesOnly(decimal number = default(decimal), float varFloat = default(float), double varDouble = default(double))
+ public NumberPropertiesOnly(decimal? number = default(decimal?), float? varFloat = default(float?), double? varDouble = default(double?))
{
this.Number = number;
this.Float = varFloat;
@@ -49,19 +49,19 @@ public partial class NumberPropertiesOnly : IEquatable, IV
/// Gets or Sets Number
///
[DataMember(Name = "number", EmitDefaultValue = false)]
- public decimal Number { get; set; }
+ public decimal? Number { get; set; }
///
/// Gets or Sets Float
///
[DataMember(Name = "float", EmitDefaultValue = false)]
- public float Float { get; set; }
+ public float? Float { get; set; }
///
/// Gets or Sets Double
///
[DataMember(Name = "double", EmitDefaultValue = false)]
- public double Double { get; set; }
+ public double? Double { get; set; }
///
/// Returns the string presentation of the object
@@ -111,15 +111,18 @@ public bool Equals(NumberPropertiesOnly input)
return
(
this.Number == input.Number ||
- this.Number.Equals(input.Number)
+ (this.Number != null &&
+ this.Number.Equals(input.Number))
) &&
(
this.Float == input.Float ||
- this.Float.Equals(input.Float)
+ (this.Float != null &&
+ this.Float.Equals(input.Float))
) &&
(
this.Double == input.Double ||
- this.Double.Equals(input.Double)
+ (this.Double != null &&
+ this.Double.Equals(input.Double))
);
}
@@ -132,9 +135,18 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- hashCode = (hashCode * 59) + this.Number.GetHashCode();
- hashCode = (hashCode * 59) + this.Float.GetHashCode();
- hashCode = (hashCode * 59) + this.Double.GetHashCode();
+ if (this.Number != null)
+ {
+ hashCode = (hashCode * 59) + this.Number.GetHashCode();
+ }
+ if (this.Float != null)
+ {
+ hashCode = (hashCode * 59) + this.Float.GetHashCode();
+ }
+ if (this.Double != null)
+ {
+ hashCode = (hashCode * 59) + this.Double.GetHashCode();
+ }
return hashCode;
}
}
@@ -146,14 +158,14 @@ public override int GetHashCode()
/// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
- // Double (double) maximum
- if (this.Double > (double)50.2)
+ // Double (double?) maximum
+ if (this.Double > (double?)50.2)
{
yield return new ValidationResult("Invalid value for Double, must be a value less than or equal to 50.2.", new [] { "Double" });
}
- // Double (double) minimum
- if (this.Double < (double)0.8)
+ // Double (double?) minimum
+ if (this.Double < (double?)0.8)
{
yield return new ValidationResult("Invalid value for Double, must be a value greater than or equal to 0.8.", new [] { "Double" });
}
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs
index e3a45973d8b5..e92213d16980 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs
@@ -79,7 +79,7 @@ protected Pet() { }
/// photoUrls (required).
/// tags.
/// pet status in the store.
- public Pet(long id = default(long), string name = default(string), Category category = default(Category), List photoUrls = default(List), List tags = default(List), StatusEnum? status = default(StatusEnum?))
+ public Pet(long? id = default(long?), string name = default(string), Category category = default(Category), List photoUrls = default(List), List tags = default(List), StatusEnum? status = default(StatusEnum?))
{
// to ensure "name" is required (not null)
if (name == null)
@@ -104,7 +104,7 @@ protected Pet() { }
///
/// 10
[DataMember(Name = "id", EmitDefaultValue = false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Name
@@ -182,7 +182,8 @@ public bool Equals(Pet input)
return
(
this.Id == input.Id ||
- this.Id.Equals(input.Id)
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
) &&
(
this.Name == input.Name ||
@@ -221,7 +222,10 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ if (this.Id != null)
+ {
+ hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ }
if (this.Name != null)
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs
index 0ff925611a5b..c44f58791987 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs
@@ -62,7 +62,7 @@ public enum OutcomesEnum
///
/// Query.
/// outcomes.
- public Query(long id = default(long), List outcomes = default(List))
+ public Query(long? id = default(long?), List outcomes = default(List))
{
this.Id = id;
this.Outcomes = outcomes;
@@ -73,7 +73,7 @@ public enum OutcomesEnum
///
/// Query
[DataMember(Name = "id", EmitDefaultValue = false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Outcomes
@@ -128,7 +128,8 @@ public bool Equals(Query input)
return
(
this.Id == input.Id ||
- this.Id.Equals(input.Id)
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
) &&
(
this.Outcomes == input.Outcomes ||
@@ -147,7 +148,10 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ if (this.Id != null)
+ {
+ hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ }
if (this.Outcomes != null)
{
hashCode = (hashCode * 59) + this.Outcomes.GetHashCode();
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs
index 66eab762090b..eab2102728c5 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs
@@ -37,7 +37,7 @@ public partial class Tag : IEquatable, IValidatableObject
///
/// id.
/// name.
- public Tag(long id = default(long), string name = default(string))
+ public Tag(long? id = default(long?), string name = default(string))
{
this.Id = id;
this.Name = name;
@@ -47,7 +47,7 @@ public partial class Tag : IEquatable, IValidatableObject
/// Gets or Sets Id
///
[DataMember(Name = "id", EmitDefaultValue = false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Name
@@ -102,7 +102,8 @@ public bool Equals(Tag input)
return
(
this.Id == input.Id ||
- this.Id.Equals(input.Id)
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
) &&
(
this.Name == input.Name ||
@@ -120,7 +121,10 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ if (this.Id != null)
+ {
+ hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ }
if (this.Name != null)
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs
index 42b8e674635a..e8055519b8dd 100644
--- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs
+++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs
@@ -39,7 +39,7 @@ public partial class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectPa
/// color.
/// id.
/// name.
- public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(string size = default(string), string color = default(string), long id = default(long), string name = default(string))
+ public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(string size = default(string), string color = default(string), long? id = default(long?), string name = default(string))
{
this.Size = size;
this.Color = color;
@@ -64,7 +64,7 @@ public partial class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectPa
///
/// 1
[DataMember(Name = "id", EmitDefaultValue = false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Name
@@ -132,7 +132,8 @@ public bool Equals(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectPara
) &&
(
this.Id == input.Id ||
- this.Id.Equals(input.Id)
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
) &&
(
this.Name == input.Name ||
@@ -158,7 +159,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Color.GetHashCode();
}
- hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ if (this.Id != null)
+ {
+ hashCode = (hashCode * 59) + this.Id.GetHashCode();
+ }
if (this.Name != null)
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
diff --git a/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES b/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES
index c51141c743e7..53ad43f78dc2 100644
--- a/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES
+++ b/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES
@@ -24,13 +24,13 @@ docs/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md
docs/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
git_push.sh
phpunit.xml.dist
+src/ApiException.php
src/Api/AuthApi.php
src/Api/BodyApi.php
src/Api/FormApi.php
src/Api/HeaderApi.php
src/Api/PathApi.php
src/Api/QueryApi.php
-src/ApiException.php
src/Configuration.php
src/HeaderSelector.php
src/Model/Bird.php
diff --git a/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist b/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist
index 1135449a8d9b..cba878f52707 100644
--- a/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist
+++ b/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist
@@ -2,8 +2,8 @@
- ./src/Api
- ./src/Model
+ ./src\/Api
+ ./src\/Model
diff --git a/samples/client/echo_api/php-nextgen/.openapi-generator/FILES b/samples/client/echo_api/php-nextgen/.openapi-generator/FILES
index c51141c743e7..53ad43f78dc2 100644
--- a/samples/client/echo_api/php-nextgen/.openapi-generator/FILES
+++ b/samples/client/echo_api/php-nextgen/.openapi-generator/FILES
@@ -24,13 +24,13 @@ docs/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md
docs/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
git_push.sh
phpunit.xml.dist
+src/ApiException.php
src/Api/AuthApi.php
src/Api/BodyApi.php
src/Api/FormApi.php
src/Api/HeaderApi.php
src/Api/PathApi.php
src/Api/QueryApi.php
-src/ApiException.php
src/Configuration.php
src/HeaderSelector.php
src/Model/Bird.php
diff --git a/samples/client/echo_api/php-nextgen/phpunit.xml.dist b/samples/client/echo_api/php-nextgen/phpunit.xml.dist
index 1135449a8d9b..cba878f52707 100644
--- a/samples/client/echo_api/php-nextgen/phpunit.xml.dist
+++ b/samples/client/echo_api/php-nextgen/phpunit.xml.dist
@@ -2,8 +2,8 @@
- ./src/Api
- ./src/Model
+ ./src\/Api
+ ./src\/Model
diff --git a/samples/client/echo_api/r/.openapi-generator/FILES b/samples/client/echo_api/r/.openapi-generator/FILES
index cf3034e39d0c..79f7452245e1 100644
--- a/samples/client/echo_api/r/.openapi-generator/FILES
+++ b/samples/client/echo_api/r/.openapi-generator/FILES
@@ -5,6 +5,7 @@
.travis.yml
DESCRIPTION
NAMESPACE
+README.md
R/api_client.R
R/api_response.R
R/auth_api.R
@@ -25,7 +26,6 @@ R/tag.R
R/test_form_object_multipart_request_marker.R
R/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.R
R/test_query_style_form_explode_true_array_string_query_object_parameter.R
-README.md
docs/AuthApi.md
docs/Bird.md
docs/BodyApi.md
diff --git a/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES b/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES
index 379998b2a2b8..03da4aaacabb 100644
--- a/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES
+++ b/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES
@@ -5,6 +5,7 @@
.travis.yml
DESCRIPTION
NAMESPACE
+README.md
R/allof_tag_api_response.R
R/animal.R
R/any_of_pig.R
@@ -39,7 +40,6 @@ R/user.R
R/user_api.R
R/whale.R
R/zebra.R
-README.md
docs/AllofTagApiResponse.md
docs/Animal.md
docs/AnyOfPig.md
diff --git a/samples/client/petstore/R-httr2/.openapi-generator/FILES b/samples/client/petstore/R-httr2/.openapi-generator/FILES
index 07243c898d78..af8bc6f011d8 100644
--- a/samples/client/petstore/R-httr2/.openapi-generator/FILES
+++ b/samples/client/petstore/R-httr2/.openapi-generator/FILES
@@ -5,6 +5,7 @@
.travis.yml
DESCRIPTION
NAMESPACE
+README.md
R/allof_tag_api_response.R
R/animal.R
R/any_of_pig.R
@@ -38,7 +39,6 @@ R/user.R
R/user_api.R
R/whale.R
R/zebra.R
-README.md
docs/AllofTagApiResponse.md
docs/Animal.md
docs/AnyOfPig.md
diff --git a/samples/client/petstore/R/.openapi-generator/FILES b/samples/client/petstore/R/.openapi-generator/FILES
index 43681d7ddb2c..d5c00e7a92f3 100644
--- a/samples/client/petstore/R/.openapi-generator/FILES
+++ b/samples/client/petstore/R/.openapi-generator/FILES
@@ -5,6 +5,7 @@
.travis.yml
DESCRIPTION
NAMESPACE
+README.md
R/allof_tag_api_response.R
R/animal.R
R/any_of_pig.R
@@ -38,7 +39,6 @@ R/user.R
R/user_api.R
R/whale.R
R/zebra.R
-README.md
docs/AllofTagApiResponse.md
docs/Animal.md
docs/AnyOfPig.md
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/PetApi.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/PetApi.cs
index 330b31105f64..2aa73e347b19 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/PetApi.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/PetApi.cs
@@ -27,7 +27,7 @@ public async Task> _AddPet([HttpTrigger(AuthorizationLevel.Ano
}
[FunctionName("PetApi_DeletePet")]
- public async Task> _DeletePet([HttpTrigger(AuthorizationLevel.Anonymous, "Delete", Route = "v2pet/{petId}")]HttpRequest req, ExecutionContext context, long petId)
+ public async Task> _DeletePet([HttpTrigger(AuthorizationLevel.Anonymous, "Delete", Route = "v2pet/{petId}")]HttpRequest req, ExecutionContext context, long? petId)
{
var method = this.GetType().GetMethod("DeletePet");
return method != null
@@ -54,7 +54,7 @@ public async Task>> _FindPetsByTags([HttpTrigger(Authoriz
}
[FunctionName("PetApi_GetPetById")]
- public async Task> _GetPetById([HttpTrigger(AuthorizationLevel.Anonymous, "Get", Route = "v2pet/{petId}")]HttpRequest req, ExecutionContext context, long petId)
+ public async Task> _GetPetById([HttpTrigger(AuthorizationLevel.Anonymous, "Get", Route = "v2pet/{petId}")]HttpRequest req, ExecutionContext context, long? petId)
{
var method = this.GetType().GetMethod("GetPetById");
return method != null
@@ -72,7 +72,7 @@ public async Task> _UpdatePet([HttpTrigger(AuthorizationLevel.
}
[FunctionName("PetApi_UpdatePetWithForm")]
- public async Task> _UpdatePetWithForm([HttpTrigger(AuthorizationLevel.Anonymous, "Post", Route = "v2pet/{petId}")]HttpRequest req, ExecutionContext context, long petId)
+ public async Task> _UpdatePetWithForm([HttpTrigger(AuthorizationLevel.Anonymous, "Post", Route = "v2pet/{petId}")]HttpRequest req, ExecutionContext context, long? petId)
{
var method = this.GetType().GetMethod("UpdatePetWithForm");
return method != null
@@ -81,7 +81,7 @@ public async Task> _UpdatePetWithForm([HttpTrigger(AuthorizationL
}
[FunctionName("PetApi_UploadFile")]
- public async Task> _UploadFile([HttpTrigger(AuthorizationLevel.Anonymous, "Post", Route = "v2pet/{petId}/uploadImage")]HttpRequest req, ExecutionContext context, long petId)
+ public async Task> _UploadFile([HttpTrigger(AuthorizationLevel.Anonymous, "Post", Route = "v2pet/{petId}/uploadImage")]HttpRequest req, ExecutionContext context, long? petId)
{
var method = this.GetType().GetMethod("UploadFile");
return method != null
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/StoreApi.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/StoreApi.cs
index 47e383d46310..1f2718767e8f 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/StoreApi.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Functions/StoreApi.cs
@@ -27,16 +27,16 @@ public async Task> _DeleteOrder([HttpTrigger(AuthorizationLevel.A
}
[FunctionName("StoreApi_GetInventory")]
- public async Task>> _GetInventory([HttpTrigger(AuthorizationLevel.Anonymous, "Get", Route = "v2store/inventory")]HttpRequest req, ExecutionContext context)
+ public async Task>> _GetInventory([HttpTrigger(AuthorizationLevel.Anonymous, "Get", Route = "v2store/inventory")]HttpRequest req, ExecutionContext context)
{
var method = this.GetType().GetMethod("GetInventory");
return method != null
- ? (await ((Task>)method.Invoke(this, new object[] { req, context })).ConfigureAwait(false))
+ ? (await ((Task>)method.Invoke(this, new object[] { req, context })).ConfigureAwait(false))
: new StatusCodeResult((int)HttpStatusCode.NotImplemented);
}
[FunctionName("StoreApi_GetOrderById")]
- public async Task> _GetOrderById([HttpTrigger(AuthorizationLevel.Anonymous, "Get", Route = "v2store/order/{orderId}")]HttpRequest req, ExecutionContext context, [Range(1, 5)]long orderId)
+ public async Task> _GetOrderById([HttpTrigger(AuthorizationLevel.Anonymous, "Get", Route = "v2store/order/{orderId}")]HttpRequest req, ExecutionContext context, [Range(1, 5)]long? orderId)
{
var method = this.GetType().GetMethod("GetOrderById");
return method != null
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/ApiResponse.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/ApiResponse.cs
index 88e45fce388b..8cb6cfa61475 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/ApiResponse.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/ApiResponse.cs
@@ -30,7 +30,7 @@ public partial class ApiResponse : IEquatable
/// Gets or Sets Code
///
[DataMember(Name="code", EmitDefaultValue=false)]
- public int Code { get; set; }
+ public int? Code { get; set; }
///
/// Gets or Sets Type
@@ -93,7 +93,7 @@ public bool Equals(ApiResponse other)
return
(
Code == other.Code ||
-
+ Code != null &&
Code.Equals(other.Code)
) &&
(
@@ -118,7 +118,7 @@ public override int GetHashCode()
{
var hashCode = 41;
// Suitable nullity checks etc, of course :)
-
+ if (Code != null)
hashCode = hashCode * 59 + Code.GetHashCode();
if (Type != null)
hashCode = hashCode * 59 + Type.GetHashCode();
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Category.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Category.cs
index 8b9fd03a240e..b6e1884bffde 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Category.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Category.cs
@@ -30,7 +30,7 @@ public partial class Category : IEquatable
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Name
@@ -87,7 +87,7 @@ public bool Equals(Category other)
return
(
Id == other.Id ||
-
+ Id != null &&
Id.Equals(other.Id)
) &&
(
@@ -107,7 +107,7 @@ public override int GetHashCode()
{
var hashCode = 41;
// Suitable nullity checks etc, of course :)
-
+ if (Id != null)
hashCode = hashCode * 59 + Id.GetHashCode();
if (Name != null)
hashCode = hashCode * 59 + Name.GetHashCode();
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs
index e9013f0ed0df..039eaafba7d9 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs
@@ -30,25 +30,25 @@ public partial class Order : IEquatable
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets PetId
///
[DataMember(Name="petId", EmitDefaultValue=false)]
- public long PetId { get; set; }
+ public long? PetId { get; set; }
///
/// Gets or Sets Quantity
///
[DataMember(Name="quantity", EmitDefaultValue=false)]
- public int Quantity { get; set; }
+ public int? Quantity { get; set; }
///
/// Gets or Sets ShipDate
///
[DataMember(Name="shipDate", EmitDefaultValue=false)]
- public DateTime ShipDate { get; set; }
+ public DateTime? ShipDate { get; set; }
///
@@ -90,7 +90,7 @@ public enum StatusEnum
/// Gets or Sets Complete
///
[DataMember(Name="complete", EmitDefaultValue=false)]
- public bool Complete { get; set; } = false;
+ public bool? Complete { get; set; } = false;
///
/// Returns the string presentation of the object
@@ -144,17 +144,17 @@ public bool Equals(Order other)
return
(
Id == other.Id ||
-
+ Id != null &&
Id.Equals(other.Id)
) &&
(
PetId == other.PetId ||
-
+ PetId != null &&
PetId.Equals(other.PetId)
) &&
(
Quantity == other.Quantity ||
-
+ Quantity != null &&
Quantity.Equals(other.Quantity)
) &&
(
@@ -169,7 +169,7 @@ public bool Equals(Order other)
) &&
(
Complete == other.Complete ||
-
+ Complete != null &&
Complete.Equals(other.Complete)
);
}
@@ -184,17 +184,17 @@ public override int GetHashCode()
{
var hashCode = 41;
// Suitable nullity checks etc, of course :)
-
+ if (Id != null)
hashCode = hashCode * 59 + Id.GetHashCode();
-
+ if (PetId != null)
hashCode = hashCode * 59 + PetId.GetHashCode();
-
+ if (Quantity != null)
hashCode = hashCode * 59 + Quantity.GetHashCode();
if (ShipDate != null)
hashCode = hashCode * 59 + ShipDate.GetHashCode();
hashCode = hashCode * 59 + Status.GetHashCode();
-
+ if (Complete != null)
hashCode = hashCode * 59 + Complete.GetHashCode();
return hashCode;
}
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs
index d5a816cd5ee1..07ab1da11661 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs
@@ -30,7 +30,7 @@ public partial class Pet : IEquatable
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Category
@@ -146,7 +146,7 @@ public bool Equals(Pet other)
return
(
Id == other.Id ||
-
+ Id != null &&
Id.Equals(other.Id)
) &&
(
@@ -188,7 +188,7 @@ public override int GetHashCode()
{
var hashCode = 41;
// Suitable nullity checks etc, of course :)
-
+ if (Id != null)
hashCode = hashCode * 59 + Id.GetHashCode();
if (Category != null)
hashCode = hashCode * 59 + Category.GetHashCode();
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Tag.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Tag.cs
index 090f95cc494f..74adb0f2b268 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Tag.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Tag.cs
@@ -30,7 +30,7 @@ public partial class Tag : IEquatable
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Name
@@ -86,7 +86,7 @@ public bool Equals(Tag other)
return
(
Id == other.Id ||
-
+ Id != null &&
Id.Equals(other.Id)
) &&
(
@@ -106,7 +106,7 @@ public override int GetHashCode()
{
var hashCode = 41;
// Suitable nullity checks etc, of course :)
-
+ if (Id != null)
hashCode = hashCode * 59 + Id.GetHashCode();
if (Name != null)
hashCode = hashCode * 59 + Name.GetHashCode();
diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/User.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/User.cs
index 4c6d96d08c50..9d62be5b7f2b 100644
--- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/User.cs
+++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/User.cs
@@ -30,7 +30,7 @@ public partial class User : IEquatable
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
- public long Id { get; set; }
+ public long? Id { get; set; }
///
/// Gets or Sets Username
@@ -73,7 +73,7 @@ public partial class User : IEquatable
///
/// User Status
[DataMember(Name="userStatus", EmitDefaultValue=false)]
- public int UserStatus { get; set; }
+ public int? UserStatus { get; set; }
///
/// Returns the string presentation of the object
@@ -129,7 +129,7 @@ public bool Equals(User other)
return
(
Id == other.Id ||
-
+ Id != null &&
Id.Equals(other.Id)
) &&
(
@@ -164,7 +164,7 @@ public bool Equals(User other)
) &&
(
UserStatus == other.UserStatus ||
-
+ UserStatus != null &&
UserStatus.Equals(other.UserStatus)
);
}
@@ -179,7 +179,7 @@ public override int GetHashCode()
{
var hashCode = 41;
// Suitable nullity checks etc, of course :)
-
+ if (Id != null)
hashCode = hashCode * 59 + Id.GetHashCode();
if (Username != null)
hashCode = hashCode * 59 + Username.GetHashCode();
@@ -193,7 +193,7 @@ public override int GetHashCode()
hashCode = hashCode * 59 + Password.GetHashCode();
if (Phone != null)
hashCode = hashCode * 59 + Phone.GetHashCode();
-
+ if (UserStatus != null)
hashCode = hashCode * 59 + UserStatus.GetHashCode();
return hashCode;
}
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ApiResponse.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ApiResponse.md
index bb723d2baa13..faacf536f173 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ApiResponse.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ApiResponse.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Code** | **int** | | [optional]
+**Code** | **int?** | | [optional]
**Type** | **string** | | [optional]
**Message** | **string** | | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/AppleReq.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/AppleReq.md
index 005b8f8058a4..bb7b7576dc2e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/AppleReq.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/AppleReq.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Cultivar** | **string** | |
-**Mealy** | **bool** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayOfArrayOfNumberOnly.md
index 4764c0ff80c5..fb113074d3f2 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayOfArrayOfNumberOnly.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayOfArrayOfNumberOnly.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ArrayArrayNumber** | **List<List<decimal>>** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/ArrayOfNumberOnly.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayOfNumberOnly.md
index d93717103b8b..30e148e05489 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayOfNumberOnly.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayOfNumberOnly.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ArrayNumber** | **List<decimal>** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/ArrayTest.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayTest.md
index d74d11bae77d..89094d5e895c 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayTest.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ArrayTest.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ArrayOfString** | **List<string>** | | [optional]
-**ArrayArrayOfInteger** | **List<List<long>>** | | [optional]
+**ArrayArrayOfInteger** | **List<List<long?>>** | | [optional]
**ArrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [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/httpclient/standard2.0/Petstore/docs/Banana.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Banana.md
index 226952d1cecb..72cbdcf0af0b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Banana.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Banana.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**LengthCm** | **decimal** | | [optional]
+**LengthCm** | **decimal?** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/BananaReq.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/BananaReq.md
index f99aab99e387..2bf39b773a66 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/BananaReq.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/BananaReq.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**LengthCm** | **decimal** | |
-**Sweet** | **bool** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/Cat.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Cat.md
index aa1ac17604eb..d41c6ec6eb65 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Cat.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Cat.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ClassName** | **string** | |
**Color** | **string** | | [optional] [default to "red"]
-**Declawed** | **bool** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/Category.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Category.md
index 032a1faeb3ff..bdbe5ac5a483 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Category.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Category.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/DateOnlyClass.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/DateOnlyClass.md
index d0912d2ac415..258d6673e120 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/DateOnlyClass.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/DateOnlyClass.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**DateOnlyProperty** | **DateTime** | | [optional]
+**DateOnlyProperty** | **DateTime?** | | [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/httpclient/standard2.0/Petstore/docs/DefaultApi.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/DefaultApi.md
index 13db7cec8ee1..5998f2b161db 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/DefaultApi.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/DefaultApi.md
@@ -185,7 +185,7 @@ No authorization required
# **Hello**
-> List<Guid> Hello ()
+> List<Guid?> Hello ()
Hello
@@ -216,7 +216,7 @@ namespace Example
try
{
// Hello
- List result = apiInstance.Hello();
+ List result = apiInstance.Hello();
Debug.WriteLine(result);
}
catch (ApiException e)
@@ -237,7 +237,7 @@ This returns an ApiResponse object which contains the response data, status code
try
{
// Hello
- ApiResponse> response = apiInstance.HelloWithHttpInfo();
+ ApiResponse> response = apiInstance.HelloWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
@@ -254,7 +254,7 @@ catch (ApiException e)
This endpoint does not need any parameter.
### Return type
-**List**
+**List**
### Authorization
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/EnumTest.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/EnumTest.md
index 5ce3c4addd9b..66cc8c6d245e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/EnumTest.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/EnumTest.md
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**EnumString** | **string** | | [optional]
**EnumStringRequired** | **string** | |
-**EnumInteger** | **int** | | [optional]
-**EnumIntegerOnly** | **int** | | [optional]
-**EnumNumber** | **double** | | [optional]
+**EnumInteger** | **int?** | | [optional]
+**EnumIntegerOnly** | **int?** | | [optional]
+**EnumNumber** | **double?** | | [optional]
**OuterEnum** | **OuterEnum** | | [optional]
**OuterEnumInteger** | **OuterEnumInteger** | | [optional]
**OuterEnumDefaultValue** | **OuterEnumDefaultValue** | | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FakeApi.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FakeApi.md
index bedc98a6492a..092fc45e57e7 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FakeApi.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FakeApi.md
@@ -115,7 +115,7 @@ No authorization required
# **FakeOuterBooleanSerialize**
-> bool FakeOuterBooleanSerialize (bool? body = null)
+> bool? FakeOuterBooleanSerialize (bool? body = null)
@@ -146,7 +146,7 @@ namespace Example
try
{
- bool result = apiInstance.FakeOuterBooleanSerialize(body);
+ bool? result = apiInstance.FakeOuterBooleanSerialize(body);
Debug.WriteLine(result);
}
catch (ApiException e)
@@ -166,7 +166,7 @@ This returns an ApiResponse object which contains the response data, status code
```csharp
try
{
- ApiResponse response = apiInstance.FakeOuterBooleanSerializeWithHttpInfo(body);
+ ApiResponse response = apiInstance.FakeOuterBooleanSerializeWithHttpInfo(body);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
@@ -187,7 +187,7 @@ catch (ApiException e)
### Return type
-**bool**
+**bool?**
### Authorization
@@ -301,7 +301,7 @@ No authorization required
# **FakeOuterNumberSerialize**
-> decimal FakeOuterNumberSerialize (decimal? body = null)
+> decimal? FakeOuterNumberSerialize (decimal? body = null)
@@ -332,7 +332,7 @@ namespace Example
try
{
- decimal result = apiInstance.FakeOuterNumberSerialize(body);
+ decimal? result = apiInstance.FakeOuterNumberSerialize(body);
Debug.WriteLine(result);
}
catch (ApiException e)
@@ -352,7 +352,7 @@ This returns an ApiResponse object which contains the response data, status code
```csharp
try
{
- ApiResponse response = apiInstance.FakeOuterNumberSerializeWithHttpInfo(body);
+ ApiResponse response = apiInstance.FakeOuterNumberSerializeWithHttpInfo(body);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
@@ -373,7 +373,7 @@ catch (ApiException e)
### Return type
-**decimal**
+**decimal?**
### Authorization
@@ -394,7 +394,7 @@ No authorization required
# **FakeOuterStringSerialize**
-> string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null)
+> string FakeOuterStringSerialize (Guid? requiredStringUuid, string body = null)
@@ -421,7 +421,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new FakeApi(httpClient, config, httpClientHandler);
- var requiredStringUuid = "requiredStringUuid_example"; // Guid | Required UUID String
+ var requiredStringUuid = "requiredStringUuid_example"; // Guid? | Required UUID String
var body = "body_example"; // string | Input string as post body (optional)
try
@@ -463,7 +463,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **requiredStringUuid** | **Guid** | Required UUID String | |
+| **requiredStringUuid** | **Guid?** | Required UUID String | |
| **body** | **string** | Input string as post body | [optional] |
### Return type
@@ -1115,7 +1115,7 @@ No authorization required
# **TestEndpointParameters**
-> void TestEndpointParameters (decimal number, double varDouble, string patternWithoutDelimiter, byte[] varByte, int? integer = null, int? int32 = null, long? int64 = null, float? varFloat = null, string varString = null, FileParameter binary = null, DateTime? date = null, DateTime? dateTime = null, string password = null, string callback = null)
+> void TestEndpointParameters (decimal? number, double? varDouble, string patternWithoutDelimiter, byte[] varByte, int? integer = null, int? int32 = null, long? int64 = null, float? varFloat = null, string varString = null, FileParameter binary = null, DateTime? date = null, DateTime? dateTime = null, string password = null, string callback = null)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -1146,8 +1146,8 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new FakeApi(httpClient, config, httpClientHandler);
- var number = 8.14D; // decimal | None
- var varDouble = 1.2D; // double | None
+ var number = 8.14D; // decimal? | None
+ var varDouble = 1.2D; // double? | None
var patternWithoutDelimiter = "patternWithoutDelimiter_example"; // string | None
var varByte = System.Text.Encoding.ASCII.GetBytes("BYTE_ARRAY_DATA_HERE"); // byte[] | None
var integer = 56; // int? | None (optional)
@@ -1198,8 +1198,8 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **number** | **decimal** | None | |
-| **varDouble** | **double** | None | |
+| **number** | **decimal?** | None | |
+| **varDouble** | **double?** | None | |
| **patternWithoutDelimiter** | **string** | None | |
| **varByte** | **byte[]** | None | |
| **integer** | **int?** | None | [optional] |
@@ -1343,7 +1343,7 @@ No authorization required
# **TestGroupParameters**
-> void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null)
+> void TestGroupParameters (int? requiredStringGroup, bool? requiredBooleanGroup, long? requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null)
Fake endpoint to test group parameters (optional)
@@ -1373,9 +1373,9 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new FakeApi(httpClient, config, httpClientHandler);
- var requiredStringGroup = 56; // int | Required String in group parameters
- var requiredBooleanGroup = true; // bool | Required Boolean in group parameters
- var requiredInt64Group = 789L; // long | Required Integer in group parameters
+ var requiredStringGroup = 56; // int? | Required String in group parameters
+ var requiredBooleanGroup = true; // bool? | Required Boolean in group parameters
+ var requiredInt64Group = 789L; // long? | Required Integer in group parameters
var stringGroup = 56; // int? | String in group parameters (optional)
var booleanGroup = true; // bool? | Boolean in group parameters (optional)
var int64Group = 789L; // long? | Integer in group parameters (optional)
@@ -1417,9 +1417,9 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **requiredStringGroup** | **int** | Required String in group parameters | |
-| **requiredBooleanGroup** | **bool** | Required Boolean in group parameters | |
-| **requiredInt64Group** | **long** | Required Integer in group parameters | |
+| **requiredStringGroup** | **int?** | Required String in group parameters | |
+| **requiredBooleanGroup** | **bool?** | Required Boolean in group parameters | |
+| **requiredInt64Group** | **long?** | Required Integer in group parameters | |
| **stringGroup** | **int?** | String in group parameters | [optional] |
| **booleanGroup** | **bool?** | Boolean in group parameters | [optional] |
| **int64Group** | **long?** | Integer in group parameters | [optional] |
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FormatTest.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FormatTest.md
index c028ca739018..b7de5076a781 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FormatTest.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FormatTest.md
@@ -4,26 +4,26 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Integer** | **int** | | [optional]
-**Int32** | **int** | | [optional]
-**Int32Range** | **int** | | [optional]
-**Int64Positive** | **long** | | [optional]
-**Int64Negative** | **long** | | [optional]
-**Int64PositiveExclusive** | **long** | | [optional]
-**Int64NegativeExclusive** | **long** | | [optional]
-**UnsignedInteger** | **uint** | | [optional]
-**Int64** | **long** | | [optional]
-**UnsignedLong** | **ulong** | | [optional]
+**Integer** | **int?** | | [optional]
+**Int32** | **int?** | | [optional]
+**Int32Range** | **int?** | | [optional]
+**Int64Positive** | **int?** | | [optional]
+**Int64Negative** | **int?** | | [optional]
+**Int64PositiveExclusive** | **int?** | | [optional]
+**Int64NegativeExclusive** | **int?** | | [optional]
+**UnsignedInteger** | **uint?** | | [optional]
+**Int64** | **long?** | | [optional]
+**UnsignedLong** | **ulong?** | | [optional]
**Number** | **decimal** | |
-**Float** | **float** | | [optional]
-**Double** | **double** | | [optional]
-**Decimal** | **decimal** | | [optional]
+**Float** | **float?** | | [optional]
+**Double** | **double?** | | [optional]
+**Decimal** | **decimal?** | | [optional]
**String** | **string** | | [optional]
**Byte** | **byte[]** | |
**Binary** | [**FileParameter**](FileParameter.md) | | [optional]
**Date** | **DateTime** | |
-**DateTime** | **DateTime** | | [optional]
-**Uuid** | **Guid** | | [optional]
+**DateTime** | **DateTime?** | | [optional]
+**Uuid** | **Guid?** | | [optional]
**Password** | **string** | |
**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]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Fruit.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Fruit.md
index 40df92d7c9b1..05aed3a2642b 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Fruit.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Fruit.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Cultivar** | **string** | | [optional]
**Origin** | **string** | | [optional]
**ColorCode** | **string** | | [optional]
-**LengthCm** | **decimal** | | [optional]
+**LengthCm** | **decimal?** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FruitReq.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FruitReq.md
index 5db6b0e2d1d8..8f072a324cb0 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FruitReq.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/FruitReq.md
@@ -5,9 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Cultivar** | **string** | |
-**Mealy** | **bool** | | [optional]
+**Mealy** | **bool?** | | [optional]
**LengthCm** | **decimal** | |
-**Sweet** | **bool** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/GmFruit.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/GmFruit.md
index da7b3a6ccf9f..265348eca479 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/GmFruit.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/GmFruit.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Cultivar** | **string** | | [optional]
**Origin** | **string** | | [optional]
**ColorCode** | **string** | | [optional]
-**LengthCm** | **decimal** | | [optional]
+**LengthCm** | **decimal?** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Mammal.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Mammal.md
index aab8f4db9c75..75172cd3d506 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Mammal.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Mammal.md
@@ -4,8 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**HasBaleen** | **bool** | | [optional]
-**HasTeeth** | **bool** | | [optional]
+**HasBaleen** | **bool?** | | [optional]
+**HasTeeth** | **bool?** | | [optional]
**ClassName** | **string** | |
**Type** | **string** | | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MapTest.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MapTest.md
index 516f9d4fd37e..07c245718f12 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MapTest.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MapTest.md
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**MapMapOfString** | **Dictionary<string, Dictionary<string, string>>** | | [optional]
**MapOfEnumString** | **Dictionary<string, MapTest.InnerEnum>** | | [optional]
-**DirectMap** | **Dictionary<string, bool>** | | [optional]
-**IndirectMap** | **Dictionary<string, bool>** | | [optional]
+**DirectMap** | **Dictionary<string, bool?>** | | [optional]
+**IndirectMap** | **Dictionary<string, 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/httpclient/standard2.0/Petstore/docs/MixLog.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MixLog.md
index 1872e30daaa3..59943e8898e5 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MixLog.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MixLog.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **Guid** | |
**Description** | **string** | |
**MixDate** | **DateTime** | |
-**ShopId** | **Guid** | | [optional]
+**ShopId** | **Guid?** | | [optional]
**TotalPrice** | **float?** | | [optional]
**TotalRecalculations** | **int** | |
**TotalOverPoors** | **int** | |
@@ -35,7 +35,7 @@ Name | Type | Description | Notes
**PrimerProductId** | **string** | | [optional]
**ProductId** | **string** | ProductId is only required for color mixes | [optional]
**ProductName** | **string** | ProductName is only required for color mixes | [optional]
-**SelectedVersionIndex** | **int** | | [optional]
+**SelectedVersionIndex** | **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/httpclient/standard2.0/Petstore/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MixedPropertiesAndAdditionalPropertiesClass.md
index 050210a3e371..81d4a847dbe2 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MixedPropertiesAndAdditionalPropertiesClass.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -4,9 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**UuidWithPattern** | **Guid** | | [optional]
-**Uuid** | **Guid** | | [optional]
-**DateTime** | **DateTime** | | [optional]
+**UuidWithPattern** | **Guid?** | | [optional]
+**Uuid** | **Guid?** | | [optional]
+**DateTime** | **DateTime?** | | [optional]
**Map** | [**Dictionary<string, Animal>**](Animal.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/httpclient/standard2.0/Petstore/docs/Model200Response.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Model200Response.md
index 31f4d86fe43d..820f058bf221 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Model200Response.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Model200Response.md
@@ -5,7 +5,7 @@ Model for testing model name starting with number
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **int** | | [optional]
+**Name** | **int?** | | [optional]
**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/httpclient/standard2.0/Petstore/docs/Name.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Name.md
index 3e19db154a80..e440a45f0ae1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Name.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Name.md
@@ -6,9 +6,9 @@ Model for testing model name same as property name
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VarName** | **int** | |
-**SnakeCase** | **int** | | [optional] [readonly]
+**SnakeCase** | **int?** | | [optional] [readonly]
**Property** | **string** | | [optional]
-**Var123Number** | **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/httpclient/standard2.0/Petstore/docs/NumberOnly.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/NumberOnly.md
index 14a7c0f1071b..1af131f829ec 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/NumberOnly.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/NumberOnly.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**JustNumber** | **decimal** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ObjectWithDeprecatedFields.md
index 7a335d446f4b..20391539c912 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ObjectWithDeprecatedFields.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/ObjectWithDeprecatedFields.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Uuid** | **string** | | [optional]
-**Id** | **decimal** | | [optional]
+**Id** | **decimal?** | | [optional]
**DeprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional]
**Bars** | **List<string>** | | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Order.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Order.md
index 66c55c3b4737..1202b46b44ce 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Order.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Order.md
@@ -4,12 +4,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
-**PetId** | **long** | | [optional]
-**Quantity** | **int** | | [optional]
-**ShipDate** | **DateTime** | | [optional]
+**Id** | **long?** | | [optional]
+**PetId** | **long?** | | [optional]
+**Quantity** | **int?** | | [optional]
+**ShipDate** | **DateTime?** | | [optional]
**Status** | **string** | Order Status | [optional]
-**Complete** | **bool** | | [optional] [default to false]
+**Complete** | **bool?** | | [optional] [default to false]
[[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/httpclient/standard2.0/Petstore/docs/OuterComposite.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/OuterComposite.md
index eb42bcc1aaa4..71ca9b879223 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/OuterComposite.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/OuterComposite.md
@@ -4,9 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**MyNumber** | **decimal** | | [optional]
+**MyNumber** | **decimal?** | | [optional]
**MyString** | **string** | | [optional]
-**MyBoolean** | **bool** | | [optional]
+**MyBoolean** | **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/httpclient/standard2.0/Petstore/docs/Pet.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Pet.md
index c7224764e2d4..a54829f9a8e2 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Pet.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Pet.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**Id** | **long?** | | [optional]
**Category** | [**Category**](Category.md) | | [optional]
**Name** | **string** | |
**PhotoUrls** | **List<string>** | |
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/PetApi.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/PetApi.md
index 7e996cb99b9c..1cee6d7bc2df 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/PetApi.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/PetApi.md
@@ -108,7 +108,7 @@ void (empty response body)
# **DeletePet**
-> void DeletePet (long petId, string apiKey = null)
+> void DeletePet (long? petId, string apiKey = null)
Deletes a pet
@@ -136,7 +136,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new PetApi(httpClient, config, httpClientHandler);
- var petId = 789L; // long | Pet id to delete
+ var petId = 789L; // long? | Pet id to delete
var apiKey = "apiKey_example"; // string | (optional)
try
@@ -176,7 +176,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **petId** | **long** | Pet id to delete | |
+| **petId** | **long?** | Pet id to delete | |
| **apiKey** | **string** | | [optional] |
### Return type
@@ -402,7 +402,7 @@ catch (ApiException e)
# **GetPetById**
-> Pet GetPetById (long petId)
+> Pet GetPetById (long? petId)
Find pet by ID
@@ -438,7 +438,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new PetApi(httpClient, config, httpClientHandler);
- var petId = 789L; // long | ID of pet to return
+ var petId = 789L; // long? | ID of pet to return
try
{
@@ -481,7 +481,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **petId** | **long** | ID of pet to return | |
+| **petId** | **long?** | ID of pet to return | |
### Return type
@@ -602,7 +602,7 @@ void (empty response body)
# **UpdatePetWithForm**
-> void UpdatePetWithForm (long petId, string name = null, string status = null)
+> void UpdatePetWithForm (long? petId, string name = null, string status = null)
Updates a pet in the store with form data
@@ -630,7 +630,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new PetApi(httpClient, config, httpClientHandler);
- var petId = 789L; // long | ID of pet that needs to be updated
+ 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)
@@ -671,7 +671,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **petId** | **long** | ID of pet that needs to be updated | |
+| **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] |
@@ -698,7 +698,7 @@ void (empty response body)
# **UploadFile**
-> ApiResponse UploadFile (long petId, string additionalMetadata = null, FileParameter file = null)
+> ApiResponse UploadFile (long? petId, string additionalMetadata = null, FileParameter file = null)
uploads an image
@@ -726,7 +726,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new PetApi(httpClient, config, httpClientHandler);
- var petId = 789L; // long | ID of pet to update
+ var petId = 789L; // long? | ID of pet to update
var additionalMetadata = "additionalMetadata_example"; // string | Additional data to pass to server (optional)
var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | file to upload (optional)
@@ -771,7 +771,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **petId** | **long** | ID of pet to update | |
+| **petId** | **long?** | ID of pet to update | |
| **additionalMetadata** | **string** | Additional data to pass to server | [optional] |
| **file** | **FileParameter****FileParameter** | file to upload | [optional] |
@@ -798,7 +798,7 @@ catch (ApiException e)
# **UploadFileWithRequiredFile**
-> ApiResponse UploadFileWithRequiredFile (long petId, FileParameter requiredFile, string additionalMetadata = null)
+> ApiResponse UploadFileWithRequiredFile (long? petId, FileParameter requiredFile, string additionalMetadata = null)
uploads an image (required)
@@ -826,7 +826,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new PetApi(httpClient, config, httpClientHandler);
- var petId = 789L; // long | ID of pet to update
+ var petId = 789L; // long? | ID of pet to update
var requiredFile = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | file to upload
var additionalMetadata = "additionalMetadata_example"; // string | Additional data to pass to server (optional)
@@ -871,7 +871,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **petId** | **long** | ID of pet to update | |
+| **petId** | **long?** | ID of pet to update | |
| **requiredFile** | **FileParameter****FileParameter** | file to upload | |
| **additionalMetadata** | **string** | Additional data to pass to server | [optional] |
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RequiredClass.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RequiredClass.md
index 07b6f018f6c1..018f2a832832 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RequiredClass.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RequiredClass.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**RequiredNullableIntegerProp** | **int?** | |
**RequiredNotnullableintegerProp** | **int** | |
**NotRequiredNullableIntegerProp** | **int?** | | [optional]
-**NotRequiredNotnullableintegerProp** | **int** | | [optional]
+**NotRequiredNotnullableintegerProp** | **int?** | | [optional]
**RequiredNullableStringProp** | **string** | |
**RequiredNotnullableStringProp** | **string** | |
**NotrequiredNullableStringProp** | **string** | | [optional]
@@ -15,23 +15,23 @@ Name | Type | Description | Notes
**RequiredNullableBooleanProp** | **bool?** | |
**RequiredNotnullableBooleanProp** | **bool** | |
**NotrequiredNullableBooleanProp** | **bool?** | | [optional]
-**NotrequiredNotnullableBooleanProp** | **bool** | | [optional]
+**NotrequiredNotnullableBooleanProp** | **bool?** | | [optional]
**RequiredNullableDateProp** | **DateTime?** | |
**RequiredNotNullableDateProp** | **DateTime** | |
**NotRequiredNullableDateProp** | **DateTime?** | | [optional]
-**NotRequiredNotnullableDateProp** | **DateTime** | | [optional]
+**NotRequiredNotnullableDateProp** | **DateTime?** | | [optional]
**RequiredNotnullableDatetimeProp** | **DateTime** | |
**RequiredNullableDatetimeProp** | **DateTime?** | |
**NotrequiredNullableDatetimeProp** | **DateTime?** | | [optional]
-**NotrequiredNotnullableDatetimeProp** | **DateTime** | | [optional]
+**NotrequiredNotnullableDatetimeProp** | **DateTime?** | | [optional]
**RequiredNullableEnumInteger** | **int?** | |
**RequiredNotnullableEnumInteger** | **int** | |
**NotrequiredNullableEnumInteger** | **int?** | | [optional]
-**NotrequiredNotnullableEnumInteger** | **int** | | [optional]
+**NotrequiredNotnullableEnumInteger** | **int?** | | [optional]
**RequiredNullableEnumIntegerOnly** | **int?** | |
**RequiredNotnullableEnumIntegerOnly** | **int** | |
**NotrequiredNullableEnumIntegerOnly** | **int?** | | [optional]
-**NotrequiredNotnullableEnumIntegerOnly** | **int** | | [optional]
+**NotrequiredNotnullableEnumIntegerOnly** | **int?** | | [optional]
**RequiredNotnullableEnumString** | **string** | |
**RequiredNullableEnumString** | **string** | |
**NotrequiredNullableEnumString** | **string** | | [optional]
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
**RequiredNullableUuid** | **Guid?** | |
**RequiredNotnullableUuid** | **Guid** | |
**NotrequiredNullableUuid** | **Guid?** | | [optional]
-**NotrequiredNotnullableUuid** | **Guid** | | [optional]
+**NotrequiredNotnullableUuid** | **Guid?** | | [optional]
**RequiredNullableArrayOfString** | **List<string>** | |
**RequiredNotnullableArrayOfString** | **List<string>** | |
**NotrequiredNullableArrayOfString** | **List<string>** | | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Return.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Return.md
index a10daf95cf1d..d554c7612cbe 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Return.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Return.md
@@ -5,7 +5,7 @@ Model for testing reserved words
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**VarReturn** | **int** | | [optional]
+**VarReturn** | **int?** | | [optional]
**Lock** | **string** | |
**Abstract** | **string** | |
**Unsafe** | **string** | | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RolesReportsHash.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RolesReportsHash.md
index 309b0c02615c..52bb81a7dab6 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RolesReportsHash.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/RolesReportsHash.md
@@ -5,7 +5,7 @@ Role report Hash
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**RoleUuid** | **Guid** | | [optional]
+**RoleUuid** | **Guid?** | | [optional]
**Role** | [**RolesReportsHashRole**](RolesReportsHashRole.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/httpclient/standard2.0/Petstore/docs/SpecialModelName.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/SpecialModelName.md
index 7f8ffca34fa1..6d9805d03479 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/SpecialModelName.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/SpecialModelName.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**SpecialPropertyName** | **long** | | [optional]
+**SpecialPropertyName** | **long?** | | [optional]
**VarSpecialModelName** | **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/httpclient/standard2.0/Petstore/docs/StoreApi.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/StoreApi.md
index f9552813fa38..5ff4a691022f 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/StoreApi.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/StoreApi.md
@@ -103,7 +103,7 @@ No authorization required
# **GetInventory**
-> Dictionary<string, int> GetInventory ()
+> Dictionary<string, int?> GetInventory ()
Returns pet inventories by status
@@ -139,7 +139,7 @@ namespace Example
try
{
// Returns pet inventories by status
- Dictionary result = apiInstance.GetInventory();
+ Dictionary result = apiInstance.GetInventory();
Debug.WriteLine(result);
}
catch (ApiException e)
@@ -160,7 +160,7 @@ This returns an ApiResponse object which contains the response data, status code
try
{
// Returns pet inventories by status
- ApiResponse> response = apiInstance.GetInventoryWithHttpInfo();
+ ApiResponse> response = apiInstance.GetInventoryWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
@@ -177,7 +177,7 @@ catch (ApiException e)
This endpoint does not need any parameter.
### Return type
-**Dictionary**
+**Dictionary**
### Authorization
@@ -198,7 +198,7 @@ This endpoint does not need any parameter.
# **GetOrderById**
-> Order GetOrderById (long orderId)
+> Order GetOrderById (long? orderId)
Find purchase order by ID
@@ -225,7 +225,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new StoreApi(httpClient, config, httpClientHandler);
- var orderId = 789L; // long | ID of pet that needs to be fetched
+ var orderId = 789L; // long? | ID of pet that needs to be fetched
try
{
@@ -268,7 +268,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **orderId** | **long** | ID of pet that needs to be fetched | |
+| **orderId** | **long?** | ID of pet that needs to be fetched | |
### Return type
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Tag.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Tag.md
index fdd22eb31fdd..f86abfc26e02 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Tag.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Tag.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**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/httpclient/standard2.0/Petstore/docs/User.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/User.md
index b0cd4dc042bf..da9b34219d84 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/User.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/User.md
@@ -4,14 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **long** | | [optional]
+**Id** | **long?** | | [optional]
**Username** | **string** | | [optional]
**FirstName** | **string** | | [optional]
**LastName** | **string** | | [optional]
**Email** | **string** | | [optional]
**Password** | **string** | | [optional]
**Phone** | **string** | | [optional]
-**UserStatus** | **int** | User Status | [optional]
+**UserStatus** | **int?** | User Status | [optional]
**ObjectWithNoDeclaredProps** | **Object** | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional]
**ObjectWithNoDeclaredPropsNullable** | **Object** | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional]
**AnyTypeProp** | **Object** | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 | [optional]
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Whale.md b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Whale.md
index 5fc3dc7f85c2..a1512d751e8e 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Whale.md
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/docs/Whale.md
@@ -4,8 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**HasBaleen** | **bool** | | [optional]
-**HasTeeth** | **bool** | | [optional]
+**HasBaleen** | **bool?** | | [optional]
+**HasTeeth** | **bool?** | | [optional]
**ClassName** | **string** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs
index 82d443f3b6dd..6cb8c8585ac1 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs
@@ -68,8 +68,8 @@ public interface IDefaultApiSync : IApiAccessor
/// Hello
///
/// Thrown when fails to make API call
- /// List<Guid>
- List Hello();
+ /// List<Guid?>
+ List Hello();
///
/// Hello
@@ -78,8 +78,8 @@ public interface IDefaultApiSync : IApiAccessor
/// Hello
///
/// Thrown when fails to make API call
- /// ApiResponse of List<Guid>
- ApiResponse> HelloWithHttpInfo();
+ /// ApiResponse of List<Guid?>
+ ApiResponse> HelloWithHttpInfo();
///
///
///
@@ -173,8 +173,8 @@ public interface IDefaultApiAsync : IApiAccessor
///
/// Thrown when fails to make API call
/// Cancellation Token to cancel the request.
- /// Task of List<Guid>
- System.Threading.Tasks.Task> HelloAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ /// Task of List<Guid?>
+ System.Threading.Tasks.Task> HelloAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
///
/// Hello
@@ -184,8 +184,8 @@ public interface IDefaultApiAsync : IApiAccessor
///
/// Thrown when fails to make API call
/// Cancellation Token to cancel the request.
- /// Task of ApiResponse (List<Guid>)
- System.Threading.Tasks.Task>> HelloWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ /// Task of ApiResponse (List<Guid?>)
+ System.Threading.Tasks.Task>> HelloWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
///
///
///
@@ -659,10 +659,10 @@ public Org.OpenAPITools.Client.ApiResponse
/// Thrown when fails to make API call
- /// List<Guid>
- public List Hello()
+ /// List<Guid?>
+ public List Hello()
{
- Org.OpenAPITools.Client.ApiResponse> localVarResponse = HelloWithHttpInfo();
+ Org.OpenAPITools.Client.ApiResponse> localVarResponse = HelloWithHttpInfo();
return localVarResponse.Data;
}
@@ -670,8 +670,8 @@ public List Hello()
/// Hello Hello
///
/// Thrown when fails to make API call
- /// ApiResponse of List<Guid>
- public Org.OpenAPITools.Client.ApiResponse> HelloWithHttpInfo()
+ /// ApiResponse of List<Guid?>
+ public Org.OpenAPITools.Client.ApiResponse> HelloWithHttpInfo()
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -692,7 +692,7 @@ public Org.OpenAPITools.Client.ApiResponse> HelloWithHttpInfo()
// make the HTTP request
- var localVarResponse = this.Client.Get>("/hello", localVarRequestOptions, this.Configuration);
+ var localVarResponse = this.Client.Get>("/hello", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null)
{
@@ -708,10 +708,10 @@ public Org.OpenAPITools.Client.ApiResponse> HelloWithHttpInfo()
///
/// Thrown when fails to make API call
/// Cancellation Token to cancel the request.
- /// Task of List<Guid>
- public async System.Threading.Tasks.Task> HelloAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ /// Task of List<Guid?>
+ public async System.Threading.Tasks.Task> HelloAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse> localVarResponse = await HelloWithHttpInfoAsync(cancellationToken).ConfigureAwait(false);
+ Org.OpenAPITools.Client.ApiResponse> localVarResponse = await HelloWithHttpInfoAsync(cancellationToken).ConfigureAwait(false);
return localVarResponse.Data;
}
@@ -720,8 +720,8 @@ public Org.OpenAPITools.Client.ApiResponse> HelloWithHttpInfo()
///
/// Thrown when fails to make API call
/// Cancellation Token to cancel the request.
- /// Task of ApiResponse (List<Guid>)
- public async System.Threading.Tasks.Task>> HelloWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ /// Task of ApiResponse (List<Guid?>)
+ public async System.Threading.Tasks.Task>> HelloWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -745,7 +745,7 @@ public Org.OpenAPITools.Client.ApiResponse> HelloWithHttpInfo()
// make the HTTP request
- var localVarResponse = await this.AsynchronousClient.GetAsync>("/hello", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+ var localVarResponse = await this.AsynchronousClient.GetAsync>("/hello", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
if (this.ExceptionFactory != null)
{
diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs
index 23a1a1809ba2..d4ac42a7b3f5 100644
--- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs
+++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs
@@ -51,8 +51,8 @@ public interface IFakeApiSync : IApiAccessor
///
/// Thrown when fails to make API call
/// Input boolean as post body (optional)
- /// bool
- bool FakeOuterBooleanSerialize(bool? body = default(bool?));
+ /// bool?
+ bool? FakeOuterBooleanSerialize(bool? body = default(bool?));
///
///
@@ -62,8 +62,8 @@ public interface IFakeApiSync : IApiAccessor
///
/// Thrown when fails to make API call
/// Input boolean as post body (optional)
- /// ApiResponse of bool
- ApiResponse FakeOuterBooleanSerializeWithHttpInfo(bool? body = default(bool?));
+ /// ApiResponse of bool?
+ ApiResponse FakeOuterBooleanSerializeWithHttpInfo(bool? body = default(bool?));
///
///
///
@@ -93,8 +93,8 @@ public interface IFakeApiSync : IApiAccessor
///
/// Thrown when fails to make API call
/// Input number as post body (optional)
- /// decimal
- decimal FakeOuterNumberSerialize(decimal? body = default(decimal?));
+ /// decimal?
+ decimal? FakeOuterNumberSerialize(decimal? body = default(decimal?));
///
///
@@ -104,8 +104,8 @@ public interface IFakeApiSync : IApiAccessor
///
/// Thrown when fails to make API call
/// Input number as post body (optional)
- /// ApiResponse of decimal
- ApiResponse FakeOuterNumberSerializeWithHttpInfo(decimal? body = default(decimal?));
+ /// ApiResponse of decimal?
+ ApiResponse FakeOuterNumberSerializeWithHttpInfo(decimal? body = default(decimal?));
///
///
///
@@ -116,7 +116,7 @@ public interface IFakeApiSync : IApiAccessor
/// Required UUID String
/// Input string as post body (optional)
/// string
- string FakeOuterStringSerialize(Guid requiredStringUuid, string body = default(string));
+ string FakeOuterStringSerialize(Guid? requiredStringUuid, string body = default(string));
///
///
@@ -128,7 +128,7 @@ public interface IFakeApiSync : IApiAccessor
/// Required UUID String
/// Input string as post body (optional)
/// ApiResponse of string
- ApiResponse FakeOuterStringSerializeWithHttpInfo(Guid requiredStringUuid, string body = default(string));
+ ApiResponse FakeOuterStringSerializeWithHttpInfo(Guid? requiredStringUuid, string body = default(string));
///
/// Array of Enums
///
@@ -279,7 +279,7 @@ public interface IFakeApiSync : IApiAccessor
/// None (optional)
/// None (optional)
///
- void TestEndpointParameters(decimal number, double varDouble, string patternWithoutDelimiter, byte[] varByte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? varFloat = default(float?), string varString = default(string), FileParameter binary = default(FileParameter), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string));
+ void TestEndpointParameters(decimal? number, double? varDouble, string patternWithoutDelimiter, byte[] varByte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? varFloat = default(float?), string varString = default(string), FileParameter binary = default(FileParameter), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string));
///
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -303,7 +303,7 @@ public interface IFakeApiSync : IApiAccessor
/// None (optional)
/// None (optional)
/// ApiResponse of Object(void)
- ApiResponse