forked from loafle/openapi-generator-original
Issue 1799 - Inherited classes must come before implemented interfaces in the class definition
* Switched the order of parent class and the interface
This commit is contained in:
parent
cafea6f726
commit
58694d0623
@ -16,7 +16,7 @@ namespace {{packageName}}.Model
|
||||
/// {{description}}
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class {{classname}} : IEquatable<{{classname}}>{{#parent}}, {{{parent}}}{{/parent}}
|
||||
public class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}>
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="{{classname}}" /> class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user