Skip to content

Commit

Permalink
feat(csharp): Updating pet project
Browse files Browse the repository at this point in the history
  • Loading branch information
saigiridhar21 authored and spasumarthi21 committed Jun 10, 2019
1 parent 16f2533 commit aafd5eb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ namespace Example
{{#summary}}
// {{{.}}}
{{/summary}}
{{#returnType}}{{returnType}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{#returnType}}
{{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{#returnType}}
Debug.WriteLine(result);{{/returnType}}
}
catch (ApiException e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description
{{#operation}}
<a name="{{{operationIdLowerCase}}}"></a>
# **{{{operationId}}}**
> {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
> {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})

{{{summary}}}{{#notes}}

Expand Down Expand Up @@ -68,7 +68,7 @@ namespace Example
{{#summary}}
// {{{.}}}
{{/summary}}
{{#returnType}}{{returnType}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{#returnType}}
{{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{#returnType}}
Debug.WriteLine(result);{{/returnType}}
}
catch (ApiException e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void (empty response body)

<a name="findpetsbystatus"></a>
# **FindPetsByStatus**
> List<Pet> FindPetsByStatus (List<string> status)
> List&lt;Pet&gt; FindPetsByStatus (List<string> status)
Finds Pets by status

Expand Down Expand Up @@ -189,7 +189,7 @@ namespace Example
try
{
// Finds Pets by status
List&lt;Pet&gt; result = apiInstance.FindPetsByStatus(status);
List<Pet> result = apiInstance.FindPetsByStatus(status);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand Down Expand Up @@ -232,7 +232,7 @@ Name | Type | Description | Notes

<a name="findpetsbytags"></a>
# **FindPetsByTags**
> List<Pet> FindPetsByTags (List<string> tags)
> List&lt;Pet&gt; FindPetsByTags (List<string> tags)
Finds Pets by tags

Expand Down Expand Up @@ -262,7 +262,7 @@ namespace Example
try
{
// Finds Pets by tags
List&lt;Pet&gt; result = apiInstance.FindPetsByTags(tags);
List<Pet> result = apiInstance.FindPetsByTags(tags);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ No authorization required

<a name="getinventory"></a>
# **GetInventory**
> Dictionary<string, int> GetInventory ()
> Dictionary&lt;string, int&gt; GetInventory ()
Returns pet inventories by status

Expand Down Expand Up @@ -112,7 +112,7 @@ namespace Example
try
{
// Returns pet inventories by status
Dictionary&lt;string, int&gt; result = apiInstance.GetInventory();
Dictionary<string, int> result = apiInstance.GetInventory();
Debug.WriteLine(result);
}
catch (ApiException e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void (empty response body)

<a name="findpetsbystatus"></a>
# **FindPetsByStatus**
> List<Pet> FindPetsByStatus (List<string> status)
> List&lt;Pet&gt; FindPetsByStatus (List<string> status)
Finds Pets by status

Expand Down Expand Up @@ -189,7 +189,7 @@ namespace Example
try
{
// Finds Pets by status
List&lt;Pet&gt; result = apiInstance.FindPetsByStatus(status);
List<Pet> result = apiInstance.FindPetsByStatus(status);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand Down Expand Up @@ -232,7 +232,7 @@ Name | Type | Description | Notes

<a name="findpetsbytags"></a>
# **FindPetsByTags**
> List<Pet> FindPetsByTags (List<string> tags)
> List&lt;Pet&gt; FindPetsByTags (List<string> tags)
Finds Pets by tags

Expand Down Expand Up @@ -262,7 +262,7 @@ namespace Example
try
{
// Finds Pets by tags
List&lt;Pet&gt; result = apiInstance.FindPetsByTags(tags);
List<Pet> result = apiInstance.FindPetsByTags(tags);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ No authorization required

<a name="getinventory"></a>
# **GetInventory**
> Dictionary<string, int> GetInventory ()
> Dictionary&lt;string, int&gt; GetInventory ()
Returns pet inventories by status

Expand Down Expand Up @@ -112,7 +112,7 @@ namespace Example
try
{
// Returns pet inventories by status
Dictionary&lt;string, int&gt; result = apiInstance.GetInventory();
Dictionary<string, int> result = apiInstance.GetInventory();
Debug.WriteLine(result);
}
catch (ApiException e)
Expand Down

0 comments on commit aafd5eb

Please sign in to comment.