update return tag in documentation (C#)

This commit is contained in:
wing328 2015-12-04 17:07:20 +08:00
parent 0cd801b952
commit ab520e41be
7 changed files with 143 additions and 139 deletions

View File

@ -23,7 +23,7 @@ namespace {{packageName}}.Api
/// {{notes}}
/// </remarks>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
/// <summary>
@ -33,7 +33,7 @@ namespace {{packageName}}.Api
/// {{notes}}
/// </remarks>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>ApiResponse{{#returnType}}< {{{returnType}}} >{{/returnType}}{{^returnType}}<Object>{{/returnType}}</returns>
{{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
/// <summary>
@ -43,7 +43,7 @@ namespace {{packageName}}.Api
/// {{notes}}
/// </remarks>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
{{#returnType}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
/// <summary>
@ -53,7 +53,7 @@ namespace {{packageName}}.Api
/// {{notes}}
/// </remarks>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
{{/operation}}
}
@ -138,7 +138,7 @@ namespace {{packageName}}.Api
/// {{summary}} {{notes}}
/// </summary>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{
{{#returnType}}ApiResponse<{{{returnType}}}> response = {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
@ -149,7 +149,7 @@ namespace {{packageName}}.Api
/// {{summary}} {{notes}}
/// </summary>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
public ApiResponse<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{
{{#allParams}}{{#required}}
@ -235,7 +235,7 @@ namespace {{packageName}}.Api
/// {{summary}} {{notes}}
/// </summary>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{
{{#returnType}}ApiResponse<{{{returnType}}}> response = await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
@ -247,7 +247,7 @@ namespace {{packageName}}.Api
/// {{summary}} {{notes}}
/// </summary>
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
public async System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{
{{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set

View File

@ -32,7 +32,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithHttpInfo (Pet body = null);
/// <summary>
@ -42,7 +42,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetAsync (Pet body = null);
/// <summary>
@ -52,7 +52,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null);
/// <summary>
@ -72,7 +72,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> AddPetWithHttpInfo (Pet body = null);
/// <summary>
@ -82,7 +82,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task AddPetAsync (Pet body = null);
/// <summary>
@ -92,7 +92,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null);
/// <summary>
@ -102,7 +102,7 @@ namespace IO.Swagger.Api
/// Multiple status values can be provided with comma seperated strings
/// </remarks>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>List&lt;Pet&gt;</returns>
List<Pet> FindPetsByStatus (List<string> status = null);
/// <summary>
@ -112,7 +112,7 @@ namespace IO.Swagger.Api
/// Multiple status values can be provided with comma seperated strings
/// </remarks>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns>ApiResponse< List<Pet> ></returns>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns>
ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status = null);
/// <summary>
@ -122,7 +122,7 @@ namespace IO.Swagger.Api
/// Multiple status values can be provided with comma seperated strings
/// </remarks>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>Task of List&lt;Pet&gt;</returns>
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null);
/// <summary>
@ -132,7 +132,7 @@ namespace IO.Swagger.Api
/// Multiple status values can be provided with comma seperated strings
/// </remarks>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null);
/// <summary>
@ -142,7 +142,7 @@ namespace IO.Swagger.Api
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </remarks>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>List&lt;Pet&gt;</returns>
List<Pet> FindPetsByTags (List<string> tags = null);
/// <summary>
@ -152,7 +152,7 @@ namespace IO.Swagger.Api
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </remarks>
/// <param name="tags">Tags to filter by</param>
/// <returns>ApiResponse< List<Pet> ></returns>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns>
ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags = null);
/// <summary>
@ -162,7 +162,7 @@ namespace IO.Swagger.Api
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </remarks>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>Task of List&lt;Pet&gt;</returns>
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null);
/// <summary>
@ -172,7 +172,7 @@ namespace IO.Swagger.Api
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </remarks>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null);
/// <summary>
@ -192,7 +192,7 @@ namespace IO.Swagger.Api
/// Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions
/// </remarks>
/// <param name="petId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse< Pet ></returns>
/// <returns>ApiResponse of Pet</returns>
ApiResponse<Pet> GetPetByIdWithHttpInfo (long? petId);
/// <summary>
@ -202,7 +202,7 @@ namespace IO.Swagger.Api
/// Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions
/// </remarks>
/// <param name="petId">ID of pet that needs to be fetched</param>
/// <returns>Pet</returns>
/// <returns>Task of Pet</returns>
System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long? petId);
/// <summary>
@ -212,7 +212,7 @@ namespace IO.Swagger.Api
/// Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions
/// </remarks>
/// <param name="petId">ID of pet that needs to be fetched</param>
/// <returns>Pet</returns>
/// <returns>Task of ApiResponse (Pet)</returns>
System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long? petId);
/// <summary>
@ -236,7 +236,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet</param>
/// <param name="status">Updated status of the pet</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (string petId, string name = null, string status = null);
/// <summary>
@ -248,7 +248,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet</param>
/// <param name="status">Updated status of the pet</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null);
/// <summary>
@ -260,7 +260,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet</param>
/// <param name="status">Updated status of the pet</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null);
/// <summary>
@ -282,7 +282,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"></param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeletePetWithHttpInfo (long? petId, string apiKey = null);
/// <summary>
@ -293,7 +293,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"></param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null);
/// <summary>
@ -304,7 +304,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"></param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null);
/// <summary>
@ -328,7 +328,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server</param>
/// <param name="file">file to upload</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UploadFileWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
/// <summary>
@ -340,7 +340,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server</param>
/// <param name="file">file to upload</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null);
/// <summary>
@ -352,7 +352,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server</param>
/// <param name="file">file to upload</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
}
@ -447,7 +447,7 @@ namespace IO.Swagger.Api
/// Update an existing pet
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> UpdatePetWithHttpInfo (Pet body = null)
{
@ -509,7 +509,7 @@ namespace IO.Swagger.Api
/// Update an existing pet
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body = null)
{
await UpdatePetAsyncWithHttpInfo(body);
@ -520,7 +520,7 @@ namespace IO.Swagger.Api
/// Update an existing pet
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null)
{
@ -592,7 +592,7 @@ namespace IO.Swagger.Api
/// Add a new pet to the store
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> AddPetWithHttpInfo (Pet body = null)
{
@ -654,7 +654,7 @@ namespace IO.Swagger.Api
/// Add a new pet to the store
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task AddPetAsync (Pet body = null)
{
await AddPetAsyncWithHttpInfo(body);
@ -665,7 +665,7 @@ namespace IO.Swagger.Api
/// Add a new pet to the store
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null)
{
@ -727,7 +727,7 @@ namespace IO.Swagger.Api
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
/// </summary>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>List&lt;Pet&gt;</returns>
public List<Pet> FindPetsByStatus (List<string> status = null)
{
ApiResponse<List<Pet>> response = FindPetsByStatusWithHttpInfo(status);
@ -738,7 +738,7 @@ namespace IO.Swagger.Api
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
/// </summary>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public ApiResponse< List<Pet> > FindPetsByStatusWithHttpInfo (List<string> status = null)
{
@ -800,7 +800,7 @@ namespace IO.Swagger.Api
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
/// </summary>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null)
{
ApiResponse<List<Pet>> response = await FindPetsByStatusAsyncWithHttpInfo(status);
@ -812,7 +812,7 @@ namespace IO.Swagger.Api
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
/// </summary>
/// <param name="status">Status values that need to be considered for filter</param>
/// <returns></returns>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null)
{
@ -874,7 +874,7 @@ namespace IO.Swagger.Api
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </summary>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>List&lt;Pet&gt;</returns>
public List<Pet> FindPetsByTags (List<string> tags = null)
{
ApiResponse<List<Pet>> response = FindPetsByTagsWithHttpInfo(tags);
@ -885,7 +885,7 @@ namespace IO.Swagger.Api
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </summary>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>ApiResponse of List&lt;Pet&gt;</returns>
public ApiResponse< List<Pet> > FindPetsByTagsWithHttpInfo (List<string> tags = null)
{
@ -947,7 +947,7 @@ namespace IO.Swagger.Api
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </summary>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>Task of List&lt;Pet&gt;</returns>
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null)
{
ApiResponse<List<Pet>> response = await FindPetsByTagsAsyncWithHttpInfo(tags);
@ -959,7 +959,7 @@ namespace IO.Swagger.Api
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
/// </summary>
/// <param name="tags">Tags to filter by</param>
/// <returns></returns>
/// <returns>Task of ApiResponse (List&lt;Pet&gt;)</returns>
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null)
{
@ -1032,7 +1032,7 @@ namespace IO.Swagger.Api
/// Find pet by ID Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions
/// </summary>
/// <param name="petId">ID of pet that needs to be fetched</param>
/// <returns>Pet</returns>
/// <returns>ApiResponse of Pet</returns>
public ApiResponse< Pet > GetPetByIdWithHttpInfo (long? petId)
{
@ -1097,7 +1097,7 @@ namespace IO.Swagger.Api
/// Find pet by ID Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions
/// </summary>
/// <param name="petId">ID of pet that needs to be fetched</param>
/// <returns>Pet</returns>
/// <returns>Task of Pet</returns>
public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long? petId)
{
ApiResponse<Pet> response = await GetPetByIdAsyncWithHttpInfo(petId);
@ -1109,7 +1109,7 @@ namespace IO.Swagger.Api
/// Find pet by ID Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions
/// </summary>
/// <param name="petId">ID of pet that needs to be fetched</param>
/// <returns>Pet</returns>
/// <returns>Task of ApiResponse (Pet)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long? petId)
{
// verify the required parameter 'petId' is set
@ -1187,7 +1187,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet</param>
/// <param name="status">Updated status of the pet</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> UpdatePetWithFormWithHttpInfo (string petId, string name = null, string status = null)
{
@ -1256,7 +1256,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet</param>
/// <param name="status">Updated status of the pet</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null)
{
await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status);
@ -1269,7 +1269,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet</param>
/// <param name="status">Updated status of the pet</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null)
{
// verify the required parameter 'petId' is set
@ -1347,7 +1347,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"></param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> DeletePetWithHttpInfo (long? petId, string apiKey = null)
{
@ -1414,7 +1414,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"></param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null)
{
await DeletePetAsyncWithHttpInfo(petId, apiKey);
@ -1426,7 +1426,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"></param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null)
{
// verify the required parameter 'petId' is set
@ -1505,7 +1505,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server</param>
/// <param name="file">file to upload</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> UploadFileWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
{
@ -1574,7 +1574,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server</param>
/// <param name="file">file to upload</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null)
{
await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file);
@ -1587,7 +1587,7 @@ namespace IO.Swagger.Api
/// <param name="petId">ID of pet to update</param>
/// <param name="additionalMetadata">Additional data to pass to server</param>
/// <param name="file">file to upload</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
{
// verify the required parameter 'petId' is set

View File

@ -21,7 +21,7 @@ namespace IO.Swagger.Api
/// <remarks>
/// Returns a map of status codes to quantities
/// </remarks>
/// <returns></returns>
/// <returns>Dictionary&lt;string, int?&gt;</returns>
Dictionary<string, int?> GetInventory ();
/// <summary>
@ -30,7 +30,7 @@ namespace IO.Swagger.Api
/// <remarks>
/// Returns a map of status codes to quantities
/// </remarks>
/// <returns>ApiResponse< Dictionary<string, int?> ></returns>
/// <returns>ApiResponse of Dictionary&lt;string, int?&gt;</returns>
ApiResponse<Dictionary<string, int?>> GetInventoryWithHttpInfo ();
/// <summary>
@ -39,7 +39,7 @@ namespace IO.Swagger.Api
/// <remarks>
/// Returns a map of status codes to quantities
/// </remarks>
/// <returns></returns>
/// <returns>Task of Dictionary&lt;string, int?&gt;</returns>
System.Threading.Tasks.Task<Dictionary<string, int?>> GetInventoryAsync ();
/// <summary>
@ -48,7 +48,7 @@ namespace IO.Swagger.Api
/// <remarks>
/// Returns a map of status codes to quantities
/// </remarks>
/// <returns></returns>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int?&gt;)</returns>
System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int?>>> GetInventoryAsyncWithHttpInfo ();
/// <summary>
@ -68,7 +68,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>ApiResponse< Order ></returns>
/// <returns>ApiResponse of Order</returns>
ApiResponse<Order> PlaceOrderWithHttpInfo (Order body = null);
/// <summary>
@ -78,7 +78,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>Order</returns>
/// <returns>Task of Order</returns>
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null);
/// <summary>
@ -88,7 +88,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>Order</returns>
/// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null);
/// <summary>
@ -108,7 +108,7 @@ namespace IO.Swagger.Api
/// For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions
/// </remarks>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>ApiResponse< Order ></returns>
/// <returns>ApiResponse of Order</returns>
ApiResponse<Order> GetOrderByIdWithHttpInfo (string orderId);
/// <summary>
@ -118,7 +118,7 @@ namespace IO.Swagger.Api
/// For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions
/// </remarks>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns>
/// <returns>Task of Order</returns>
System.Threading.Tasks.Task<Order> GetOrderByIdAsync (string orderId);
/// <summary>
@ -128,7 +128,7 @@ namespace IO.Swagger.Api
/// For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions
/// </remarks>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns>
/// <returns>Task of ApiResponse (Order)</returns>
System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (string orderId);
/// <summary>
@ -148,7 +148,7 @@ namespace IO.Swagger.Api
/// For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
/// </remarks>
/// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteOrderWithHttpInfo (string orderId);
/// <summary>
@ -158,7 +158,7 @@ namespace IO.Swagger.Api
/// For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
/// </remarks>
/// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task DeleteOrderAsync (string orderId);
/// <summary>
@ -168,7 +168,7 @@ namespace IO.Swagger.Api
/// For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
/// </remarks>
/// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId);
}
@ -252,7 +252,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Returns pet inventories by status Returns a map of status codes to quantities
/// </summary>
/// <returns></returns>
/// <returns>Dictionary&lt;string, int?&gt;</returns>
public Dictionary<string, int?> GetInventory ()
{
ApiResponse<Dictionary<string, int?>> response = GetInventoryWithHttpInfo();
@ -262,7 +262,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Returns pet inventories by status Returns a map of status codes to quantities
/// </summary>
/// <returns></returns>
/// <returns>ApiResponse of Dictionary&lt;string, int?&gt;</returns>
public ApiResponse< Dictionary<string, int?> > GetInventoryWithHttpInfo ()
{
@ -322,7 +322,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Returns pet inventories by status Returns a map of status codes to quantities
/// </summary>
/// <returns></returns>
/// <returns>Task of Dictionary&lt;string, int?&gt;</returns>
public async System.Threading.Tasks.Task<Dictionary<string, int?>> GetInventoryAsync ()
{
ApiResponse<Dictionary<string, int?>> response = await GetInventoryAsyncWithHttpInfo();
@ -333,7 +333,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Returns pet inventories by status Returns a map of status codes to quantities
/// </summary>
/// <returns></returns>
/// <returns>Task of ApiResponse (Dictionary&lt;string, int?&gt;)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int?>>> GetInventoryAsyncWithHttpInfo ()
{
@ -405,7 +405,7 @@ namespace IO.Swagger.Api
/// Place an order for a pet
/// </summary>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>Order</returns>
/// <returns>ApiResponse of Order</returns>
public ApiResponse< Order > PlaceOrderWithHttpInfo (Order body = null)
{
@ -459,7 +459,7 @@ namespace IO.Swagger.Api
/// Place an order for a pet
/// </summary>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>Order</returns>
/// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null)
{
ApiResponse<Order> response = await PlaceOrderAsyncWithHttpInfo(body);
@ -471,7 +471,7 @@ namespace IO.Swagger.Api
/// Place an order for a pet
/// </summary>
/// <param name="body">order placed for purchasing the pet</param>
/// <returns>Order</returns>
/// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null)
{
@ -536,7 +536,7 @@ namespace IO.Swagger.Api
/// Find purchase order by ID For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions
/// </summary>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns>
/// <returns>ApiResponse of Order</returns>
public ApiResponse< Order > GetOrderByIdWithHttpInfo (string orderId)
{
@ -593,7 +593,7 @@ namespace IO.Swagger.Api
/// Find purchase order by ID For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions
/// </summary>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns>
/// <returns>Task of Order</returns>
public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (string orderId)
{
ApiResponse<Order> response = await GetOrderByIdAsyncWithHttpInfo(orderId);
@ -605,7 +605,7 @@ namespace IO.Swagger.Api
/// Find purchase order by ID For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions
/// </summary>
/// <param name="orderId">ID of pet that needs to be fetched</param>
/// <returns>Order</returns>
/// <returns>Task of ApiResponse (Order)</returns>
public async System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (string orderId)
{
// verify the required parameter 'orderId' is set
@ -671,7 +671,7 @@ namespace IO.Swagger.Api
/// Delete purchase order by ID For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
/// </summary>
/// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> DeleteOrderWithHttpInfo (string orderId)
{
@ -728,7 +728,7 @@ namespace IO.Swagger.Api
/// Delete purchase order by ID For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
/// </summary>
/// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId)
{
await DeleteOrderAsyncWithHttpInfo(orderId);
@ -739,7 +739,7 @@ namespace IO.Swagger.Api
/// Delete purchase order by ID For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
/// </summary>
/// <param name="orderId">ID of the order that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId)
{
// verify the required parameter 'orderId' is set

View File

@ -32,7 +32,7 @@ namespace IO.Swagger.Api
/// This can only be done by the logged in user.
/// </remarks>
/// <param name="body">Created user object</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUserWithHttpInfo (User body = null);
/// <summary>
@ -42,7 +42,7 @@ namespace IO.Swagger.Api
/// This can only be done by the logged in user.
/// </remarks>
/// <param name="body">Created user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUserAsync (User body = null);
/// <summary>
@ -52,7 +52,7 @@ namespace IO.Swagger.Api
/// This can only be done by the logged in user.
/// </remarks>
/// <param name="body">Created user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null);
/// <summary>
@ -72,7 +72,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">List of user object</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> body = null);
/// <summary>
@ -82,7 +82,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null);
/// <summary>
@ -92,7 +92,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null);
/// <summary>
@ -112,7 +112,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">List of user object</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> body = null);
/// <summary>
@ -122,7 +122,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null);
/// <summary>
@ -132,7 +132,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null);
/// <summary>
@ -154,7 +154,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>ApiResponse< string ></returns>
/// <returns>ApiResponse of string</returns>
ApiResponse<string> LoginUserWithHttpInfo (string username = null, string password = null);
/// <summary>
@ -165,7 +165,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>string</returns>
/// <returns>Task of string</returns>
System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null);
/// <summary>
@ -176,7 +176,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>string</returns>
/// <returns>Task of ApiResponse (string)</returns>
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null);
/// <summary>
@ -194,7 +194,7 @@ namespace IO.Swagger.Api
/// <remarks>
///
/// </remarks>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> LogoutUserWithHttpInfo ();
/// <summary>
@ -203,7 +203,7 @@ namespace IO.Swagger.Api
/// <remarks>
///
/// </remarks>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task LogoutUserAsync ();
/// <summary>
@ -212,7 +212,7 @@ namespace IO.Swagger.Api
/// <remarks>
///
/// </remarks>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo ();
/// <summary>
@ -232,7 +232,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>ApiResponse< User ></returns>
/// <returns>ApiResponse of User</returns>
ApiResponse<User> GetUserByNameWithHttpInfo (string username);
/// <summary>
@ -242,7 +242,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns>
/// <returns>Task of User</returns>
System.Threading.Tasks.Task<User> GetUserByNameAsync (string username);
/// <summary>
@ -252,7 +252,7 @@ namespace IO.Swagger.Api
///
/// </remarks>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns>
/// <returns>Task of ApiResponse (User)</returns>
System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username);
/// <summary>
@ -274,7 +274,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="username">name that need to be deleted</param>
/// <param name="body">Updated user object</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> UpdateUserWithHttpInfo (string username, User body = null);
/// <summary>
@ -285,7 +285,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="username">name that need to be deleted</param>
/// <param name="body">Updated user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null);
/// <summary>
@ -296,7 +296,7 @@ namespace IO.Swagger.Api
/// </remarks>
/// <param name="username">name that need to be deleted</param>
/// <param name="body">Updated user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null);
/// <summary>
@ -316,7 +316,7 @@ namespace IO.Swagger.Api
/// This can only be done by the logged in user.
/// </remarks>
/// <param name="username">The name that needs to be deleted</param>
/// <returns>ApiResponse<Object></returns>
/// <returns>ApiResponse of Object(void)</returns>
ApiResponse<Object> DeleteUserWithHttpInfo (string username);
/// <summary>
@ -326,7 +326,7 @@ namespace IO.Swagger.Api
/// This can only be done by the logged in user.
/// </remarks>
/// <param name="username">The name that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of void</returns>
System.Threading.Tasks.Task DeleteUserAsync (string username);
/// <summary>
@ -336,7 +336,7 @@ namespace IO.Swagger.Api
/// This can only be done by the logged in user.
/// </remarks>
/// <param name="username">The name that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username);
}
@ -431,7 +431,7 @@ namespace IO.Swagger.Api
/// Create user This can only be done by the logged in user.
/// </summary>
/// <param name="body">Created user object</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> CreateUserWithHttpInfo (User body = null)
{
@ -485,7 +485,7 @@ namespace IO.Swagger.Api
/// Create user This can only be done by the logged in user.
/// </summary>
/// <param name="body">Created user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUserAsync (User body = null)
{
await CreateUserAsyncWithHttpInfo(body);
@ -496,7 +496,7 @@ namespace IO.Swagger.Api
/// Create user This can only be done by the logged in user.
/// </summary>
/// <param name="body">Created user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null)
{
@ -560,7 +560,7 @@ namespace IO.Swagger.Api
/// Creates list of users with given input array
/// </summary>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> body = null)
{
@ -614,7 +614,7 @@ namespace IO.Swagger.Api
/// Creates list of users with given input array
/// </summary>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null)
{
await CreateUsersWithArrayInputAsyncWithHttpInfo(body);
@ -625,7 +625,7 @@ namespace IO.Swagger.Api
/// Creates list of users with given input array
/// </summary>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null)
{
@ -689,7 +689,7 @@ namespace IO.Swagger.Api
/// Creates list of users with given input array
/// </summary>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> body = null)
{
@ -743,7 +743,7 @@ namespace IO.Swagger.Api
/// Creates list of users with given input array
/// </summary>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null)
{
await CreateUsersWithListInputAsyncWithHttpInfo(body);
@ -754,7 +754,7 @@ namespace IO.Swagger.Api
/// Creates list of users with given input array
/// </summary>
/// <param name="body">List of user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null)
{
@ -821,7 +821,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>string</returns>
/// <returns>ApiResponse of string</returns>
public ApiResponse< string > LoginUserWithHttpInfo (string username = null, string password = null)
{
@ -877,7 +877,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>string</returns>
/// <returns>Task of string</returns>
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null)
{
ApiResponse<string> response = await LoginUserAsyncWithHttpInfo(username, password);
@ -890,7 +890,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="username">The user name for login</param>
/// <param name="password">The password for login in clear text</param>
/// <returns>string</returns>
/// <returns>Task of ApiResponse (string)</returns>
public async System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null)
{
@ -953,7 +953,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Logs out current logged in user session
/// </summary>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> LogoutUserWithHttpInfo ()
{
@ -1005,7 +1005,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Logs out current logged in user session
/// </summary>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task LogoutUserAsync ()
{
await LogoutUserAsyncWithHttpInfo();
@ -1015,7 +1015,7 @@ namespace IO.Swagger.Api
/// <summary>
/// Logs out current logged in user session
/// </summary>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo ()
{
@ -1079,7 +1079,7 @@ namespace IO.Swagger.Api
/// Get user by user name
/// </summary>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns>
/// <returns>ApiResponse of User</returns>
public ApiResponse< User > GetUserByNameWithHttpInfo (string username)
{
@ -1136,7 +1136,7 @@ namespace IO.Swagger.Api
/// Get user by user name
/// </summary>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns>
/// <returns>Task of User</returns>
public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username)
{
ApiResponse<User> response = await GetUserByNameAsyncWithHttpInfo(username);
@ -1148,7 +1148,7 @@ namespace IO.Swagger.Api
/// Get user by user name
/// </summary>
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
/// <returns>User</returns>
/// <returns>Task of ApiResponse (User)</returns>
public async System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username)
{
// verify the required parameter 'username' is set
@ -1216,7 +1216,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="username">name that need to be deleted</param>
/// <param name="body">Updated user object</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> UpdateUserWithHttpInfo (string username, User body = null)
{
@ -1275,7 +1275,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="username">name that need to be deleted</param>
/// <param name="body">Updated user object</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null)
{
await UpdateUserAsyncWithHttpInfo(username, body);
@ -1287,7 +1287,7 @@ namespace IO.Swagger.Api
/// </summary>
/// <param name="username">name that need to be deleted</param>
/// <param name="body">Updated user object</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null)
{
// verify the required parameter 'username' is set
@ -1354,7 +1354,7 @@ namespace IO.Swagger.Api
/// Delete user This can only be done by the logged in user.
/// </summary>
/// <param name="username">The name that needs to be deleted</param>
/// <returns></returns>
/// <returns>ApiResponse of Object(void)</returns>
public ApiResponse<Object> DeleteUserWithHttpInfo (string username)
{
@ -1411,7 +1411,7 @@ namespace IO.Swagger.Api
/// Delete user This can only be done by the logged in user.
/// </summary>
/// <param name="username">The name that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of void</returns>
public async System.Threading.Tasks.Task DeleteUserAsync (string username)
{
await DeleteUserAsyncWithHttpInfo(username);
@ -1422,7 +1422,7 @@ namespace IO.Swagger.Api
/// Delete user This can only be done by the logged in user.
/// </summary>
/// <param name="username">The name that needs to be deleted</param>
/// <returns></returns>
/// <returns>Task of ApiResponse</returns>
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username)
{
// verify the required parameter 'username' is set

View File

@ -1,8 +1,12 @@
<Properties StartupItem="SwaggerClientTest.csproj">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.Workbench ActiveDocument="TestConfiguration.cs">
<MonoDevelop.Ide.Workbench ActiveDocument="TestPet.cs">
<Files>
<File FileName="TestConfiguration.cs" Line="60" Column="22" />
<File FileName="TestConfiguration.cs" Line="17" Column="33" />
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Api/PetApi.cs" Line="523" Column="49" />
<File FileName="TestPet.cs" Line="87" Column="4" />
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/Configuration.cs" Line="1" Column="1" />
<File FileName="TestApiClient.cs" Line="22" Column="4" />
</Files>
<Pads>
<Pad Id="MonoDevelop.NUnit.TestPad">
@ -10,9 +14,9 @@
<Node name="SwaggerClientTest" expanded="True">
<Node name="SwaggerClientTest" expanded="True">
<Node name="SwaggerClient" expanded="True">
<Node name="TestConfiguration" expanded="True">
<Node name="TestConfiguration" expanded="True">
<Node name="TestUsage" selected="True" />
<Node name="TestPet" expanded="True">
<Node name="TestPet" expanded="True">
<Node name="TestGetPetByIdAsyncWithHttpInfo" selected="True" />
</Node>
</Node>
</Node>