better code format (#7197)

This commit is contained in:
William Cheng 2020-08-13 23:45:51 +08:00 committed by GitHub
parent c9939a2754
commit ae6abfc5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
152 changed files with 523 additions and 767 deletions

View File

@ -27,7 +27,7 @@ using RestSharpMethod = RestSharp.Method;
namespace {{packageName}}.Client namespace {{packageName}}.Client
{ {
/// <summary> /// <summary>
/// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON.
/// </summary> /// </summary>
internal class CustomJsonCodec : RestSharp.Serializers.ISerializer, RestSharp.Deserializers.IDeserializer internal class CustomJsonCodec : RestSharp.Serializers.ISerializer, RestSharp.Deserializers.IDeserializer
{ {
@ -241,7 +241,7 @@ namespace {{packageName}}.Client
if (path == null) throw new ArgumentNullException("path"); if (path == null) throw new ArgumentNullException("path");
if (options == null) throw new ArgumentNullException("options"); if (options == null) throw new ArgumentNullException("options");
if (configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
RestRequest request = new RestRequest(Method(method)) RestRequest request = new RestRequest(Method(method))
{ {
Resource = path, Resource = path,
@ -255,7 +255,7 @@ namespace {{packageName}}.Client
request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment); request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment);
} }
} }
if (options.QueryParameters != null) if (options.QueryParameters != null)
{ {
foreach (var queryParam in options.QueryParameters) foreach (var queryParam in options.QueryParameters)
@ -337,7 +337,7 @@ namespace {{packageName}}.Client
request.AddCookie(cookie.Name, cookie.Value); request.AddCookie(cookie.Name, cookie.Value);
} }
} }
return request; return request;
} }
@ -351,7 +351,7 @@ namespace {{packageName}}.Client
ErrorText = response.ErrorMessage, ErrorText = response.ErrorMessage,
Cookies = new List<Cookie>() Cookies = new List<Cookie>()
}; };
if (response.Headers != null) if (response.Headers != null)
{ {
foreach (var responseHeader in response.Headers) foreach (var responseHeader in response.Headers)
@ -366,9 +366,9 @@ namespace {{packageName}}.Client
{ {
transformed.Cookies.Add( transformed.Cookies.Add(
new Cookie( new Cookie(
responseCookies.Name, responseCookies.Name,
responseCookies.Value, responseCookies.Value,
responseCookies.Path, responseCookies.Path,
responseCookies.Domain) responseCookies.Domain)
); );
} }

View File

@ -55,7 +55,7 @@ namespace {{packageName}}.Client
public class ApiResponse<T> : IApiResponse public class ApiResponse<T> : IApiResponse
{ {
#region Properties #region Properties
/// <summary> /// <summary>
/// Gets or sets the status code (HTTP status code) /// Gets or sets the status code (HTTP status code)
/// </summary> /// </summary>
@ -104,11 +104,11 @@ namespace {{packageName}}.Client
/// The raw content /// The raw content
/// </summary> /// </summary>
public string RawContent { get;} public string RawContent { get;}
#endregion Properties #endregion Properties
#region Constructors #region Constructors
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiResponse{T}" /> class. /// Initializes a new instance of the <see cref="ApiResponse{T}" /> class.
/// </summary> /// </summary>

View File

@ -45,7 +45,7 @@ namespace {{packageName}}.Client
} }
/// <summary> /// <summary>
/// Convert params to key/value pairs. /// Convert params to key/value pairs.
/// Use collectionFormat to properly format lists and collections. /// Use collectionFormat to properly format lists and collections.
/// </summary> /// </summary>
/// <param name="collectionFormat">The swagger-supported collection format, one of: csv, tsv, ssv, pipes, multi</param> /// <param name="collectionFormat">The swagger-supported collection format, one of: csv, tsv, ssv, pipes, multi</param>
@ -70,7 +70,7 @@ namespace {{packageName}}.Client
return parameters; return parameters;
} }
/// <summary> /// <summary>
/// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime. /// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime.
/// If parameter is a list, join the list with ",". /// If parameter is a list, join the list with ",".

View File

@ -212,7 +212,7 @@ namespace {{packageName}}.Client
{ {
return apiKeyPrefix + " " + apiKeyValue; return apiKeyPrefix + " " + apiKeyValue;
} }
return apiKeyValue; return apiKeyValue;
} }
@ -224,7 +224,7 @@ namespace {{packageName}}.Client
/// <summary> /// <summary>
/// Gets or sets the access token for OAuth2 authentication. /// Gets or sets the access token for OAuth2 authentication.
/// ///
/// This helper property simplifies code generation. /// This helper property simplifies code generation.
/// </summary> /// </summary>
/// <value>The access token.</value> /// <value>The access token.</value>
@ -294,13 +294,13 @@ namespace {{packageName}}.Client
/// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name.
/// ///
/// Whatever you set here will be prepended to the value defined in AddApiKey. /// Whatever you set here will be prepended to the value defined in AddApiKey.
/// ///
/// An example invocation here might be: /// An example invocation here might be:
/// <example> /// <example>
/// ApiKeyPrefix["Authorization"] = "Bearer"; /// ApiKeyPrefix["Authorization"] = "Bearer";
/// </example> /// </example>
/// … where ApiKey["Authorization"] would then be used to set the value of your bearer token. /// … where ApiKey["Authorization"] would then be used to set the value of your bearer token.
/// ///
/// <remarks> /// <remarks>
/// OAuth2 workflows should set tokens via AccessToken. /// OAuth2 workflows should set tokens via AccessToken.
/// </remarks> /// </remarks>
@ -394,11 +394,11 @@ namespace {{packageName}}.Client
public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second) public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second)
{ {
if (second == null) return first ?? GlobalConfiguration.Instance; if (second == null) return first ?? GlobalConfiguration.Instance;
Dictionary<string, string> apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Dictionary<string, string> apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Dictionary<string, string> defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value; foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value;
foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value; foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value;
foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value; foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value;

View File

@ -20,7 +20,7 @@ namespace {{packageName}}.Client
/// </summary> /// </summary>
/// <value>The base path</value> /// <value>The base path</value>
String GetBasePath(); String GetBasePath();
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
/// </summary> /// </summary>

View File

@ -8,7 +8,7 @@ namespace {{packageName}}.Client
{ {
/// <summary> /// <summary>
/// Contract for Asynchronous RESTful API interactions. /// Contract for Asynchronous RESTful API interactions.
/// ///
/// This interface allows consumers to provide a custom API accessor client. /// This interface allows consumers to provide a custom API accessor client.
/// </summary> /// </summary>
public interface IAsynchronousClient public interface IAsynchronousClient
@ -23,7 +23,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> GetAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> GetAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the POST http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the POST http verb.
/// </summary> /// </summary>
@ -34,7 +34,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> PostAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> PostAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the PUT http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the PUT http verb.
/// </summary> /// </summary>
@ -45,7 +45,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> PutAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> PutAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the DELETE http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the DELETE http verb.
/// </summary> /// </summary>
@ -56,7 +56,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> DeleteAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> DeleteAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the HEAD http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the HEAD http verb.
/// </summary> /// </summary>
@ -67,7 +67,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> HeadAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> HeadAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the OPTIONS http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the OPTIONS http verb.
/// </summary> /// </summary>
@ -78,7 +78,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> OptionsAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> OptionsAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the PATCH http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the PATCH http verb.
/// </summary> /// </summary>

View File

@ -7,7 +7,7 @@ namespace {{packageName}}.Client
{ {
/// <summary> /// <summary>
/// Contract for Synchronous RESTful API interactions. /// Contract for Synchronous RESTful API interactions.
/// ///
/// This interface allows consumers to provide a custom API accessor client. /// This interface allows consumers to provide a custom API accessor client.
/// </summary> /// </summary>
public interface ISynchronousClient public interface ISynchronousClient
@ -21,7 +21,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Get<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Get<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the POST http verb. /// Executes a blocking call to some <paramref name="path"/> using the POST http verb.
/// </summary> /// </summary>
@ -31,7 +31,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Post<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Post<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the PUT http verb. /// Executes a blocking call to some <paramref name="path"/> using the PUT http verb.
/// </summary> /// </summary>
@ -41,7 +41,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Put<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Put<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the DELETE http verb. /// Executes a blocking call to some <paramref name="path"/> using the DELETE http verb.
/// </summary> /// </summary>
@ -51,7 +51,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Delete<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Delete<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the HEAD http verb. /// Executes a blocking call to some <paramref name="path"/> using the HEAD http verb.
/// </summary> /// </summary>
@ -61,7 +61,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Head<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Head<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the OPTIONS http verb. /// Executes a blocking call to some <paramref name="path"/> using the OPTIONS http verb.
/// </summary> /// </summary>
@ -71,7 +71,7 @@ namespace {{packageName}}.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Options<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Options<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the PATCH http verb. /// Executes a blocking call to some <paramref name="path"/> using the PATCH http verb.
/// </summary> /// </summary>
@ -82,4 +82,4 @@ namespace {{packageName}}.Client
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Patch<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Patch<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
} }
} }

View File

@ -24,9 +24,11 @@ namespace {{packageName}}.{{apiPackage}}
/// <summary> /// <summary>
/// {{summary}} /// {{summary}}
/// </summary> /// </summary>
{{#notes}}
/// <remarks> /// <remarks>
/// {{notes}} /// {{notes}}
/// </remarks> /// </remarks>
{{/notes}}
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param> {{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns> {{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
@ -244,7 +246,7 @@ namespace {{packageName}}.{{apiPackage}}
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
{{#consumes}} {{#consumes}}
"{{{mediaType}}}"{{#hasMore}}, {{/hasMore}} "{{{mediaType}}}"{{#hasMore}},{{/hasMore}}
{{/consumes}} {{/consumes}}
}; };
@ -436,7 +438,7 @@ namespace {{packageName}}.{{apiPackage}}
var localVarAccept = {{packageName}}.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = {{packageName}}.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
{{#pathParams}} {{#pathParams}}
{{#required}} {{#required}}
localVarRequestOptions.PathParameters.Add("{{baseName}}", {{packageName}}.Client.ClientUtils.ParameterToString({{paramName}})); // path parameter localVarRequestOptions.PathParameters.Add("{{baseName}}", {{packageName}}.Client.ClientUtils.ParameterToString({{paramName}})); // path parameter

View File

@ -93,7 +93,7 @@
{{/isInherited}} {{/isInherited}}
{{/vars}} {{/vars}}
} }
{{#vars}} {{#vars}}
{{^isInherited}} {{^isInherited}}
{{^isEnum}} {{^isEnum}}
@ -125,7 +125,7 @@
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,4 +1,4 @@
/* /*
{{#appName}} {{#appName}}
* {{{appName}}} * {{{appName}}}
* *
@ -7,7 +7,11 @@
* {{{appDescription}}} * {{{appDescription}}}
* *
{{/appDescription}} {{/appDescription}}
* {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}} {{#version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}} * The version of the OpenAPI document: {{{version}}}
{{/version}}
{{#infoEmail}}
* Contact: {{{infoEmail}}}
{{/infoEmail}}
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -300,7 +299,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = modelClient; localVarRequestOptions.Data = modelClient;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -30,9 +29,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>InlineResponseDefault</returns> /// <returns>InlineResponseDefault</returns>
InlineResponseDefault FooGet (); InlineResponseDefault FooGet ();
@ -281,7 +277,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// make the HTTP request // make the HTTP request

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -30,9 +29,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Health check endpoint /// Health check endpoint
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>HealthCheckResult</returns> /// <returns>HealthCheckResult</returns>
HealthCheckResult FakeHealthGet (); HealthCheckResult FakeHealthGet ();
@ -49,9 +45,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// test http signature authentication /// test http signature authentication
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <param name="query1">query parameter (optional)</param> /// <param name="query1">query parameter (optional)</param>
@ -179,9 +172,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="query"></param> /// <param name="query"></param>
/// <param name="user"></param> /// <param name="user"></param>
@ -336,9 +326,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// test inline additionalProperties /// test inline additionalProperties
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="requestBody">request body</param> /// <param name="requestBody">request body</param>
/// <returns></returns> /// <returns></returns>
@ -357,9 +344,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// test json serialization of form data /// test json serialization of form data
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="param">field1</param> /// <param name="param">field1</param>
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
@ -1029,7 +1013,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// make the HTTP request // make the HTTP request
@ -1075,7 +1059,7 @@ namespace Org.OpenAPITools.Api
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
"application/json", "application/json",
"application/xml" "application/xml"
}; };
@ -1160,7 +1144,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
if (query1 != null) if (query1 != null)
{ {
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query_1", query1)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query_1", query1));
@ -1278,7 +1262,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = body; localVarRequestOptions.Data = body;
@ -1387,7 +1371,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = outerComposite; localVarRequestOptions.Data = outerComposite;
@ -1496,7 +1480,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = body; localVarRequestOptions.Data = body;
@ -1605,7 +1589,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = body; localVarRequestOptions.Data = body;
@ -1718,7 +1702,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = fileSchemaTestClass; localVarRequestOptions.Data = fileSchemaTestClass;
@ -1844,7 +1828,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query));
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -1962,7 +1946,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = modelClient; localVarRequestOptions.Data = modelClient;
@ -2184,7 +2168,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
if (integer != null) if (integer != null)
{ {
localVarRequestOptions.FormParameters.Add("integer", Org.OpenAPITools.Client.ClientUtils.ParameterToString(integer)); // form parameter localVarRequestOptions.FormParameters.Add("integer", Org.OpenAPITools.Client.ClientUtils.ParameterToString(integer)); // form parameter
@ -2397,7 +2381,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
if (enumQueryStringArray != null) if (enumQueryStringArray != null)
{ {
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "enum_query_string_array", enumQueryStringArray)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "enum_query_string_array", enumQueryStringArray));
@ -2571,7 +2555,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group));
if (stringGroup != null) if (stringGroup != null)
@ -2704,7 +2688,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = requestBody; localVarRequestOptions.Data = requestBody;
@ -2830,7 +2814,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.FormParameters.Add("param", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param)); // form parameter localVarRequestOptions.FormParameters.Add("param", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param)); // form parameter
localVarRequestOptions.FormParameters.Add("param2", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param2)); // form parameter localVarRequestOptions.FormParameters.Add("param2", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param2)); // form parameter
@ -2994,7 +2978,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "pipe", pipe)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "pipe", pipe));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("ssv", "http", http)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("ssv", "http", http));

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -305,7 +304,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = modelClient; localVarRequestOptions.Data = modelClient;
// authentication (api_key_query) required // authentication (api_key_query) required

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -30,9 +29,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Add a new pet to the store /// Add a new pet to the store
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
@ -51,9 +47,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
@ -137,9 +130,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
@ -158,9 +148,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet that needs to be updated</param> /// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
@ -183,9 +170,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet to update</param> /// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
@ -208,9 +192,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet to update</param> /// <param name="petId">ID of pet to update</param>
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
@ -606,7 +587,7 @@ namespace Org.OpenAPITools.Api
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
"application/json", "application/json",
"application/xml" "application/xml"
}; };
@ -684,7 +665,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = pet; localVarRequestOptions.Data = pet;
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -807,7 +788,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (apiKey != null) if (apiKey != null)
{ {
@ -940,7 +921,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status));
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -1069,7 +1050,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags));
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -1189,7 +1170,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
// authentication (api_key) required // authentication (api_key) required
@ -1237,7 +1218,7 @@ namespace Org.OpenAPITools.Api
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
"application/json", "application/json",
"application/xml" "application/xml"
}; };
@ -1315,7 +1296,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = pet; localVarRequestOptions.Data = pet;
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -1448,7 +1429,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (name != null) if (name != null)
{ {
@ -1593,7 +1574,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (additionalMetadata != null) if (additionalMetadata != null)
{ {
@ -1743,7 +1724,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (additionalMetadata != null) if (additionalMetadata != null)
{ {

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -91,9 +90,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>Order</returns> /// <returns>Order</returns>
@ -422,7 +418,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter
@ -529,7 +525,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// authentication (api_key) required // authentication (api_key) required
if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("api_key"))) if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("api_key")))
@ -642,7 +638,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter
@ -761,7 +757,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = order; localVarRequestOptions.Data = order;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -51,9 +50,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
@ -72,9 +68,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
@ -114,9 +107,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns> /// <returns>User</returns>
@ -135,9 +125,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
@ -158,9 +145,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns></returns> /// <returns></returns>
void LogoutUser (); void LogoutUser ();
@ -608,7 +592,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -721,7 +705,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -834,7 +818,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -945,7 +929,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter
@ -1062,7 +1046,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter
@ -1192,7 +1176,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password));
@ -1291,7 +1275,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// make the HTTP request // make the HTTP request
@ -1416,7 +1400,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -31,7 +30,7 @@ using RestSharpMethod = RestSharp.Method;
namespace Org.OpenAPITools.Client namespace Org.OpenAPITools.Client
{ {
/// <summary> /// <summary>
/// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON.
/// </summary> /// </summary>
internal class CustomJsonCodec : RestSharp.Serializers.ISerializer, RestSharp.Deserializers.IDeserializer internal class CustomJsonCodec : RestSharp.Serializers.ISerializer, RestSharp.Deserializers.IDeserializer
{ {
@ -244,7 +243,7 @@ namespace Org.OpenAPITools.Client
if (path == null) throw new ArgumentNullException("path"); if (path == null) throw new ArgumentNullException("path");
if (options == null) throw new ArgumentNullException("options"); if (options == null) throw new ArgumentNullException("options");
if (configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
RestRequest request = new RestRequest(Method(method)) RestRequest request = new RestRequest(Method(method))
{ {
Resource = path, Resource = path,
@ -258,7 +257,7 @@ namespace Org.OpenAPITools.Client
request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment); request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment);
} }
} }
if (options.QueryParameters != null) if (options.QueryParameters != null)
{ {
foreach (var queryParam in options.QueryParameters) foreach (var queryParam in options.QueryParameters)
@ -340,7 +339,7 @@ namespace Org.OpenAPITools.Client
request.AddCookie(cookie.Name, cookie.Value); request.AddCookie(cookie.Name, cookie.Value);
} }
} }
return request; return request;
} }
@ -354,7 +353,7 @@ namespace Org.OpenAPITools.Client
ErrorText = response.ErrorMessage, ErrorText = response.ErrorMessage,
Cookies = new List<Cookie>() Cookies = new List<Cookie>()
}; };
if (response.Headers != null) if (response.Headers != null)
{ {
foreach (var responseHeader in response.Headers) foreach (var responseHeader in response.Headers)
@ -369,9 +368,9 @@ namespace Org.OpenAPITools.Client
{ {
transformed.Cookies.Add( transformed.Cookies.Add(
new Cookie( new Cookie(
responseCookies.Name, responseCookies.Name,
responseCookies.Value, responseCookies.Value,
responseCookies.Path, responseCookies.Path,
responseCookies.Domain) responseCookies.Domain)
); );
} }

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -64,7 +63,7 @@ namespace Org.OpenAPITools.Client
public class ApiResponse<T> : IApiResponse public class ApiResponse<T> : IApiResponse
{ {
#region Properties #region Properties
/// <summary> /// <summary>
/// Gets or sets the status code (HTTP status code) /// Gets or sets the status code (HTTP status code)
/// </summary> /// </summary>
@ -113,11 +112,11 @@ namespace Org.OpenAPITools.Client
/// The raw content /// The raw content
/// </summary> /// </summary>
public string RawContent { get;} public string RawContent { get;}
#endregion Properties #endregion Properties
#region Constructors #region Constructors
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiResponse{T}" /> class. /// Initializes a new instance of the <see cref="ApiResponse{T}" /> class.
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -50,7 +49,7 @@ namespace Org.OpenAPITools.Client
} }
/// <summary> /// <summary>
/// Convert params to key/value pairs. /// Convert params to key/value pairs.
/// Use collectionFormat to properly format lists and collections. /// Use collectionFormat to properly format lists and collections.
/// </summary> /// </summary>
/// <param name="collectionFormat">The swagger-supported collection format, one of: csv, tsv, ssv, pipes, multi</param> /// <param name="collectionFormat">The swagger-supported collection format, one of: csv, tsv, ssv, pipes, multi</param>
@ -75,7 +74,7 @@ namespace Org.OpenAPITools.Client
return parameters; return parameters;
} }
/// <summary> /// <summary>
/// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime. /// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime.
/// If parameter is a list, join the list with ",". /// If parameter is a list, join the list with ",".

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -215,7 +214,7 @@ namespace Org.OpenAPITools.Client
{ {
return apiKeyPrefix + " " + apiKeyValue; return apiKeyPrefix + " " + apiKeyValue;
} }
return apiKeyValue; return apiKeyValue;
} }
@ -227,7 +226,7 @@ namespace Org.OpenAPITools.Client
/// <summary> /// <summary>
/// Gets or sets the access token for OAuth2 authentication. /// Gets or sets the access token for OAuth2 authentication.
/// ///
/// This helper property simplifies code generation. /// This helper property simplifies code generation.
/// </summary> /// </summary>
/// <value>The access token.</value> /// <value>The access token.</value>
@ -297,13 +296,13 @@ namespace Org.OpenAPITools.Client
/// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name.
/// ///
/// Whatever you set here will be prepended to the value defined in AddApiKey. /// Whatever you set here will be prepended to the value defined in AddApiKey.
/// ///
/// An example invocation here might be: /// An example invocation here might be:
/// <example> /// <example>
/// ApiKeyPrefix["Authorization"] = "Bearer"; /// ApiKeyPrefix["Authorization"] = "Bearer";
/// </example> /// </example>
/// … where ApiKey["Authorization"] would then be used to set the value of your bearer token. /// … where ApiKey["Authorization"] would then be used to set the value of your bearer token.
/// ///
/// <remarks> /// <remarks>
/// OAuth2 workflows should set tokens via AccessToken. /// OAuth2 workflows should set tokens via AccessToken.
/// </remarks> /// </remarks>
@ -389,11 +388,11 @@ namespace Org.OpenAPITools.Client
public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second) public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second)
{ {
if (second == null) return first ?? GlobalConfiguration.Instance; if (second == null) return first ?? GlobalConfiguration.Instance;
Dictionary<string, string> apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Dictionary<string, string> apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Dictionary<string, string> defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value; foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value;
foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value; foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value;
foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value; foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -29,7 +28,7 @@ namespace Org.OpenAPITools.Client
/// </summary> /// </summary>
/// <value>The base path</value> /// <value>The base path</value>
String GetBasePath(); String GetBasePath();
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -17,7 +16,7 @@ namespace Org.OpenAPITools.Client
{ {
/// <summary> /// <summary>
/// Contract for Asynchronous RESTful API interactions. /// Contract for Asynchronous RESTful API interactions.
/// ///
/// This interface allows consumers to provide a custom API accessor client. /// This interface allows consumers to provide a custom API accessor client.
/// </summary> /// </summary>
public interface IAsynchronousClient public interface IAsynchronousClient
@ -32,7 +31,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> GetAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> GetAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the POST http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the POST http verb.
/// </summary> /// </summary>
@ -43,7 +42,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> PostAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> PostAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the PUT http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the PUT http verb.
/// </summary> /// </summary>
@ -54,7 +53,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> PutAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> PutAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the DELETE http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the DELETE http verb.
/// </summary> /// </summary>
@ -65,7 +64,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> DeleteAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> DeleteAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the HEAD http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the HEAD http verb.
/// </summary> /// </summary>
@ -76,7 +75,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> HeadAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> HeadAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the OPTIONS http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the OPTIONS http verb.
/// </summary> /// </summary>
@ -87,7 +86,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> OptionsAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> OptionsAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the PATCH http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the PATCH http verb.
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -16,7 +15,7 @@ namespace Org.OpenAPITools.Client
{ {
/// <summary> /// <summary>
/// Contract for Synchronous RESTful API interactions. /// Contract for Synchronous RESTful API interactions.
/// ///
/// This interface allows consumers to provide a custom API accessor client. /// This interface allows consumers to provide a custom API accessor client.
/// </summary> /// </summary>
public interface ISynchronousClient public interface ISynchronousClient
@ -30,7 +29,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Get<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Get<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the POST http verb. /// Executes a blocking call to some <paramref name="path"/> using the POST http verb.
/// </summary> /// </summary>
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Post<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Post<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the PUT http verb. /// Executes a blocking call to some <paramref name="path"/> using the PUT http verb.
/// </summary> /// </summary>
@ -50,7 +49,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Put<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Put<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the DELETE http verb. /// Executes a blocking call to some <paramref name="path"/> using the DELETE http verb.
/// </summary> /// </summary>
@ -60,7 +59,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Delete<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Delete<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the HEAD http verb. /// Executes a blocking call to some <paramref name="path"/> using the HEAD http verb.
/// </summary> /// </summary>
@ -70,7 +69,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Head<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Head<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the OPTIONS http verb. /// Executes a blocking call to some <paramref name="path"/> using the OPTIONS http verb.
/// </summary> /// </summary>
@ -80,7 +79,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Options<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Options<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the PATCH http verb. /// Executes a blocking call to some <paramref name="path"/> using the PATCH http verb.
/// </summary> /// </summary>
@ -91,4 +90,4 @@ namespace Org.OpenAPITools.Client
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Patch<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Patch<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
} }
} }

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -42,7 +41,7 @@ namespace Org.OpenAPITools.Model
this.MapProperty = mapProperty; this.MapProperty = mapProperty;
this.MapOfMapProperty = mapOfMapProperty; this.MapOfMapProperty = mapOfMapProperty;
} }
/// <summary> /// <summary>
/// Gets or Sets MapProperty /// Gets or Sets MapProperty
/// </summary> /// </summary>
@ -68,7 +67,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -55,7 +54,7 @@ namespace Org.OpenAPITools.Model
// use default value if no "color" provided // use default value if no "color" provided
this.Color = color ?? "red"; this.Color = color ?? "red";
} }
/// <summary> /// <summary>
/// Gets or Sets ClassName /// Gets or Sets ClassName
/// </summary> /// </summary>
@ -81,7 +80,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -44,7 +43,7 @@ namespace Org.OpenAPITools.Model
this.Type = type; this.Type = type;
this.Message = message; this.Message = message;
} }
/// <summary> /// <summary>
/// Gets or Sets Code /// Gets or Sets Code
/// </summary> /// </summary>
@ -77,7 +76,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.ArrayArrayNumber = arrayArrayNumber; this.ArrayArrayNumber = arrayArrayNumber;
} }
/// <summary> /// <summary>
/// Gets or Sets ArrayArrayNumber /// Gets or Sets ArrayArrayNumber
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.ArrayNumber = arrayNumber; this.ArrayNumber = arrayNumber;
} }
/// <summary> /// <summary>
/// Gets or Sets ArrayNumber /// Gets or Sets ArrayNumber
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -44,7 +43,7 @@ namespace Org.OpenAPITools.Model
this.ArrayArrayOfInteger = arrayArrayOfInteger; this.ArrayArrayOfInteger = arrayArrayOfInteger;
this.ArrayArrayOfModel = arrayArrayOfModel; this.ArrayArrayOfModel = arrayArrayOfModel;
} }
/// <summary> /// <summary>
/// Gets or Sets ArrayOfString /// Gets or Sets ArrayOfString
/// </summary> /// </summary>
@ -77,7 +76,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -50,7 +49,7 @@ namespace Org.OpenAPITools.Model
this.SCAETHFlowPoints = sCAETHFlowPoints; this.SCAETHFlowPoints = sCAETHFlowPoints;
this.ATT_NAME = aTTNAME; this.ATT_NAME = aTTNAME;
} }
/// <summary> /// <summary>
/// Gets or Sets SmallCamel /// Gets or Sets SmallCamel
/// </summary> /// </summary>
@ -105,7 +104,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -47,7 +46,7 @@ namespace Org.OpenAPITools.Model
{ {
this.Declawed = declawed; this.Declawed = declawed;
} }
/// <summary> /// <summary>
/// Gets or Sets Declawed /// Gets or Sets Declawed
/// </summary> /// </summary>
@ -67,7 +66,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.Declawed = declawed; this.Declawed = declawed;
} }
/// <summary> /// <summary>
/// Gets or Sets Declawed /// Gets or Sets Declawed
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -48,7 +47,7 @@ namespace Org.OpenAPITools.Model
this.Name = name ?? throw new ArgumentNullException("name is a required property for Category and cannot be null"); this.Name = name ?? throw new ArgumentNullException("name is a required property for Category and cannot be null");
this.Id = id; this.Id = id;
} }
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
@ -74,7 +73,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.Class = _class; this.Class = _class;
} }
/// <summary> /// <summary>
/// Gets or Sets Class /// Gets or Sets Class
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -47,7 +46,7 @@ namespace Org.OpenAPITools.Model
{ {
this.Breed = breed; this.Breed = breed;
} }
/// <summary> /// <summary>
/// Gets or Sets Breed /// Gets or Sets Breed
/// </summary> /// </summary>
@ -67,7 +66,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.Breed = breed; this.Breed = breed;
} }
/// <summary> /// <summary>
/// Gets or Sets Breed /// Gets or Sets Breed
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -93,7 +92,7 @@ namespace Org.OpenAPITools.Model
this.JustSymbol = justSymbol; this.JustSymbol = justSymbol;
this.ArrayEnum = arrayEnum; this.ArrayEnum = arrayEnum;
} }
/// <summary> /// <summary>
/// Returns the string presentation of the object /// Returns the string presentation of the object
/// </summary> /// </summary>
@ -107,7 +106,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -188,7 +187,7 @@ namespace Org.OpenAPITools.Model
this.OuterEnumDefaultValue = outerEnumDefaultValue; this.OuterEnumDefaultValue = outerEnumDefaultValue;
this.OuterEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; this.OuterEnumIntegerDefaultValue = outerEnumIntegerDefaultValue;
} }
/// <summary> /// <summary>
/// Returns the string presentation of the object /// Returns the string presentation of the object
/// </summary> /// </summary>
@ -208,7 +207,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.SourceURI = sourceURI; this.SourceURI = sourceURI;
} }
/// <summary> /// <summary>
/// Test capitalization /// Test capitalization
/// </summary> /// </summary>
@ -60,7 +59,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -42,7 +41,7 @@ namespace Org.OpenAPITools.Model
this.File = file; this.File = file;
this.Files = files; this.Files = files;
} }
/// <summary> /// <summary>
/// Gets or Sets File /// Gets or Sets File
/// </summary> /// </summary>
@ -68,7 +67,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -41,7 +40,7 @@ namespace Org.OpenAPITools.Model
// use default value if no "bar" provided // use default value if no "bar" provided
this.Bar = bar ?? "bar"; this.Bar = bar ?? "bar";
} }
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
@ -60,7 +59,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -75,7 +74,7 @@ namespace Org.OpenAPITools.Model
this.PatternWithDigits = patternWithDigits; this.PatternWithDigits = patternWithDigits;
this.PatternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; this.PatternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter;
} }
/// <summary> /// <summary>
/// Gets or Sets Integer /// Gets or Sets Integer
/// </summary> /// </summary>
@ -195,7 +194,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -39,7 +38,7 @@ namespace Org.OpenAPITools.Model
public HasOnlyReadOnly() public HasOnlyReadOnly()
{ {
} }
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
@ -65,7 +64,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.NullableMessage = nullableMessage; this.NullableMessage = nullableMessage;
} }
/// <summary> /// <summary>
/// Gets or Sets NullableMessage /// Gets or Sets NullableMessage
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -42,7 +41,7 @@ namespace Org.OpenAPITools.Model
this.Name = name; this.Name = name;
this.Status = status; this.Status = status;
} }
/// <summary> /// <summary>
/// Updated name of the pet /// Updated name of the pet
/// </summary> /// </summary>
@ -70,7 +69,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -42,7 +41,7 @@ namespace Org.OpenAPITools.Model
this.AdditionalMetadata = additionalMetadata; this.AdditionalMetadata = additionalMetadata;
this.File = file; this.File = file;
} }
/// <summary> /// <summary>
/// Additional data to pass to server /// Additional data to pass to server
/// </summary> /// </summary>
@ -70,7 +69,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -102,7 +101,7 @@ namespace Org.OpenAPITools.Model
this.EnumFormStringArray = enumFormStringArray; this.EnumFormStringArray = enumFormStringArray;
this.EnumFormString = enumFormString; this.EnumFormString = enumFormString;
} }
/// <summary> /// <summary>
/// Returns the string presentation of the object /// Returns the string presentation of the object
/// </summary> /// </summary>
@ -116,7 +115,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -73,7 +72,7 @@ namespace Org.OpenAPITools.Model
this.Password = password; this.Password = password;
this.Callback = callback; this.Callback = callback;
} }
/// <summary> /// <summary>
/// None /// None
/// </summary> /// </summary>
@ -198,7 +197,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -49,7 +48,7 @@ namespace Org.OpenAPITools.Model
// to ensure "param2" is required (not null) // to ensure "param2" is required (not null)
this.Param2 = param2 ?? throw new ArgumentNullException("param2 is a required property for InlineObject4 and cannot be null"); this.Param2 = param2 ?? throw new ArgumentNullException("param2 is a required property for InlineObject4 and cannot be null");
} }
/// <summary> /// <summary>
/// field1 /// field1
/// </summary> /// </summary>
@ -77,7 +76,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -48,7 +47,7 @@ namespace Org.OpenAPITools.Model
this.RequiredFile = requiredFile ?? throw new ArgumentNullException("requiredFile is a required property for InlineObject5 and cannot be null"); this.RequiredFile = requiredFile ?? throw new ArgumentNullException("requiredFile is a required property for InlineObject5 and cannot be null");
this.AdditionalMetadata = additionalMetadata; this.AdditionalMetadata = additionalMetadata;
} }
/// <summary> /// <summary>
/// Additional data to pass to server /// Additional data to pass to server
/// </summary> /// </summary>
@ -76,7 +75,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.String = _string; this.String = _string;
} }
/// <summary> /// <summary>
/// Gets or Sets String /// Gets or Sets String
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this._123List = _123list; this._123List = _123list;
} }
/// <summary> /// <summary>
/// Gets or Sets _123List /// Gets or Sets _123List
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -72,7 +71,7 @@ namespace Org.OpenAPITools.Model
this.DirectMap = directMap; this.DirectMap = directMap;
this.IndirectMap = indirectMap; this.IndirectMap = indirectMap;
} }
/// <summary> /// <summary>
/// Gets or Sets MapMapOfString /// Gets or Sets MapMapOfString
/// </summary> /// </summary>
@ -106,7 +105,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -44,7 +43,7 @@ namespace Org.OpenAPITools.Model
this.DateTime = dateTime; this.DateTime = dateTime;
this.Map = map; this.Map = map;
} }
/// <summary> /// <summary>
/// Gets or Sets Uuid /// Gets or Sets Uuid
/// </summary> /// </summary>
@ -77,7 +76,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -42,7 +41,7 @@ namespace Org.OpenAPITools.Model
this.Name = name; this.Name = name;
this.Class = _class; this.Class = _class;
} }
/// <summary> /// <summary>
/// Gets or Sets Name /// Gets or Sets Name
/// </summary> /// </summary>
@ -68,7 +67,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.__Client = _client; this.__Client = _client;
} }
/// <summary> /// <summary>
/// Gets or Sets __Client /// Gets or Sets __Client
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -47,7 +46,7 @@ namespace Org.OpenAPITools.Model
this._Name = name; this._Name = name;
this.Property = property; this.Property = property;
} }
/// <summary> /// <summary>
/// Gets or Sets _Name /// Gets or Sets _Name
/// </summary> /// </summary>
@ -87,7 +86,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -62,7 +61,7 @@ namespace Org.OpenAPITools.Model
this.ObjectAndItemsNullableProp = objectAndItemsNullableProp; this.ObjectAndItemsNullableProp = objectAndItemsNullableProp;
this.ObjectItemsNullable = objectItemsNullable; this.ObjectItemsNullable = objectItemsNullable;
} }
/// <summary> /// <summary>
/// Gets or Sets IntegerProp /// Gets or Sets IntegerProp
/// </summary> /// </summary>
@ -160,7 +159,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.JustNumber = justNumber; this.JustNumber = justNumber;
} }
/// <summary> /// <summary>
/// Gets or Sets JustNumber /// Gets or Sets JustNumber
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -83,7 +82,7 @@ namespace Org.OpenAPITools.Model
this.Status = status; this.Status = status;
this.Complete = complete; this.Complete = complete;
} }
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
@ -131,7 +130,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -44,7 +43,7 @@ namespace Org.OpenAPITools.Model
this.MyString = myString; this.MyString = myString;
this.MyBoolean = myBoolean; this.MyBoolean = myBoolean;
} }
/// <summary> /// <summary>
/// Gets or Sets MyNumber /// Gets or Sets MyNumber
/// </summary> /// </summary>
@ -77,7 +76,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -90,7 +89,7 @@ namespace Org.OpenAPITools.Model
this.Tags = tags; this.Tags = tags;
this.Status = status; this.Status = status;
} }
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
@ -138,7 +137,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.Baz = baz; this.Baz = baz;
} }
/// <summary> /// <summary>
/// Gets or Sets Bar /// Gets or Sets Bar
/// </summary> /// </summary>
@ -66,7 +65,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this._Return = _return; this._Return = _return;
} }
/// <summary> /// <summary>
/// Gets or Sets _Return /// Gets or Sets _Return
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Model
{ {
this.SpecialPropertyName = specialPropertyName; this.SpecialPropertyName = specialPropertyName;
} }
/// <summary> /// <summary>
/// Gets or Sets SpecialPropertyName /// Gets or Sets SpecialPropertyName
/// </summary> /// </summary>
@ -59,7 +58,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -42,7 +41,7 @@ namespace Org.OpenAPITools.Model
this.Id = id; this.Id = id;
this.Name = name; this.Name = name;
} }
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
@ -68,7 +67,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -54,7 +53,7 @@ namespace Org.OpenAPITools.Model
this.Phone = phone; this.Phone = phone;
this.UserStatus = userStatus; this.UserStatus = userStatus;
} }
/// <summary> /// <summary>
/// Gets or Sets Id /// Gets or Sets Id
/// </summary> /// </summary>
@ -123,7 +122,7 @@ namespace Org.OpenAPITools.Model
sb.Append("}\n"); sb.Append("}\n");
return sb.ToString(); return sb.ToString();
} }
/// <summary> /// <summary>
/// Returns the JSON string presentation of the object /// Returns the JSON string presentation of the object
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -300,7 +299,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = modelClient; localVarRequestOptions.Data = modelClient;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -30,9 +29,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>InlineResponseDefault</returns> /// <returns>InlineResponseDefault</returns>
InlineResponseDefault FooGet (); InlineResponseDefault FooGet ();
@ -281,7 +277,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// make the HTTP request // make the HTTP request

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -30,9 +29,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Health check endpoint /// Health check endpoint
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns>HealthCheckResult</returns> /// <returns>HealthCheckResult</returns>
HealthCheckResult FakeHealthGet (); HealthCheckResult FakeHealthGet ();
@ -49,9 +45,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// test http signature authentication /// test http signature authentication
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <param name="query1">query parameter (optional)</param> /// <param name="query1">query parameter (optional)</param>
@ -179,9 +172,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="query"></param> /// <param name="query"></param>
/// <param name="user"></param> /// <param name="user"></param>
@ -336,9 +326,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// test inline additionalProperties /// test inline additionalProperties
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="requestBody">request body</param> /// <param name="requestBody">request body</param>
/// <returns></returns> /// <returns></returns>
@ -357,9 +344,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// test json serialization of form data /// test json serialization of form data
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="param">field1</param> /// <param name="param">field1</param>
/// <param name="param2">field2</param> /// <param name="param2">field2</param>
@ -1029,7 +1013,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// make the HTTP request // make the HTTP request
@ -1075,7 +1059,7 @@ namespace Org.OpenAPITools.Api
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
"application/json", "application/json",
"application/xml" "application/xml"
}; };
@ -1160,7 +1144,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
if (query1 != null) if (query1 != null)
{ {
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query_1", query1)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query_1", query1));
@ -1278,7 +1262,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = body; localVarRequestOptions.Data = body;
@ -1387,7 +1371,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = outerComposite; localVarRequestOptions.Data = outerComposite;
@ -1496,7 +1480,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = body; localVarRequestOptions.Data = body;
@ -1605,7 +1589,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = body; localVarRequestOptions.Data = body;
@ -1718,7 +1702,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = fileSchemaTestClass; localVarRequestOptions.Data = fileSchemaTestClass;
@ -1844,7 +1828,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "query", query));
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -1962,7 +1946,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = modelClient; localVarRequestOptions.Data = modelClient;
@ -2184,7 +2168,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
if (integer != null) if (integer != null)
{ {
localVarRequestOptions.FormParameters.Add("integer", Org.OpenAPITools.Client.ClientUtils.ParameterToString(integer)); // form parameter localVarRequestOptions.FormParameters.Add("integer", Org.OpenAPITools.Client.ClientUtils.ParameterToString(integer)); // form parameter
@ -2397,7 +2381,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
if (enumQueryStringArray != null) if (enumQueryStringArray != null)
{ {
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "enum_query_string_array", enumQueryStringArray)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "enum_query_string_array", enumQueryStringArray));
@ -2571,7 +2555,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_string_group", requiredStringGroup));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "required_int64_group", requiredInt64Group));
if (stringGroup != null) if (stringGroup != null)
@ -2704,7 +2688,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = requestBody; localVarRequestOptions.Data = requestBody;
@ -2830,7 +2814,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.FormParameters.Add("param", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param)); // form parameter localVarRequestOptions.FormParameters.Add("param", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param)); // form parameter
localVarRequestOptions.FormParameters.Add("param2", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param2)); // form parameter localVarRequestOptions.FormParameters.Add("param2", Org.OpenAPITools.Client.ClientUtils.ParameterToString(param2)); // form parameter
@ -2994,7 +2978,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "pipe", pipe)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("multi", "pipe", pipe));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "ioutil", ioutil));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("ssv", "http", http)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("ssv", "http", http));

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -305,7 +304,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = modelClient; localVarRequestOptions.Data = modelClient;
// authentication (api_key_query) required // authentication (api_key_query) required

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -30,9 +29,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Add a new pet to the store /// Add a new pet to the store
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
@ -51,9 +47,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Deletes a pet /// Deletes a pet
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">Pet id to delete</param> /// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param> /// <param name="apiKey"> (optional)</param>
@ -137,9 +130,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Update an existing pet /// Update an existing pet
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="pet">Pet object that needs to be added to the store</param> /// <param name="pet">Pet object that needs to be added to the store</param>
/// <returns></returns> /// <returns></returns>
@ -158,9 +148,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Updates a pet in the store with form data /// Updates a pet in the store with form data
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet that needs to be updated</param> /// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet (optional)</param> /// <param name="name">Updated name of the pet (optional)</param>
@ -183,9 +170,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// uploads an image /// uploads an image
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet to update</param> /// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param> /// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
@ -208,9 +192,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// uploads an image (required) /// uploads an image (required)
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet to update</param> /// <param name="petId">ID of pet to update</param>
/// <param name="requiredFile">file to upload</param> /// <param name="requiredFile">file to upload</param>
@ -606,7 +587,7 @@ namespace Org.OpenAPITools.Api
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
"application/json", "application/json",
"application/xml" "application/xml"
}; };
@ -684,7 +665,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = pet; localVarRequestOptions.Data = pet;
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -807,7 +788,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (apiKey != null) if (apiKey != null)
{ {
@ -940,7 +921,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "status", status));
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -1069,7 +1050,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("csv", "tags", tags));
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -1189,7 +1170,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
// authentication (api_key) required // authentication (api_key) required
@ -1237,7 +1218,7 @@ namespace Org.OpenAPITools.Api
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
String[] _contentTypes = new String[] { String[] _contentTypes = new String[] {
"application/json", "application/json",
"application/xml" "application/xml"
}; };
@ -1315,7 +1296,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = pet; localVarRequestOptions.Data = pet;
// authentication (petstore_auth) required // authentication (petstore_auth) required
@ -1448,7 +1429,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (name != null) if (name != null)
{ {
@ -1593,7 +1574,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (additionalMetadata != null) if (additionalMetadata != null)
{ {
@ -1743,7 +1724,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter localVarRequestOptions.PathParameters.Add("petId", Org.OpenAPITools.Client.ClientUtils.ParameterToString(petId)); // path parameter
if (additionalMetadata != null) if (additionalMetadata != null)
{ {

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -91,9 +90,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Place an order for a pet /// Place an order for a pet
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="order">order placed for purchasing the pet</param> /// <param name="order">order placed for purchasing the pet</param>
/// <returns>Order</returns> /// <returns>Order</returns>
@ -422,7 +418,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter
@ -529,7 +525,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// authentication (api_key) required // authentication (api_key) required
if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("api_key"))) if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("api_key")))
@ -642,7 +638,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter localVarRequestOptions.PathParameters.Add("order_id", Org.OpenAPITools.Client.ClientUtils.ParameterToString(orderId)); // path parameter
@ -761,7 +757,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = order; localVarRequestOptions.Data = order;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -51,9 +50,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
@ -72,9 +68,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Creates list of users with given input array /// Creates list of users with given input array
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="user">List of user object</param> /// <param name="user">List of user object</param>
/// <returns></returns> /// <returns></returns>
@ -114,9 +107,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Get user by user name /// Get user by user name
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param> /// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns> /// <returns>User</returns>
@ -135,9 +125,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Logs user into the system /// Logs user into the system
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="username">The user name for login</param> /// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param> /// <param name="password">The password for login in clear text</param>
@ -158,9 +145,6 @@ namespace Org.OpenAPITools.Api
/// <summary> /// <summary>
/// Logs out current logged in user session /// Logs out current logged in user session
/// </summary> /// </summary>
/// <remarks>
///
/// </remarks>
/// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception> /// <exception cref="Org.OpenAPITools.Client.ApiException">Thrown when fails to make API call</exception>
/// <returns></returns> /// <returns></returns>
void LogoutUser (); void LogoutUser ();
@ -608,7 +592,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -721,7 +705,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -834,7 +818,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;
@ -945,7 +929,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter
@ -1062,7 +1046,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter
@ -1192,7 +1176,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "username", username));
localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password)); localVarRequestOptions.QueryParameters.Add(Org.OpenAPITools.Client.ClientUtils.ParameterToMultiMap("", "password", password));
@ -1291,7 +1275,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
// make the HTTP request // make the HTTP request
@ -1416,7 +1400,7 @@ namespace Org.OpenAPITools.Api
var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts); var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(_accepts);
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter localVarRequestOptions.PathParameters.Add("username", Org.OpenAPITools.Client.ClientUtils.ParameterToString(username)); // path parameter
localVarRequestOptions.Data = user; localVarRequestOptions.Data = user;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -32,7 +31,7 @@ using RestSharpMethod = RestSharp.Method;
namespace Org.OpenAPITools.Client namespace Org.OpenAPITools.Client
{ {
/// <summary> /// <summary>
/// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON.
/// </summary> /// </summary>
internal class CustomJsonCodec : RestSharp.Serializers.ISerializer, RestSharp.Deserializers.IDeserializer internal class CustomJsonCodec : RestSharp.Serializers.ISerializer, RestSharp.Deserializers.IDeserializer
{ {
@ -245,7 +244,7 @@ namespace Org.OpenAPITools.Client
if (path == null) throw new ArgumentNullException("path"); if (path == null) throw new ArgumentNullException("path");
if (options == null) throw new ArgumentNullException("options"); if (options == null) throw new ArgumentNullException("options");
if (configuration == null) throw new ArgumentNullException("configuration"); if (configuration == null) throw new ArgumentNullException("configuration");
RestRequest request = new RestRequest(Method(method)) RestRequest request = new RestRequest(Method(method))
{ {
Resource = path, Resource = path,
@ -259,7 +258,7 @@ namespace Org.OpenAPITools.Client
request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment); request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment);
} }
} }
if (options.QueryParameters != null) if (options.QueryParameters != null)
{ {
foreach (var queryParam in options.QueryParameters) foreach (var queryParam in options.QueryParameters)
@ -341,7 +340,7 @@ namespace Org.OpenAPITools.Client
request.AddCookie(cookie.Name, cookie.Value); request.AddCookie(cookie.Name, cookie.Value);
} }
} }
return request; return request;
} }
@ -355,7 +354,7 @@ namespace Org.OpenAPITools.Client
ErrorText = response.ErrorMessage, ErrorText = response.ErrorMessage,
Cookies = new List<Cookie>() Cookies = new List<Cookie>()
}; };
if (response.Headers != null) if (response.Headers != null)
{ {
foreach (var responseHeader in response.Headers) foreach (var responseHeader in response.Headers)
@ -370,9 +369,9 @@ namespace Org.OpenAPITools.Client
{ {
transformed.Cookies.Add( transformed.Cookies.Add(
new Cookie( new Cookie(
responseCookies.Name, responseCookies.Name,
responseCookies.Value, responseCookies.Value,
responseCookies.Path, responseCookies.Path,
responseCookies.Domain) responseCookies.Domain)
); );
} }

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -64,7 +63,7 @@ namespace Org.OpenAPITools.Client
public class ApiResponse<T> : IApiResponse public class ApiResponse<T> : IApiResponse
{ {
#region Properties #region Properties
/// <summary> /// <summary>
/// Gets or sets the status code (HTTP status code) /// Gets or sets the status code (HTTP status code)
/// </summary> /// </summary>
@ -113,11 +112,11 @@ namespace Org.OpenAPITools.Client
/// The raw content /// The raw content
/// </summary> /// </summary>
public string RawContent { get;} public string RawContent { get;}
#endregion Properties #endregion Properties
#region Constructors #region Constructors
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ApiResponse{T}" /> class. /// Initializes a new instance of the <see cref="ApiResponse{T}" /> class.
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -50,7 +49,7 @@ namespace Org.OpenAPITools.Client
} }
/// <summary> /// <summary>
/// Convert params to key/value pairs. /// Convert params to key/value pairs.
/// Use collectionFormat to properly format lists and collections. /// Use collectionFormat to properly format lists and collections.
/// </summary> /// </summary>
/// <param name="collectionFormat">The swagger-supported collection format, one of: csv, tsv, ssv, pipes, multi</param> /// <param name="collectionFormat">The swagger-supported collection format, one of: csv, tsv, ssv, pipes, multi</param>
@ -75,7 +74,7 @@ namespace Org.OpenAPITools.Client
return parameters; return parameters;
} }
/// <summary> /// <summary>
/// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime. /// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime.
/// If parameter is a list, join the list with ",". /// If parameter is a list, join the list with ",".

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -219,7 +218,7 @@ namespace Org.OpenAPITools.Client
{ {
return apiKeyPrefix + " " + apiKeyValue; return apiKeyPrefix + " " + apiKeyValue;
} }
return apiKeyValue; return apiKeyValue;
} }
@ -231,7 +230,7 @@ namespace Org.OpenAPITools.Client
/// <summary> /// <summary>
/// Gets or sets the access token for OAuth2 authentication. /// Gets or sets the access token for OAuth2 authentication.
/// ///
/// This helper property simplifies code generation. /// This helper property simplifies code generation.
/// </summary> /// </summary>
/// <value>The access token.</value> /// <value>The access token.</value>
@ -301,13 +300,13 @@ namespace Org.OpenAPITools.Client
/// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name.
/// ///
/// Whatever you set here will be prepended to the value defined in AddApiKey. /// Whatever you set here will be prepended to the value defined in AddApiKey.
/// ///
/// An example invocation here might be: /// An example invocation here might be:
/// <example> /// <example>
/// ApiKeyPrefix["Authorization"] = "Bearer"; /// ApiKeyPrefix["Authorization"] = "Bearer";
/// </example> /// </example>
/// … where ApiKey["Authorization"] would then be used to set the value of your bearer token. /// … where ApiKey["Authorization"] would then be used to set the value of your bearer token.
/// ///
/// <remarks> /// <remarks>
/// OAuth2 workflows should set tokens via AccessToken. /// OAuth2 workflows should set tokens via AccessToken.
/// </remarks> /// </remarks>
@ -394,11 +393,11 @@ namespace Org.OpenAPITools.Client
public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second) public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second)
{ {
if (second == null) return first ?? GlobalConfiguration.Instance; if (second == null) return first ?? GlobalConfiguration.Instance;
Dictionary<string, string> apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Dictionary<string, string> apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Dictionary<string, string> defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); Dictionary<string, string> defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value; foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value;
foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value; foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value;
foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value; foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value;

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -29,7 +28,7 @@ namespace Org.OpenAPITools.Client
/// </summary> /// </summary>
/// <value>The base path</value> /// <value>The base path</value>
String GetBasePath(); String GetBasePath();
/// <summary> /// <summary>
/// Provides a factory method hook for the creation of exceptions. /// Provides a factory method hook for the creation of exceptions.
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -17,7 +16,7 @@ namespace Org.OpenAPITools.Client
{ {
/// <summary> /// <summary>
/// Contract for Asynchronous RESTful API interactions. /// Contract for Asynchronous RESTful API interactions.
/// ///
/// This interface allows consumers to provide a custom API accessor client. /// This interface allows consumers to provide a custom API accessor client.
/// </summary> /// </summary>
public interface IAsynchronousClient public interface IAsynchronousClient
@ -32,7 +31,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> GetAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> GetAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the POST http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the POST http verb.
/// </summary> /// </summary>
@ -43,7 +42,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> PostAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> PostAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the PUT http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the PUT http verb.
/// </summary> /// </summary>
@ -54,7 +53,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> PutAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> PutAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the DELETE http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the DELETE http verb.
/// </summary> /// </summary>
@ -65,7 +64,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> DeleteAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> DeleteAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the HEAD http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the HEAD http verb.
/// </summary> /// </summary>
@ -76,7 +75,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> HeadAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> HeadAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the OPTIONS http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the OPTIONS http verb.
/// </summary> /// </summary>
@ -87,7 +86,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>A task eventually representing the response data, decorated with <see cref="ApiResponse{T}"/></returns>
Task<ApiResponse<T>> OptionsAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); Task<ApiResponse<T>> OptionsAsync<T>(String path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary> /// <summary>
/// Executes a non-blocking call to some <paramref name="path"/> using the PATCH http verb. /// Executes a non-blocking call to some <paramref name="path"/> using the PATCH http verb.
/// </summary> /// </summary>

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */

View File

@ -1,10 +1,9 @@
/* /*
* OpenAPI Petstore * OpenAPI Petstore
* *
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
* *
* The version of the OpenAPI document: 1.0.0 * The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git * Generated by: https://github.com/openapitools/openapi-generator.git
*/ */
@ -16,7 +15,7 @@ namespace Org.OpenAPITools.Client
{ {
/// <summary> /// <summary>
/// Contract for Synchronous RESTful API interactions. /// Contract for Synchronous RESTful API interactions.
/// ///
/// This interface allows consumers to provide a custom API accessor client. /// This interface allows consumers to provide a custom API accessor client.
/// </summary> /// </summary>
public interface ISynchronousClient public interface ISynchronousClient
@ -30,7 +29,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Get<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Get<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the POST http verb. /// Executes a blocking call to some <paramref name="path"/> using the POST http verb.
/// </summary> /// </summary>
@ -40,7 +39,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Post<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Post<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the PUT http verb. /// Executes a blocking call to some <paramref name="path"/> using the PUT http verb.
/// </summary> /// </summary>
@ -50,7 +49,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Put<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Put<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the DELETE http verb. /// Executes a blocking call to some <paramref name="path"/> using the DELETE http verb.
/// </summary> /// </summary>
@ -60,7 +59,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Delete<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Delete<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the HEAD http verb. /// Executes a blocking call to some <paramref name="path"/> using the HEAD http verb.
/// </summary> /// </summary>
@ -70,7 +69,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Head<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Head<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the OPTIONS http verb. /// Executes a blocking call to some <paramref name="path"/> using the OPTIONS http verb.
/// </summary> /// </summary>
@ -80,7 +79,7 @@ namespace Org.OpenAPITools.Client
/// <typeparam name="T">The return type.</typeparam> /// <typeparam name="T">The return type.</typeparam>
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Options<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Options<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
/// <summary> /// <summary>
/// Executes a blocking call to some <paramref name="path"/> using the PATCH http verb. /// Executes a blocking call to some <paramref name="path"/> using the PATCH http verb.
/// </summary> /// </summary>
@ -91,4 +90,4 @@ namespace Org.OpenAPITools.Client
/// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns> /// <returns>The response data, decorated with <see cref="ApiResponse{T}"/></returns>
ApiResponse<T> Patch<T>(String path, RequestOptions options, IReadableConfiguration configuration = null); ApiResponse<T> Patch<T>(String path, RequestOptions options, IReadableConfiguration configuration = null);
} }
} }

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