Renaming foreach variable to avoid name conflict with the possible input parameter named value (#4232)

This commit is contained in:
Hassan Paknia
2019-10-23 09:51:52 -07:00
committed by William Cheng
parent b56a9d907c
commit 5766fca98b
120 changed files with 2072 additions and 470 deletions
@@ -264,9 +264,9 @@ namespace {{packageName}}.{{apiPackage}}
{
foreach (var kvp in {{packageName}}.Client.ClientUtils.ParameterToMultiMap("{{#collectionFormat}}{{collectionFormat}}{{/collectionFormat}}", "{{baseName}}", {{paramName}}))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -304,9 +304,9 @@ namespace {{packageName}}.{{apiPackage}}
{
foreach (var kvp in {{packageName}}.Client.ClientUtils.ParameterToMultiMap("", "{{keyParamName}}", this.Configuration.GetApiKeyWithPrefix("{{keyParamName}}")))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -404,9 +404,9 @@ namespace {{packageName}}.{{apiPackage}}
{
foreach (var kvp in {{packageName}}.Client.ClientUtils.ParameterToMultiMap("{{#collectionFormat}}{{collectionFormat}}{{/collectionFormat}}", "{{baseName}}", {{paramName}}))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -444,9 +444,9 @@ namespace {{packageName}}.{{apiPackage}}
{
foreach (var kvp in {{packageName}}.Client.ClientUtils.ParameterToMultiMap("", "{{keyParamName}}", this.Configuration.GetApiKeyWithPrefix("{{keyParamName}}")))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.0-SNAPSHOT
@@ -1575,9 +1575,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1648,9 +1648,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2149,9 +2149,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "enum_query_string_array", enumQueryStringArray))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2159,9 +2159,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_string", enumQueryString))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2169,9 +2169,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_integer", enumQueryInteger))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2179,9 +2179,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_double", enumQueryDouble))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2267,9 +2267,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "enum_query_string_array", enumQueryStringArray))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2277,9 +2277,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_string", enumQueryString))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2287,9 +2287,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_integer", enumQueryInteger))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2297,9 +2297,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_double", enumQueryDouble))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2390,9 +2390,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2400,9 +2400,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2410,9 +2410,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "string_group", stringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2420,9 +2420,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "int64_group", int64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2507,9 +2507,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2517,9 +2517,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2527,9 +2527,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "string_group", stringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2537,9 +2537,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "int64_group", int64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2878,9 +2878,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "pipe", pipe))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2888,9 +2888,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2898,9 +2898,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("space", "http", http))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2908,9 +2908,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "url", url))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2918,9 +2918,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "context", context))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3007,9 +3007,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "pipe", pipe))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3017,9 +3017,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3027,9 +3027,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("space", "http", http))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3037,9 +3037,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "url", url))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3047,9 +3047,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "context", context))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -246,9 +246,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "api_key_query", this.Configuration.GetApiKeyWithPrefix("api_key_query")))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -316,9 +316,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "api_key_query", this.Configuration.GetApiKeyWithPrefix("api_key_query")))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -865,9 +865,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -939,9 +939,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1011,9 +1011,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1085,9 +1085,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1107,9 +1107,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1117,9 +1117,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1191,9 +1191,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1201,9 +1201,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1575,9 +1575,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1648,9 +1648,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2149,9 +2149,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "enum_query_string_array", enumQueryStringArray))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2159,9 +2159,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_string", enumQueryString))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2169,9 +2169,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_integer", enumQueryInteger))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2179,9 +2179,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_double", enumQueryDouble))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2267,9 +2267,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "enum_query_string_array", enumQueryStringArray))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2277,9 +2277,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_string", enumQueryString))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2287,9 +2287,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_integer", enumQueryInteger))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2297,9 +2297,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "enum_query_double", enumQueryDouble))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2390,9 +2390,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2400,9 +2400,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2410,9 +2410,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "string_group", stringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2420,9 +2420,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "int64_group", int64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2507,9 +2507,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2517,9 +2517,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2527,9 +2527,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "string_group", stringGroup))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2537,9 +2537,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "int64_group", int64Group))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2878,9 +2878,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "pipe", pipe))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2888,9 +2888,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2898,9 +2898,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("space", "http", http))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2908,9 +2908,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "url", url))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -2918,9 +2918,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "context", context))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3007,9 +3007,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "pipe", pipe))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3017,9 +3017,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3027,9 +3027,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("space", "http", http))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3037,9 +3037,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "url", url))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -3047,9 +3047,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "context", context))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -246,9 +246,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "api_key_query", this.Configuration.GetApiKeyWithPrefix("api_key_query")))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -316,9 +316,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "api_key_query", this.Configuration.GetApiKeyWithPrefix("api_key_query")))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -865,9 +865,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -939,9 +939,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1011,9 +1011,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1085,9 +1085,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1107,9 +1107,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1117,9 +1117,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1191,9 +1191,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1201,9 +1201,9 @@ namespace Org.OpenAPITools.Api
{
foreach (var kvp in Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password))
{
foreach (var value in kvp.Value)
foreach (var kvpValue in kvp.Value)
{
requestOptions.QueryParameters.Add(kvp.Key, value);
requestOptions.QueryParameters.Add(kvp.Key, kvpValue);
}
}
}
@@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.0-SNAPSHOT
@@ -119,6 +119,7 @@ Class | Method | HTTP request | Description
*FakeApi* | [**TestGroupParameters**](docs/FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*FakeApi* | [**TestInlineAdditionalProperties**](docs/FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*FakeApi* | [**TestJsonFormData**](docs/FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
*FakeApi* | [**TestQueryParameterCollectionFormat**](docs/FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
*FakeClassnameTags123Api* | [**TestClassname**](docs/FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
*PetApi* | [**AddPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
*PetApi* | [**DeletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
@@ -17,6 +17,7 @@ Method | HTTP request | Description
[**TestGroupParameters**](FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**TestInlineAdditionalProperties**](FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
[**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
@@ -1034,3 +1035,84 @@ No authorization required
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## TestQueryParameterCollectionFormat
> void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
To test the collection format in query parameters
### Example
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class TestQueryParameterCollectionFormatExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(Configuration.Default);
var pipe = new List<string>(); // List<string> |
var ioutil = new List<string>(); // List<string> |
var http = new List<string>(); // List<string> |
var url = new List<string>(); // List<string> |
var context = new List<string>(); // List<string> |
try
{
apiInstance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
}
catch (ApiException e)
{
Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormat: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pipe** | [**List&lt;string&gt;**](string.md)| |
**ioutil** | [**List&lt;string&gt;**](string.md)| |
**http** | [**List&lt;string&gt;**](string.md)| |
**url** | [**List&lt;string&gt;**](string.md)| |
**context** | [**List&lt;string&gt;**](string.md)| |
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | - |
[[Back to top]](#)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**DateTime** | **DateTime** | | [optional]
**Uuid** | **Guid** | | [optional]
**Password** | **string** | |
**BigDecimal** | **decimal** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Foo** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Foo** | **string** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_Name** | **int** | |
**SnakeCase** | **int** | | [optional]
**SnakeCase** | **int** | | [optional] [readonly]
**Property** | **string** | | [optional]
**_123Number** | **int** | | [optional]
**_123Number** | **int** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Baz** | **string** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StringItem** | **string** | |
**NumberItem** | **decimal** | |
**FloatItem** | **float** | |
**IntegerItem** | **int** | |
**BoolItem** | **bool** | |
**ArrayItem** | **List&lt;int&gt;** | |
@@ -1,11 +1,17 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
if [ "$git_user_id" = "" ]; then
git_user_id="GIT_USER_ID"
@@ -37,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
fi
fi
@@ -47,6 +53,6 @@ fi
git pull origin master
# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
@@ -351,6 +351,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestJsonFormDataWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Synchronous Operations
}
@@ -1473,5 +1502,93 @@ namespace Org.OpenAPITools.Api
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
public void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "/fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Name, x => string.Join(",", x.Value)),
null);
}
}
}
@@ -51,7 +51,8 @@ namespace Org.OpenAPITools.Model
/// <param name="dateTime">dateTime.</param>
/// <param name="uuid">uuid.</param>
/// <param name="password">password (required).</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
/// <param name="bigDecimal">bigDecimal.</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
{
// to ensure "number" is required (not null)
if (number == null)
@@ -102,6 +103,7 @@ namespace Org.OpenAPITools.Model
this.Binary = binary;
this.DateTime = dateTime;
this.Uuid = uuid;
this.BigDecimal = bigDecimal;
}
/// <summary>
@@ -183,6 +185,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="password", EmitDefaultValue=false)]
public string Password { get; set; }
/// <summary>
/// Gets or Sets BigDecimal
/// </summary>
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
public decimal BigDecimal { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
@@ -204,6 +212,7 @@ namespace Org.OpenAPITools.Model
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
sb.Append(" Password: ").Append(Password).Append("\n");
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -302,6 +311,11 @@ namespace Org.OpenAPITools.Model
this.Password == input.Password ||
(this.Password != null &&
this.Password.Equals(input.Password))
) &&
(
this.BigDecimal == input.BigDecimal ||
(this.BigDecimal != null &&
this.BigDecimal.Equals(input.BigDecimal))
);
}
@@ -340,6 +354,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
if (this.Password != null)
hashCode = hashCode * 59 + this.Password.GetHashCode();
if (this.BigDecimal != null)
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
return hashCode;
}
}
@@ -40,10 +40,11 @@ namespace Org.OpenAPITools.Model
/// </summary>
/// <param name="stringItem">stringItem (required).</param>
/// <param name="numberItem">numberItem (required).</param>
/// <param name="floatItem">floatItem (required).</param>
/// <param name="integerItem">integerItem (required).</param>
/// <param name="boolItem">boolItem (required).</param>
/// <param name="arrayItem">arrayItem (required).</param>
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), float floatItem = default(float), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
{
// to ensure "stringItem" is required (not null)
if (stringItem == null)
@@ -65,6 +66,16 @@ namespace Org.OpenAPITools.Model
this.NumberItem = numberItem;
}
// to ensure "floatItem" is required (not null)
if (floatItem == null)
{
throw new InvalidDataException("floatItem is a required property for TypeHolderExample and cannot be null");
}
else
{
this.FloatItem = floatItem;
}
// to ensure "integerItem" is required (not null)
if (integerItem == null)
{
@@ -109,6 +120,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="number_item", EmitDefaultValue=false)]
public decimal NumberItem { get; set; }
/// <summary>
/// Gets or Sets FloatItem
/// </summary>
[DataMember(Name="float_item", EmitDefaultValue=false)]
public float FloatItem { get; set; }
/// <summary>
/// Gets or Sets IntegerItem
/// </summary>
@@ -137,6 +154,7 @@ namespace Org.OpenAPITools.Model
sb.Append("class TypeHolderExample {\n");
sb.Append(" StringItem: ").Append(StringItem).Append("\n");
sb.Append(" NumberItem: ").Append(NumberItem).Append("\n");
sb.Append(" FloatItem: ").Append(FloatItem).Append("\n");
sb.Append(" IntegerItem: ").Append(IntegerItem).Append("\n");
sb.Append(" BoolItem: ").Append(BoolItem).Append("\n");
sb.Append(" ArrayItem: ").Append(ArrayItem).Append("\n");
@@ -184,6 +202,11 @@ namespace Org.OpenAPITools.Model
(this.NumberItem != null &&
this.NumberItem.Equals(input.NumberItem))
) &&
(
this.FloatItem == input.FloatItem ||
(this.FloatItem != null &&
this.FloatItem.Equals(input.FloatItem))
) &&
(
this.IntegerItem == input.IntegerItem ||
(this.IntegerItem != null &&
@@ -215,6 +238,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.StringItem.GetHashCode();
if (this.NumberItem != null)
hashCode = hashCode * 59 + this.NumberItem.GetHashCode();
if (this.FloatItem != null)
hashCode = hashCode * 59 + this.FloatItem.GetHashCode();
if (this.IntegerItem != null)
hashCode = hashCode * 59 + this.IntegerItem.GetHashCode();
if (this.BoolItem != null)
@@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.0-SNAPSHOT
@@ -119,6 +119,7 @@ Class | Method | HTTP request | Description
*FakeApi* | [**TestGroupParameters**](docs/FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*FakeApi* | [**TestInlineAdditionalProperties**](docs/FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*FakeApi* | [**TestJsonFormData**](docs/FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
*FakeApi* | [**TestQueryParameterCollectionFormat**](docs/FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
*FakeClassnameTags123Api* | [**TestClassname**](docs/FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
*PetApi* | [**AddPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
*PetApi* | [**DeletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
@@ -17,6 +17,7 @@ Method | HTTP request | Description
[**TestGroupParameters**](FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**TestInlineAdditionalProperties**](FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
[**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
@@ -1034,3 +1035,84 @@ No authorization required
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## TestQueryParameterCollectionFormat
> void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
To test the collection format in query parameters
### Example
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class TestQueryParameterCollectionFormatExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(Configuration.Default);
var pipe = new List<string>(); // List<string> |
var ioutil = new List<string>(); // List<string> |
var http = new List<string>(); // List<string> |
var url = new List<string>(); // List<string> |
var context = new List<string>(); // List<string> |
try
{
apiInstance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
}
catch (ApiException e)
{
Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormat: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pipe** | [**List&lt;string&gt;**](string.md)| |
**ioutil** | [**List&lt;string&gt;**](string.md)| |
**http** | [**List&lt;string&gt;**](string.md)| |
**url** | [**List&lt;string&gt;**](string.md)| |
**context** | [**List&lt;string&gt;**](string.md)| |
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | - |
[[Back to top]](#)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**DateTime** | **DateTime** | | [optional]
**Uuid** | **Guid** | | [optional]
**Password** | **string** | |
**BigDecimal** | **decimal** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Foo** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Foo** | **string** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_Name** | **int** | |
**SnakeCase** | **int** | | [optional]
**SnakeCase** | **int** | | [optional] [readonly]
**Property** | **string** | | [optional]
**_123Number** | **int** | | [optional]
**_123Number** | **int** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Baz** | **string** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StringItem** | **string** | |
**NumberItem** | **decimal** | |
**FloatItem** | **float** | |
**IntegerItem** | **int** | |
**BoolItem** | **bool** | |
**ArrayItem** | **List&lt;int&gt;** | |
@@ -1,11 +1,17 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
if [ "$git_user_id" = "" ]; then
git_user_id="GIT_USER_ID"
@@ -37,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
fi
fi
@@ -47,6 +53,6 @@ fi
git pull origin master
# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
@@ -351,6 +351,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestJsonFormDataWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Synchronous Operations
}
@@ -1473,5 +1502,93 @@ namespace Org.OpenAPITools.Api
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
public void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "/fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Name, x => string.Join(",", x.Value)),
null);
}
}
}
@@ -51,7 +51,8 @@ namespace Org.OpenAPITools.Model
/// <param name="dateTime">dateTime.</param>
/// <param name="uuid">uuid.</param>
/// <param name="password">password (required).</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
/// <param name="bigDecimal">bigDecimal.</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
{
// to ensure "number" is required (not null)
if (number == null)
@@ -102,6 +103,7 @@ namespace Org.OpenAPITools.Model
this.Binary = binary;
this.DateTime = dateTime;
this.Uuid = uuid;
this.BigDecimal = bigDecimal;
}
/// <summary>
@@ -183,6 +185,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="password", EmitDefaultValue=false)]
public string Password { get; set; }
/// <summary>
/// Gets or Sets BigDecimal
/// </summary>
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
public decimal BigDecimal { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
@@ -204,6 +212,7 @@ namespace Org.OpenAPITools.Model
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
sb.Append(" Password: ").Append(Password).Append("\n");
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -302,6 +311,11 @@ namespace Org.OpenAPITools.Model
this.Password == input.Password ||
(this.Password != null &&
this.Password.Equals(input.Password))
) &&
(
this.BigDecimal == input.BigDecimal ||
(this.BigDecimal != null &&
this.BigDecimal.Equals(input.BigDecimal))
);
}
@@ -340,6 +354,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
if (this.Password != null)
hashCode = hashCode * 59 + this.Password.GetHashCode();
if (this.BigDecimal != null)
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
return hashCode;
}
}
@@ -40,10 +40,11 @@ namespace Org.OpenAPITools.Model
/// </summary>
/// <param name="stringItem">stringItem (required).</param>
/// <param name="numberItem">numberItem (required).</param>
/// <param name="floatItem">floatItem (required).</param>
/// <param name="integerItem">integerItem (required).</param>
/// <param name="boolItem">boolItem (required).</param>
/// <param name="arrayItem">arrayItem (required).</param>
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), float floatItem = default(float), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
{
// to ensure "stringItem" is required (not null)
if (stringItem == null)
@@ -65,6 +66,16 @@ namespace Org.OpenAPITools.Model
this.NumberItem = numberItem;
}
// to ensure "floatItem" is required (not null)
if (floatItem == null)
{
throw new InvalidDataException("floatItem is a required property for TypeHolderExample and cannot be null");
}
else
{
this.FloatItem = floatItem;
}
// to ensure "integerItem" is required (not null)
if (integerItem == null)
{
@@ -109,6 +120,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="number_item", EmitDefaultValue=false)]
public decimal NumberItem { get; set; }
/// <summary>
/// Gets or Sets FloatItem
/// </summary>
[DataMember(Name="float_item", EmitDefaultValue=false)]
public float FloatItem { get; set; }
/// <summary>
/// Gets or Sets IntegerItem
/// </summary>
@@ -137,6 +154,7 @@ namespace Org.OpenAPITools.Model
sb.Append("class TypeHolderExample {\n");
sb.Append(" StringItem: ").Append(StringItem).Append("\n");
sb.Append(" NumberItem: ").Append(NumberItem).Append("\n");
sb.Append(" FloatItem: ").Append(FloatItem).Append("\n");
sb.Append(" IntegerItem: ").Append(IntegerItem).Append("\n");
sb.Append(" BoolItem: ").Append(BoolItem).Append("\n");
sb.Append(" ArrayItem: ").Append(ArrayItem).Append("\n");
@@ -184,6 +202,11 @@ namespace Org.OpenAPITools.Model
(this.NumberItem != null &&
this.NumberItem.Equals(input.NumberItem))
) &&
(
this.FloatItem == input.FloatItem ||
(this.FloatItem != null &&
this.FloatItem.Equals(input.FloatItem))
) &&
(
this.IntegerItem == input.IntegerItem ||
(this.IntegerItem != null &&
@@ -215,6 +238,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.StringItem.GetHashCode();
if (this.NumberItem != null)
hashCode = hashCode * 59 + this.NumberItem.GetHashCode();
if (this.FloatItem != null)
hashCode = hashCode * 59 + this.FloatItem.GetHashCode();
if (this.IntegerItem != null)
hashCode = hashCode * 59 + this.IntegerItem.GetHashCode();
if (this.BoolItem != null)
@@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.0-SNAPSHOT
@@ -95,6 +95,7 @@ Class | Method | HTTP request | Description
*FakeApi* | [**TestGroupParameters**](docs/FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*FakeApi* | [**TestInlineAdditionalProperties**](docs/FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*FakeApi* | [**TestJsonFormData**](docs/FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
*FakeApi* | [**TestQueryParameterCollectionFormat**](docs/FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
*FakeClassnameTags123Api* | [**TestClassname**](docs/FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
*PetApi* | [**AddPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
*PetApi* | [**DeletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
@@ -17,6 +17,7 @@ Method | HTTP request | Description
[**TestGroupParameters**](FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**TestInlineAdditionalProperties**](FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
[**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
@@ -1034,3 +1035,84 @@ No authorization required
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## TestQueryParameterCollectionFormat
> void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
To test the collection format in query parameters
### Example
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class TestQueryParameterCollectionFormatExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(Configuration.Default);
var pipe = new List<string>(); // List<string> |
var ioutil = new List<string>(); // List<string> |
var http = new List<string>(); // List<string> |
var url = new List<string>(); // List<string> |
var context = new List<string>(); // List<string> |
try
{
apiInstance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
}
catch (ApiException e)
{
Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormat: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pipe** | [**List&lt;string&gt;**](string.md)| |
**ioutil** | [**List&lt;string&gt;**](string.md)| |
**http** | [**List&lt;string&gt;**](string.md)| |
**url** | [**List&lt;string&gt;**](string.md)| |
**context** | [**List&lt;string&gt;**](string.md)| |
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | - |
[[Back to top]](#)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**DateTime** | **DateTime** | | [optional]
**Uuid** | **Guid** | | [optional]
**Password** | **string** | |
**BigDecimal** | **decimal** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Foo** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Foo** | **string** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_Name** | **int** | |
**SnakeCase** | **int** | | [optional]
**SnakeCase** | **int** | | [optional] [readonly]
**Property** | **string** | | [optional]
**_123Number** | **int** | | [optional]
**_123Number** | **int** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Baz** | **string** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StringItem** | **string** | |
**NumberItem** | **decimal** | |
**FloatItem** | **float** | |
**IntegerItem** | **int** | |
**BoolItem** | **bool** | |
**ArrayItem** | **List&lt;int&gt;** | |
@@ -1,11 +1,17 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
if [ "$git_user_id" = "" ]; then
git_user_id="GIT_USER_ID"
@@ -37,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
fi
fi
@@ -47,6 +53,6 @@ fi
git pull origin master
# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
@@ -197,7 +197,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">client model</param>
/// <returns>ApiResponse of ModelClient</returns>
public ApiResponse< ModelClient > Call123TestSpecialTagsWithHttpInfo (ModelClient body)
public ApiResponse<ModelClient> Call123TestSpecialTagsWithHttpInfo (ModelClient body)
{
// verify the required parameter 'body' is set
if (body == null)
@@ -54,7 +54,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>bool</returns>
bool FakeOuterBooleanSerialize (bool body = null);
bool FakeOuterBooleanSerialize (bool body = default(bool));
/// <summary>
///
@@ -65,7 +65,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>ApiResponse of bool</returns>
ApiResponse<bool> FakeOuterBooleanSerializeWithHttpInfo (bool body = null);
ApiResponse<bool> FakeOuterBooleanSerializeWithHttpInfo (bool body = default(bool));
/// <summary>
///
/// </summary>
@@ -75,7 +75,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>OuterComposite</returns>
OuterComposite FakeOuterCompositeSerialize (OuterComposite body = null);
OuterComposite FakeOuterCompositeSerialize (OuterComposite body = default(OuterComposite));
/// <summary>
///
@@ -86,7 +86,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>ApiResponse of OuterComposite</returns>
ApiResponse<OuterComposite> FakeOuterCompositeSerializeWithHttpInfo (OuterComposite body = null);
ApiResponse<OuterComposite> FakeOuterCompositeSerializeWithHttpInfo (OuterComposite body = default(OuterComposite));
/// <summary>
///
/// </summary>
@@ -96,7 +96,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>decimal</returns>
decimal FakeOuterNumberSerialize (decimal body = null);
decimal FakeOuterNumberSerialize (decimal body = default(decimal));
/// <summary>
///
@@ -107,7 +107,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>ApiResponse of decimal</returns>
ApiResponse<decimal> FakeOuterNumberSerializeWithHttpInfo (decimal body = null);
ApiResponse<decimal> FakeOuterNumberSerializeWithHttpInfo (decimal body = default(decimal));
/// <summary>
///
/// </summary>
@@ -117,7 +117,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>string</returns>
string FakeOuterStringSerialize (string body = null);
string FakeOuterStringSerialize (string body = default(string));
/// <summary>
///
@@ -128,7 +128,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>ApiResponse of string</returns>
ApiResponse<string> FakeOuterStringSerializeWithHttpInfo (string body = null);
ApiResponse<string> FakeOuterStringSerializeWithHttpInfo (string body = default(string));
/// <summary>
///
/// </summary>
@@ -216,7 +216,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns></returns>
void TestEndpointParameters (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null);
void TestEndpointParameters (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string));
/// <summary>
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -240,7 +240,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestEndpointParametersWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null);
ApiResponse<Object> TestEndpointParametersWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string));
/// <summary>
/// To test enum parameters
/// </summary>
@@ -257,7 +257,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns></returns>
void TestEnumParameters (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null);
void TestEnumParameters (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string));
/// <summary>
/// To test enum parameters
@@ -275,7 +275,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestEnumParametersWithHttpInfo (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null);
ApiResponse<Object> TestEnumParametersWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string));
/// <summary>
/// Fake endpoint to test group parameters (optional)
/// </summary>
@@ -290,7 +290,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns></returns>
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 = default(int), bool booleanGroup = default(bool), long int64Group = default(long));
/// <summary>
/// Fake endpoint to test group parameters (optional)
@@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null);
ApiResponse<Object> TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long));
/// <summary>
/// test inline additionalProperties
/// </summary>
@@ -351,6 +351,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestJsonFormDataWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Synchronous Operations
#region Asynchronous Operations
/// <summary>
@@ -383,7 +412,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>Task of bool</returns>
System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool body = null);
System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool body = default(bool));
/// <summary>
///
@@ -394,7 +423,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>Task of ApiResponse (bool)</returns>
System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool body = null);
System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool body = default(bool));
/// <summary>
///
/// </summary>
@@ -404,7 +433,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>Task of OuterComposite</returns>
System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = null);
System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite));
/// <summary>
///
@@ -415,7 +444,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>Task of ApiResponse (OuterComposite)</returns>
System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = null);
System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite));
/// <summary>
///
/// </summary>
@@ -425,7 +454,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>Task of decimal</returns>
System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal body = null);
System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal body = default(decimal));
/// <summary>
///
@@ -436,7 +465,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>Task of ApiResponse (decimal)</returns>
System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal body = null);
System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal body = default(decimal));
/// <summary>
///
/// </summary>
@@ -446,7 +475,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>Task of string</returns>
System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = null);
System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string));
/// <summary>
///
@@ -457,7 +486,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = null);
System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string));
/// <summary>
///
/// </summary>
@@ -545,7 +574,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null);
System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string));
/// <summary>
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@@ -569,7 +598,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null);
System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string));
/// <summary>
/// To test enum parameters
/// </summary>
@@ -586,7 +615,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null);
System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string));
/// <summary>
/// To test enum parameters
@@ -604,7 +633,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null);
System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string));
/// <summary>
/// Fake endpoint to test group parameters (optional)
/// </summary>
@@ -619,7 +648,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null);
System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long));
/// <summary>
/// Fake endpoint to test group parameters (optional)
@@ -635,7 +664,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null);
System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long));
/// <summary>
/// test inline additionalProperties
/// </summary>
@@ -680,6 +709,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Asynchronous Operations
}
@@ -952,7 +1010,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>bool</returns>
public bool FakeOuterBooleanSerialize (bool body = null)
public bool FakeOuterBooleanSerialize (bool body = default(bool))
{
ApiResponse<bool> localVarResponse = FakeOuterBooleanSerializeWithHttpInfo(body);
return localVarResponse.Data;
@@ -964,7 +1022,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>ApiResponse of bool</returns>
public ApiResponse< bool > FakeOuterBooleanSerializeWithHttpInfo (bool body = null)
public ApiResponse<bool> FakeOuterBooleanSerializeWithHttpInfo (bool body = default(bool))
{
var localVarPath = "./fake/outer/boolean";
@@ -1022,7 +1080,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>Task of bool</returns>
public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool body = null)
public async System.Threading.Tasks.Task<bool> FakeOuterBooleanSerializeAsync (bool body = default(bool))
{
ApiResponse<bool> localVarResponse = await FakeOuterBooleanSerializeAsyncWithHttpInfo(body);
return localVarResponse.Data;
@@ -1035,7 +1093,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input boolean as post body (optional)</param>
/// <returns>Task of ApiResponse (bool)</returns>
public async System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool body = null)
public async System.Threading.Tasks.Task<ApiResponse<bool>> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool body = default(bool))
{
var localVarPath = "./fake/outer/boolean";
@@ -1093,7 +1151,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>OuterComposite</returns>
public OuterComposite FakeOuterCompositeSerialize (OuterComposite body = null)
public OuterComposite FakeOuterCompositeSerialize (OuterComposite body = default(OuterComposite))
{
ApiResponse<OuterComposite> localVarResponse = FakeOuterCompositeSerializeWithHttpInfo(body);
return localVarResponse.Data;
@@ -1105,7 +1163,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>ApiResponse of OuterComposite</returns>
public ApiResponse< OuterComposite > FakeOuterCompositeSerializeWithHttpInfo (OuterComposite body = null)
public ApiResponse<OuterComposite> FakeOuterCompositeSerializeWithHttpInfo (OuterComposite body = default(OuterComposite))
{
var localVarPath = "./fake/outer/composite";
@@ -1163,7 +1221,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>Task of OuterComposite</returns>
public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = null)
public async System.Threading.Tasks.Task<OuterComposite> FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite))
{
ApiResponse<OuterComposite> localVarResponse = await FakeOuterCompositeSerializeAsyncWithHttpInfo(body);
return localVarResponse.Data;
@@ -1176,7 +1234,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input composite as post body (optional)</param>
/// <returns>Task of ApiResponse (OuterComposite)</returns>
public async System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = null)
public async System.Threading.Tasks.Task<ApiResponse<OuterComposite>> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite))
{
var localVarPath = "./fake/outer/composite";
@@ -1234,7 +1292,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>decimal</returns>
public decimal FakeOuterNumberSerialize (decimal body = null)
public decimal FakeOuterNumberSerialize (decimal body = default(decimal))
{
ApiResponse<decimal> localVarResponse = FakeOuterNumberSerializeWithHttpInfo(body);
return localVarResponse.Data;
@@ -1246,7 +1304,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>ApiResponse of decimal</returns>
public ApiResponse< decimal > FakeOuterNumberSerializeWithHttpInfo (decimal body = null)
public ApiResponse<decimal> FakeOuterNumberSerializeWithHttpInfo (decimal body = default(decimal))
{
var localVarPath = "./fake/outer/number";
@@ -1304,7 +1362,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>Task of decimal</returns>
public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal body = null)
public async System.Threading.Tasks.Task<decimal> FakeOuterNumberSerializeAsync (decimal body = default(decimal))
{
ApiResponse<decimal> localVarResponse = await FakeOuterNumberSerializeAsyncWithHttpInfo(body);
return localVarResponse.Data;
@@ -1317,7 +1375,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input number as post body (optional)</param>
/// <returns>Task of ApiResponse (decimal)</returns>
public async System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal body = null)
public async System.Threading.Tasks.Task<ApiResponse<decimal>> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal body = default(decimal))
{
var localVarPath = "./fake/outer/number";
@@ -1375,7 +1433,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>string</returns>
public string FakeOuterStringSerialize (string body = null)
public string FakeOuterStringSerialize (string body = default(string))
{
ApiResponse<string> localVarResponse = FakeOuterStringSerializeWithHttpInfo(body);
return localVarResponse.Data;
@@ -1387,7 +1445,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>ApiResponse of string</returns>
public ApiResponse< string > FakeOuterStringSerializeWithHttpInfo (string body = null)
public ApiResponse<string> FakeOuterStringSerializeWithHttpInfo (string body = default(string))
{
var localVarPath = "./fake/outer/string";
@@ -1445,7 +1503,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = null)
public async System.Threading.Tasks.Task<string> FakeOuterStringSerializeAsync (string body = default(string))
{
ApiResponse<string> localVarResponse = await FakeOuterStringSerializeAsyncWithHttpInfo(body);
return localVarResponse.Data;
@@ -1458,7 +1516,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">Input string as post body (optional)</param>
/// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = null)
public async System.Threading.Tasks.Task<ApiResponse<string>> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string))
{
var localVarPath = "./fake/outer/string";
@@ -1830,7 +1888,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">client model</param>
/// <returns>ApiResponse of ModelClient</returns>
public ApiResponse< ModelClient > TestClientModelWithHttpInfo (ModelClient body)
public ApiResponse<ModelClient> TestClientModelWithHttpInfo (ModelClient body)
{
// verify the required parameter 'body' is set
if (body == null)
@@ -1980,7 +2038,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns></returns>
public void TestEndpointParameters (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null)
public void TestEndpointParameters (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string))
{
TestEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback);
}
@@ -2004,7 +2062,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestEndpointParametersWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null)
public ApiResponse<Object> TestEndpointParametersWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string))
{
// verify the required parameter 'number' is set
if (number == null)
@@ -2099,7 +2157,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null)
public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string))
{
await TestEndpointParametersAsyncWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback);
@@ -2124,7 +2182,7 @@ namespace Org.OpenAPITools.Api
/// <param name="password">None (optional)</param>
/// <param name="callback">None (optional)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = null, int int32 = null, long int64 = null, float _float = null, string _string = null, System.IO.Stream binary = null, DateTime date = null, DateTime dateTime = null, string password = null, string callback = null)
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int integer = default(int), int int32 = default(int), long int64 = default(long), float _float = default(float), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), string password = default(string), string callback = default(string))
{
// verify the required parameter 'number' is set
if (number == null)
@@ -2213,7 +2271,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns></returns>
public void TestEnumParameters (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null)
public void TestEnumParameters (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string))
{
TestEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
}
@@ -2231,7 +2289,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestEnumParametersWithHttpInfo (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null)
public ApiResponse<Object> TestEnumParametersWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string))
{
var localVarPath = "./fake";
@@ -2296,7 +2354,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null)
public async System.Threading.Tasks.Task TestEnumParametersAsync (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string))
{
await TestEnumParametersAsyncWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
@@ -2315,7 +2373,7 @@ namespace Org.OpenAPITools.Api
/// <param name="enumFormStringArray">Form parameter enum test (string array) (optional, default to $)</param>
/// <param name="enumFormString">Form parameter enum test (string) (optional, default to -efg)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int enumQueryInteger = null, double enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null)
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestEnumParametersAsyncWithHttpInfo (List<string> enumHeaderStringArray = default(List<string>), string enumHeaderString = default(string), List<string> enumQueryStringArray = default(List<string>), string enumQueryString = default(string), int enumQueryInteger = default(int), double enumQueryDouble = default(double), List<string> enumFormStringArray = default(List<string>), string enumFormString = default(string))
{
var localVarPath = "./fake";
@@ -2378,7 +2436,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns></returns>
public void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null)
public void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long))
{
TestGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
}
@@ -2394,7 +2452,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null)
public ApiResponse<Object> TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long))
{
// verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null)
@@ -2463,7 +2521,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null)
public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long))
{
await TestGroupParametersAsyncWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
@@ -2480,7 +2538,7 @@ namespace Org.OpenAPITools.Api
/// <param name="booleanGroup">Boolean in group parameters (optional)</param>
/// <param name="int64Group">Integer in group parameters (optional)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = null, bool booleanGroup = null, long int64Group = null)
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int stringGroup = default(int), bool booleanGroup = default(bool), long int64Group = default(long))
{
// verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null)
@@ -2826,5 +2884,182 @@ namespace Org.OpenAPITools.Api
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
public void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "./fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)),
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "./fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)),
null);
}
}
}
@@ -197,7 +197,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">client model</param>
/// <returns>ApiResponse of ModelClient</returns>
public ApiResponse< ModelClient > TestClassnameWithHttpInfo (ModelClient body)
public ApiResponse<ModelClient> TestClassnameWithHttpInfo (ModelClient body)
{
// verify the required parameter 'body' is set
if (body == null)
@@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns></returns>
void DeletePet (long petId, string apiKey = null);
void DeletePet (long petId, string apiKey = default(string));
/// <summary>
/// Deletes a pet
@@ -67,7 +67,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = null);
ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = default(string));
/// <summary>
/// Finds Pets by status
/// </summary>
@@ -163,7 +163,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns></returns>
void UpdatePetWithForm (long petId, string name = null, string status = null);
void UpdatePetWithForm (long petId, string name = default(string), string status = default(string));
/// <summary>
/// Updates a pet in the store with form data
@@ -176,7 +176,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = null, string status = null);
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string));
/// <summary>
/// uploads an image
/// </summary>
@@ -188,7 +188,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse</returns>
ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null);
ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary>
/// uploads an image
@@ -201,7 +201,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns>
ApiResponse<ApiResponse> UploadFileWithHttpInfo (long petId, string additionalMetadata = null, System.IO.Stream file = null);
ApiResponse<ApiResponse> UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary>
/// uploads an image (required)
/// </summary>
@@ -213,7 +213,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse</returns>
ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null);
ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
/// <summary>
/// uploads an image (required)
@@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns>
ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = null);
ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
#endregion Synchronous Operations
#region Asynchronous Operations
/// <summary>
@@ -260,7 +260,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = null);
System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string));
/// <summary>
/// Deletes a pet
@@ -272,7 +272,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = null);
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string));
/// <summary>
/// Finds Pets by status
/// </summary>
@@ -368,7 +368,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = null, string status = null);
System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string));
/// <summary>
/// Updates a pet in the store with form data
@@ -381,7 +381,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = null, string status = null);
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string));
/// <summary>
/// uploads an image
/// </summary>
@@ -393,7 +393,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = null, System.IO.Stream file = null);
System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary>
/// uploads an image
@@ -406,7 +406,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = null, System.IO.Stream file = null);
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream));
/// <summary>
/// uploads an image (required)
/// </summary>
@@ -418,7 +418,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = null);
System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
/// <summary>
/// uploads an image (required)
@@ -431,7 +431,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = null);
System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string));
#endregion Asynchronous Operations
}
@@ -709,7 +709,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns></returns>
public void DeletePet (long petId, string apiKey = null)
public void DeletePet (long petId, string apiKey = default(string))
{
DeletePetWithHttpInfo(petId, apiKey);
}
@@ -721,7 +721,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = null)
public ApiResponse<Object> DeletePetWithHttpInfo (long petId, string apiKey = default(string))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -782,7 +782,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = null)
public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string))
{
await DeletePetAsyncWithHttpInfo(petId, apiKey);
@@ -795,7 +795,7 @@ namespace Org.OpenAPITools.Api
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = null)
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -867,7 +867,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public ApiResponse< List<Pet> > FindPetsByStatusWithHttpInfo (List<string> status)
public ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status)
{
// verify the required parameter 'status' is set
if (status == null)
@@ -1014,7 +1014,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="tags">Tags to filter by</param>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public ApiResponse< List<Pet> > FindPetsByTagsWithHttpInfo (List<string> tags)
public ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags)
{
// verify the required parameter 'tags' is set
if (tags == null)
@@ -1161,7 +1161,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet to return</param>
/// <returns>ApiResponse of Pet</returns>
public ApiResponse< Pet > GetPetByIdWithHttpInfo (long petId)
public ApiResponse<Pet> GetPetByIdWithHttpInfo (long petId)
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -1455,7 +1455,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns></returns>
public void UpdatePetWithForm (long petId, string name = null, string status = null)
public void UpdatePetWithForm (long petId, string name = default(string), string status = default(string))
{
UpdatePetWithFormWithHttpInfo(petId, name, status);
}
@@ -1468,7 +1468,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = null, string status = null)
public ApiResponse<Object> UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -1532,7 +1532,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = null, string status = null)
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string))
{
await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status);
@@ -1546,7 +1546,7 @@ namespace Org.OpenAPITools.Api
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = null, string status = null)
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -1610,7 +1610,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse</returns>
public ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null)
public ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{
ApiResponse<ApiResponse> localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file);
return localVarResponse.Data;
@@ -1624,7 +1624,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns>
public ApiResponse< ApiResponse > UploadFileWithHttpInfo (long petId, string additionalMetadata = null, System.IO.Stream file = null)
public ApiResponse<ApiResponse> UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -1689,7 +1689,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = null, System.IO.Stream file = null)
public async System.Threading.Tasks.Task<ApiResponse> UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{
ApiResponse<ApiResponse> localVarResponse = await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file);
return localVarResponse.Data;
@@ -1704,7 +1704,7 @@ namespace Org.OpenAPITools.Api
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <param name="file">file to upload (optional)</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = null, System.IO.Stream file = null)
public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -1769,7 +1769,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse</returns>
public ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null)
public ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{
ApiResponse<ApiResponse> localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata);
return localVarResponse.Data;
@@ -1783,7 +1783,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>ApiResponse of ApiResponse</returns>
public ApiResponse< ApiResponse > UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = null)
public ApiResponse<ApiResponse> UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -1851,7 +1851,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = null)
public async System.Threading.Tasks.Task<ApiResponse> UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{
ApiResponse<ApiResponse> localVarResponse = await UploadFileWithRequiredFileAsyncWithHttpInfo(petId, requiredFile, additionalMetadata);
return localVarResponse.Data;
@@ -1866,7 +1866,7 @@ namespace Org.OpenAPITools.Api
/// <param name="requiredFile">file to upload</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
/// <returns>Task of ApiResponse (ApiResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = null)
public async System.Threading.Tasks.Task<ApiResponse<ApiResponse>> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string))
{
// verify the required parameter 'petId' is set
if (petId == null)
@@ -446,7 +446,7 @@ namespace Org.OpenAPITools.Api
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>ApiResponse of Dictionary&lt;string, int&gt;</returns>
public ApiResponse< Dictionary<string, int> > GetInventoryWithHttpInfo ()
public ApiResponse<Dictionary<string, int>> GetInventoryWithHttpInfo ()
{
var localVarPath = "./store/inventory";
@@ -579,7 +579,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse of Order</returns>
public ApiResponse< Order > GetOrderByIdWithHttpInfo (long orderId)
public ApiResponse<Order> GetOrderByIdWithHttpInfo (long orderId)
{
// verify the required parameter 'orderId' is set
if (orderId == null)
@@ -714,7 +714,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>ApiResponse of Order</returns>
public ApiResponse< Order > PlaceOrderWithHttpInfo (Order body)
public ApiResponse<Order> PlaceOrderWithHttpInfo (Order body)
{
// verify the required parameter 'body' is set
if (body == null)
@@ -1053,7 +1053,7 @@ namespace Org.OpenAPITools.Api
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>ApiResponse of User</returns>
public ApiResponse< User > GetUserByNameWithHttpInfo (string username)
public ApiResponse<User> GetUserByNameWithHttpInfo (string username)
{
// verify the required parameter 'username' is set
if (username == null)
@@ -1190,7 +1190,7 @@ namespace Org.OpenAPITools.Api
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>ApiResponse of string</returns>
public ApiResponse< string > LoginUserWithHttpInfo (string username, string password)
public ApiResponse<string> LoginUserWithHttpInfo (string username, string password)
{
// verify the required parameter 'username' is set
if (username == null)
@@ -207,6 +207,7 @@ namespace Org.OpenAPITools.Client
var request = PrepareRequest(
path, method, queryParams, postBody, headerParams, formParams, fileParams,
pathParams, contentType);
RestClient.UserAgent = Configuration.UserAgent;
InterceptRequest(request);
var response = await RestClient.Execute(request);
InterceptResponse(request, response);
@@ -49,7 +49,8 @@ namespace Org.OpenAPITools.Model
/// <param name="dateTime">dateTime.</param>
/// <param name="uuid">uuid.</param>
/// <param name="password">password (required).</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
/// <param name="bigDecimal">bigDecimal.</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
{
// to ensure "number" is required (not null)
if (number == null)
@@ -100,6 +101,7 @@ namespace Org.OpenAPITools.Model
this.Binary = binary;
this.DateTime = dateTime;
this.Uuid = uuid;
this.BigDecimal = bigDecimal;
}
/// <summary>
@@ -181,6 +183,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="password", EmitDefaultValue=false)]
public string Password { get; set; }
/// <summary>
/// Gets or Sets BigDecimal
/// </summary>
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
public decimal BigDecimal { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
@@ -202,6 +210,7 @@ namespace Org.OpenAPITools.Model
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
sb.Append(" Password: ").Append(Password).Append("\n");
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -300,6 +309,11 @@ namespace Org.OpenAPITools.Model
this.Password == input.Password ||
(this.Password != null &&
this.Password.Equals(input.Password))
) &&
(
this.BigDecimal == input.BigDecimal ||
(this.BigDecimal != null &&
this.BigDecimal.Equals(input.BigDecimal))
);
}
@@ -338,6 +352,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
if (this.Password != null)
hashCode = hashCode * 59 + this.Password.GetHashCode();
if (this.BigDecimal != null)
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
return hashCode;
}
}
@@ -38,10 +38,11 @@ namespace Org.OpenAPITools.Model
/// </summary>
/// <param name="stringItem">stringItem (required).</param>
/// <param name="numberItem">numberItem (required).</param>
/// <param name="floatItem">floatItem (required).</param>
/// <param name="integerItem">integerItem (required).</param>
/// <param name="boolItem">boolItem (required).</param>
/// <param name="arrayItem">arrayItem (required).</param>
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), float floatItem = default(float), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
{
// to ensure "stringItem" is required (not null)
if (stringItem == null)
@@ -63,6 +64,16 @@ namespace Org.OpenAPITools.Model
this.NumberItem = numberItem;
}
// to ensure "floatItem" is required (not null)
if (floatItem == null)
{
throw new InvalidDataException("floatItem is a required property for TypeHolderExample and cannot be null");
}
else
{
this.FloatItem = floatItem;
}
// to ensure "integerItem" is required (not null)
if (integerItem == null)
{
@@ -107,6 +118,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="number_item", EmitDefaultValue=false)]
public decimal NumberItem { get; set; }
/// <summary>
/// Gets or Sets FloatItem
/// </summary>
[DataMember(Name="float_item", EmitDefaultValue=false)]
public float FloatItem { get; set; }
/// <summary>
/// Gets or Sets IntegerItem
/// </summary>
@@ -135,6 +152,7 @@ namespace Org.OpenAPITools.Model
sb.Append("class TypeHolderExample {\n");
sb.Append(" StringItem: ").Append(StringItem).Append("\n");
sb.Append(" NumberItem: ").Append(NumberItem).Append("\n");
sb.Append(" FloatItem: ").Append(FloatItem).Append("\n");
sb.Append(" IntegerItem: ").Append(IntegerItem).Append("\n");
sb.Append(" BoolItem: ").Append(BoolItem).Append("\n");
sb.Append(" ArrayItem: ").Append(ArrayItem).Append("\n");
@@ -182,6 +200,11 @@ namespace Org.OpenAPITools.Model
(this.NumberItem != null &&
this.NumberItem.Equals(input.NumberItem))
) &&
(
this.FloatItem == input.FloatItem ||
(this.FloatItem != null &&
this.FloatItem.Equals(input.FloatItem))
) &&
(
this.IntegerItem == input.IntegerItem ||
(this.IntegerItem != null &&
@@ -213,6 +236,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.StringItem.GetHashCode();
if (this.NumberItem != null)
hashCode = hashCode * 59 + this.NumberItem.GetHashCode();
if (this.FloatItem != null)
hashCode = hashCode * 59 + this.FloatItem.GetHashCode();
if (this.IntegerItem != null)
hashCode = hashCode * 59 + this.IntegerItem.GetHashCode();
if (this.BoolItem != null)
@@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.0-SNAPSHOT
@@ -95,6 +95,7 @@ Class | Method | HTTP request | Description
*FakeApi* | [**TestGroupParameters**](docs/FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*FakeApi* | [**TestInlineAdditionalProperties**](docs/FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*FakeApi* | [**TestJsonFormData**](docs/FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
*FakeApi* | [**TestQueryParameterCollectionFormat**](docs/FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
*FakeClassnameTags123Api* | [**TestClassname**](docs/FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
*PetApi* | [**AddPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
*PetApi* | [**DeletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
@@ -17,6 +17,7 @@ Method | HTTP request | Description
[**TestGroupParameters**](FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**TestInlineAdditionalProperties**](FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
[**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
@@ -1034,3 +1035,84 @@ No authorization required
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## TestQueryParameterCollectionFormat
> void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
To test the collection format in query parameters
### Example
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class TestQueryParameterCollectionFormatExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(Configuration.Default);
var pipe = new List<string>(); // List<string> |
var ioutil = new List<string>(); // List<string> |
var http = new List<string>(); // List<string> |
var url = new List<string>(); // List<string> |
var context = new List<string>(); // List<string> |
try
{
apiInstance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
}
catch (ApiException e)
{
Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormat: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pipe** | [**List&lt;string&gt;**](string.md)| |
**ioutil** | [**List&lt;string&gt;**](string.md)| |
**http** | [**List&lt;string&gt;**](string.md)| |
**url** | [**List&lt;string&gt;**](string.md)| |
**context** | [**List&lt;string&gt;**](string.md)| |
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | - |
[[Back to top]](#)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**DateTime** | **DateTime** | | [optional]
**Uuid** | **Guid** | | [optional]
**Password** | **string** | |
**BigDecimal** | **decimal** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Foo** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Foo** | **string** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_Name** | **int** | |
**SnakeCase** | **int** | | [optional]
**SnakeCase** | **int** | | [optional] [readonly]
**Property** | **string** | | [optional]
**_123Number** | **int** | | [optional]
**_123Number** | **int** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Baz** | **string** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StringItem** | **string** | |
**NumberItem** | **decimal** | |
**FloatItem** | **float** | |
**IntegerItem** | **int** | |
**BoolItem** | **bool** | |
**ArrayItem** | **List&lt;int&gt;** | |
@@ -1,11 +1,17 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
if [ "$git_user_id" = "" ]; then
git_user_id="GIT_USER_ID"
@@ -37,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
fi
fi
@@ -47,6 +53,6 @@ fi
git pull origin master
# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
@@ -351,6 +351,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestJsonFormDataWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Synchronous Operations
#region Asynchronous Operations
/// <summary>
@@ -680,6 +709,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Asynchronous Operations
}
@@ -2826,5 +2884,182 @@ namespace Org.OpenAPITools.Api
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
public void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "./fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)),
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "./fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Key, x => string.Join(",", x.Value)),
null);
}
}
}
@@ -207,6 +207,7 @@ namespace Org.OpenAPITools.Client
var request = PrepareRequest(
path, method, queryParams, postBody, headerParams, formParams, fileParams,
pathParams, contentType);
RestClient.UserAgent = Configuration.UserAgent;
InterceptRequest(request);
var response = await RestClient.Execute(request);
InterceptResponse(request, response);
@@ -49,7 +49,8 @@ namespace Org.OpenAPITools.Model
/// <param name="dateTime">dateTime.</param>
/// <param name="uuid">uuid.</param>
/// <param name="password">password (required).</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
/// <param name="bigDecimal">bigDecimal.</param>
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
{
// to ensure "number" is required (not null)
if (number == null)
@@ -100,6 +101,7 @@ namespace Org.OpenAPITools.Model
this.Binary = binary;
this.DateTime = dateTime;
this.Uuid = uuid;
this.BigDecimal = bigDecimal;
}
/// <summary>
@@ -181,6 +183,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="password", EmitDefaultValue=false)]
public string Password { get; set; }
/// <summary>
/// Gets or Sets BigDecimal
/// </summary>
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
public decimal BigDecimal { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
@@ -202,6 +210,7 @@ namespace Org.OpenAPITools.Model
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
sb.Append(" Password: ").Append(Password).Append("\n");
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -300,6 +309,11 @@ namespace Org.OpenAPITools.Model
this.Password == input.Password ||
(this.Password != null &&
this.Password.Equals(input.Password))
) &&
(
this.BigDecimal == input.BigDecimal ||
(this.BigDecimal != null &&
this.BigDecimal.Equals(input.BigDecimal))
);
}
@@ -338,6 +352,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
if (this.Password != null)
hashCode = hashCode * 59 + this.Password.GetHashCode();
if (this.BigDecimal != null)
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
return hashCode;
}
}
@@ -38,10 +38,11 @@ namespace Org.OpenAPITools.Model
/// </summary>
/// <param name="stringItem">stringItem (required).</param>
/// <param name="numberItem">numberItem (required).</param>
/// <param name="floatItem">floatItem (required).</param>
/// <param name="integerItem">integerItem (required).</param>
/// <param name="boolItem">boolItem (required).</param>
/// <param name="arrayItem">arrayItem (required).</param>
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
public TypeHolderExample(string stringItem = default(string), decimal numberItem = default(decimal), float floatItem = default(float), int integerItem = default(int), bool boolItem = default(bool), List<int> arrayItem = default(List<int>))
{
// to ensure "stringItem" is required (not null)
if (stringItem == null)
@@ -63,6 +64,16 @@ namespace Org.OpenAPITools.Model
this.NumberItem = numberItem;
}
// to ensure "floatItem" is required (not null)
if (floatItem == null)
{
throw new InvalidDataException("floatItem is a required property for TypeHolderExample and cannot be null");
}
else
{
this.FloatItem = floatItem;
}
// to ensure "integerItem" is required (not null)
if (integerItem == null)
{
@@ -107,6 +118,12 @@ namespace Org.OpenAPITools.Model
[DataMember(Name="number_item", EmitDefaultValue=false)]
public decimal NumberItem { get; set; }
/// <summary>
/// Gets or Sets FloatItem
/// </summary>
[DataMember(Name="float_item", EmitDefaultValue=false)]
public float FloatItem { get; set; }
/// <summary>
/// Gets or Sets IntegerItem
/// </summary>
@@ -135,6 +152,7 @@ namespace Org.OpenAPITools.Model
sb.Append("class TypeHolderExample {\n");
sb.Append(" StringItem: ").Append(StringItem).Append("\n");
sb.Append(" NumberItem: ").Append(NumberItem).Append("\n");
sb.Append(" FloatItem: ").Append(FloatItem).Append("\n");
sb.Append(" IntegerItem: ").Append(IntegerItem).Append("\n");
sb.Append(" BoolItem: ").Append(BoolItem).Append("\n");
sb.Append(" ArrayItem: ").Append(ArrayItem).Append("\n");
@@ -182,6 +200,11 @@ namespace Org.OpenAPITools.Model
(this.NumberItem != null &&
this.NumberItem.Equals(input.NumberItem))
) &&
(
this.FloatItem == input.FloatItem ||
(this.FloatItem != null &&
this.FloatItem.Equals(input.FloatItem))
) &&
(
this.IntegerItem == input.IntegerItem ||
(this.IntegerItem != null &&
@@ -213,6 +236,8 @@ namespace Org.OpenAPITools.Model
hashCode = hashCode * 59 + this.StringItem.GetHashCode();
if (this.NumberItem != null)
hashCode = hashCode * 59 + this.NumberItem.GetHashCode();
if (this.FloatItem != null)
hashCode = hashCode * 59 + this.FloatItem.GetHashCode();
if (this.IntegerItem != null)
hashCode = hashCode * 59 + this.IntegerItem.GetHashCode();
if (this.BoolItem != null)
@@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.0-SNAPSHOT
@@ -119,6 +119,7 @@ Class | Method | HTTP request | Description
*FakeApi* | [**TestGroupParameters**](docs/FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*FakeApi* | [**TestInlineAdditionalProperties**](docs/FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*FakeApi* | [**TestJsonFormData**](docs/FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
*FakeApi* | [**TestQueryParameterCollectionFormat**](docs/FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
*FakeClassnameTags123Api* | [**TestClassname**](docs/FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
*PetApi* | [**AddPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
*PetApi* | [**DeletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
@@ -17,6 +17,7 @@ Method | HTTP request | Description
[**TestGroupParameters**](FakeApi.md#testgroupparameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**TestInlineAdditionalProperties**](FakeApi.md#testinlineadditionalproperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
[**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-paramters |
@@ -1034,3 +1035,84 @@ No authorization required
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## TestQueryParameterCollectionFormat
> void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
To test the collection format in query parameters
### Example
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class TestQueryParameterCollectionFormatExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2";
var apiInstance = new FakeApi(Configuration.Default);
var pipe = new List<string>(); // List<string> |
var ioutil = new List<string>(); // List<string> |
var http = new List<string>(); // List<string> |
var url = new List<string>(); // List<string> |
var context = new List<string>(); // List<string> |
try
{
apiInstance.TestQueryParameterCollectionFormat(pipe, ioutil, http, url, context);
}
catch (ApiException e)
{
Debug.Print("Exception when calling FakeApi.TestQueryParameterCollectionFormat: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pipe** | [**List&lt;string&gt;**](string.md)| |
**ioutil** | [**List&lt;string&gt;**](string.md)| |
**http** | [**List&lt;string&gt;**](string.md)| |
**url** | [**List&lt;string&gt;**](string.md)| |
**context** | [**List&lt;string&gt;**](string.md)| |
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | - |
[[Back to top]](#)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**DateTime** | **DateTime** | | [optional]
**Uuid** | **Guid** | | [optional]
**Password** | **string** | |
**BigDecimal** | **decimal** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Foo** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Foo** | **string** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_Name** | **int** | |
**SnakeCase** | **int** | | [optional]
**SnakeCase** | **int** | | [optional] [readonly]
**Property** | **string** | | [optional]
**_123Number** | **int** | | [optional]
**_123Number** | **int** | | [optional] [readonly]
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bar** | **string** | | [optional]
**Bar** | **string** | | [optional] [readonly]
**Baz** | **string** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StringItem** | **string** | |
**NumberItem** | **decimal** | |
**FloatItem** | **float** | |
**IntegerItem** | **int** | |
**BoolItem** | **bool** | |
**ArrayItem** | **List&lt;int&gt;** | |
@@ -1,11 +1,17 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github.com"
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi
if [ "$git_user_id" = "" ]; then
git_user_id="GIT_USER_ID"
@@ -37,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
fi
fi
@@ -47,6 +53,6 @@ fi
git pull origin master
# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'
@@ -351,6 +351,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestJsonFormDataWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Synchronous Operations
#region Asynchronous Operations
/// <summary>
@@ -680,6 +709,35 @@ namespace Org.OpenAPITools.Api
/// <param name="param2">field2</param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestJsonFormDataAsyncWithHttpInfo (string param, string param2);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
/// <summary>
///
/// </summary>
/// <remarks>
/// To test the collection format in query parameters
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context);
#endregion Asynchronous Operations
}
@@ -2826,5 +2884,182 @@ namespace Org.OpenAPITools.Api
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
public void TestQueryParameterCollectionFormat (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> TestQueryParameterCollectionFormatWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "/fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Name, x => string.Join(",", x.Value)),
null);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context);
}
/// <summary>
/// To test the collection format in query parameters
/// </summary>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pipe"></param>
/// <param name="ioutil"></param>
/// <param name="http"></param>
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List<string> pipe, List<string> ioutil, List<string> http, List<string> url, List<string> context)
{
// verify the required parameter 'pipe' is set
if (pipe == null)
throw new ApiException(400, "Missing required parameter 'pipe' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'ioutil' is set
if (ioutil == null)
throw new ApiException(400, "Missing required parameter 'ioutil' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'http' is set
if (http == null)
throw new ApiException(400, "Missing required parameter 'http' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'url' is set
if (url == null)
throw new ApiException(400, "Missing required parameter 'url' when calling FakeApi->TestQueryParameterCollectionFormat");
// verify the required parameter 'context' is set
if (context == null)
throw new ApiException(400, "Missing required parameter 'context' when calling FakeApi->TestQueryParameterCollectionFormat");
var localVarPath = "/fake/test-query-paramters";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new List<KeyValuePair<String, String>>();
var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new Dictionary<String, FileParameter>();
Object localVarPostBody = null;
// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
};
String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
if (pipe != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "pipe", pipe)); // query parameter
if (ioutil != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "ioutil", ioutil)); // query parameter
if (http != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("space", "http", http)); // query parameter
if (url != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("csv", "url", url)); // query parameter
if (context != null) localVarQueryParams.AddRange(this.Configuration.ApiClient.ParameterToKeyValuePairs("multi", "context", context)); // query parameter
// make the HTTP request
IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath,
Method.PUT, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
int localVarStatusCode = (int) localVarResponse.StatusCode;
if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("TestQueryParameterCollectionFormat", localVarResponse);
if (exception != null) throw exception;
}
return new ApiResponse<Object>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Name, x => string.Join(",", x.Value)),
null);
}
}
}
@@ -202,6 +202,7 @@ namespace Org.OpenAPITools.Client
var request = PrepareRequest(
path, method, queryParams, postBody, headerParams, formParams, fileParams,
pathParams, contentType);
RestClient.UserAgent = Configuration.UserAgent;
InterceptRequest(request);
var response = await RestClient.ExecuteTaskAsync(request);
InterceptResponse(request, response);
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -65,67 +65,67 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets MapString
/// </summary>
[DataMember(Name="map_string", EmitDefaultValue=false)]
[DataMember(Name="map_string", EmitDefaultValue=true)]
public Dictionary<string, string> MapString { get; set; }
/// <summary>
/// Gets or Sets MapNumber
/// </summary>
[DataMember(Name="map_number", EmitDefaultValue=false)]
[DataMember(Name="map_number", EmitDefaultValue=true)]
public Dictionary<string, decimal> MapNumber { get; set; }
/// <summary>
/// Gets or Sets MapInteger
/// </summary>
[DataMember(Name="map_integer", EmitDefaultValue=false)]
[DataMember(Name="map_integer", EmitDefaultValue=true)]
public Dictionary<string, int> MapInteger { get; set; }
/// <summary>
/// Gets or Sets MapBoolean
/// </summary>
[DataMember(Name="map_boolean", EmitDefaultValue=false)]
[DataMember(Name="map_boolean", EmitDefaultValue=true)]
public Dictionary<string, bool> MapBoolean { get; set; }
/// <summary>
/// Gets or Sets MapArrayInteger
/// </summary>
[DataMember(Name="map_array_integer", EmitDefaultValue=false)]
[DataMember(Name="map_array_integer", EmitDefaultValue=true)]
public Dictionary<string, List<int>> MapArrayInteger { get; set; }
/// <summary>
/// Gets or Sets MapArrayAnytype
/// </summary>
[DataMember(Name="map_array_anytype", EmitDefaultValue=false)]
[DataMember(Name="map_array_anytype", EmitDefaultValue=true)]
public Dictionary<string, List<Object>> MapArrayAnytype { get; set; }
/// <summary>
/// Gets or Sets MapMapString
/// </summary>
[DataMember(Name="map_map_string", EmitDefaultValue=false)]
[DataMember(Name="map_map_string", EmitDefaultValue=true)]
public Dictionary<string, Dictionary<string, string>> MapMapString { get; set; }
/// <summary>
/// Gets or Sets MapMapAnytype
/// </summary>
[DataMember(Name="map_map_anytype", EmitDefaultValue=false)]
[DataMember(Name="map_map_anytype", EmitDefaultValue=true)]
public Dictionary<string, Dictionary<string, Object>> MapMapAnytype { get; set; }
/// <summary>
/// Gets or Sets Anytype1
/// </summary>
[DataMember(Name="anytype_1", EmitDefaultValue=false)]
[DataMember(Name="anytype_1", EmitDefaultValue=true)]
public Object Anytype1 { get; set; }
/// <summary>
/// Gets or Sets Anytype2
/// </summary>
[DataMember(Name="anytype_2", EmitDefaultValue=false)]
[DataMember(Name="anytype_2", EmitDefaultValue=true)]
public Object Anytype2 { get; set; }
/// <summary>
/// Gets or Sets Anytype3
/// </summary>
[DataMember(Name="anytype_3", EmitDefaultValue=false)]
[DataMember(Name="anytype_3", EmitDefaultValue=true)]
public Object Anytype3 { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -73,13 +73,13 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets ClassName
/// </summary>
[DataMember(Name="className", EmitDefaultValue=false)]
[DataMember(Name="className", EmitDefaultValue=true)]
public string ClassName { get; set; }
/// <summary>
/// Gets or Sets Color
/// </summary>
[DataMember(Name="color", EmitDefaultValue=false)]
[DataMember(Name="color", EmitDefaultValue=true)]
public string Color { get; set; }
/// <summary>
@@ -49,19 +49,19 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Code
/// </summary>
[DataMember(Name="code", EmitDefaultValue=false)]
[DataMember(Name="code", EmitDefaultValue=true)]
public int Code { get; set; }
/// <summary>
/// Gets or Sets Type
/// </summary>
[DataMember(Name="type", EmitDefaultValue=false)]
[DataMember(Name="type", EmitDefaultValue=true)]
public string Type { get; set; }
/// <summary>
/// Gets or Sets Message
/// </summary>
[DataMember(Name="message", EmitDefaultValue=false)]
[DataMember(Name="message", EmitDefaultValue=true)]
public string Message { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets ArrayArrayNumber
/// </summary>
[DataMember(Name="ArrayArrayNumber", EmitDefaultValue=false)]
[DataMember(Name="ArrayArrayNumber", EmitDefaultValue=true)]
public List<List<decimal>> ArrayArrayNumber { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets ArrayNumber
/// </summary>
[DataMember(Name="ArrayNumber", EmitDefaultValue=false)]
[DataMember(Name="ArrayNumber", EmitDefaultValue=true)]
public List<decimal> ArrayNumber { get; set; }
/// <summary>
@@ -49,19 +49,19 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets ArrayOfString
/// </summary>
[DataMember(Name="array_of_string", EmitDefaultValue=false)]
[DataMember(Name="array_of_string", EmitDefaultValue=true)]
public List<string> ArrayOfString { get; set; }
/// <summary>
/// Gets or Sets ArrayArrayOfInteger
/// </summary>
[DataMember(Name="array_array_of_integer", EmitDefaultValue=false)]
[DataMember(Name="array_array_of_integer", EmitDefaultValue=true)]
public List<List<long>> ArrayArrayOfInteger { get; set; }
/// <summary>
/// Gets or Sets ArrayArrayOfModel
/// </summary>
[DataMember(Name="array_array_of_model", EmitDefaultValue=false)]
[DataMember(Name="array_array_of_model", EmitDefaultValue=true)]
public List<List<ReadOnlyFirst>> ArrayArrayOfModel { get; set; }
/// <summary>
@@ -55,38 +55,38 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets SmallCamel
/// </summary>
[DataMember(Name="smallCamel", EmitDefaultValue=false)]
[DataMember(Name="smallCamel", EmitDefaultValue=true)]
public string SmallCamel { get; set; }
/// <summary>
/// Gets or Sets CapitalCamel
/// </summary>
[DataMember(Name="CapitalCamel", EmitDefaultValue=false)]
[DataMember(Name="CapitalCamel", EmitDefaultValue=true)]
public string CapitalCamel { get; set; }
/// <summary>
/// Gets or Sets SmallSnake
/// </summary>
[DataMember(Name="small_Snake", EmitDefaultValue=false)]
[DataMember(Name="small_Snake", EmitDefaultValue=true)]
public string SmallSnake { get; set; }
/// <summary>
/// Gets or Sets CapitalSnake
/// </summary>
[DataMember(Name="Capital_Snake", EmitDefaultValue=false)]
[DataMember(Name="Capital_Snake", EmitDefaultValue=true)]
public string CapitalSnake { get; set; }
/// <summary>
/// Gets or Sets SCAETHFlowPoints
/// </summary>
[DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=false)]
[DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=true)]
public string SCAETHFlowPoints { get; set; }
/// <summary>
/// Name of the pet
/// </summary>
/// <value>Name of the pet </value>
[DataMember(Name="ATT_NAME", EmitDefaultValue=false)]
[DataMember(Name="ATT_NAME", EmitDefaultValue=true)]
public string ATT_NAME { get; set; }
/// <summary>
@@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Declawed
/// </summary>
[DataMember(Name="declawed", EmitDefaultValue=false)]
[DataMember(Name="declawed", EmitDefaultValue=true)]
public bool Declawed { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Declawed
/// </summary>
[DataMember(Name="declawed", EmitDefaultValue=false)]
[DataMember(Name="declawed", EmitDefaultValue=true)]
public bool Declawed { get; set; }
/// <summary>
@@ -61,13 +61,13 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Id
/// </summary>
[DataMember(Name="id", EmitDefaultValue=false)]
[DataMember(Name="id", EmitDefaultValue=true)]
public long Id { get; set; }
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[DataMember(Name="name", EmitDefaultValue=true)]
public string Name { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Class
/// </summary>
[DataMember(Name="_class", EmitDefaultValue=false)]
[DataMember(Name="_class", EmitDefaultValue=true)]
public string Class { get; set; }
/// <summary>
@@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Breed
/// </summary>
[DataMember(Name="breed", EmitDefaultValue=false)]
[DataMember(Name="breed", EmitDefaultValue=true)]
public string Breed { get; set; }
/// <summary>
@@ -45,7 +45,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets Breed
/// </summary>
[DataMember(Name="breed", EmitDefaultValue=false)]
[DataMember(Name="breed", EmitDefaultValue=true)]
public string Breed { get; set; }
/// <summary>
@@ -56,7 +56,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets JustSymbol
/// </summary>
[DataMember(Name="just_symbol", EmitDefaultValue=false)]
[DataMember(Name="just_symbol", EmitDefaultValue=true)]
public JustSymbolEnum? JustSymbol { get; set; }
/// <summary>
/// Defines ArrayEnum
@@ -82,7 +82,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets ArrayEnum
/// </summary>
[DataMember(Name="array_enum", EmitDefaultValue=false)]
[DataMember(Name="array_enum", EmitDefaultValue=true)]
public List<ArrayEnumEnum> ArrayEnum { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="EnumArrays" /> class.
@@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets EnumString
/// </summary>
[DataMember(Name="enum_string", EmitDefaultValue=false)]
[DataMember(Name="enum_string", EmitDefaultValue=true)]
public EnumStringEnum? EnumString { get; set; }
/// <summary>
/// Defines EnumStringRequired
@@ -93,7 +93,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets EnumStringRequired
/// </summary>
[DataMember(Name="enum_string_required", EmitDefaultValue=false)]
[DataMember(Name="enum_string_required", EmitDefaultValue=true)]
public EnumStringRequiredEnum EnumStringRequired { get; set; }
/// <summary>
/// Defines EnumInteger
@@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets EnumInteger
/// </summary>
[DataMember(Name="enum_integer", EmitDefaultValue=false)]
[DataMember(Name="enum_integer", EmitDefaultValue=true)]
public EnumIntegerEnum? EnumInteger { get; set; }
/// <summary>
/// Defines EnumNumber
@@ -140,12 +140,12 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets EnumNumber
/// </summary>
[DataMember(Name="enum_number", EmitDefaultValue=false)]
[DataMember(Name="enum_number", EmitDefaultValue=true)]
public EnumNumberEnum? EnumNumber { get; set; }
/// <summary>
/// Gets or Sets OuterEnum
/// </summary>
[DataMember(Name="outerEnum", EmitDefaultValue=false)]
[DataMember(Name="outerEnum", EmitDefaultValue=true)]
public OuterEnum? OuterEnum { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="EnumTest" /> class.
@@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Model
/// Test capitalization
/// </summary>
/// <value>Test capitalization</value>
[DataMember(Name="sourceURI", EmitDefaultValue=false)]
[DataMember(Name="sourceURI", EmitDefaultValue=true)]
public string SourceURI { get; set; }
/// <summary>
@@ -47,13 +47,13 @@ namespace Org.OpenAPITools.Model
/// <summary>
/// Gets or Sets File
/// </summary>
[DataMember(Name="file", EmitDefaultValue=false)]
[DataMember(Name="file", EmitDefaultValue=true)]
public File File { get; set; }
/// <summary>
/// Gets or Sets Files
/// </summary>
[DataMember(Name="files", EmitDefaultValue=false)]
[DataMember(Name="files", EmitDefaultValue=true)]
public List<File> Files { get; set; }
/// <summary>

Some files were not shown because too many files have changed in this diff Show More