mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
Merge pull request #1863 from wing328/csharp_package_config
[C#] Fix comments and add compile-mono.sh
This commit is contained in:
commit
ce82aa41fc
@ -185,6 +185,8 @@ public class CSharpClientCodegen extends DefaultCodegen implements CodegenConfig
|
|||||||
supportingFiles.add(new SupportingFile("Newtonsoft.Json.dll", "bin", "Newtonsoft.Json.dll"));
|
supportingFiles.add(new SupportingFile("Newtonsoft.Json.dll", "bin", "Newtonsoft.Json.dll"));
|
||||||
supportingFiles.add(new SupportingFile("RestSharp.dll", "bin", "RestSharp.dll"));
|
supportingFiles.add(new SupportingFile("RestSharp.dll", "bin", "RestSharp.dll"));
|
||||||
supportingFiles.add(new SupportingFile("compile.mustache", "", "compile.bat"));
|
supportingFiles.add(new SupportingFile("compile.mustache", "", "compile.bat"));
|
||||||
|
supportingFiles.add(new SupportingFile("compile-mono.sh.mustache", "", "compile-mono.sh"));
|
||||||
|
supportingFiles.add(new SupportingFile("packages.config.mustache", "vendor" + java.io.File.separator, "packages.config"));
|
||||||
supportingFiles.add(new SupportingFile("README.md", "", "README.md"));
|
supportingFiles.add(new SupportingFile("README.md", "", "README.md"));
|
||||||
|
|
||||||
if (optionalAssemblyInfoFlag) {
|
if (optionalAssemblyInfoFlag) {
|
||||||
|
@ -159,6 +159,7 @@ namespace {{packageName}}.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="content">HTTP body (e.g. string, JSON).</param>
|
/// <param name="content">HTTP body (e.g. string, JSON).</param>
|
||||||
/// <param name="type">Object type.</param>
|
/// <param name="type">Object type.</param>
|
||||||
|
/// <param name="headers">HTTP headers.</param>
|
||||||
/// <returns>Object representation of the JSON string.</returns>
|
/// <returns>Object representation of the JSON string.</returns>
|
||||||
public object Deserialize(string content, Type type, IList<Parameter> headers=null)
|
public object Deserialize(string content, Type type, IList<Parameter> headers=null)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,6 @@ namespace {{packageName}}.Client {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="ApiException"/> class.
|
/// Initializes a new instance of the <see cref="ApiException"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="basePath">The base path.</param>
|
|
||||||
public ApiException() {}
|
public ApiException() {}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -9,6 +9,9 @@ using {{packageName}}.Client;
|
|||||||
namespace {{packageName}}.Api
|
namespace {{packageName}}.Api
|
||||||
{
|
{
|
||||||
{{#operations}}
|
{{#operations}}
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a collection of functions to interact with the API endpoints
|
||||||
|
/// </summary>
|
||||||
public interface I{{classname}}
|
public interface I{{classname}}
|
||||||
{
|
{
|
||||||
{{#operation}}
|
{{#operation}}
|
||||||
@ -16,7 +19,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{{returnType}}}{{/returnType}}</returns>
|
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
|
||||||
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
{{/operation}}
|
{{/operation}}
|
||||||
}
|
}
|
||||||
@ -71,7 +74,7 @@ namespace {{packageName}}.Api
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API client.
|
/// Gets or sets the API client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>An instance of the ApiClient</param>
|
/// <value>An instance of the ApiClient</value>
|
||||||
public ApiClient ApiClient {get; set;}
|
public ApiClient ApiClient {get; set;}
|
||||||
|
|
||||||
{{#operation}}
|
{{#operation}}
|
||||||
@ -79,7 +82,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{{returnType}}}{{/returnType}}</returns>
|
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
|
||||||
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
||||||
{
|
{
|
||||||
{{#allParams}}{{#required}}
|
{{#allParams}}{{#required}}
|
||||||
|
@ -7,6 +7,6 @@ vendor/RestSharp.Net2.1.1.11/lib/net20/RestSharp.Net2.dll,\
|
|||||||
System.Runtime.Serialization.dll \
|
System.Runtime.Serialization.dll \
|
||||||
-target:library \
|
-target:library \
|
||||||
-out:bin/{{packageName}}.dll \
|
-out:bin/{{packageName}}.dll \
|
||||||
-recurse:src/*.cs \
|
-recurse:'src/*.cs' \
|
||||||
-doc:bin/{{packageName}}.xml \
|
-doc:bin/{{packageName}}.xml \
|
||||||
-platform:anycpu
|
-platform:anycpu
|
||||||
|
@ -27,10 +27,10 @@ namespace {{packageName}}.Client
|
|||||||
public T Data { get; private set; }
|
public T Data { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="ApiResponse"/> class.
|
/// Initializes a new instance of the <see cref="ApiResponse<T>" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="statusCode">HTTP status code.</param>
|
/// <param name="statusCode">HTTP status code.</param>
|
||||||
/// <param name="message">Error message.</param>
|
/// <param name="headers">HTTP headers.</param>
|
||||||
/// <param name="data">Data (parsed HTTP body)</param>
|
/// <param name="data">Data (parsed HTTP body)</param>
|
||||||
public ApiResponse(int statusCode, IDictionary<string, string> headers, T data)
|
public ApiResponse(int statusCode, IDictionary<string, string> headers, T data)
|
||||||
{
|
{
|
||||||
|
@ -24,6 +24,7 @@ namespace {{packageName}}.Client
|
|||||||
/// <param name="apiKeyPrefix">Dictionary of API key prefix</param>
|
/// <param name="apiKeyPrefix">Dictionary of API key prefix</param>
|
||||||
/// <param name="tempFolderPath">Temp folder path</param>
|
/// <param name="tempFolderPath">Temp folder path</param>
|
||||||
/// <param name="dateTimeFormat">DateTime format string</param>
|
/// <param name="dateTimeFormat">DateTime format string</param>
|
||||||
|
/// <param name="timeout">HTTP connection timeout (in milliseconds)</param>
|
||||||
public Configuration(ApiClient apiClient = null,
|
public Configuration(ApiClient apiClient = null,
|
||||||
Dictionary<String, String> defaultHeader = null,
|
Dictionary<String, String> defaultHeader = null,
|
||||||
string username = null,
|
string username = null,
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
wget -nc https://nuget.org/nuget.exe;
|
||||||
|
mozroots --import --sync
|
||||||
|
mono nuget.exe install vendor/packages.config -o vendor;
|
||||||
|
mkdir -p bin;
|
||||||
|
mcs -sdk:45 -r:vendor/Newtonsoft.Json.8.0.2/lib/net45/Newtonsoft.Json.dll,\
|
||||||
|
vendor/RestSharp.105.2.3/lib/net45/RestSharp.dll,\
|
||||||
|
System.Runtime.Serialization.dll \
|
||||||
|
-target:library \
|
||||||
|
-out:bin/{{packageName}}.dll \
|
||||||
|
-recurse:'src/*.cs' \
|
||||||
|
-doc:bin/{{packageName}}.xml \
|
||||||
|
-platform:anycpu
|
@ -74,7 +74,7 @@ namespace {{packageName}}.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if {{classname}} instances are equal
|
/// Returns true if {{classname}} instances are equal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">Instance of {{classname}} to be compared</param>
|
/// <param name="other">Instance of {{classname}} to be compared</param>
|
||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals({{classname}} other)
|
public bool Equals({{classname}} other)
|
||||||
{
|
{
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="RestSharp" version="105.2.3" targetFramework="net45" developmentDependency="true" />
|
||||||
|
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" developmentDependency="true" />
|
||||||
|
</packages>
|
@ -7,6 +7,6 @@ vendor/RestSharp.Net2.1.1.11/lib/net20/RestSharp.Net2.dll,\
|
|||||||
System.Runtime.Serialization.dll \
|
System.Runtime.Serialization.dll \
|
||||||
-target:library \
|
-target:library \
|
||||||
-out:bin/IO.Swagger.dll \
|
-out:bin/IO.Swagger.dll \
|
||||||
-recurse:src/*.cs \
|
-recurse:'src/*.cs' \
|
||||||
-doc:bin/IO.Swagger.xml \
|
-doc:bin/IO.Swagger.xml \
|
||||||
-platform:anycpu
|
-platform:anycpu
|
||||||
|
@ -8,6 +8,9 @@ using IO.Swagger.Model;
|
|||||||
namespace IO.Swagger.Api
|
namespace IO.Swagger.Api
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a collection of functions to interact with the API endpoints
|
||||||
|
/// </summary>
|
||||||
public interface IPetApi
|
public interface IPetApi
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -29,14 +32,14 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
|
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
List<Pet> FindPetsByStatus (List<string> status);
|
List<Pet> FindPetsByStatus (List<string> status);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by</param>
|
||||||
/// <returns>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
List<Pet> FindPetsByTags (List<string> tags);
|
List<Pet> FindPetsByTags (List<string> tags);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -124,7 +127,7 @@ namespace IO.Swagger.Api
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API client.
|
/// Gets or sets the API client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>An instance of the ApiClient</param>
|
/// <value>An instance of the ApiClient</value>
|
||||||
public ApiClient ApiClient {get; set;}
|
public ApiClient ApiClient {get; set;}
|
||||||
|
|
||||||
|
|
||||||
@ -212,7 +215,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
|
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
public List<Pet> FindPetsByStatus (List<string> status)
|
public List<Pet> FindPetsByStatus (List<string> status)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -252,7 +255,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by</param>
|
||||||
/// <returns>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
public List<Pet> FindPetsByTags (List<string> tags)
|
public List<Pet> FindPetsByTags (List<string> tags)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -8,13 +8,16 @@ using IO.Swagger.Model;
|
|||||||
namespace IO.Swagger.Api
|
namespace IO.Swagger.Api
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a collection of functions to interact with the API endpoints
|
||||||
|
/// </summary>
|
||||||
public interface IStoreApi
|
public interface IStoreApi
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns pet inventories by status Returns a map of status codes to quantities
|
/// Returns pet inventories by status Returns a map of status codes to quantities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>Dictionary<String, int?></returns>
|
/// <returns>Dictionary<String, int?></returns>
|
||||||
Dictionary<String, int?> GetInventory ();
|
Dictionary<String, int?> GetInventory ();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -90,14 +93,14 @@ namespace IO.Swagger.Api
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API client.
|
/// Gets or sets the API client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>An instance of the ApiClient</param>
|
/// <value>An instance of the ApiClient</value>
|
||||||
public ApiClient ApiClient {get; set;}
|
public ApiClient ApiClient {get; set;}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns pet inventories by status Returns a map of status codes to quantities
|
/// Returns pet inventories by status Returns a map of status codes to quantities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>Dictionary<String, int?></returns>
|
/// <returns>Dictionary<String, int?></returns>
|
||||||
public Dictionary<String, int?> GetInventory ()
|
public Dictionary<String, int?> GetInventory ()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -8,6 +8,9 @@ using IO.Swagger.Model;
|
|||||||
namespace IO.Swagger.Api
|
namespace IO.Swagger.Api
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a collection of functions to interact with the API endpoints
|
||||||
|
/// </summary>
|
||||||
public interface IUserApi
|
public interface IUserApi
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -120,7 +123,7 @@ namespace IO.Swagger.Api
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the API client.
|
/// Gets or sets the API client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>An instance of the ApiClient</param>
|
/// <value>An instance of the ApiClient</value>
|
||||||
public ApiClient ApiClient {get; set;}
|
public ApiClient ApiClient {get; set;}
|
||||||
|
|
||||||
|
|
||||||
|
@ -159,6 +159,7 @@ namespace IO.Swagger.Client
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="content">HTTP body (e.g. string, JSON).</param>
|
/// <param name="content">HTTP body (e.g. string, JSON).</param>
|
||||||
/// <param name="type">Object type.</param>
|
/// <param name="type">Object type.</param>
|
||||||
|
/// <param name="headers">HTTP headers.</param>
|
||||||
/// <returns>Object representation of the JSON string.</returns>
|
/// <returns>Object representation of the JSON string.</returns>
|
||||||
public object Deserialize(string content, Type type, IList<Parameter> headers=null)
|
public object Deserialize(string content, Type type, IList<Parameter> headers=null)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,6 @@ namespace IO.Swagger.Client {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="ApiException"/> class.
|
/// Initializes a new instance of the <see cref="ApiException"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="basePath">The base path.</param>
|
|
||||||
public ApiException() {}
|
public ApiException() {}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -194,6 +194,12 @@ namespace IO.Swagger.Client
|
|||||||
// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8
|
// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8
|
||||||
// For example: 2009-06-15T13:45:30.0000000
|
// For example: 2009-06-15T13:45:30.0000000
|
||||||
return ((DateTime)obj).ToString (Configuration.DateTimeFormat);
|
return ((DateTime)obj).ToString (Configuration.DateTimeFormat);
|
||||||
|
else if (obj is DateTimeOffset)
|
||||||
|
// Return a formatted date string - Can be customized with Configuration.DateTimeFormat
|
||||||
|
// Defaults to an ISO 8601, using the known as a Round-trip date/time pattern ("o")
|
||||||
|
// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8
|
||||||
|
// For example: 2009-06-15T13:45:30.0000000
|
||||||
|
return ((DateTimeOffset)obj).ToString (Configuration.DateTimeFormat);
|
||||||
else if (obj is IList)
|
else if (obj is IList)
|
||||||
{
|
{
|
||||||
var flattenedString = new StringBuilder();
|
var flattenedString = new StringBuilder();
|
||||||
|
@ -27,10 +27,10 @@ namespace IO.Swagger.Client
|
|||||||
public T Data { get; private set; }
|
public T Data { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="ApiResponse"/> class.
|
/// Initializes a new instance of the <see cref="ApiResponse<T>" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="statusCode">HTTP status code.</param>
|
/// <param name="statusCode">HTTP status code.</param>
|
||||||
/// <param name="message">Error message.</param>
|
/// <param name="headers">HTTP headers.</param>
|
||||||
/// <param name="data">Data (parsed HTTP body)</param>
|
/// <param name="data">Data (parsed HTTP body)</param>
|
||||||
public ApiResponse(int statusCode, IDictionary<string, string> headers, T data)
|
public ApiResponse(int statusCode, IDictionary<string, string> headers, T data)
|
||||||
{
|
{
|
||||||
|
@ -24,6 +24,7 @@ namespace IO.Swagger.Client
|
|||||||
/// <param name="apiKeyPrefix">Dictionary of API key prefix</param>
|
/// <param name="apiKeyPrefix">Dictionary of API key prefix</param>
|
||||||
/// <param name="tempFolderPath">Temp folder path</param>
|
/// <param name="tempFolderPath">Temp folder path</param>
|
||||||
/// <param name="dateTimeFormat">DateTime format string</param>
|
/// <param name="dateTimeFormat">DateTime format string</param>
|
||||||
|
/// <param name="timeout">HTTP connection timeout (in milliseconds)</param>
|
||||||
public Configuration(ApiClient apiClient = null,
|
public Configuration(ApiClient apiClient = null,
|
||||||
Dictionary<String, String> defaultHeader = null,
|
Dictionary<String, String> defaultHeader = null,
|
||||||
string username = null,
|
string username = null,
|
||||||
|
@ -78,7 +78,7 @@ namespace IO.Swagger.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if Category instances are equal
|
/// Returns true if Category instances are equal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">Instance of Category to be compared</param>
|
/// <param name="other">Instance of Category to be compared</param>
|
||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Category other)
|
public bool Equals(Category other)
|
||||||
{
|
{
|
||||||
|
@ -111,7 +111,7 @@ namespace IO.Swagger.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if Order instances are equal
|
/// Returns true if Order instances are equal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">Instance of Order to be compared</param>
|
/// <param name="other">Instance of Order to be compared</param>
|
||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Order other)
|
public bool Equals(Order other)
|
||||||
{
|
{
|
||||||
|
@ -111,7 +111,7 @@ namespace IO.Swagger.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if Pet instances are equal
|
/// Returns true if Pet instances are equal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">Instance of Pet to be compared</param>
|
/// <param name="other">Instance of Pet to be compared</param>
|
||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Pet other)
|
public bool Equals(Pet other)
|
||||||
{
|
{
|
||||||
|
@ -78,7 +78,7 @@ namespace IO.Swagger.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if Tag instances are equal
|
/// Returns true if Tag instances are equal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">Instance of Tag to be compared</param>
|
/// <param name="other">Instance of Tag to be compared</param>
|
||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Tag other)
|
public bool Equals(Tag other)
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,7 @@ namespace IO.Swagger.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if User instances are equal
|
/// Returns true if User instances are equal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">Instance of User to be compared</param>
|
/// <param name="other">Instance of User to be compared</param>
|
||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(User other)
|
public bool Equals(User other)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user