From f9937e77d60cb8f1279474ca14765e6e3740b166 Mon Sep 17 00:00:00 2001 From: Tiffany Marrel Date: Wed, 10 May 2023 08:11:43 +0200 Subject: [PATCH] [csharp C#] cleanup documentation (#15305) * [C# csharp] fix documentation of API authorization in README files fix hierarchy level + add internal links + align wording across generators * [C# csharp] fix anchor links in documentation --- .../resources/csharp-dotnet2/README.mustache | 26 +++++-------- .../resources/csharp-dotnet2/api_doc.mustache | 2 +- .../csharp-netcore-functions/api_doc.mustache | 2 +- .../resources/csharp-netcore/README.mustache | 30 ++++++--------- .../resources/csharp-netcore/api_doc.mustache | 2 +- .../generichost/README.client.mustache | 38 ++++++++++++------- .../libraries/unityWebRequest/README.mustache | 26 +++++-------- .../src/main/resources/csharp/README.mustache | 20 +++------- .../csharp-netcore-complex-files/README.md | 19 +++++----- .../docs/MultipartApi.md | 6 +-- .../README.md | 30 ++++++++------- .../docs/AnotherFakeApi.md | 2 +- .../docs/DefaultApi.md | 6 +-- .../docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../docs/PetApi.md | 18 ++++----- .../docs/StoreApi.md | 8 ++-- .../docs/UserApi.md | 16 ++++---- .../docs/apis/AnotherFakeApi.md | 2 +- .../docs/apis/DefaultApi.md | 6 +-- .../docs/apis/FakeApi.md | 30 +++++++-------- .../docs/apis/FakeClassnameTags123Api.md | 2 +- .../docs/apis/PetApi.md | 18 ++++----- .../docs/apis/StoreApi.md | 8 ++-- .../docs/apis/UserApi.md | 16 ++++---- .../src/Org.OpenAPITools/README.md | 27 ++++++------- .../docs/apis/AnotherFakeApi.md | 2 +- .../docs/apis/DefaultApi.md | 6 +-- .../docs/apis/FakeApi.md | 30 +++++++-------- .../docs/apis/FakeClassnameTags123Api.md | 2 +- .../docs/apis/PetApi.md | 18 ++++----- .../docs/apis/StoreApi.md | 8 ++-- .../docs/apis/UserApi.md | 16 ++++---- .../src/Org.OpenAPITools/README.md | 27 ++++++------- .../docs/apis/DefaultApi.md | 2 +- .../src/Org.OpenAPITools/README.md | 13 ++++--- .../docs/apis/DefaultApi.md | 2 +- .../src/Org.OpenAPITools/README.md | 13 ++++--- .../docs/apis/DefaultApi.md | 2 +- .../src/Org.OpenAPITools/README.md | 13 ++++--- .../docs/apis/AnotherFakeApi.md | 2 +- .../docs/apis/DefaultApi.md | 6 +-- .../docs/apis/FakeApi.md | 30 +++++++-------- .../docs/apis/FakeClassnameTags123Api.md | 2 +- .../docs/apis/PetApi.md | 18 ++++----- .../docs/apis/StoreApi.md | 8 ++-- .../docs/apis/UserApi.md | 16 ++++---- .../src/Org.OpenAPITools/README.md | 27 ++++++------- .../OpenAPIClient-httpclient/README.md | 30 ++++++++------- .../docs/AnotherFakeApi.md | 2 +- .../docs/DefaultApi.md | 6 +-- .../OpenAPIClient-httpclient/docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../OpenAPIClient-httpclient/docs/PetApi.md | 18 ++++----- .../OpenAPIClient-httpclient/docs/StoreApi.md | 8 ++-- .../OpenAPIClient-httpclient/docs/UserApi.md | 16 ++++---- .../OpenAPIClient-net47/README.md | 32 ++++++++-------- .../docs/AnotherFakeApi.md | 2 +- .../OpenAPIClient-net47/docs/DefaultApi.md | 6 +-- .../OpenAPIClient-net47/docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../OpenAPIClient-net47/docs/PetApi.md | 18 ++++----- .../OpenAPIClient-net47/docs/StoreApi.md | 8 ++-- .../OpenAPIClient-net47/docs/UserApi.md | 16 ++++---- .../OpenAPIClient-net48/README.md | 32 ++++++++-------- .../docs/AnotherFakeApi.md | 2 +- .../OpenAPIClient-net48/docs/DefaultApi.md | 6 +-- .../OpenAPIClient-net48/docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../OpenAPIClient-net48/docs/PetApi.md | 18 ++++----- .../OpenAPIClient-net48/docs/StoreApi.md | 8 ++-- .../OpenAPIClient-net48/docs/UserApi.md | 16 ++++---- .../OpenAPIClient-net5.0/README.md | 32 ++++++++-------- .../docs/AnotherFakeApi.md | 2 +- .../OpenAPIClient-net5.0/docs/DefaultApi.md | 6 +-- .../OpenAPIClient-net5.0/docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../OpenAPIClient-net5.0/docs/PetApi.md | 18 ++++----- .../OpenAPIClient-net5.0/docs/StoreApi.md | 8 ++-- .../OpenAPIClient-net5.0/docs/UserApi.md | 16 ++++---- .../OpenAPIClient-unityWebRequest/README.md | 28 +++++++------- .../docs/AnotherFakeApi.md | 2 +- .../docs/DefaultApi.md | 6 +-- .../docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../docs/PetApi.md | 18 ++++----- .../docs/StoreApi.md | 8 ++-- .../docs/UserApi.md | 16 ++++---- .../csharp-netcore/OpenAPIClient/README.md | 30 ++++++++------- .../OpenAPIClient/docs/AnotherFakeApi.md | 2 +- .../OpenAPIClient/docs/DefaultApi.md | 6 +-- .../OpenAPIClient/docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../OpenAPIClient/docs/PetApi.md | 18 ++++----- .../OpenAPIClient/docs/StoreApi.md | 8 ++-- .../OpenAPIClient/docs/UserApi.md | 16 ++++---- .../OpenAPIClientCore/README.md | 32 ++++++++-------- .../OpenAPIClientCore/docs/AnotherFakeApi.md | 2 +- .../OpenAPIClientCore/docs/DefaultApi.md | 6 +-- .../OpenAPIClientCore/docs/FakeApi.md | 30 +++++++-------- .../docs/FakeClassnameTags123Api.md | 2 +- .../OpenAPIClientCore/docs/PetApi.md | 18 ++++----- .../OpenAPIClientCore/docs/StoreApi.md | 8 ++-- .../OpenAPIClientCore/docs/UserApi.md | 16 ++++---- .../OpenAPIClientCoreAndNet47/README.md | 22 ++++++----- .../OpenAPIClientCoreAndNet47/docs/PetApi.md | 16 ++++---- .../docs/StoreApi.md | 8 ++-- .../OpenAPIClientCoreAndNet47/docs/UserApi.md | 16 ++++---- .../petstore/csharp/OpenAPIClient/README.md | 18 ++++----- 109 files changed, 760 insertions(+), 765 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/csharp-dotnet2/README.mustache b/modules/openapi-generator/src/main/resources/csharp-dotnet2/README.mustache index 16bd2ca86fe..191e1fe2bf7 100644 --- a/modules/openapi-generator/src/main/resources/csharp-dotnet2/README.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-dotnet2/README.mustache @@ -16,11 +16,11 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) {{/infoUrl}} - + ## Frameworks supported - .NET 2.0 - + ## Dependencies - Mono compiler - Newtonsoft.Json.7.0.1 @@ -28,7 +28,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap Note: NuGet is downloaded by the mono compilation script and packages are installed with it. No dependency DLLs are bundled with this generator - + ## Installation Run the following command to generate the DLL - [Mac/Linux] `/bin/sh compile-mono.sh` @@ -40,7 +40,7 @@ using {{apiPackage}}; using {{clientPackage}}; using {{modelPackage}}; ``` - + ## Getting Started ```csharp @@ -110,7 +110,7 @@ namespace Example }{{/-first}}{{/operation}}{{/operations}}{{/-first}}{{/apis}}{{/apiInfo}} ``` - + ## Documentation for API Endpoints All URIs are relative to *{{{basePath}}}* @@ -120,7 +120,7 @@ Class | Method | HTTP request | Description {{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{{summary}}} {{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} - + ## Documentation for Models {{#modelPackage}} @@ -131,19 +131,13 @@ Class | Method | HTTP request | Description No model defined in this package {{/modelPackage}} - + ## Documentation for Authorization -{{^authMethods}} -All endpoints do not require authorization. -{{/authMethods}} +{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} +{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} {{#authMethods}} -{{#-last}} -Authentication schemes defined for the API: -{{/-last}} -{{/authMethods}} -{{#authMethods}} - + ### {{name}} {{#isApiKey}} diff --git a/modules/openapi-generator/src/main/resources/csharp-dotnet2/api_doc.mustache b/modules/openapi-generator/src/main/resources/csharp-dotnet2/api_doc.mustache index ea459620cdc..39540efe2a2 100644 --- a/modules/openapi-generator/src/main/resources/csharp-dotnet2/api_doc.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-dotnet2/api_doc.mustache @@ -10,7 +10,7 @@ Method | HTTP request | Description {{#operations}} {{#operation}} - + # **{{{operationId}}}** > {{{returnType}}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}) diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/api_doc.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/api_doc.mustache index d12ee22ea38..eae2369db13 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore-functions/api_doc.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore-functions/api_doc.mustache @@ -10,7 +10,7 @@ Method | HTTP request | Description {{#operations}} {{#operation}} - + # **{{{operationId}}}** > {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}) diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/README.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/README.mustache index f1f2056103e..db32992c176 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/README.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/README.mustache @@ -16,7 +16,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) {{/infoUrl}} - + ## Frameworks supported {{#netStandard}} - .NET Core >=1.0 @@ -24,7 +24,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - Mono/Xamarin >=vNext {{/netStandard}} - + ## Dependencies {{#useRestSharp}} @@ -59,7 +59,7 @@ NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploa NOTE: RestSharp for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). {{/useRestSharp}} - + ## Installation {{#netStandard}} Generate the DLL using your preferred tool (e.g. `dotnet build`) @@ -77,7 +77,7 @@ using {{packageName}}.Client; using {{packageName}}.{{modelPackage}}; ``` {{^netStandard}} - + ## 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. @@ -91,7 +91,7 @@ nuget pack -Build -OutputDirectory out {{packageName}}.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. {{/netStandard}} - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -131,7 +131,7 @@ services.AddHttpClient(httpClient => {{/useHttpClient}} - + ## Getting Started ```csharp @@ -215,7 +215,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *{{{basePath}}}* @@ -225,7 +225,7 @@ Class | Method | HTTP request | Description {{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{{summary}}} {{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} - + ## Documentation for Models {{#modelPackage}} @@ -236,19 +236,13 @@ Class | Method | HTTP request | Description No model defined in this package {{/modelPackage}} - + ## Documentation for Authorization -{{^authMethods}} -All endpoints do not require authorization. -{{/authMethods}} +{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} +{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} {{#authMethods}} -{{#last}} -Authentication schemes defined for the API: -{{/last}} -{{/authMethods}} -{{#authMethods}} - + ### {{name}} {{#isApiKey}}- **Type**: API key diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/api_doc.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/api_doc.mustache index 24c6e591bf8..da165463564 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/api_doc.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/api_doc.mustache @@ -13,7 +13,7 @@ All URIs are relative to *{{{basePath}}}* {{#operations}} {{#operation}} - + # **{{{operationId}}}** > {{returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}) diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.client.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.client.mustache index 712e2ec3727..8ea6ab6fe4c 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.client.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/generichost/README.client.mustache @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -42,7 +42,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -102,7 +102,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -118,7 +118,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace {{packageName}}.Rest.DefaultApi. Or provide your own class by using the generic Configure{{apiName}} method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -128,7 +128,7 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later{{/useCompareNetObjects}}{{#validatable}} - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later{{/validatable}}{{#apiDocs}} - + ## Documentation for API Endpoints All URIs are relative to *{{{basePath}}}* @@ -137,30 +137,40 @@ Class | Method | HTTP request | Description ------------ | ------------- | ------------- | -------------{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}} *{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{{summary}}}{{/summary}}{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}{{/apiDocs}}{{#modelDocs}} - + ## Documentation for Models {{#modelPackage}}{{#models}}{{#model}} - [{{{modelPackage}}}.{{{classname}}}]({{modelDocPath}}{{{classname}}}.md){{/model}}{{/models}}{{/modelPackage}} {{^modelPackage}}No model defined in this package{{/modelPackage}}{{/modelDocs}} - + ## Documentation for Authorization -{{^authMethods}}All endpoints do not require authorization.{{/authMethods}}{{#authMethods}}{{#-last}}Authentication schemes defined for the API:{{/-last}}{{/authMethods}}{{#authMethods}} - - +{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} +{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} +{{#authMethods}} + ### {{name}} {{#isApiKey}}- **Type**: API key - **API key parameter name**: {{keyParamName}} -- **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}}{{/isApiKey}}{{#isBasicBasic}} -- **Type**: HTTP basic authentication{{/isBasicBasic}}{{#isBasicBearer}} -- **Type**: Bearer Authentication{{/isBasicBearer}}{{#isOAuth}} +- **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}} +{{/isApiKey}} +{{#isBasicBasic}} +- **Type**: HTTP basic authentication +{{/isBasicBasic}} +{{#isBasicBearer}} +- **Type**: Bearer Authentication +{{/isBasicBearer}} +{{#isOAuth}} - **Type**: OAuth - **Flow**: {{flow}} - **Authorization URL**: {{authorizationUrl}} - **Scopes**: {{^scopes}}N/A{{/scopes}}{{#scopes}} -- {{scope}}: {{description}}{{/scopes}}{{/isOAuth}}{{/authMethods}} +- {{scope}}: {{description}}{{/scopes}} +{{/isOAuth}} + +{{/authMethods}} ## Build - SDK version: {{packageVersion}}{{^hideGenerationTimestamp}} diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/unityWebRequest/README.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/unityWebRequest/README.mustache index a36233a78d2..4eb9cd516f8 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/unityWebRequest/README.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/libraries/unityWebRequest/README.mustache @@ -16,19 +16,19 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) {{/infoUrl}} - + ## Version support This generator should support all current LTS versions of Unity - Unity 2020.3 (LTS) and up - .NET Standard 2.1 / .NET Framework - + ## Dependencies - [Newtonsoft.Json](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.0/manual/index.html) - 3.0.2 or later - [Unity Test Framework](https://docs.unity3d.com/Packages/com.unity.test-framework@1.1/manual/index.html) - 1.1.33 or later - + ## Installation Add the dependencies to `Packages/manifest.json` ``` @@ -48,7 +48,7 @@ using {{packageName}}.Client; using {{packageName}}.{{modelPackage}}; ``` - + ## Getting Started ```csharp @@ -123,7 +123,7 @@ namespace {{packageName}}Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *{{{basePath}}}* @@ -133,7 +133,7 @@ Class | Method | HTTP request | Description {{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{{summary}}} {{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} - + ## Documentation for Models {{#modelPackage}} @@ -144,19 +144,13 @@ Class | Method | HTTP request | Description No model defined in this package {{/modelPackage}} - + ## Documentation for Authorization -{{^authMethods}} -All endpoints do not require authorization. -{{/authMethods}} +{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} +{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} {{#authMethods}} -{{#last}} -Authentication schemes defined for the API: -{{/last}} -{{/authMethods}} -{{#authMethods}} - + ### {{name}} {{#isApiKey}}- **Type**: API key diff --git a/modules/openapi-generator/src/main/resources/csharp/README.mustache b/modules/openapi-generator/src/main/resources/csharp/README.mustache index 19fdde43db5..2c61b97cd6f 100644 --- a/modules/openapi-generator/src/main/resources/csharp/README.mustache +++ b/modules/openapi-generator/src/main/resources/csharp/README.mustache @@ -191,37 +191,29 @@ Class | Method | HTTP request | Description No model defined in this package {{/modelPackage}} + ## Documentation for Authorization -{{^authMethods}} -All endpoints do not require authorization. -{{/authMethods}} +{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} +{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} {{#authMethods}} -{{#last}} -Authentication schemes defined for the API: -{{/last}} -{{/authMethods}} -{{#authMethods}} - + ### {{name}} -{{#isApiKey}}- **Type**: API key - +{{#isApiKey}} +- **Type**: API key - **API key parameter name**: {{keyParamName}} - **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}} {{/isApiKey}} {{#isBasic}} {{#isBasicBasic}} - - **Type**: HTTP basic authentication {{/isBasicBasic}} {{#isBasicBearer}} - - **Type**: HTTP bearer authentication {{/isBasicBearer}} {{/isBasic}} {{#isOAuth}} - - **Type**: OAuth - **Flow**: {{flow}} - **Authorization URL**: {{authorizationUrl}} diff --git a/samples/client/others/csharp-netcore-complex-files/README.md b/samples/client/others/csharp-netcore-complex-files/README.md index 9ac433eb371..9b1348a8623 100644 --- a/samples/client/others/csharp-netcore-complex-files/README.md +++ b/samples/client/others/csharp-netcore-complex-files/README.md @@ -8,13 +8,13 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - .NET Core >=1.0 - .NET Framework >=4.6 - Mono/Xamarin >=vNext - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -35,7 +35,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Generate the DLL using your preferred tool (e.g. `dotnet build`) @@ -45,7 +45,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -56,7 +56,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -94,7 +94,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://localhost* @@ -106,7 +106,7 @@ Class | Method | HTTP request | Description *MultipartApi* | [**MultipartSingle**](docs/MultipartApi.md#multipartsingle) | **POST** /multipart-single | - + ## Documentation for Models - [Model.MultipartArrayRequest](docs/MultipartArrayRequest.md) @@ -116,7 +116,8 @@ Class | Method | HTTP request | Description - [Model.MultipartSingleRequest](docs/MultipartSingleRequest.md) - + ## Documentation for Authorization -All endpoints do not require authorization. +Endpoints do not require authorization. + diff --git a/samples/client/others/csharp-netcore-complex-files/docs/MultipartApi.md b/samples/client/others/csharp-netcore-complex-files/docs/MultipartApi.md index 093cbf5a0ac..23628f52603 100644 --- a/samples/client/others/csharp-netcore-complex-files/docs/MultipartApi.md +++ b/samples/client/others/csharp-netcore-complex-files/docs/MultipartApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://localhost* | [**MultipartMixed**](MultipartApi.md#multipartmixed) | **POST** /multipart-mixed | | | [**MultipartSingle**](MultipartApi.md#multipartsingle) | **POST** /multipart-single | | - + # **MultipartArray** > void MultipartArray (List files = null) @@ -93,7 +93,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **MultipartMixed** > void MultipartMixed (MultipartMixedStatus status, System.IO.Stream file, MultipartMixedRequestMarker marker = null, List statusArray = null) @@ -184,7 +184,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **MultipartSingle** > void MultipartSingle (System.IO.Stream file = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/README.md index 0213ca9108d..9c45f95c159 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/README.md @@ -8,13 +8,13 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - .NET Core >=1.0 - .NET Framework >=4.6 - Mono/Xamarin >=vNext - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -35,7 +35,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Generate the DLL using your preferred tool (e.g. `dotnet build`) @@ -45,7 +45,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -56,7 +56,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -96,7 +96,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -146,7 +146,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -236,10 +236,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -249,31 +251,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md index 4b5bf803c4e..c5ed3eb8340 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/PetApi.md index 03dec23f686..ad44daac69e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/AnotherFakeApi.md index 6acb8396be5..36948898657 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/DefaultApi.md index fe3740c7b6e..13dffacfbde 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md index acdcf538944..44d1408a04d 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite? outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string? body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (User user, string query) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestEndpointParameters** > void TestEndpointParameters (byte[] _byte, decimal number, double _double, string patternWithoutDelimiter, DateTime? date = null, System.IO.Stream? binary = null, float? _float = null, int? integer = null, int? int32 = null, long? int64 = null, string? _string = null, string? password = null, string? callback = null, DateTime? dateTime = null) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List? enumHeaderStringArray = null, List? enumQueryStringArray = null, double? enumQueryDouble = null, int? enumQueryInteger = null, List? enumFormStringArray = null, string? enumHeaderString = null, string? enumQueryString = null, string? enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestGroupParameters** > void TestGroupParameters (bool requiredBooleanGroup, int requiredStringGroup, long requiredInt64Group, bool? booleanGroup = null, int? stringGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeClassnameTags123Api.md index efa948aa4b3..dfe1adefd0a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/PetApi.md index ddf4b7d9486..ca3fb176d0d 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **DeletePet** > void DeletePet (long petId, string? apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string? name = null, string? status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, System.IO.Stream? file = null, string? additionalMetadata = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (System.IO.Stream requiredFile, long petId, string? additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md index aa0a568fc52..4a1cd29ada7 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/UserApi.md index a862c8c112a..56c1acb7928 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/docs/apis/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdateUser** > void UpdateUser (User user, string username) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/README.md index afb0c7f0954..89ff5fbd98c 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/README.md @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -41,7 +41,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -125,7 +125,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -141,7 +141,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace Org.OpenAPITools.Rest.DefaultApi. Or provide your own class by using the generic ConfigureApi method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -151,15 +151,14 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later - + ## Documentation for Authorization + Authentication schemes defined for the API: - - + ### petstore_auth - - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog @@ -167,33 +166,31 @@ Authentication schemes defined for the API: - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - - **Type**: HTTP basic authentication - + ### bearer_test - - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/AnotherFakeApi.md index 6acb8396be5..36948898657 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/DefaultApi.md index fe3740c7b6e..13dffacfbde 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md index 1b47e75a7dd..db746373b8a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (User user, string query) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestEndpointParameters** > void TestEndpointParameters (byte[] _byte, decimal number, double _double, string patternWithoutDelimiter, DateTime? date = null, System.IO.Stream binary = null, float? _float = null, int? integer = null, int? int32 = null, long? int64 = null, string _string = null, string password = null, string callback = null, DateTime? dateTime = null) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, List enumQueryStringArray = null, double? enumQueryDouble = null, int? enumQueryInteger = null, List enumFormStringArray = null, string enumHeaderString = null, string enumQueryString = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestGroupParameters** > void TestGroupParameters (bool requiredBooleanGroup, int requiredStringGroup, long requiredInt64Group, bool? booleanGroup = null, int? stringGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeClassnameTags123Api.md index efa948aa4b3..dfe1adefd0a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/PetApi.md index b39f8fc403f..44c9eeac76b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, System.IO.Stream file = null, string additionalMetadata = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (System.IO.Stream requiredFile, long petId, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md index aa0a568fc52..4a1cd29ada7 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/UserApi.md index a862c8c112a..56c1acb7928 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/docs/apis/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdateUser** > void UpdateUser (User user, string username) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/README.md index a9ab787090e..14333fed1b2 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/README.md @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -41,7 +41,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -125,7 +125,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -141,7 +141,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace Org.OpenAPITools.Rest.DefaultApi. Or provide your own class by using the generic ConfigureApi method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -151,15 +151,14 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later - + ## Documentation for Authorization + Authentication schemes defined for the API: - - + ### petstore_auth - - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog @@ -167,33 +166,31 @@ Authentication schemes defined for the API: - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - - **Type**: HTTP basic authentication - + ### bearer_test - - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/docs/apis/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/docs/apis/DefaultApi.md index 165d829775f..c203cd813bb 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/docs/apis/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/docs/apis/DefaultApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://api.example.xyz/v1* |--------|--------------|-------------| | [**List**](DefaultApi.md#list) | **GET** /person/display/{personId} | | - + # **List** > Person List (string personId) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/src/Org.OpenAPITools/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/src/Org.OpenAPITools/README.md index 2347fe23d0c..71964b15a42 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/src/Org.OpenAPITools/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-allOf/src/Org.OpenAPITools/README.md @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -41,7 +41,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -83,7 +83,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -99,7 +99,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace Org.OpenAPITools.Rest.DefaultApi. Or provide your own class by using the generic ConfigureApi method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -109,10 +109,11 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later - + ## Documentation for Authorization -All endpoints do not require authorization. +Endpoints do not require authorization. + ## Build - SDK version: 1.0.0 diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/docs/apis/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/docs/apis/DefaultApi.md index ed95943c870..bccf3af9c51 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/docs/apis/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/docs/apis/DefaultApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://localhost* |--------|--------------|-------------| | [**RootGet**](DefaultApi.md#rootget) | **GET** / | | - + # **RootGet** > Fruit RootGet () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/src/Org.OpenAPITools/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/src/Org.OpenAPITools/README.md index 083b66a5736..7ac10e9147f 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/src/Org.OpenAPITools/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-anyOf/src/Org.OpenAPITools/README.md @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -41,7 +41,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -83,7 +83,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -99,7 +99,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace Org.OpenAPITools.Rest.DefaultApi. Or provide your own class by using the generic ConfigureApi method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -109,10 +109,11 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later - + ## Documentation for Authorization -All endpoints do not require authorization. +Endpoints do not require authorization. + ## Build - SDK version: 1.0.0 diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/docs/apis/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/docs/apis/DefaultApi.md index ed95943c870..bccf3af9c51 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/docs/apis/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/docs/apis/DefaultApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://localhost* |--------|--------------|-------------| | [**RootGet**](DefaultApi.md#rootget) | **GET** / | | - + # **RootGet** > Fruit RootGet () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/src/Org.OpenAPITools/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/src/Org.OpenAPITools/README.md index 083b66a5736..7ac10e9147f 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/src/Org.OpenAPITools/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netcore-latest-oneOf/src/Org.OpenAPITools/README.md @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -41,7 +41,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -83,7 +83,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -99,7 +99,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace Org.OpenAPITools.Rest.DefaultApi. Or provide your own class by using the generic ConfigureApi method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -109,10 +109,11 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later - + ## Documentation for Authorization -All endpoints do not require authorization. +Endpoints do not require authorization. + ## Build - SDK version: 1.0.0 diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/AnotherFakeApi.md index 6acb8396be5..36948898657 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/DefaultApi.md index fe3740c7b6e..13dffacfbde 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md index 1b47e75a7dd..db746373b8a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (User user, string query) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestEndpointParameters** > void TestEndpointParameters (byte[] _byte, decimal number, double _double, string patternWithoutDelimiter, DateTime? date = null, System.IO.Stream binary = null, float? _float = null, int? integer = null, int? int32 = null, long? int64 = null, string _string = null, string password = null, string callback = null, DateTime? dateTime = null) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, List enumQueryStringArray = null, double? enumQueryDouble = null, int? enumQueryInteger = null, List enumFormStringArray = null, string enumHeaderString = null, string enumQueryString = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestGroupParameters** > void TestGroupParameters (bool requiredBooleanGroup, int requiredStringGroup, long requiredInt64Group, bool? booleanGroup = null, int? stringGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeClassnameTags123Api.md index efa948aa4b3..dfe1adefd0a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/PetApi.md index b39f8fc403f..44c9eeac76b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, System.IO.Stream file = null, string additionalMetadata = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (System.IO.Stream requiredFile, long petId, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md index aa0a568fc52..4a1cd29ada7 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/UserApi.md index a862c8c112a..56c1acb7928 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/docs/apis/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - + # **UpdateUser** > void UpdateUser (User user, string username) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/README.md index d57429905e4..4645377627a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/README.md @@ -1,6 +1,6 @@ # Created with Openapi Generator - + ## Run the following powershell command to generate the library ```ps1 @@ -41,7 +41,7 @@ java -jar "/openapi-generator/modules/openapi-generator-cli/target/openapi # -t templates ``` - + ## Using the library in your project ```cs @@ -125,7 +125,7 @@ namespace YourProject } } ``` - + ## Questions - What about HttpRequest failures and retries? @@ -141,7 +141,7 @@ namespace YourProject Use the provided On and After methods in the Api class from the namespace Org.OpenAPITools.Rest.DefaultApi. Or provide your own class by using the generic ConfigureApi method. - + ## Dependencies - [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/) - 5.0.0 or later @@ -151,15 +151,14 @@ namespace YourProject - [CompareNETObjects](https://www.nuget.org/packages/CompareNETObjects) - 4.61.0 or later - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.7.0 or later - + ## Documentation for Authorization + Authentication schemes defined for the API: - - + ### petstore_auth - - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog @@ -167,33 +166,31 @@ Authentication schemes defined for the API: - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - - **Type**: HTTP basic authentication - + ### bearer_test - - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/README.md index 4b3b6bc59ad..6b67c836e6a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/README.md @@ -8,13 +8,13 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - .NET Core >=1.0 - .NET Framework >=4.6 - Mono/Xamarin >=vNext - + ## Dependencies - [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.2 or later @@ -29,7 +29,7 @@ Install-Package JsonSubTypes Install-Package System.ComponentModel.Annotations Install-Package CompareNETObjects ``` - + ## Installation Generate the DLL using your preferred tool (e.g. `dotnet build`) @@ -39,7 +39,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -77,7 +77,7 @@ services.AddHttpClient(httpClient => ``` - + ## Getting Started ```csharp @@ -121,7 +121,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -171,7 +171,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -261,10 +261,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -274,31 +276,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/AnotherFakeApi.md index 29d83f09b3b..7522f6e75e9 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/DefaultApi.md index 7a5790f4abf..ae91d727567 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -94,7 +94,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -181,7 +181,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeApi.md index b46f71aeb7e..21277623ef6 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -108,7 +108,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -201,7 +201,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -294,7 +294,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -387,7 +387,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -482,7 +482,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -570,7 +570,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -659,7 +659,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -748,7 +748,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -843,7 +843,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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, FileParameter binary = null, DateTime? date = null, DateTime? dateTime = null, string password = null, string callback = null) @@ -965,7 +965,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1071,7 +1071,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1175,7 +1175,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1264,7 +1264,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1355,7 +1355,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeClassnameTags123Api.md index 2e5782b55c0..ad5d0d58dd5 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/PetApi.md index b5817f5b346..cf016f148d9 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -106,7 +106,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -200,7 +200,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -299,7 +299,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -398,7 +398,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -500,7 +500,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -594,7 +594,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -690,7 +690,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, FileParameter file = null) @@ -790,7 +790,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, FileParameter requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/StoreApi.md index 7ed28712f89..f9552813fa3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -101,7 +101,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -196,7 +196,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -293,7 +293,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/UserApi.md index 86fd3fbf7e7..a7cf3372a3a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -374,7 +374,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -469,7 +469,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -565,7 +565,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -649,7 +649,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/README.md index 3fd5acaefe1..dbce8eeca4a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/README.md @@ -8,10 +8,10 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -32,7 +32,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Run the following command to generate the DLL - [Mac/Linux] `/bin/sh build.sh` @@ -44,7 +44,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## 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. @@ -57,7 +57,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. - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -68,7 +68,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -108,7 +108,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -158,7 +158,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -248,10 +248,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -261,31 +263,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeApi.md index 4b5bf803c4e..c5ed3eb8340 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/PetApi.md index 03dec23f686..ad44daac69e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/README.md index 3fd5acaefe1..dbce8eeca4a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/README.md @@ -8,10 +8,10 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -32,7 +32,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Run the following command to generate the DLL - [Mac/Linux] `/bin/sh build.sh` @@ -44,7 +44,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## 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. @@ -57,7 +57,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. - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -68,7 +68,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -108,7 +108,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -158,7 +158,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -248,10 +248,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -261,31 +263,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeApi.md index 4b5bf803c4e..c5ed3eb8340 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/PetApi.md index 03dec23f686..ad44daac69e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/README.md index 3fd5acaefe1..dbce8eeca4a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/README.md @@ -8,10 +8,10 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -32,7 +32,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Run the following command to generate the DLL - [Mac/Linux] `/bin/sh build.sh` @@ -44,7 +44,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## 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. @@ -57,7 +57,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. - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -68,7 +68,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -108,7 +108,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -158,7 +158,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -248,10 +248,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -261,31 +263,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeApi.md index 17aae1affb8..bf7632d7f07 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite? outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string? body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List? enumHeaderStringArray = null, string? enumHeaderString = null, List? enumQueryStringArray = null, string? enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List? enumFormStringArray = null, string? enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/PetApi.md index 50ca6a747ac..7cadc180a75 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string? apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string? name = null, string? status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string? additionalMetadata = null, System.IO.Stream? file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string? additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/README.md index 97ee627d758..bcd76fda224 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/README.md @@ -8,19 +8,19 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Version support This generator should support all current LTS versions of Unity - Unity 2020.3 (LTS) and up - .NET Standard 2.1 / .NET Framework - + ## Dependencies - [Newtonsoft.Json](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.0/manual/index.html) - 3.0.2 or later - [Unity Test Framework](https://docs.unity3d.com/Packages/com.unity.test-framework@1.1/manual/index.html) - 1.1.33 or later - + ## Installation Add the dependencies to `Packages/manifest.json` ``` @@ -40,7 +40,7 @@ using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## Getting Started ```csharp @@ -82,7 +82,7 @@ namespace Org.OpenAPIToolsExample } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -132,7 +132,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](Activity.md) @@ -222,10 +222,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -235,31 +237,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeApi.md index 4b5bf803c4e..c5ed3eb8340 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/PetApi.md index 03dec23f686..ad44daac69e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/README.md index 0213ca9108d..9c45f95c159 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/README.md @@ -8,13 +8,13 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - .NET Core >=1.0 - .NET Framework >=4.6 - Mono/Xamarin >=vNext - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -35,7 +35,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Generate the DLL using your preferred tool (e.g. `dotnet build`) @@ -45,7 +45,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -56,7 +56,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -96,7 +96,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -146,7 +146,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -236,10 +236,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -249,31 +251,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeApi.md index 4b5bf803c4e..c5ed3eb8340 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/PetApi.md index 03dec23f686..ad44daac69e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md index 3fd5acaefe1..dbce8eeca4a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/README.md @@ -8,10 +8,10 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -32,7 +32,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Run the following command to generate the DLL - [Mac/Linux] `/bin/sh build.sh` @@ -44,7 +44,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## 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. @@ -57,7 +57,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. - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -68,7 +68,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -108,7 +108,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io:80/v2* @@ -158,7 +158,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.Activity](docs/Activity.md) @@ -248,10 +248,12 @@ Class | Method | HTTP request | Description - [Model.Zebra](docs/Zebra.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -261,31 +263,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - **Type**: HTTP basic authentication - + ### bearer_test - **Type**: Bearer Authentication - + ### http_signature_test diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AnotherFakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AnotherFakeApi.md index 0ddc28a1191..01da3a93e62 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AnotherFakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/AnotherFakeApi.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**Call123TestSpecialTags**](AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags | - + # **Call123TestSpecialTags** > ModelClient Call123TestSpecialTags (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DefaultApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DefaultApi.md index 72d1733f4c6..cda989ce6ba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DefaultApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/DefaultApi.md @@ -8,7 +8,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetCountry**](DefaultApi.md#getcountry) | **POST** /country | | | [**Hello**](DefaultApi.md#hello) | **GET** /hello | Hello | - + # **FooGet** > FooGetDefaultResponse FooGet () @@ -90,7 +90,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetCountry** > void GetCountry (string country) @@ -173,7 +173,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **Hello** > List<Guid> Hello () diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md index 4b5bf803c4e..c5ed3eb8340 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeApi.md @@ -20,7 +20,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**TestJsonFormData**](FakeApi.md#testjsonformdata) | **GET** /fake/jsonFormData | test json serialization of form data | | [**TestQueryParameterCollectionFormat**](FakeApi.md#testqueryparametercollectionformat) | **PUT** /fake/test-query-parameters | | - + # **FakeHealthGet** > HealthCheckResult FakeHealthGet () @@ -104,7 +104,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterBooleanSerialize** > bool FakeOuterBooleanSerialize (bool? body = null) @@ -193,7 +193,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterCompositeSerialize** > OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = null) @@ -282,7 +282,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterNumberSerialize** > decimal FakeOuterNumberSerialize (decimal? body = null) @@ -371,7 +371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FakeOuterStringSerialize** > string FakeOuterStringSerialize (Guid requiredStringUuid, string body = null) @@ -462,7 +462,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetArrayOfEnums** > List<OuterEnum> GetArrayOfEnums () @@ -546,7 +546,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithFileSchema** > void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) @@ -631,7 +631,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestBodyWithQueryParams** > void TestBodyWithQueryParams (string query, User user) @@ -716,7 +716,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestClientModel** > ModelClient TestClientModel (ModelClient modelClient) @@ -807,7 +807,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **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) @@ -925,7 +925,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestEnumParameters** > void TestEnumParameters (List enumHeaderStringArray = null, string enumHeaderString = null, List enumQueryStringArray = null, string enumQueryString = null, int? enumQueryInteger = null, double? enumQueryDouble = null, List enumFormStringArray = null, string enumFormString = null) @@ -1027,7 +1027,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestGroupParameters** > void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = null, bool? booleanGroup = null, long? int64Group = null) @@ -1127,7 +1127,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestInlineAdditionalProperties** > void TestInlineAdditionalProperties (Dictionary requestBody) @@ -1212,7 +1212,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestJsonFormData** > void TestJsonFormData (string param, string param2) @@ -1299,7 +1299,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **TestQueryParameterCollectionFormat** > void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeClassnameTags123Api.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeClassnameTags123Api.md index aff9fbdf0ef..17c4f35d8a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeClassnameTags123Api.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/FakeClassnameTags123Api.md @@ -6,7 +6,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* |--------|--------------|-------------| | [**TestClassname**](FakeClassnameTags123Api.md#testclassname) | **PATCH** /fake_classname_test | To test class name in snake case | - + # **TestClassname** > ModelClient TestClassname (ModelClient modelClient) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md index 03dec23f686..ad44daac69e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/PetApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | | [**UploadFileWithRequiredFile**](PetApi.md#uploadfilewithrequiredfile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) | - + # **AddPet** > void AddPet (Pet pet) @@ -102,7 +102,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -192,7 +192,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -287,7 +287,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -382,7 +382,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -480,7 +480,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePet** > void UpdatePet (Pet pet) @@ -570,7 +570,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -662,7 +662,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) @@ -758,7 +758,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFileWithRequiredFile** > ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/StoreApi.md index de4414feafc..179da0ff637 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{order_id} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md index a3d461b04c1..adb1d8d3fec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -185,7 +185,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -270,7 +270,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -358,7 +358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -449,7 +449,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -541,7 +541,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -621,7 +621,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/README.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/README.md index 5f5c5608d9b..cb95cb9b2fe 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/README.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/README.md @@ -8,13 +8,13 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - SDK version: 1.0.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - + ## Frameworks supported - .NET Core >=1.0 - .NET Framework >=4.6 - Mono/Xamarin >=vNext - + ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later @@ -35,7 +35,7 @@ Install-Package CompareNETObjects 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 for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406). - + ## Installation Generate the DLL using your preferred tool (e.g. `dotnet build`) @@ -45,7 +45,7 @@ using Org.OpenAPITools.Api; using Org.OpenAPITools.Client; using Org.OpenAPITools.Model; ``` - + ## Usage To use the API client with a HTTP proxy, setup a `System.Net.WebProxy` @@ -56,7 +56,7 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; c.Proxy = webProxy; ``` - + ## Getting Started ```csharp @@ -99,7 +99,7 @@ namespace Example } ``` - + ## Documentation for API Endpoints All URIs are relative to *http://petstore.swagger.io/v2* @@ -128,7 +128,7 @@ Class | Method | HTTP request | Description *UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user - + ## Documentation for Models - [Model.ApiResponse](docs/ApiResponse.md) @@ -139,10 +139,12 @@ Class | Method | HTTP request | Description - [Model.User](docs/User.md) - + ## Documentation for Authorization - + +Authentication schemes defined for the API: + ### petstore_auth - **Type**: OAuth @@ -152,7 +154,7 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/PetApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/PetApi.md index 296f1489a05..e812ce5ff93 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/PetApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/PetApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io/v2* | [**UpdatePetWithForm**](PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data | | [**UploadFile**](PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image | - + # **AddPet** > Pet AddPet (Pet pet) @@ -106,7 +106,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeletePet** > void DeletePet (long petId, string apiKey = null) @@ -196,7 +196,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByStatus** > List<Pet> FindPetsByStatus (List status) @@ -291,7 +291,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **FindPetsByTags** > List<Pet> FindPetsByTags (List tags) @@ -386,7 +386,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetPetById** > Pet GetPetById (long petId) @@ -484,7 +484,7 @@ catch (ApiException e) [[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** > Pet UpdatePet (Pet pet) @@ -579,7 +579,7 @@ catch (ApiException e) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdatePetWithForm** > void UpdatePetWithForm (long petId, string name = null, string status = null) @@ -671,7 +671,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UploadFile** > ApiResponse UploadFile (long petId, string additionalMetadata = null, System.IO.Stream file = null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/StoreApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/StoreApi.md index b8d93abcd2a..510ff903494 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/StoreApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/StoreApi.md @@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io/v2* | [**GetOrderById**](StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID | | [**PlaceOrder**](StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet | - + # **DeleteOrder** > void DeleteOrder (string orderId) @@ -97,7 +97,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetInventory** > Dictionary<string, int> GetInventory () @@ -188,7 +188,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetOrderById** > Order GetOrderById (long orderId) @@ -281,7 +281,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **PlaceOrder** > Order PlaceOrder (Order order) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/UserApi.md index 3e85a28880c..aebfd4cdc26 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/docs/UserApi.md @@ -13,7 +13,7 @@ All URIs are relative to *http://petstore.swagger.io/v2* | [**LogoutUser**](UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session | | [**UpdateUser**](UserApi.md#updateuser) | **PUT** /user/{username} | Updated user | - + # **CreateUser** > void CreateUser (User user) @@ -105,7 +105,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithArrayInput** > void CreateUsersWithArrayInput (List user) @@ -195,7 +195,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **CreateUsersWithListInput** > void CreateUsersWithListInput (List user) @@ -285,7 +285,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **DeleteUser** > void DeleteUser (string username) @@ -378,7 +378,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **GetUserByName** > User GetUserByName (string username) @@ -469,7 +469,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LoginUser** > string LoginUser (string username, string password) @@ -561,7 +561,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **LogoutUser** > void LogoutUser () @@ -646,7 +646,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - + # **UpdateUser** > void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp/OpenAPIClient/README.md b/samples/client/petstore/csharp/OpenAPIClient/README.md index f7defb79030..91c2acabab2 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/README.md +++ b/samples/client/petstore/csharp/OpenAPIClient/README.md @@ -200,12 +200,14 @@ Class | Method | HTTP request | Description - [Model.User](docs/User.md) + ## Documentation for Authorization +Authentication schemes defined for the API: + ### petstore_auth - - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog @@ -213,35 +215,31 @@ Class | Method | HTTP request | Description - write:pets: modify pets in your account - read:pets: read your pets - + ### api_key - **Type**: API key - - **API key parameter name**: api_key - **Location**: HTTP header - + ### api_key_query - **Type**: API key - - **API key parameter name**: api_key_query - **Location**: URL query string - + ### http_basic_test - - **Type**: HTTP basic authentication - + ### bearer_test - - **Type**: HTTP bearer authentication - + ### http_signature_test