forked from loafle/openapi-generator-original
add async with http info method to C# client
This commit is contained in:
@@ -45,6 +45,16 @@ namespace {{packageName}}.Api
|
|||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
|
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/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}});
|
{{#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>
|
||||||
|
/// {{summary}}
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// {{notes}}
|
||||||
|
/// </remarks>
|
||||||
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
|
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/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}}
|
{{/operation}}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -227,6 +237,18 @@ namespace {{packageName}}.Api
|
|||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/returnType}}</returns>
|
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/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}}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}});
|
||||||
|
return response.Data;{{/returnType}}{{^returnType}}await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{/returnType}}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// {{summary}} {{notes}}
|
||||||
|
/// </summary>
|
||||||
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
|
{{/allParams}}/// <returns>{{#returnType}}{{^returnContainer}}{{{returnType}}}{{/returnContainer}}{{/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
|
{{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set
|
||||||
if ({{paramName}} == null) throw new ApiException(400, "Missing required parameter '{{paramName}}' when calling {{operationId}}");
|
if ({{paramName}} == null) throw new ApiException(400, "Missing required parameter '{{paramName}}' when calling {{operationId}}");
|
||||||
@@ -298,8 +320,12 @@ namespace {{packageName}}.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling {{operationId}}: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling {{operationId}}: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
{{#returnType}}return ({{{returnType}}}) Configuration.ApiClient.Deserialize(response, typeof({{{returnType}}}));{{/returnType}}{{^returnType}}
|
{{#returnType}}return new ApiResponse<{{{returnType}}}>(statusCode,
|
||||||
return;{{/returnType}}
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
({{{returnType}}}) Configuration.ApiClient.Deserialize(response, typeof({{{returnType}}})));{{/returnType}}
|
||||||
|
{{^returnType}}return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);{{/returnType}}
|
||||||
}
|
}
|
||||||
{{/operation}}
|
{{/operation}}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,6 +45,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task UpdatePetAsync (Pet body = null);
|
System.Threading.Tasks.Task UpdatePetAsync (Pet body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Update an existing pet
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="body">Pet object that needs to be added to the store</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -75,6 +85,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task AddPetAsync (Pet body = null);
|
System.Threading.Tasks.Task AddPetAsync (Pet body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a new pet to the store
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="body">Pet object that needs to be added to the store</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Finds Pets by status
|
/// Finds Pets by status
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -105,6 +125,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null);
|
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Finds Pets by status
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 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>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Finds Pets by tags
|
/// Finds Pets by tags
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -135,6 +165,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null);
|
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Finds Pets by tags
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 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>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Find pet by ID
|
/// Find pet by ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -165,6 +205,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns>Pet</returns>
|
/// <returns>Pet</returns>
|
||||||
System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long? petId);
|
System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long? petId);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Find pet by ID
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="petId">ID of pet that needs to be fetched</param>
|
||||||
|
/// <returns>Pet</returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long? petId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Updates a pet in the store with form data
|
/// Updates a pet in the store with form data
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -201,6 +251,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null);
|
System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Updates a pet in the store with form data
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <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>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deletes a pet
|
/// Deletes a pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -234,6 +296,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null);
|
System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Deletes a pet
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="petId">Pet id to delete</param>
|
||||||
|
/// <param name="apiKey"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// uploads an image
|
/// uploads an image
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -270,6 +343,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null);
|
System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// uploads an image
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <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>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -426,6 +511,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body = null)
|
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body = null)
|
||||||
|
{
|
||||||
|
await UpdatePetAsyncWithHttpInfo(body);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Update an existing pet
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="body">Pet object that needs to be added to the store</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -477,7 +573,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling UpdatePet: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling UpdatePet: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -558,6 +656,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task AddPetAsync (Pet body = null)
|
public async System.Threading.Tasks.Task AddPetAsync (Pet body = null)
|
||||||
|
{
|
||||||
|
await AddPetAsyncWithHttpInfo(body);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a new pet to the store
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="body">Pet object that needs to be added to the store</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -609,7 +718,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling AddPet: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling AddPet: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -691,6 +802,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="status">Status values that need to be considered for filter</param>
|
/// <param name="status">Status values that need to be considered for filter</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null)
|
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null)
|
||||||
|
{
|
||||||
|
ApiResponse<List<Pet>> response = await FindPetsByStatusAsyncWithHttpInfo(status);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 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>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -741,7 +864,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling FindPetsByStatus: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling FindPetsByStatus: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (List<Pet>) Configuration.ApiClient.Deserialize(response, typeof(List<Pet>));
|
return new ApiResponse<List<Pet>>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(List<Pet>) Configuration.ApiClient.Deserialize(response, typeof(List<Pet>)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -823,6 +949,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null)
|
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null)
|
||||||
|
{
|
||||||
|
ApiResponse<List<Pet>> response = await FindPetsByTagsAsyncWithHttpInfo(tags);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 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>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -873,7 +1011,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling FindPetsByTags: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling FindPetsByTags: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (List<Pet>) Configuration.ApiClient.Deserialize(response, typeof(List<Pet>));
|
return new ApiResponse<List<Pet>>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(List<Pet>) Configuration.ApiClient.Deserialize(response, typeof(List<Pet>)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -958,6 +1099,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="petId">ID of pet that needs to be fetched</param>
|
/// <param name="petId">ID of pet that needs to be fetched</param>
|
||||||
/// <returns>Pet</returns>
|
/// <returns>Pet</returns>
|
||||||
public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long? petId)
|
public async System.Threading.Tasks.Task<Pet> GetPetByIdAsync (long? petId)
|
||||||
|
{
|
||||||
|
ApiResponse<Pet> response = await GetPetByIdAsyncWithHttpInfo(petId);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Find pet by ID Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="petId">ID of pet that needs to be fetched</param>
|
||||||
|
/// <returns>Pet</returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Pet>> GetPetByIdAsyncWithHttpInfo (long? petId)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'petId' is set
|
// verify the required parameter 'petId' is set
|
||||||
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling GetPetById");
|
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling GetPetById");
|
||||||
@@ -1010,7 +1163,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling GetPetById: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling GetPetById: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (Pet) Configuration.ApiClient.Deserialize(response, typeof(Pet));
|
return new ApiResponse<Pet>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(Pet) Configuration.ApiClient.Deserialize(response, typeof(Pet)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1102,6 +1258,19 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null)
|
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null)
|
||||||
|
{
|
||||||
|
await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Updates a pet in the store with form data
|
||||||
|
/// </summary>
|
||||||
|
/// <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>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'petId' is set
|
// verify the required parameter 'petId' is set
|
||||||
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling UpdatePetWithForm");
|
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling UpdatePetWithForm");
|
||||||
@@ -1157,7 +1326,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling UpdatePetWithForm: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling UpdatePetWithForm: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1245,6 +1416,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null)
|
public async System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null)
|
||||||
|
{
|
||||||
|
await DeletePetAsyncWithHttpInfo(petId, apiKey);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Deletes a pet
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="petId">Pet id to delete</param>
|
||||||
|
/// <param name="apiKey"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'petId' is set
|
// verify the required parameter 'petId' is set
|
||||||
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling DeletePet");
|
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling DeletePet");
|
||||||
@@ -1299,7 +1482,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling DeletePet: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling DeletePet: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1391,6 +1576,19 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null)
|
public async System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null)
|
||||||
|
{
|
||||||
|
await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// uploads an image
|
||||||
|
/// </summary>
|
||||||
|
/// <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>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'petId' is set
|
// verify the required parameter 'petId' is set
|
||||||
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling UploadFile");
|
if (petId == null) throw new ApiException(400, "Missing required parameter 'petId' when calling UploadFile");
|
||||||
@@ -1446,7 +1644,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling UploadFile: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling UploadFile: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,6 +42,15 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task<Dictionary<string, int?>> GetInventoryAsync ();
|
System.Threading.Tasks.Task<Dictionary<string, int?>> GetInventoryAsync ();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns pet inventories by status
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Returns a map of status codes to quantities
|
||||||
|
/// </remarks>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int?>>> GetInventoryAsyncWithHttpInfo ();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Place an order for a pet
|
/// Place an order for a pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -72,6 +81,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns>Order</returns>
|
/// <returns>Order</returns>
|
||||||
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null);
|
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Place an order for a pet
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="body">order placed for purchasing the pet</param>
|
||||||
|
/// <returns>Order</returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Find purchase order by ID
|
/// Find purchase order by ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -102,6 +121,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns>Order</returns>
|
/// <returns>Order</returns>
|
||||||
System.Threading.Tasks.Task<Order> GetOrderByIdAsync (string orderId);
|
System.Threading.Tasks.Task<Order> GetOrderByIdAsync (string orderId);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Find purchase order by ID
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||||
|
/// <returns>Order</returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (string orderId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete purchase order by ID
|
/// Delete purchase order by ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -132,6 +161,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task DeleteOrderAsync (string orderId);
|
System.Threading.Tasks.Task DeleteOrderAsync (string orderId);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Delete purchase order by ID
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// For valid response try integer IDs with value < 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>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -285,6 +324,17 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task<Dictionary<string, int?>> GetInventoryAsync ()
|
public async System.Threading.Tasks.Task<Dictionary<string, int?>> GetInventoryAsync ()
|
||||||
|
{
|
||||||
|
ApiResponse<Dictionary<string, int?>> response = await GetInventoryAsyncWithHttpInfo();
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns pet inventories by status Returns a map of status codes to quantities
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Dictionary<string, int?>>> GetInventoryAsyncWithHttpInfo ()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -334,7 +384,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling GetInventory: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling GetInventory: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (Dictionary<string, int?>) Configuration.ApiClient.Deserialize(response, typeof(Dictionary<string, int?>));
|
return new ApiResponse<Dictionary<string, int?>>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(Dictionary<string, int?>) Configuration.ApiClient.Deserialize(response, typeof(Dictionary<string, int?>)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -408,6 +461,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet</param>
|
||||||
/// <returns>Order</returns>
|
/// <returns>Order</returns>
|
||||||
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null)
|
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null)
|
||||||
|
{
|
||||||
|
ApiResponse<Order> response = await PlaceOrderAsyncWithHttpInfo(body);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Place an order for a pet
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="body">order placed for purchasing the pet</param>
|
||||||
|
/// <returns>Order</returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -450,7 +515,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling PlaceOrder: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling PlaceOrder: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (Order) Configuration.ApiClient.Deserialize(response, typeof(Order));
|
return new ApiResponse<Order>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(Order) Configuration.ApiClient.Deserialize(response, typeof(Order)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -527,6 +595,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||||
/// <returns>Order</returns>
|
/// <returns>Order</returns>
|
||||||
public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (string orderId)
|
public async System.Threading.Tasks.Task<Order> GetOrderByIdAsync (string orderId)
|
||||||
|
{
|
||||||
|
ApiResponse<Order> response = await GetOrderByIdAsyncWithHttpInfo(orderId);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="orderId">ID of pet that needs to be fetched</param>
|
||||||
|
/// <returns>Order</returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Order>> GetOrderByIdAsyncWithHttpInfo (string orderId)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'orderId' is set
|
// verify the required parameter 'orderId' is set
|
||||||
if (orderId == null) throw new ApiException(400, "Missing required parameter 'orderId' when calling GetOrderById");
|
if (orderId == null) throw new ApiException(400, "Missing required parameter 'orderId' when calling GetOrderById");
|
||||||
@@ -571,7 +651,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling GetOrderById: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling GetOrderById: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (Order) Configuration.ApiClient.Deserialize(response, typeof(Order));
|
return new ApiResponse<Order>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(Order) Configuration.ApiClient.Deserialize(response, typeof(Order)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -647,6 +730,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId)
|
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId)
|
||||||
|
{
|
||||||
|
await DeleteOrderAsyncWithHttpInfo(orderId);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Delete purchase order by ID For valid response try integer IDs with value < 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>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteOrderAsyncWithHttpInfo (string orderId)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'orderId' is set
|
// verify the required parameter 'orderId' is set
|
||||||
if (orderId == null) throw new ApiException(400, "Missing required parameter 'orderId' when calling DeleteOrder");
|
if (orderId == null) throw new ApiException(400, "Missing required parameter 'orderId' when calling DeleteOrder");
|
||||||
@@ -692,7 +786,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling DeleteOrder: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling DeleteOrder: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,6 +45,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task CreateUserAsync (User body = null);
|
System.Threading.Tasks.Task CreateUserAsync (User body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Create user
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This can only be done by the logged in user.
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="body">Created user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -75,6 +85,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null);
|
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates list of users with given input array
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="body">List of user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -105,6 +125,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null);
|
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates list of users with given input array
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="body">List of user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs user into the system
|
/// Logs user into the system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -138,6 +168,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns>string</returns>
|
/// <returns>string</returns>
|
||||||
System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null);
|
System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Logs user into the system
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="username">The user name for login</param>
|
||||||
|
/// <param name="password">The password for login in clear text</param>
|
||||||
|
/// <returns>string</returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs out current logged in user session
|
/// Logs out current logged in user session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -165,6 +206,15 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task LogoutUserAsync ();
|
System.Threading.Tasks.Task LogoutUserAsync ();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Logs out current logged in user session
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo ();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get user by user name
|
/// Get user by user name
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -195,6 +245,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns>User</returns>
|
/// <returns>User</returns>
|
||||||
System.Threading.Tasks.Task<User> GetUserByNameAsync (string username);
|
System.Threading.Tasks.Task<User> GetUserByNameAsync (string username);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get user by user name
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
///
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
|
||||||
|
/// <returns>User</returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Updated user
|
/// Updated user
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -228,6 +288,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null);
|
System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Updated user
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This can only be done by the logged in user.
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="username">name that need to be deleted</param>
|
||||||
|
/// <param name="body">Updated user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete user
|
/// Delete user
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -258,6 +329,16 @@ namespace IO.Swagger.Api
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
System.Threading.Tasks.Task DeleteUserAsync (string username);
|
System.Threading.Tasks.Task DeleteUserAsync (string username);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Delete user
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This can only be done by the logged in user.
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="username">The name that needs to be deleted</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -406,6 +487,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task CreateUserAsync (User body = null)
|
public async System.Threading.Tasks.Task CreateUserAsync (User body = null)
|
||||||
|
{
|
||||||
|
await CreateUserAsyncWithHttpInfo(body);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Create user This can only be done by the logged in user.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="body">Created user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -449,7 +541,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling CreateUser: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling CreateUser: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -522,6 +616,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null)
|
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null)
|
||||||
|
{
|
||||||
|
await CreateUsersWithArrayInputAsyncWithHttpInfo(body);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates list of users with given input array
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="body">List of user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -565,7 +670,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling CreateUsersWithArrayInput: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling CreateUsersWithArrayInput: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -638,6 +745,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null)
|
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null)
|
||||||
|
{
|
||||||
|
await CreateUsersWithListInputAsyncWithHttpInfo(body);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates list of users with given input array
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="body">List of user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -681,7 +799,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling CreateUsersWithListInput: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling CreateUsersWithListInput: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -759,6 +879,19 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text</param>
|
||||||
/// <returns>string</returns>
|
/// <returns>string</returns>
|
||||||
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null)
|
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null)
|
||||||
|
{
|
||||||
|
ApiResponse<string> response = await LoginUserAsyncWithHttpInfo(username, password);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Logs user into the system
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="username">The user name for login</param>
|
||||||
|
/// <param name="password">The password for login in clear text</param>
|
||||||
|
/// <returns>string</returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -802,7 +935,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling LoginUser: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling LoginUser: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (string) Configuration.ApiClient.Deserialize(response, typeof(string));
|
return new ApiResponse<string>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(string) Configuration.ApiClient.Deserialize(response, typeof(string)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -871,6 +1007,16 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task LogoutUserAsync ()
|
public async System.Threading.Tasks.Task LogoutUserAsync ()
|
||||||
|
{
|
||||||
|
await LogoutUserAsyncWithHttpInfo();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Logs out current logged in user session
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> LogoutUserAsyncWithHttpInfo ()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@@ -913,7 +1059,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling LogoutUser: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling LogoutUser: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -990,6 +1138,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <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>
|
||||||
public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username)
|
public async System.Threading.Tasks.Task<User> GetUserByNameAsync (string username)
|
||||||
|
{
|
||||||
|
ApiResponse<User> response = await GetUserByNameAsyncWithHttpInfo(username);
|
||||||
|
return response.Data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get user by user name
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="username">The name that needs to be fetched. Use user1 for testing.</param>
|
||||||
|
/// <returns>User</returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<User>> GetUserByNameAsyncWithHttpInfo (string username)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'username' is set
|
// verify the required parameter 'username' is set
|
||||||
if (username == null) throw new ApiException(400, "Missing required parameter 'username' when calling GetUserByName");
|
if (username == null) throw new ApiException(400, "Missing required parameter 'username' when calling GetUserByName");
|
||||||
@@ -1034,7 +1194,10 @@ namespace IO.Swagger.Api
|
|||||||
else if (statusCode == 0)
|
else if (statusCode == 0)
|
||||||
throw new ApiException (statusCode, "Error calling GetUserByName: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling GetUserByName: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
return (User) Configuration.ApiClient.Deserialize(response, typeof(User));
|
return new ApiResponse<User>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
(User) Configuration.ApiClient.Deserialize(response, typeof(User)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1114,6 +1277,18 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null)
|
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null)
|
||||||
|
{
|
||||||
|
await UpdateUserAsyncWithHttpInfo(username, body);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Updated user This can only be done by the logged in user.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="username">name that need to be deleted</param>
|
||||||
|
/// <param name="body">Updated user object</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'username' is set
|
// verify the required parameter 'username' is set
|
||||||
if (username == null) throw new ApiException(400, "Missing required parameter 'username' when calling UpdateUser");
|
if (username == null) throw new ApiException(400, "Missing required parameter 'username' when calling UpdateUser");
|
||||||
@@ -1160,7 +1335,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling UpdateUser: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling UpdateUser: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1236,6 +1413,17 @@ namespace IO.Swagger.Api
|
|||||||
/// <param name="username">The name that needs to be deleted</param>
|
/// <param name="username">The name that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async System.Threading.Tasks.Task DeleteUserAsync (string username)
|
public async System.Threading.Tasks.Task DeleteUserAsync (string username)
|
||||||
|
{
|
||||||
|
await DeleteUserAsyncWithHttpInfo(username);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 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>
|
||||||
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteUserAsyncWithHttpInfo (string username)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'username' is set
|
// verify the required parameter 'username' is set
|
||||||
if (username == null) throw new ApiException(400, "Missing required parameter 'username' when calling DeleteUser");
|
if (username == null) throw new ApiException(400, "Missing required parameter 'username' when calling DeleteUser");
|
||||||
@@ -1281,7 +1469,9 @@ namespace IO.Swagger.Api
|
|||||||
throw new ApiException (statusCode, "Error calling DeleteUser: " + response.ErrorMessage, response.ErrorMessage);
|
throw new ApiException (statusCode, "Error calling DeleteUser: " + response.ErrorMessage, response.ErrorMessage);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return new ApiResponse<Object>(statusCode,
|
||||||
|
response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,6 +76,38 @@ namespace SwaggerClient.TestPet
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test GetPetByIdAsyncWithHttpInfo
|
||||||
|
/// </summary>
|
||||||
|
[Test ()]
|
||||||
|
public void TestGetPetByIdAsyncWithHttpInfo ()
|
||||||
|
{
|
||||||
|
PetApi petApi = new PetApi ();
|
||||||
|
var task = petApi.GetPetByIdAsyncWithHttpInfo (petId);
|
||||||
|
|
||||||
|
Assert.AreEqual (200, task.Result.StatusCode);
|
||||||
|
Assert.IsTrue (task.Result.Headers.ContainsKey("Content-Type"));
|
||||||
|
Assert.AreEqual (task.Result.Headers["Content-Type"], "application/json");
|
||||||
|
|
||||||
|
Pet response = task.Result.Data;
|
||||||
|
Assert.IsInstanceOf<Pet> (response, "Response is a Pet");
|
||||||
|
|
||||||
|
Assert.AreEqual ("Csharp test", response.Name);
|
||||||
|
Assert.AreEqual ("available", response.Status);
|
||||||
|
|
||||||
|
Assert.IsInstanceOf<List<Tag>> (response.Tags, "Response.Tags is a Array");
|
||||||
|
Assert.AreEqual (petId, response.Tags [0].Id);
|
||||||
|
Assert.AreEqual ("sample tag name1", response.Tags [0].Name);
|
||||||
|
|
||||||
|
Assert.IsInstanceOf<List<String>> (response.PhotoUrls, "Response.PhotoUrls is a Array");
|
||||||
|
Assert.AreEqual ("sample photoUrls", response.PhotoUrls [0]);
|
||||||
|
|
||||||
|
Assert.IsInstanceOf<Category> (response.Category, "Response.Category is a Category");
|
||||||
|
Assert.AreEqual (56, response.Category.Id);
|
||||||
|
Assert.AreEqual ("sample category name2", response.Category.Name);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test GetPetById
|
/// Test GetPetById
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -252,7 +284,7 @@ namespace SwaggerClient.TestPet
|
|||||||
// there should be a warning for using AddDefaultHeader (deprecated) below
|
// there should be a warning for using AddDefaultHeader (deprecated) below
|
||||||
petApi.AddDefaultHeader ("header_key", "header_value");
|
petApi.AddDefaultHeader ("header_key", "header_value");
|
||||||
// the following should be used instead as suggested in the doc
|
// the following should be used instead as suggested in the doc
|
||||||
petApi.Configuration.AddDefaultHeader ("header_key", "header_value");
|
petApi.Configuration.AddDefaultHeader ("header_key2", "header_value2");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,8 @@
|
|||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
|
||||||
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/Newtonsoft.Json.dll
|
||||||
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/nunit.framework.dll
|
||||||
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/RestSharp.dll
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll.mdb
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll.mdb
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.dll
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.dll
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.dll.mdb
|
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.dll.mdb
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/Newtonsoft.Json.dll
|
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/nunit.framework.dll
|
|
||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/RestSharp.dll
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user