forked from loafle/openapi-generator-original
add partial class to C# model
This commit is contained in:
@@ -17,7 +17,7 @@ namespace {{packageName}}.Model
|
|||||||
/// {{description}}
|
/// {{description}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}>
|
public partial class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="{{classname}}" /> class.
|
/// Initializes a new instance of the <see cref="{{classname}}" /> class.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class Category : IEquatable<Category>
|
public partial class Category : IEquatable<Category>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Category" /> class.
|
/// Initializes a new instance of the <see cref="Category" /> class.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class Order : IEquatable<Order>
|
public partial class Order : IEquatable<Order>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Order" /> class.
|
/// Initializes a new instance of the <see cref="Order" /> class.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class Pet : IEquatable<Pet>
|
public partial class Pet : IEquatable<Pet>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Pet" /> class.
|
/// Initializes a new instance of the <see cref="Pet" /> class.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class Tag : IEquatable<Tag>
|
public partial class Tag : IEquatable<Tag>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Tag" /> class.
|
/// Initializes a new instance of the <see cref="Tag" /> class.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class User : IEquatable<User>
|
public partial class User : IEquatable<User>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="User" /> class.
|
/// Initializes a new instance of the <see cref="User" /> class.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<File FileName="TestPet.cs" Line="1" Column="1" />
|
<File FileName="TestPet.cs" Line="1" Column="1" />
|
||||||
<File FileName="TestConfiguration.cs" Line="1" Column="1" />
|
<File FileName="TestConfiguration.cs" Line="1" Column="1" />
|
||||||
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Api/PetApi.cs" Line="1" Column="1" />
|
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Api/PetApi.cs" Line="1" Column="1" />
|
||||||
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/ApiClient.cs" Line="64" Column="50" />
|
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/ApiClient.cs" Line="1" Column="1" />
|
||||||
<File FileName="TestApiClient.cs" Line="1" Column="1" />
|
<File FileName="TestApiClient.cs" Line="1" Column="1" />
|
||||||
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/Configuration.cs" Line="1" Column="1" />
|
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/Configuration.cs" Line="1" Column="1" />
|
||||||
</Files>
|
</Files>
|
||||||
|
|||||||
Reference in New Issue
Block a user