From 58694d06231b5ef68bfd4fb81972179910084eff Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 31 Dec 2015 15:08:54 -0700 Subject: [PATCH] Issue 1799 - Inherited classes must come before implemented interfaces in the class definition * Switched the order of parent class and the interface --- .../swagger-codegen/src/main/resources/csharp/model.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-codegen/src/main/resources/csharp/model.mustache b/modules/swagger-codegen/src/main/resources/csharp/model.mustache index faff8d20329..ad942039677 100644 --- a/modules/swagger-codegen/src/main/resources/csharp/model.mustache +++ b/modules/swagger-codegen/src/main/resources/csharp/model.mustache @@ -16,7 +16,7 @@ namespace {{packageName}}.Model /// {{description}} /// [DataContract] - public class {{classname}} : IEquatable<{{classname}}>{{#parent}}, {{{parent}}}{{/parent}} + public class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}> { /// /// Initializes a new instance of the class.