mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
[C#][.NET Core] fix map instantiation in models extending Dictionary (#2776)
* fix map type in csharp netcore * add new files for csharp netcore client
This commit is contained in:
parent
09559da027
commit
a88e0acc47
@ -48,6 +48,7 @@ declare -a scripts=(
|
|||||||
"./bin/r-petstore.sh"
|
"./bin/r-petstore.sh"
|
||||||
"./bin/haskell-http-client-petstore.sh"
|
"./bin/haskell-http-client-petstore.sh"
|
||||||
"./bin/csharp-petstore.sh"
|
"./bin/csharp-petstore.sh"
|
||||||
|
"./bin/csharp-netcore-petstore.sh"
|
||||||
"./bin/elixir-petstore.sh"
|
"./bin/elixir-petstore.sh"
|
||||||
"./bin/go-petstore.sh"
|
"./bin/go-petstore.sh"
|
||||||
"./bin/go-gin-petstore-server.sh"
|
"./bin/go-gin-petstore-server.sh"
|
||||||
|
@ -18,6 +18,7 @@ package org.openapitools.codegen.languages;
|
|||||||
|
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
import com.samskivert.mustache.Mustache;
|
import com.samskivert.mustache.Mustache;
|
||||||
|
import io.swagger.v3.oas.models.media.ArraySchema;
|
||||||
import io.swagger.v3.oas.models.media.Schema;
|
import io.swagger.v3.oas.models.media.Schema;
|
||||||
import org.openapitools.codegen.*;
|
import org.openapitools.codegen.*;
|
||||||
import org.openapitools.codegen.utils.ModelUtils;
|
import org.openapitools.codegen.utils.ModelUtils;
|
||||||
@ -826,4 +827,28 @@ public class CSharpNetCoreClientCodegen extends AbstractCSharpCodegen {
|
|||||||
else return "v" + this.name.replace("netcoreapp", "");
|
else return "v" + this.name.replace("netcoreapp", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the instantiation type of the property, especially for map and array
|
||||||
|
*
|
||||||
|
* @param schema property schema
|
||||||
|
* @return string presentation of the instantiation type of the property
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String toInstantiationType(Schema schema) {
|
||||||
|
if (ModelUtils.isMapSchema(schema)) {
|
||||||
|
Schema additionalProperties = ModelUtils.getAdditionalProperties(schema);
|
||||||
|
String inner = getSchemaType(additionalProperties);
|
||||||
|
if (ModelUtils.isMapSchema(additionalProperties)) {
|
||||||
|
inner = toInstantiationType(additionalProperties);
|
||||||
|
}
|
||||||
|
return instantiationTypes.get("map") + "<String, " + inner + ">";
|
||||||
|
} else if (ModelUtils.isArraySchema(schema)) {
|
||||||
|
ArraySchema arraySchema = (ArraySchema) schema;
|
||||||
|
String inner = getSchemaType(arraySchema.getItems());
|
||||||
|
return instantiationTypes.get("array") + "<" + inner + ">";
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
|
|||||||
|
|
||||||
- API version: 1.0.0
|
- API version: 1.0.0
|
||||||
- SDK version: 1.0.0
|
- SDK version: 1.0.0
|
||||||
- Build package: org.openapitools.codegen.languages.CSharpRefactorClientCodegen
|
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
|
||||||
|
|
||||||
<a name="frameworks-supported"></a>
|
<a name="frameworks-supported"></a>
|
||||||
## Frameworks supported
|
## Frameworks supported
|
||||||
@ -128,7 +128,14 @@ Class | Method | HTTP request | Description
|
|||||||
<a name="documentation-for-models"></a>
|
<a name="documentation-for-models"></a>
|
||||||
## Documentation for Models
|
## Documentation for Models
|
||||||
|
|
||||||
|
- [Model.AdditionalPropertiesAnyType](docs/AdditionalPropertiesAnyType.md)
|
||||||
|
- [Model.AdditionalPropertiesArray](docs/AdditionalPropertiesArray.md)
|
||||||
|
- [Model.AdditionalPropertiesBoolean](docs/AdditionalPropertiesBoolean.md)
|
||||||
- [Model.AdditionalPropertiesClass](docs/AdditionalPropertiesClass.md)
|
- [Model.AdditionalPropertiesClass](docs/AdditionalPropertiesClass.md)
|
||||||
|
- [Model.AdditionalPropertiesInteger](docs/AdditionalPropertiesInteger.md)
|
||||||
|
- [Model.AdditionalPropertiesNumber](docs/AdditionalPropertiesNumber.md)
|
||||||
|
- [Model.AdditionalPropertiesObject](docs/AdditionalPropertiesObject.md)
|
||||||
|
- [Model.AdditionalPropertiesString](docs/AdditionalPropertiesString.md)
|
||||||
- [Model.Animal](docs/Animal.md)
|
- [Model.Animal](docs/Animal.md)
|
||||||
- [Model.ApiResponse](docs/ApiResponse.md)
|
- [Model.ApiResponse](docs/ApiResponse.md)
|
||||||
- [Model.ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
|
- [Model.ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesAnyType
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesArray
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesBoolean
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -3,8 +3,17 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**MapProperty** | **Dictionary<string, string>** | | [optional]
|
**MapString** | **Dictionary<string, string>** | | [optional]
|
||||||
**MapOfMapProperty** | **Dictionary<string, Dictionary<string, string>>** | | [optional]
|
**MapNumber** | **Dictionary<string, decimal>** | | [optional]
|
||||||
|
**MapInteger** | **Dictionary<string, int>** | | [optional]
|
||||||
|
**MapBoolean** | **Dictionary<string, bool>** | | [optional]
|
||||||
|
**MapArrayInteger** | **Dictionary<string, List<int>>** | | [optional]
|
||||||
|
**MapArrayAnytype** | **Dictionary<string, List<Object>>** | | [optional]
|
||||||
|
**MapMapString** | **Dictionary<string, Dictionary<string, string>>** | | [optional]
|
||||||
|
**MapMapAnytype** | **Dictionary<string, Dictionary<string, Object>>** | | [optional]
|
||||||
|
**Anytype1** | [**Object**](.md) | | [optional]
|
||||||
|
**Anytype2** | [**Object**](.md) | | [optional]
|
||||||
|
**Anytype3** | [**Object**](.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesInteger
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesNumber
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesObject
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
# Org.OpenAPITools.Model.AdditionalPropertiesString
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesAnyType
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesAnyTypeTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesAnyType
|
||||||
|
//private AdditionalPropertiesAnyType instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesAnyTypeTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesAnyType
|
||||||
|
//instance = new AdditionalPropertiesAnyType();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesAnyType
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesAnyTypeInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesAnyType
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesAnyType> (instance, "variable 'instance' is a AdditionalPropertiesAnyType");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesArray
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesArrayTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesArray
|
||||||
|
//private AdditionalPropertiesArray instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesArrayTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesArray
|
||||||
|
//instance = new AdditionalPropertiesArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesArray
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesArrayInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesArray
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesArray> (instance, "variable 'instance' is a AdditionalPropertiesArray");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesBoolean
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesBooleanTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesBoolean
|
||||||
|
//private AdditionalPropertiesBoolean instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesBooleanTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesBoolean
|
||||||
|
//instance = new AdditionalPropertiesBoolean();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesBoolean
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesBooleanInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesBoolean
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesBoolean> (instance, "variable 'instance' is a AdditionalPropertiesBoolean");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesInteger
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesIntegerTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesInteger
|
||||||
|
//private AdditionalPropertiesInteger instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesIntegerTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesInteger
|
||||||
|
//instance = new AdditionalPropertiesInteger();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesInteger
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesIntegerInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesInteger
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesInteger> (instance, "variable 'instance' is a AdditionalPropertiesInteger");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesNumber
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesNumberTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesNumber
|
||||||
|
//private AdditionalPropertiesNumber instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesNumberTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesNumber
|
||||||
|
//instance = new AdditionalPropertiesNumber();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesNumber
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesNumberInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesNumber
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesNumber> (instance, "variable 'instance' is a AdditionalPropertiesNumber");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesObject
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesObjectTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesObject
|
||||||
|
//private AdditionalPropertiesObject instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesObjectTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesObject
|
||||||
|
//instance = new AdditionalPropertiesObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesObject
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesObjectInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesObject
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesObject> (instance, "variable 'instance' is a AdditionalPropertiesObject");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Org.OpenAPITools.Api;
|
||||||
|
using Org.OpenAPITools.Model;
|
||||||
|
using Org.OpenAPITools.Client;
|
||||||
|
using System.Reflection;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Test
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class for testing AdditionalPropertiesString
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
/// Please update the test case below to test the model.
|
||||||
|
/// </remarks>
|
||||||
|
public class AdditionalPropertiesStringTests : IDisposable
|
||||||
|
{
|
||||||
|
// TODO uncomment below to declare an instance variable for AdditionalPropertiesString
|
||||||
|
//private AdditionalPropertiesString instance;
|
||||||
|
|
||||||
|
public AdditionalPropertiesStringTests()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to create an instance of AdditionalPropertiesString
|
||||||
|
//instance = new AdditionalPropertiesString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Cleanup when everything is done.
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test an instance of AdditionalPropertiesString
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AdditionalPropertiesStringInstanceTest()
|
||||||
|
{
|
||||||
|
// TODO uncomment below to test "IsInstanceOfType" AdditionalPropertiesString
|
||||||
|
//Assert.IsInstanceOfType<AdditionalPropertiesString> (instance, "variable 'instance' is a AdditionalPropertiesString");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Name'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void NameTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Name'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -233,8 +233,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
|
@ -848,8 +848,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -962,8 +962,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"*/*"
|
"*/*"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1068,8 +1068,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"*/*"
|
"*/*"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1174,8 +1174,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"*/*"
|
"*/*"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1280,8 +1280,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"*/*"
|
"*/*"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1389,8 +1389,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1507,8 +1507,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1647,8 +1647,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1799,8 +1799,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -2081,8 +2081,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -2322,8 +2322,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -2537,8 +2537,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -2655,8 +2655,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
|
@ -233,8 +233,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
|
@ -596,8 +596,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -722,8 +722,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -855,8 +855,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1001,8 +1001,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1147,8 +1147,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1274,8 +1274,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1403,8 +1403,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1555,8 +1555,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1713,8 +1713,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
|
@ -352,8 +352,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -460,8 +460,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -577,8 +577,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -695,8 +695,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
|
@ -528,8 +528,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -638,8 +638,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -748,8 +748,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -858,8 +858,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -973,8 +973,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1097,8 +1097,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
"application/json"
|
"application/json"
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1248,8 +1248,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
@ -1356,8 +1356,8 @@ namespace Org.OpenAPITools.Api
|
|||||||
String[] @accepts = new String[] {
|
String[] @accepts = new String[] {
|
||||||
};
|
};
|
||||||
|
|
||||||
var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
var localVarContentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
|
||||||
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
|
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
|
||||||
|
|
||||||
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
|
||||||
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);
|
||||||
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesAnyType
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesAnyType : Dictionary<String, Object>, IEquatable<AdditionalPropertiesAnyType>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesAnyType" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesAnyType(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesAnyType {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesAnyType).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesAnyType instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesAnyType to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesAnyType input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesArray
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesArray : Dictionary<String, List>, IEquatable<AdditionalPropertiesArray>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesArray" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesArray(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesArray {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesArray).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesArray instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesArray to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesArray input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesBoolean
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesBoolean : Dictionary<String, bool>, IEquatable<AdditionalPropertiesBoolean>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesBoolean" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesBoolean(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesBoolean {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesBoolean).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesBoolean instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesBoolean to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesBoolean input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -35,25 +35,97 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="AdditionalPropertiesClass" /> class.
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesClass" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="mapProperty">mapProperty.</param>
|
/// <param name="mapString">mapString.</param>
|
||||||
/// <param name="mapOfMapProperty">mapOfMapProperty.</param>
|
/// <param name="mapNumber">mapNumber.</param>
|
||||||
public AdditionalPropertiesClass(Dictionary<string, string> mapProperty = default(Dictionary<string, string>), Dictionary<string, Dictionary<string, string>> mapOfMapProperty = default(Dictionary<string, Dictionary<string, string>>))
|
/// <param name="mapInteger">mapInteger.</param>
|
||||||
|
/// <param name="mapBoolean">mapBoolean.</param>
|
||||||
|
/// <param name="mapArrayInteger">mapArrayInteger.</param>
|
||||||
|
/// <param name="mapArrayAnytype">mapArrayAnytype.</param>
|
||||||
|
/// <param name="mapMapString">mapMapString.</param>
|
||||||
|
/// <param name="mapMapAnytype">mapMapAnytype.</param>
|
||||||
|
/// <param name="anytype1">anytype1.</param>
|
||||||
|
/// <param name="anytype2">anytype2.</param>
|
||||||
|
/// <param name="anytype3">anytype3.</param>
|
||||||
|
public AdditionalPropertiesClass(Dictionary<string, string> mapString = default(Dictionary<string, string>), Dictionary<string, decimal> mapNumber = default(Dictionary<string, decimal>), Dictionary<string, int> mapInteger = default(Dictionary<string, int>), Dictionary<string, bool> mapBoolean = default(Dictionary<string, bool>), Dictionary<string, List<int>> mapArrayInteger = default(Dictionary<string, List<int>>), Dictionary<string, List<Object>> mapArrayAnytype = default(Dictionary<string, List<Object>>), Dictionary<string, Dictionary<string, string>> mapMapString = default(Dictionary<string, Dictionary<string, string>>), Dictionary<string, Dictionary<string, Object>> mapMapAnytype = default(Dictionary<string, Dictionary<string, Object>>), Object anytype1 = default(Object), Object anytype2 = default(Object), Object anytype3 = default(Object))
|
||||||
{
|
{
|
||||||
this.MapProperty = mapProperty;
|
this.MapString = mapString;
|
||||||
this.MapOfMapProperty = mapOfMapProperty;
|
this.MapNumber = mapNumber;
|
||||||
|
this.MapInteger = mapInteger;
|
||||||
|
this.MapBoolean = mapBoolean;
|
||||||
|
this.MapArrayInteger = mapArrayInteger;
|
||||||
|
this.MapArrayAnytype = mapArrayAnytype;
|
||||||
|
this.MapMapString = mapMapString;
|
||||||
|
this.MapMapAnytype = mapMapAnytype;
|
||||||
|
this.Anytype1 = anytype1;
|
||||||
|
this.Anytype2 = anytype2;
|
||||||
|
this.Anytype3 = anytype3;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets MapProperty
|
/// Gets or Sets MapString
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name="map_property", EmitDefaultValue=false)]
|
[DataMember(Name="map_string", EmitDefaultValue=false)]
|
||||||
public Dictionary<string, string> MapProperty { get; set; }
|
public Dictionary<string, string> MapString { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets MapOfMapProperty
|
/// Gets or Sets MapNumber
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name="map_of_map_property", EmitDefaultValue=false)]
|
[DataMember(Name="map_number", EmitDefaultValue=false)]
|
||||||
public Dictionary<string, Dictionary<string, string>> MapOfMapProperty { get; set; }
|
public Dictionary<string, decimal> MapNumber { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets MapInteger
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="map_integer", EmitDefaultValue=false)]
|
||||||
|
public Dictionary<string, int> MapInteger { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets MapBoolean
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="map_boolean", EmitDefaultValue=false)]
|
||||||
|
public Dictionary<string, bool> MapBoolean { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets MapArrayInteger
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="map_array_integer", EmitDefaultValue=false)]
|
||||||
|
public Dictionary<string, List<int>> MapArrayInteger { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets MapArrayAnytype
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="map_array_anytype", EmitDefaultValue=false)]
|
||||||
|
public Dictionary<string, List<Object>> MapArrayAnytype { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets MapMapString
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="map_map_string", EmitDefaultValue=false)]
|
||||||
|
public Dictionary<string, Dictionary<string, string>> MapMapString { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets MapMapAnytype
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="map_map_anytype", EmitDefaultValue=false)]
|
||||||
|
public Dictionary<string, Dictionary<string, Object>> MapMapAnytype { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Anytype1
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="anytype_1", EmitDefaultValue=false)]
|
||||||
|
public Object Anytype1 { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Anytype2
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="anytype_2", EmitDefaultValue=false)]
|
||||||
|
public Object Anytype2 { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Anytype3
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="anytype_3", EmitDefaultValue=false)]
|
||||||
|
public Object Anytype3 { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
@ -63,8 +135,17 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
sb.Append("class AdditionalPropertiesClass {\n");
|
sb.Append("class AdditionalPropertiesClass {\n");
|
||||||
sb.Append(" MapProperty: ").Append(MapProperty).Append("\n");
|
sb.Append(" MapString: ").Append(MapString).Append("\n");
|
||||||
sb.Append(" MapOfMapProperty: ").Append(MapOfMapProperty).Append("\n");
|
sb.Append(" MapNumber: ").Append(MapNumber).Append("\n");
|
||||||
|
sb.Append(" MapInteger: ").Append(MapInteger).Append("\n");
|
||||||
|
sb.Append(" MapBoolean: ").Append(MapBoolean).Append("\n");
|
||||||
|
sb.Append(" MapArrayInteger: ").Append(MapArrayInteger).Append("\n");
|
||||||
|
sb.Append(" MapArrayAnytype: ").Append(MapArrayAnytype).Append("\n");
|
||||||
|
sb.Append(" MapMapString: ").Append(MapMapString).Append("\n");
|
||||||
|
sb.Append(" MapMapAnytype: ").Append(MapMapAnytype).Append("\n");
|
||||||
|
sb.Append(" Anytype1: ").Append(Anytype1).Append("\n");
|
||||||
|
sb.Append(" Anytype2: ").Append(Anytype2).Append("\n");
|
||||||
|
sb.Append(" Anytype3: ").Append(Anytype3).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
@ -107,10 +188,28 @@ namespace Org.OpenAPITools.Model
|
|||||||
unchecked // Overflow is fine, just wrap
|
unchecked // Overflow is fine, just wrap
|
||||||
{
|
{
|
||||||
int hashCode = 41;
|
int hashCode = 41;
|
||||||
if (this.MapProperty != null)
|
if (this.MapString != null)
|
||||||
hashCode = hashCode * 59 + this.MapProperty.GetHashCode();
|
hashCode = hashCode * 59 + this.MapString.GetHashCode();
|
||||||
if (this.MapOfMapProperty != null)
|
if (this.MapNumber != null)
|
||||||
hashCode = hashCode * 59 + this.MapOfMapProperty.GetHashCode();
|
hashCode = hashCode * 59 + this.MapNumber.GetHashCode();
|
||||||
|
if (this.MapInteger != null)
|
||||||
|
hashCode = hashCode * 59 + this.MapInteger.GetHashCode();
|
||||||
|
if (this.MapBoolean != null)
|
||||||
|
hashCode = hashCode * 59 + this.MapBoolean.GetHashCode();
|
||||||
|
if (this.MapArrayInteger != null)
|
||||||
|
hashCode = hashCode * 59 + this.MapArrayInteger.GetHashCode();
|
||||||
|
if (this.MapArrayAnytype != null)
|
||||||
|
hashCode = hashCode * 59 + this.MapArrayAnytype.GetHashCode();
|
||||||
|
if (this.MapMapString != null)
|
||||||
|
hashCode = hashCode * 59 + this.MapMapString.GetHashCode();
|
||||||
|
if (this.MapMapAnytype != null)
|
||||||
|
hashCode = hashCode * 59 + this.MapMapAnytype.GetHashCode();
|
||||||
|
if (this.Anytype1 != null)
|
||||||
|
hashCode = hashCode * 59 + this.Anytype1.GetHashCode();
|
||||||
|
if (this.Anytype2 != null)
|
||||||
|
hashCode = hashCode * 59 + this.Anytype2.GetHashCode();
|
||||||
|
if (this.Anytype3 != null)
|
||||||
|
hashCode = hashCode * 59 + this.Anytype3.GetHashCode();
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesInteger
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesInteger : Dictionary<String, int>, IEquatable<AdditionalPropertiesInteger>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesInteger" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesInteger(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesInteger {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesInteger).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesInteger instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesInteger to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesInteger input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesNumber
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesNumber : Dictionary<String, decimal>, IEquatable<AdditionalPropertiesNumber>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesNumber" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesNumber(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesNumber {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesNumber).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesNumber instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesNumber to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesNumber input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesObject
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesObject : Dictionary<String, Dictionary<String, Object>>, IEquatable<AdditionalPropertiesObject>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesObject" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesObject(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesObject {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesObject).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesObject instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesObject to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesObject input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* OpenAPI spec version: 1.0.0
|
||||||
|
*
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// AdditionalPropertiesString
|
||||||
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
|
public partial class AdditionalPropertiesString : Dictionary<String, string>, IEquatable<AdditionalPropertiesString>, IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="AdditionalPropertiesString" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">name.</param>
|
||||||
|
public AdditionalPropertiesString(string name = default(string)) : base()
|
||||||
|
{
|
||||||
|
this.Name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets Name
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="name", EmitDefaultValue=false)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
sb.Append("class AdditionalPropertiesString {\n");
|
||||||
|
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
|
||||||
|
sb.Append(" Name: ").Append(Name).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the JSON string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>JSON string presentation of the object</returns>
|
||||||
|
public string ToJson()
|
||||||
|
{
|
||||||
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if objects are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Object to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public override bool Equals(object input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input as AdditionalPropertiesString).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if AdditionalPropertiesString instances are equal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input">Instance of AdditionalPropertiesString to be compared</param>
|
||||||
|
/// <returns>Boolean</returns>
|
||||||
|
public bool Equals(AdditionalPropertiesString input)
|
||||||
|
{
|
||||||
|
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the hash code
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>Hash code</returns>
|
||||||
|
public override int GetHashCode()
|
||||||
|
{
|
||||||
|
unchecked // Overflow is fine, just wrap
|
||||||
|
{
|
||||||
|
int hashCode = base.GetHashCode();
|
||||||
|
if (this.Name != null)
|
||||||
|
hashCode = hashCode * 59 + this.Name.GetHashCode();
|
||||||
|
return hashCode;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,19 +0,0 @@
|
|||||||
<Properties StartupConfiguration="{19F1DEBC-DE5E-4517-8062-F000CD499087}|Unit Tests">
|
|
||||||
<MonoDevelop.Ide.Workbench ActiveDocument="src/Org.OpenAPITools/Api/PetApi.cs">
|
|
||||||
<Files>
|
|
||||||
<File FileName="src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs" Line="1" Column="1" />
|
|
||||||
<File FileName="src/Org.OpenAPITools.Test/Client/ApiClientTests.cs" Line="17" Column="25" />
|
|
||||||
<File FileName="src/Org.OpenAPITools.Test/Client/ConfigurationTests.cs" Line="12" Column="30" />
|
|
||||||
<File FileName="src/Org.OpenAPITools.Test/Api/PetApiTests.cs" Line="289" Column="49" />
|
|
||||||
<File FileName="src/Org.OpenAPITools.Test/Model/PetTests.cs" Line="16" Column="16" />
|
|
||||||
<File FileName="src/Org.OpenAPITools/Api/PetApi.cs" Line="20" Column="2" />
|
|
||||||
</Files>
|
|
||||||
</MonoDevelop.Ide.Workbench>
|
|
||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
|
||||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
|
||||||
<BreakpointStore />
|
|
||||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
|
||||||
<MonoDevelop.Ide.ItemProperties.Org.OpenAPITools.Test PreferredExecutionTarget="MonoDevelop.Default" />
|
|
||||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
|
||||||
<MultiItemStartupConfigurations />
|
|
||||||
</Properties>
|
|
@ -8,18 +8,21 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
|
|||||||
- SDK version: 1.0.0
|
- SDK version: 1.0.0
|
||||||
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
|
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
|
||||||
|
|
||||||
<a name="frameworks-supported"></a>
|
|
||||||
## Frameworks supported
|
## Frameworks supported
|
||||||
|
|
||||||
|
|
||||||
- .NET 4.0 or later
|
- .NET 4.0 or later
|
||||||
- Windows Phone 7.1 (Mango)
|
- Windows Phone 7.1 (Mango)
|
||||||
|
|
||||||
<a name="dependencies"></a>
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
|
||||||
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
|
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
|
||||||
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
|
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
|
||||||
- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later
|
- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later
|
||||||
|
|
||||||
The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
|
The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
|
||||||
|
|
||||||
```
|
```
|
||||||
Install-Package RestSharp
|
Install-Package RestSharp
|
||||||
Install-Package Newtonsoft.Json
|
Install-Package Newtonsoft.Json
|
||||||
@ -28,19 +31,23 @@ Install-Package JsonSubTypes
|
|||||||
|
|
||||||
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
|
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
|
||||||
|
|
||||||
<a name="installation"></a>
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Run the following command to generate the DLL
|
Run the following command to generate the DLL
|
||||||
|
|
||||||
- [Mac/Linux] `/bin/sh build.sh`
|
- [Mac/Linux] `/bin/sh build.sh`
|
||||||
- [Windows] `build.bat`
|
- [Windows] `build.bat`
|
||||||
|
|
||||||
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
|
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using Org.OpenAPITools.Api;
|
using Org.OpenAPITools.Api;
|
||||||
using Org.OpenAPITools.Client;
|
using Org.OpenAPITools.Client;
|
||||||
using Org.OpenAPITools.Model;
|
using Org.OpenAPITools.Model;
|
||||||
|
|
||||||
```
|
```
|
||||||
<a name="packaging"></a>
|
|
||||||
|
|
||||||
## Packaging
|
## Packaging
|
||||||
|
|
||||||
A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
|
A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
|
||||||
@ -53,7 +60,7 @@ nuget pack -Build -OutputDirectory out Org.OpenAPITools.csproj
|
|||||||
|
|
||||||
Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
|
Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
|
||||||
|
|
||||||
<a name="getting-started"></a>
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
@ -89,7 +96,6 @@ namespace Example
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
<a name="documentation-for-api-endpoints"></a>
|
|
||||||
## Documentation for API Endpoints
|
## Documentation for API Endpoints
|
||||||
|
|
||||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||||
@ -134,7 +140,6 @@ Class | Method | HTTP request | Description
|
|||||||
*UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
|
*UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
|
||||||
|
|
||||||
|
|
||||||
<a name="documentation-for-models"></a>
|
|
||||||
## Documentation for Models
|
## Documentation for Models
|
||||||
|
|
||||||
- [Model.AdditionalPropertiesAnyType](docs/AdditionalPropertiesAnyType.md)
|
- [Model.AdditionalPropertiesAnyType](docs/AdditionalPropertiesAnyType.md)
|
||||||
@ -183,31 +188,34 @@ Class | Method | HTTP request | Description
|
|||||||
- [Model.XmlItem](docs/XmlItem.md)
|
- [Model.XmlItem](docs/XmlItem.md)
|
||||||
|
|
||||||
|
|
||||||
<a name="documentation-for-authorization"></a>
|
|
||||||
## Documentation for Authorization
|
## Documentation for Authorization
|
||||||
|
|
||||||
<a name="api_key"></a>
|
|
||||||
### api_key
|
### api_key
|
||||||
|
|
||||||
- **Type**: API key
|
- **Type**: API key
|
||||||
|
|
||||||
- **API key parameter name**: api_key
|
- **API key parameter name**: api_key
|
||||||
- **Location**: HTTP header
|
- **Location**: HTTP header
|
||||||
|
|
||||||
<a name="api_key_query"></a>
|
|
||||||
### api_key_query
|
### api_key_query
|
||||||
|
|
||||||
- **Type**: API key
|
- **Type**: API key
|
||||||
|
|
||||||
- **API key parameter name**: api_key_query
|
- **API key parameter name**: api_key_query
|
||||||
- **Location**: URL query string
|
- **Location**: URL query string
|
||||||
|
|
||||||
<a name="http_basic_test"></a>
|
|
||||||
### http_basic_test
|
### http_basic_test
|
||||||
|
|
||||||
|
|
||||||
- **Type**: HTTP basic authentication
|
- **Type**: HTTP basic authentication
|
||||||
|
|
||||||
<a name="petstore_auth"></a>
|
|
||||||
### petstore_auth
|
### petstore_auth
|
||||||
|
|
||||||
|
|
||||||
- **Type**: OAuth
|
- **Type**: OAuth
|
||||||
- **Flow**: implicit
|
- **Flow**: implicit
|
||||||
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
|
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesAnyType
|
# Org.OpenAPITools.Model.AdditionalPropertiesAnyType
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesArray
|
# Org.OpenAPITools.Model.AdditionalPropertiesArray
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesBoolean
|
# Org.OpenAPITools.Model.AdditionalPropertiesBoolean
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesClass
|
# Org.OpenAPITools.Model.AdditionalPropertiesClass
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -15,5 +17,7 @@ Name | Type | Description | Notes
|
|||||||
**Anytype2** | [**Object**](.md) | | [optional]
|
**Anytype2** | [**Object**](.md) | | [optional]
|
||||||
**Anytype3** | [**Object**](.md) | | [optional]
|
**Anytype3** | [**Object**](.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesInteger
|
# Org.OpenAPITools.Model.AdditionalPropertiesInteger
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesNumber
|
# Org.OpenAPITools.Model.AdditionalPropertiesNumber
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesObject
|
# Org.OpenAPITools.Model.AdditionalPropertiesObject
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesString
|
# Org.OpenAPITools.Model.AdditionalPropertiesString
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Animal
|
# Org.OpenAPITools.Model.Animal
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**ClassName** | **string** | |
|
**ClassName** | **string** | |
|
||||||
**Color** | **string** | | [optional] [default to "red"]
|
**Color** | **string** | | [optional] [default to "red"]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -7,8 +7,9 @@ Method | HTTP request | Description
|
|||||||
[**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags
|
[**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags
|
||||||
|
|
||||||
|
|
||||||
<a name="call123testspecialtags"></a>
|
|
||||||
# **Call123TestSpecialTags**
|
## Call123TestSpecialTags
|
||||||
|
|
||||||
> ModelClient Call123TestSpecialTags (ModelClient body)
|
> ModelClient Call123TestSpecialTags (ModelClient body)
|
||||||
|
|
||||||
To test special tags
|
To test special tags
|
||||||
@ -16,6 +17,7 @@ To test special tags
|
|||||||
To test special tags and operation ID starting with number
|
To test special tags and operation ID starting with number
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -49,6 +51,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**ModelClient**](ModelClient.md)| client model |
|
**body** | [**ModelClient**](ModelClient.md)| client model |
|
||||||
@ -63,8 +66,11 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[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)
|
[[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)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ApiResponse
|
# Org.OpenAPITools.Model.ApiResponse
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -7,5 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**Type** | **string** | | [optional]
|
**Type** | **string** | | [optional]
|
||||||
**Message** | **string** | | [optional]
|
**Message** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ArrayOfArrayOfNumberOnly
|
# Org.OpenAPITools.Model.ArrayOfArrayOfNumberOnly
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**ArrayArrayNumber** | **List<List<decimal?>>** | | [optional]
|
**ArrayArrayNumber** | **List<List<decimal?>>** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ArrayOfNumberOnly
|
# Org.OpenAPITools.Model.ArrayOfNumberOnly
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**ArrayNumber** | **List<decimal?>** | | [optional]
|
**ArrayNumber** | **List<decimal?>** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ArrayTest
|
# Org.OpenAPITools.Model.ArrayTest
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -7,5 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**ArrayArrayOfInteger** | **List<List<long?>>** | | [optional]
|
**ArrayArrayOfInteger** | **List<List<long?>>** | | [optional]
|
||||||
**ArrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional]
|
**ArrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Capitalization
|
# Org.OpenAPITools.Model.Capitalization
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -10,5 +12,7 @@ Name | Type | Description | Notes
|
|||||||
**SCAETHFlowPoints** | **string** | | [optional]
|
**SCAETHFlowPoints** | **string** | | [optional]
|
||||||
**ATT_NAME** | **string** | Name of the pet | [optional]
|
**ATT_NAME** | **string** | Name of the pet | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Cat
|
# Org.OpenAPITools.Model.Cat
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -7,5 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**Color** | **string** | | [optional] [default to "red"]
|
**Color** | **string** | | [optional] [default to "red"]
|
||||||
**Declawed** | **bool?** | | [optional]
|
**Declawed** | **bool?** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Category
|
# Org.OpenAPITools.Model.Category
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**Id** | **long?** | | [optional]
|
**Id** | **long?** | | [optional]
|
||||||
**Name** | **string** | | [default to "default-name"]
|
**Name** | **string** | | [default to "default-name"]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ClassModel
|
# Org.OpenAPITools.Model.ClassModel
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Class** | **string** | | [optional]
|
**Class** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Dog
|
# Org.OpenAPITools.Model.Dog
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -7,5 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**Color** | **string** | | [optional] [default to "red"]
|
**Color** | **string** | | [optional] [default to "red"]
|
||||||
**Breed** | **string** | | [optional]
|
**Breed** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.EnumArrays
|
# Org.OpenAPITools.Model.EnumArrays
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**JustSymbol** | **string** | | [optional]
|
**JustSymbol** | **string** | | [optional]
|
||||||
**ArrayEnum** | **List<string>** | | [optional]
|
**ArrayEnum** | **List<string>** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.EnumClass
|
# Org.OpenAPITools.Model.EnumClass
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.EnumTest
|
# Org.OpenAPITools.Model.EnumTest
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -9,5 +11,7 @@ Name | Type | Description | Notes
|
|||||||
**EnumNumber** | **double?** | | [optional]
|
**EnumNumber** | **double?** | | [optional]
|
||||||
**OuterEnum** | [**OuterEnum**](OuterEnum.md) | | [optional]
|
**OuterEnum** | [**OuterEnum**](OuterEnum.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -19,8 +19,9 @@ Method | HTTP request | Description
|
|||||||
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
|
[**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data
|
||||||
|
|
||||||
|
|
||||||
<a name="createxmlitem"></a>
|
|
||||||
# **CreateXmlItem**
|
## CreateXmlItem
|
||||||
|
|
||||||
> void CreateXmlItem (XmlItem xmlItem)
|
> void CreateXmlItem (XmlItem xmlItem)
|
||||||
|
|
||||||
creates an XmlItem
|
creates an XmlItem
|
||||||
@ -28,6 +29,7 @@ creates an XmlItem
|
|||||||
this route creates an XmlItem
|
this route creates an XmlItem
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -60,6 +62,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**xmlItem** | [**XmlItem**](XmlItem.md)| XmlItem Body |
|
**xmlItem** | [**XmlItem**](XmlItem.md)| XmlItem Body |
|
||||||
@ -74,13 +77,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/xml, application/xml; charset=utf-8, application/xml; charset=utf-16, text/xml, text/xml; charset=utf-8, text/xml; charset=utf-16
|
- **Content-Type**: application/xml, application/xml; charset=utf-8, application/xml; charset=utf-16, text/xml, text/xml; charset=utf-8, text/xml; charset=utf-16
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## FakeOuterBooleanSerialize
|
||||||
|
|
||||||
<a name="fakeouterbooleanserialize"></a>
|
|
||||||
# **FakeOuterBooleanSerialize**
|
|
||||||
> bool? FakeOuterBooleanSerialize (bool? body = null)
|
> bool? FakeOuterBooleanSerialize (bool? body = null)
|
||||||
|
|
||||||
|
|
||||||
@ -88,6 +95,7 @@ No authorization required
|
|||||||
Test serialization of outer boolean types
|
Test serialization of outer boolean types
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -120,6 +128,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | **bool?**| Input boolean as post body | [optional]
|
**body** | **bool?**| Input boolean as post body | [optional]
|
||||||
@ -134,13 +143,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: */*
|
- **Accept**: */*
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## FakeOuterCompositeSerialize
|
||||||
|
|
||||||
<a name="fakeoutercompositeserialize"></a>
|
|
||||||
# **FakeOuterCompositeSerialize**
|
|
||||||
> OuterComposite FakeOuterCompositeSerialize (OuterComposite body = null)
|
> OuterComposite FakeOuterCompositeSerialize (OuterComposite body = null)
|
||||||
|
|
||||||
|
|
||||||
@ -148,6 +161,7 @@ No authorization required
|
|||||||
Test serialization of object with outer number type
|
Test serialization of object with outer number type
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -180,6 +194,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**OuterComposite**](OuterComposite.md)| Input composite as post body | [optional]
|
**body** | [**OuterComposite**](OuterComposite.md)| Input composite as post body | [optional]
|
||||||
@ -194,13 +209,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: */*
|
- **Accept**: */*
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## FakeOuterNumberSerialize
|
||||||
|
|
||||||
<a name="fakeouternumberserialize"></a>
|
|
||||||
# **FakeOuterNumberSerialize**
|
|
||||||
> decimal? FakeOuterNumberSerialize (decimal? body = null)
|
> decimal? FakeOuterNumberSerialize (decimal? body = null)
|
||||||
|
|
||||||
|
|
||||||
@ -208,6 +227,7 @@ No authorization required
|
|||||||
Test serialization of outer number types
|
Test serialization of outer number types
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -240,6 +260,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | **decimal?**| Input number as post body | [optional]
|
**body** | **decimal?**| Input number as post body | [optional]
|
||||||
@ -254,13 +275,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: */*
|
- **Accept**: */*
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## FakeOuterStringSerialize
|
||||||
|
|
||||||
<a name="fakeouterstringserialize"></a>
|
|
||||||
# **FakeOuterStringSerialize**
|
|
||||||
> string FakeOuterStringSerialize (string body = null)
|
> string FakeOuterStringSerialize (string body = null)
|
||||||
|
|
||||||
|
|
||||||
@ -268,6 +293,7 @@ No authorization required
|
|||||||
Test serialization of outer string types
|
Test serialization of outer string types
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -300,6 +326,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | **string**| Input string as post body | [optional]
|
**body** | **string**| Input string as post body | [optional]
|
||||||
@ -314,13 +341,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: */*
|
- **Accept**: */*
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestBodyWithFileSchema
|
||||||
|
|
||||||
<a name="testbodywithfileschema"></a>
|
|
||||||
# **TestBodyWithFileSchema**
|
|
||||||
> void TestBodyWithFileSchema (FileSchemaTestClass body)
|
> void TestBodyWithFileSchema (FileSchemaTestClass body)
|
||||||
|
|
||||||
|
|
||||||
@ -328,6 +359,7 @@ No authorization required
|
|||||||
For this test, the body for this request much reference a schema named `File`.
|
For this test, the body for this request much reference a schema named `File`.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -359,6 +391,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**FileSchemaTestClass**](FileSchemaTestClass.md)| |
|
**body** | [**FileSchemaTestClass**](FileSchemaTestClass.md)| |
|
||||||
@ -373,18 +406,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestBodyWithQueryParams
|
||||||
|
|
||||||
<a name="testbodywithqueryparams"></a>
|
|
||||||
# **TestBodyWithQueryParams**
|
|
||||||
> void TestBodyWithQueryParams (string query, User body)
|
> void TestBodyWithQueryParams (string query, User body)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -417,6 +455,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**query** | **string**| |
|
**query** | **string**| |
|
||||||
@ -432,13 +471,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestClientModel
|
||||||
|
|
||||||
<a name="testclientmodel"></a>
|
|
||||||
# **TestClientModel**
|
|
||||||
> ModelClient TestClientModel (ModelClient body)
|
> ModelClient TestClientModel (ModelClient body)
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
@ -446,6 +489,7 @@ To test \"client\" model
|
|||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -479,6 +523,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**ModelClient**](ModelClient.md)| client model |
|
**body** | [**ModelClient**](ModelClient.md)| client model |
|
||||||
@ -493,13 +538,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestEndpointParameters
|
||||||
|
|
||||||
<a name="testendpointparameters"></a>
|
|
||||||
# **TestEndpointParameters**
|
|
||||||
> 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 = 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)
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
@ -507,6 +556,7 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
|
|||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -556,6 +606,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**number** | **decimal?**| None |
|
**number** | **decimal?**| None |
|
||||||
@ -583,13 +634,17 @@ void (empty response body)
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/x-www-form-urlencoded
|
- **Content-Type**: application/x-www-form-urlencoded
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestEnumParameters
|
||||||
|
|
||||||
<a name="testenumparameters"></a>
|
|
||||||
# **TestEnumParameters**
|
|
||||||
> 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 = null, string enumHeaderString = null, List<string> enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List<string> enumFormStringArray = null, string enumFormString = null)
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
@ -597,6 +652,7 @@ To test enum parameters
|
|||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -636,6 +692,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**enumHeaderStringArray** | **List<string>**| Header parameter enum test (string array) | [optional]
|
**enumHeaderStringArray** | **List<string>**| Header parameter enum test (string array) | [optional]
|
||||||
@ -657,13 +714,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/x-www-form-urlencoded
|
- **Content-Type**: application/x-www-form-urlencoded
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestGroupParameters
|
||||||
|
|
||||||
<a name="testgroupparameters"></a>
|
|
||||||
# **TestGroupParameters**
|
|
||||||
> void TestGroupParameters (int? requiredStringGroup, bool? requiredBooleanGroup, long? requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null)
|
> void TestGroupParameters (int? requiredStringGroup, bool? requiredBooleanGroup, long? requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
@ -671,6 +732,7 @@ Fake endpoint to test group parameters (optional)
|
|||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -708,6 +770,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**requiredStringGroup** | **int?**| Required String in group parameters |
|
**requiredStringGroup** | **int?**| Required String in group parameters |
|
||||||
@ -727,18 +790,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestInlineAdditionalProperties
|
||||||
|
|
||||||
<a name="testinlineadditionalproperties"></a>
|
|
||||||
# **TestInlineAdditionalProperties**
|
|
||||||
> void TestInlineAdditionalProperties (Dictionary<string, string> param)
|
> void TestInlineAdditionalProperties (Dictionary<string, string> param)
|
||||||
|
|
||||||
test inline additionalProperties
|
test inline additionalProperties
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -771,6 +839,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**param** | [**Dictionary<string, string>**](string.md)| request body |
|
**param** | [**Dictionary<string, string>**](string.md)| request body |
|
||||||
@ -785,18 +854,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## TestJsonFormData
|
||||||
|
|
||||||
<a name="testjsonformdata"></a>
|
|
||||||
# **TestJsonFormData**
|
|
||||||
> void TestJsonFormData (string param, string param2)
|
> void TestJsonFormData (string param, string param2)
|
||||||
|
|
||||||
test json serialization of form data
|
test json serialization of form data
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -830,6 +904,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**param** | **string**| field1 |
|
**param** | **string**| field1 |
|
||||||
@ -845,8 +920,11 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/x-www-form-urlencoded
|
- **Content-Type**: application/x-www-form-urlencoded
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[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)
|
||||||
|
|
||||||
|
@ -7,8 +7,9 @@ Method | HTTP request | Description
|
|||||||
[**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
|
[**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case
|
||||||
|
|
||||||
|
|
||||||
<a name="testclassname"></a>
|
|
||||||
# **TestClassname**
|
## TestClassname
|
||||||
|
|
||||||
> ModelClient TestClassname (ModelClient body)
|
> ModelClient TestClassname (ModelClient body)
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
@ -16,6 +17,7 @@ To test class name in snake case
|
|||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -54,6 +56,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**ModelClient**](ModelClient.md)| client model |
|
**body** | [**ModelClient**](ModelClient.md)| client model |
|
||||||
@ -68,8 +71,11 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[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)
|
[[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)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.File
|
# Org.OpenAPITools.Model.File
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**SourceURI** | **string** | Test capitalization | [optional]
|
**SourceURI** | **string** | Test capitalization | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.FileSchemaTestClass
|
# Org.OpenAPITools.Model.FileSchemaTestClass
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**File** | [**File**](File.md) | | [optional]
|
**File** | [**File**](File.md) | | [optional]
|
||||||
**Files** | [**List<File>**](File.md) | | [optional]
|
**Files** | [**List<File>**](File.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.FormatTest
|
# Org.OpenAPITools.Model.FormatTest
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -17,5 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**Uuid** | **Guid?** | | [optional]
|
**Uuid** | **Guid?** | | [optional]
|
||||||
**Password** | **string** | |
|
**Password** | **string** | |
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.HasOnlyReadOnly
|
# Org.OpenAPITools.Model.HasOnlyReadOnly
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**Bar** | **string** | | [optional]
|
**Bar** | **string** | | [optional]
|
||||||
**Foo** | **string** | | [optional]
|
**Foo** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.List
|
# Org.OpenAPITools.Model.List
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**_123List** | **string** | | [optional]
|
**_123List** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.MapTest
|
# Org.OpenAPITools.Model.MapTest
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -8,5 +10,7 @@ Name | Type | Description | Notes
|
|||||||
**DirectMap** | **Dictionary<string, bool?>** | | [optional]
|
**DirectMap** | **Dictionary<string, bool?>** | | [optional]
|
||||||
**IndirectMap** | **Dictionary<string, bool?>** | | [optional]
|
**IndirectMap** | **Dictionary<string, bool?>** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.MixedPropertiesAndAdditionalPropertiesClass
|
# Org.OpenAPITools.Model.MixedPropertiesAndAdditionalPropertiesClass
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -7,5 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**DateTime** | **DateTime?** | | [optional]
|
**DateTime** | **DateTime?** | | [optional]
|
||||||
**Map** | [**Dictionary<string, Animal>**](Animal.md) | | [optional]
|
**Map** | [**Dictionary<string, Animal>**](Animal.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Model200Response
|
# Org.OpenAPITools.Model.Model200Response
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**Name** | **int?** | | [optional]
|
**Name** | **int?** | | [optional]
|
||||||
**Class** | **string** | | [optional]
|
**Class** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ModelClient
|
# Org.OpenAPITools.Model.ModelClient
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**__Client** | **string** | | [optional]
|
**__Client** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Name
|
# Org.OpenAPITools.Model.Name
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -8,5 +10,7 @@ Name | Type | Description | Notes
|
|||||||
**Property** | **string** | | [optional]
|
**Property** | **string** | | [optional]
|
||||||
**_123Number** | **int?** | | [optional]
|
**_123Number** | **int?** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.NumberOnly
|
# Org.OpenAPITools.Model.NumberOnly
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**JustNumber** | **decimal?** | | [optional]
|
**JustNumber** | **decimal?** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Order
|
# Org.OpenAPITools.Model.Order
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -10,5 +12,7 @@ Name | Type | Description | Notes
|
|||||||
**Status** | **string** | Order Status | [optional]
|
**Status** | **string** | Order Status | [optional]
|
||||||
**Complete** | **bool?** | | [optional] [default to false]
|
**Complete** | **bool?** | | [optional] [default to false]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.OuterComposite
|
# Org.OpenAPITools.Model.OuterComposite
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -7,5 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**MyString** | **string** | | [optional]
|
**MyString** | **string** | | [optional]
|
||||||
**MyBoolean** | **bool?** | | [optional]
|
**MyBoolean** | **bool?** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.OuterEnum
|
# Org.OpenAPITools.Model.OuterEnum
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Pet
|
# Org.OpenAPITools.Model.Pet
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -10,5 +12,7 @@ Name | Type | Description | Notes
|
|||||||
**Tags** | [**List<Tag>**](Tag.md) | | [optional]
|
**Tags** | [**List<Tag>**](Tag.md) | | [optional]
|
||||||
**Status** | **string** | pet status in the store | [optional]
|
**Status** | **string** | pet status in the store | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -15,13 +15,15 @@ Method | HTTP request | Description
|
|||||||
[**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
|
[**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
|
||||||
|
|
||||||
|
|
||||||
<a name="addpet"></a>
|
|
||||||
# **AddPet**
|
## AddPet
|
||||||
|
|
||||||
> void AddPet (Pet body)
|
> void AddPet (Pet body)
|
||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -57,6 +59,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
|
**body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
|
||||||
@ -71,18 +74,23 @@ void (empty response body)
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json, application/xml
|
- **Content-Type**: application/json, application/xml
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## DeletePet
|
||||||
|
|
||||||
<a name="deletepet"></a>
|
|
||||||
# **DeletePet**
|
|
||||||
> void DeletePet (long? petId, string apiKey = null)
|
> void DeletePet (long? petId, string apiKey = null)
|
||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -119,6 +127,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**petId** | **long?**| Pet id to delete |
|
**petId** | **long?**| Pet id to delete |
|
||||||
@ -134,13 +143,17 @@ void (empty response body)
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## FindPetsByStatus
|
||||||
|
|
||||||
<a name="findpetsbystatus"></a>
|
|
||||||
# **FindPetsByStatus**
|
|
||||||
> List<Pet> FindPetsByStatus (List<string> status)
|
> List<Pet> FindPetsByStatus (List<string> status)
|
||||||
|
|
||||||
Finds Pets by status
|
Finds Pets by status
|
||||||
@ -148,6 +161,7 @@ Finds Pets by status
|
|||||||
Multiple status values can be provided with comma separated strings
|
Multiple status values can be provided with comma separated strings
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -184,6 +198,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**status** | **List<string>**| Status values that need to be considered for filter |
|
**status** | **List<string>**| Status values that need to be considered for filter |
|
||||||
@ -198,13 +213,17 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## FindPetsByTags
|
||||||
|
|
||||||
<a name="findpetsbytags"></a>
|
|
||||||
# **FindPetsByTags**
|
|
||||||
> List<Pet> FindPetsByTags (List<string> tags)
|
> List<Pet> FindPetsByTags (List<string> tags)
|
||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
@ -212,6 +231,7 @@ Finds Pets by tags
|
|||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -248,6 +268,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**tags** | [**List<string>**](string.md)| Tags to filter by |
|
**tags** | [**List<string>**](string.md)| Tags to filter by |
|
||||||
@ -262,13 +283,17 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## GetPetById
|
||||||
|
|
||||||
<a name="getpetbyid"></a>
|
|
||||||
# **GetPetById**
|
|
||||||
> Pet GetPetById (long? petId)
|
> Pet GetPetById (long? petId)
|
||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
@ -276,6 +301,7 @@ Find pet by ID
|
|||||||
Returns a single pet
|
Returns a single pet
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -314,6 +340,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**petId** | **long?**| ID of pet to return |
|
**petId** | **long?**| ID of pet to return |
|
||||||
@ -328,18 +355,23 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## UpdatePet
|
||||||
|
|
||||||
<a name="updatepet"></a>
|
|
||||||
# **UpdatePet**
|
|
||||||
> void UpdatePet (Pet body)
|
> void UpdatePet (Pet body)
|
||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -375,6 +407,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
|
**body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
|
||||||
@ -389,18 +422,23 @@ void (empty response body)
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json, application/xml
|
- **Content-Type**: application/json, application/xml
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## UpdatePetWithForm
|
||||||
|
|
||||||
<a name="updatepetwithform"></a>
|
|
||||||
# **UpdatePetWithForm**
|
|
||||||
> void UpdatePetWithForm (long? petId, string name = null, string status = null)
|
> void UpdatePetWithForm (long? petId, string name = null, string status = null)
|
||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -438,6 +476,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**petId** | **long?**| ID of pet that needs to be updated |
|
**petId** | **long?**| ID of pet that needs to be updated |
|
||||||
@ -454,18 +493,23 @@ void (empty response body)
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/x-www-form-urlencoded
|
- **Content-Type**: application/x-www-form-urlencoded
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## UploadFile
|
||||||
|
|
||||||
<a name="uploadfile"></a>
|
|
||||||
# **UploadFile**
|
|
||||||
> ApiResponse UploadFile (long? petId, string additionalMetadata = null, System.IO.Stream file = null)
|
> ApiResponse UploadFile (long? petId, string additionalMetadata = null, System.IO.Stream file = null)
|
||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -504,6 +548,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**petId** | **long?**| ID of pet to update |
|
**petId** | **long?**| ID of pet to update |
|
||||||
@ -520,18 +565,23 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: multipart/form-data
|
- **Content-Type**: multipart/form-data
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## UploadFileWithRequiredFile
|
||||||
|
|
||||||
<a name="uploadfilewithrequiredfile"></a>
|
|
||||||
# **UploadFileWithRequiredFile**
|
|
||||||
> ApiResponse UploadFileWithRequiredFile (long? petId, System.IO.Stream requiredFile, string additionalMetadata = null)
|
> ApiResponse UploadFileWithRequiredFile (long? petId, System.IO.Stream requiredFile, string additionalMetadata = null)
|
||||||
|
|
||||||
uploads an image (required)
|
uploads an image (required)
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -570,6 +620,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**petId** | **long?**| ID of pet to update |
|
**petId** | **long?**| ID of pet to update |
|
||||||
@ -586,8 +637,11 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: multipart/form-data
|
- **Content-Type**: multipart/form-data
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[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)
|
[[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)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.ReadOnlyFirst
|
# Org.OpenAPITools.Model.ReadOnlyFirst
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**Bar** | **string** | | [optional]
|
**Bar** | **string** | | [optional]
|
||||||
**Baz** | **string** | | [optional]
|
**Baz** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Return
|
# Org.OpenAPITools.Model.Return
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**_Return** | **int?** | | [optional]
|
**_Return** | **int?** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.SpecialModelName
|
# Org.OpenAPITools.Model.SpecialModelName
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**SpecialPropertyName** | **long?** | | [optional]
|
**SpecialPropertyName** | **long?** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -10,8 +10,9 @@ Method | HTTP request | Description
|
|||||||
[**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
|
[**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
|
||||||
|
|
||||||
|
|
||||||
<a name="deleteorder"></a>
|
|
||||||
# **DeleteOrder**
|
## DeleteOrder
|
||||||
|
|
||||||
> void DeleteOrder (string orderId)
|
> void DeleteOrder (string orderId)
|
||||||
|
|
||||||
Delete purchase order by ID
|
Delete purchase order by ID
|
||||||
@ -19,6 +20,7 @@ Delete purchase order by ID
|
|||||||
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -51,6 +53,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**orderId** | **string**| ID of the order that needs to be deleted |
|
**orderId** | **string**| ID of the order that needs to be deleted |
|
||||||
@ -65,13 +68,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## GetInventory
|
||||||
|
|
||||||
<a name="getinventory"></a>
|
|
||||||
# **GetInventory**
|
|
||||||
> Dictionary<string, int?> GetInventory ()
|
> Dictionary<string, int?> GetInventory ()
|
||||||
|
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
@ -79,6 +86,7 @@ Returns pet inventories by status
|
|||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -115,6 +123,7 @@ namespace Example
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
@ -127,13 +136,17 @@ This endpoint does not need any parameter.
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## GetOrderById
|
||||||
|
|
||||||
<a name="getorderbyid"></a>
|
|
||||||
# **GetOrderById**
|
|
||||||
> Order GetOrderById (long? orderId)
|
> Order GetOrderById (long? orderId)
|
||||||
|
|
||||||
Find purchase order by ID
|
Find purchase order by ID
|
||||||
@ -141,6 +154,7 @@ Find purchase order by ID
|
|||||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -174,6 +188,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**orderId** | **long?**| ID of pet that needs to be fetched |
|
**orderId** | **long?**| ID of pet that needs to be fetched |
|
||||||
@ -188,18 +203,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## PlaceOrder
|
||||||
|
|
||||||
<a name="placeorder"></a>
|
|
||||||
# **PlaceOrder**
|
|
||||||
> Order PlaceOrder (Order body)
|
> Order PlaceOrder (Order body)
|
||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -233,6 +253,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**Order**](Order.md)| order placed for purchasing the pet |
|
**body** | [**Order**](Order.md)| order placed for purchasing the pet |
|
||||||
@ -247,8 +268,11 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[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)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.Tag
|
# Org.OpenAPITools.Model.Tag
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -6,5 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**Id** | **long?** | | [optional]
|
**Id** | **long?** | | [optional]
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.TypeHolderDefault
|
# Org.OpenAPITools.Model.TypeHolderDefault
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -9,5 +11,7 @@ Name | Type | Description | Notes
|
|||||||
**BoolItem** | **bool?** | | [default to true]
|
**BoolItem** | **bool?** | | [default to true]
|
||||||
**ArrayItem** | **List<int?>** | |
|
**ArrayItem** | **List<int?>** | |
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.TypeHolderExample
|
# Org.OpenAPITools.Model.TypeHolderExample
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -9,5 +11,7 @@ Name | Type | Description | Notes
|
|||||||
**BoolItem** | **bool?** | |
|
**BoolItem** | **bool?** | |
|
||||||
**ArrayItem** | **List<int?>** | |
|
**ArrayItem** | **List<int?>** | |
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.User
|
# Org.OpenAPITools.Model.User
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -12,5 +14,7 @@ Name | Type | Description | Notes
|
|||||||
**Phone** | **string** | | [optional]
|
**Phone** | **string** | | [optional]
|
||||||
**UserStatus** | **int?** | User Status | [optional]
|
**UserStatus** | **int?** | User Status | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -14,8 +14,9 @@ Method | HTTP request | Description
|
|||||||
[**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
|
[**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
|
||||||
|
|
||||||
|
|
||||||
<a name="createuser"></a>
|
|
||||||
# **CreateUser**
|
## CreateUser
|
||||||
|
|
||||||
> void CreateUser (User body)
|
> void CreateUser (User body)
|
||||||
|
|
||||||
Create user
|
Create user
|
||||||
@ -23,6 +24,7 @@ Create user
|
|||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -55,6 +57,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**User**](User.md)| Created user object |
|
**body** | [**User**](User.md)| Created user object |
|
||||||
@ -69,18 +72,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## CreateUsersWithArrayInput
|
||||||
|
|
||||||
<a name="createuserswitharrayinput"></a>
|
|
||||||
# **CreateUsersWithArrayInput**
|
|
||||||
> void CreateUsersWithArrayInput (List<User> body)
|
> void CreateUsersWithArrayInput (List<User> body)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -113,6 +121,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**List<User>**](List.md)| List of user object |
|
**body** | [**List<User>**](List.md)| List of user object |
|
||||||
@ -127,18 +136,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## CreateUsersWithListInput
|
||||||
|
|
||||||
<a name="createuserswithlistinput"></a>
|
|
||||||
# **CreateUsersWithListInput**
|
|
||||||
> void CreateUsersWithListInput (List<User> body)
|
> void CreateUsersWithListInput (List<User> body)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -171,6 +185,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**body** | [**List<User>**](List.md)| List of user object |
|
**body** | [**List<User>**](List.md)| List of user object |
|
||||||
@ -185,13 +200,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## DeleteUser
|
||||||
|
|
||||||
<a name="deleteuser"></a>
|
|
||||||
# **DeleteUser**
|
|
||||||
> void DeleteUser (string username)
|
> void DeleteUser (string username)
|
||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
@ -199,6 +218,7 @@ Delete user
|
|||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -231,6 +251,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**username** | **string**| The name that needs to be deleted |
|
**username** | **string**| The name that needs to be deleted |
|
||||||
@ -245,18 +266,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## GetUserByName
|
||||||
|
|
||||||
<a name="getuserbyname"></a>
|
|
||||||
# **GetUserByName**
|
|
||||||
> User GetUserByName (string username)
|
> User GetUserByName (string username)
|
||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -290,6 +316,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**username** | **string**| The name that needs to be fetched. Use user1 for testing. |
|
**username** | **string**| The name that needs to be fetched. Use user1 for testing. |
|
||||||
@ -304,18 +331,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## LoginUser
|
||||||
|
|
||||||
<a name="loginuser"></a>
|
|
||||||
# **LoginUser**
|
|
||||||
> string LoginUser (string username, string password)
|
> string LoginUser (string username, string password)
|
||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -350,6 +382,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**username** | **string**| The user name for login |
|
**username** | **string**| The user name for login |
|
||||||
@ -365,18 +398,23 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/xml, application/json
|
- **Accept**: application/xml, application/json
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## LogoutUser
|
||||||
|
|
||||||
<a name="logoutuser"></a>
|
|
||||||
# **LogoutUser**
|
|
||||||
> void LogoutUser ()
|
> void LogoutUser ()
|
||||||
|
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -407,6 +445,7 @@ namespace Example
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
@ -419,13 +458,17 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[Back to top]](#)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## UpdateUser
|
||||||
|
|
||||||
<a name="updateuser"></a>
|
|
||||||
# **UpdateUser**
|
|
||||||
> void UpdateUser (string username, User body)
|
> void UpdateUser (string username, User body)
|
||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
@ -433,6 +476,7 @@ Updated user
|
|||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@ -466,6 +510,7 @@ namespace Example
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**username** | **string**| name that need to be deleted |
|
**username** | **string**| name that need to be deleted |
|
||||||
@ -481,8 +526,11 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: Not defined
|
- **Accept**: Not defined
|
||||||
|
|
||||||
[[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)
|
[[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)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.XmlItem
|
# Org.OpenAPITools.Model.XmlItem
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -33,5 +35,7 @@ Name | Type | Description | Notes
|
|||||||
**PrefixNsArray** | **List<int?>** | | [optional]
|
**PrefixNsArray** | **List<int?>** | | [optional]
|
||||||
**PrefixNsWrappedArray** | **List<int?>** | | [optional]
|
**PrefixNsWrappedArray** | **List<int?>** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -55,6 +55,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.ClassName = className;
|
this.ClassName = className;
|
||||||
}
|
}
|
||||||
|
|
||||||
// use default value if no "color" provided
|
// use default value if no "color" provided
|
||||||
if (color == null)
|
if (color == null)
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.Name = name;
|
this.Name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,6 +163,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.EnumStringRequired = enumStringRequired;
|
this.EnumStringRequired = enumStringRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.EnumString = enumString;
|
this.EnumString = enumString;
|
||||||
this.EnumInteger = enumInteger;
|
this.EnumInteger = enumInteger;
|
||||||
this.EnumNumber = enumNumber;
|
this.EnumNumber = enumNumber;
|
||||||
|
@ -62,6 +62,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.Number = number;
|
this.Number = number;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "_byte" is required (not null)
|
// to ensure "_byte" is required (not null)
|
||||||
if (_byte == null)
|
if (_byte == null)
|
||||||
{
|
{
|
||||||
@ -71,6 +72,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.Byte = _byte;
|
this.Byte = _byte;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "date" is required (not null)
|
// to ensure "date" is required (not null)
|
||||||
if (date == null)
|
if (date == null)
|
||||||
{
|
{
|
||||||
@ -80,6 +82,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.Date = date;
|
this.Date = date;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "password" is required (not null)
|
// to ensure "password" is required (not null)
|
||||||
if (password == null)
|
if (password == null)
|
||||||
{
|
{
|
||||||
@ -89,6 +92,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.Password = password;
|
this.Password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Integer = integer;
|
this.Integer = integer;
|
||||||
this.Int32 = int32;
|
this.Int32 = int32;
|
||||||
this.Int64 = int64;
|
this.Int64 = int64;
|
||||||
|
@ -51,6 +51,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this._Name = name;
|
this._Name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Property = property;
|
this.Property = property;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,6 +88,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.Name = name;
|
this.Name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "photoUrls" is required (not null)
|
// to ensure "photoUrls" is required (not null)
|
||||||
if (photoUrls == null)
|
if (photoUrls == null)
|
||||||
{
|
{
|
||||||
@ -97,6 +98,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.PhotoUrls = photoUrls;
|
this.PhotoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Id = id;
|
this.Id = id;
|
||||||
this.Category = category;
|
this.Category = category;
|
||||||
this.Tags = tags;
|
this.Tags = tags;
|
||||||
|
@ -54,6 +54,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.StringItem = stringItem;
|
this.StringItem = stringItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "numberItem" is required (not null)
|
// to ensure "numberItem" is required (not null)
|
||||||
if (numberItem == null)
|
if (numberItem == null)
|
||||||
{
|
{
|
||||||
@ -63,6 +64,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.NumberItem = numberItem;
|
this.NumberItem = numberItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "integerItem" is required (not null)
|
// to ensure "integerItem" is required (not null)
|
||||||
if (integerItem == null)
|
if (integerItem == null)
|
||||||
{
|
{
|
||||||
@ -72,6 +74,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.IntegerItem = integerItem;
|
this.IntegerItem = integerItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "boolItem" is required (not null)
|
// to ensure "boolItem" is required (not null)
|
||||||
if (boolItem == null)
|
if (boolItem == null)
|
||||||
{
|
{
|
||||||
@ -81,6 +84,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.BoolItem = boolItem;
|
this.BoolItem = boolItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "arrayItem" is required (not null)
|
// to ensure "arrayItem" is required (not null)
|
||||||
if (arrayItem == null)
|
if (arrayItem == null)
|
||||||
{
|
{
|
||||||
@ -90,6 +94,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.ArrayItem = arrayItem;
|
this.ArrayItem = arrayItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -54,6 +54,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.StringItem = stringItem;
|
this.StringItem = stringItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "numberItem" is required (not null)
|
// to ensure "numberItem" is required (not null)
|
||||||
if (numberItem == null)
|
if (numberItem == null)
|
||||||
{
|
{
|
||||||
@ -63,6 +64,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.NumberItem = numberItem;
|
this.NumberItem = numberItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "integerItem" is required (not null)
|
// to ensure "integerItem" is required (not null)
|
||||||
if (integerItem == null)
|
if (integerItem == null)
|
||||||
{
|
{
|
||||||
@ -72,6 +74,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.IntegerItem = integerItem;
|
this.IntegerItem = integerItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "boolItem" is required (not null)
|
// to ensure "boolItem" is required (not null)
|
||||||
if (boolItem == null)
|
if (boolItem == null)
|
||||||
{
|
{
|
||||||
@ -81,6 +84,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.BoolItem = boolItem;
|
this.BoolItem = boolItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// to ensure "arrayItem" is required (not null)
|
// to ensure "arrayItem" is required (not null)
|
||||||
if (arrayItem == null)
|
if (arrayItem == null)
|
||||||
{
|
{
|
||||||
@ -90,6 +94,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this.ArrayItem = arrayItem;
|
this.ArrayItem = arrayItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -8,18 +8,21 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
|
|||||||
- SDK version: 1.0.0
|
- SDK version: 1.0.0
|
||||||
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
|
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
|
||||||
|
|
||||||
<a name="frameworks-supported"></a>
|
|
||||||
## Frameworks supported
|
## Frameworks supported
|
||||||
|
|
||||||
|
|
||||||
- .NET 4.0 or later
|
- .NET 4.0 or later
|
||||||
- Windows Phone 7.1 (Mango)
|
- Windows Phone 7.1 (Mango)
|
||||||
|
|
||||||
<a name="dependencies"></a>
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
|
||||||
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
|
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
|
||||||
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
|
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
|
||||||
- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later
|
- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later
|
||||||
|
|
||||||
The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
|
The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
|
||||||
|
|
||||||
```
|
```
|
||||||
Install-Package RestSharp
|
Install-Package RestSharp
|
||||||
Install-Package Newtonsoft.Json
|
Install-Package Newtonsoft.Json
|
||||||
@ -28,19 +31,23 @@ Install-Package JsonSubTypes
|
|||||||
|
|
||||||
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
|
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
|
||||||
|
|
||||||
<a name="installation"></a>
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Run the following command to generate the DLL
|
Run the following command to generate the DLL
|
||||||
|
|
||||||
- [Mac/Linux] `/bin/sh build.sh`
|
- [Mac/Linux] `/bin/sh build.sh`
|
||||||
- [Windows] `build.bat`
|
- [Windows] `build.bat`
|
||||||
|
|
||||||
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
|
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using Org.OpenAPITools.Api;
|
using Org.OpenAPITools.Api;
|
||||||
using Org.OpenAPITools.Client;
|
using Org.OpenAPITools.Client;
|
||||||
using Org.OpenAPITools.Model;
|
using Org.OpenAPITools.Model;
|
||||||
|
|
||||||
```
|
```
|
||||||
<a name="packaging"></a>
|
|
||||||
|
|
||||||
## Packaging
|
## Packaging
|
||||||
|
|
||||||
A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
|
A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
|
||||||
@ -53,7 +60,7 @@ nuget pack -Build -OutputDirectory out Org.OpenAPITools.csproj
|
|||||||
|
|
||||||
Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
|
Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
|
||||||
|
|
||||||
<a name="getting-started"></a>
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
@ -89,7 +96,6 @@ namespace Example
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
<a name="documentation-for-api-endpoints"></a>
|
|
||||||
## Documentation for API Endpoints
|
## Documentation for API Endpoints
|
||||||
|
|
||||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||||
@ -134,7 +140,6 @@ Class | Method | HTTP request | Description
|
|||||||
*UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
|
*UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
|
||||||
|
|
||||||
|
|
||||||
<a name="documentation-for-models"></a>
|
|
||||||
## Documentation for Models
|
## Documentation for Models
|
||||||
|
|
||||||
- [Model.AdditionalPropertiesAnyType](docs/AdditionalPropertiesAnyType.md)
|
- [Model.AdditionalPropertiesAnyType](docs/AdditionalPropertiesAnyType.md)
|
||||||
@ -183,31 +188,34 @@ Class | Method | HTTP request | Description
|
|||||||
- [Model.XmlItem](docs/XmlItem.md)
|
- [Model.XmlItem](docs/XmlItem.md)
|
||||||
|
|
||||||
|
|
||||||
<a name="documentation-for-authorization"></a>
|
|
||||||
## Documentation for Authorization
|
## Documentation for Authorization
|
||||||
|
|
||||||
<a name="api_key"></a>
|
|
||||||
### api_key
|
### api_key
|
||||||
|
|
||||||
- **Type**: API key
|
- **Type**: API key
|
||||||
|
|
||||||
- **API key parameter name**: api_key
|
- **API key parameter name**: api_key
|
||||||
- **Location**: HTTP header
|
- **Location**: HTTP header
|
||||||
|
|
||||||
<a name="api_key_query"></a>
|
|
||||||
### api_key_query
|
### api_key_query
|
||||||
|
|
||||||
- **Type**: API key
|
- **Type**: API key
|
||||||
|
|
||||||
- **API key parameter name**: api_key_query
|
- **API key parameter name**: api_key_query
|
||||||
- **Location**: URL query string
|
- **Location**: URL query string
|
||||||
|
|
||||||
<a name="http_basic_test"></a>
|
|
||||||
### http_basic_test
|
### http_basic_test
|
||||||
|
|
||||||
|
|
||||||
- **Type**: HTTP basic authentication
|
- **Type**: HTTP basic authentication
|
||||||
|
|
||||||
<a name="petstore_auth"></a>
|
|
||||||
### petstore_auth
|
### petstore_auth
|
||||||
|
|
||||||
|
|
||||||
- **Type**: OAuth
|
- **Type**: OAuth
|
||||||
- **Flow**: implicit
|
- **Flow**: implicit
|
||||||
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
|
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesAnyType
|
# Org.OpenAPITools.Model.AdditionalPropertiesAnyType
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesArray
|
# Org.OpenAPITools.Model.AdditionalPropertiesArray
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesBoolean
|
# Org.OpenAPITools.Model.AdditionalPropertiesBoolean
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesClass
|
# Org.OpenAPITools.Model.AdditionalPropertiesClass
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
@ -15,5 +17,7 @@ Name | Type | Description | Notes
|
|||||||
**Anytype2** | [**Object**](.md) | | [optional]
|
**Anytype2** | [**Object**](.md) | | [optional]
|
||||||
**Anytype3** | [**Object**](.md) | | [optional]
|
**Anytype3** | [**Object**](.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesInteger
|
# Org.OpenAPITools.Model.AdditionalPropertiesInteger
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesNumber
|
# Org.OpenAPITools.Model.AdditionalPropertiesNumber
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# Org.OpenAPITools.Model.AdditionalPropertiesObject
|
# Org.OpenAPITools.Model.AdditionalPropertiesObject
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Name** | **string** | | [optional]
|
**Name** | **string** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user