From e1df89c8faa57dfd7273da706a3887d703f5fc06 Mon Sep 17 00:00:00 2001 From: Marcin Stefaniuk Date: Tue, 31 May 2016 13:49:45 +0200 Subject: [PATCH] Formatting fix. --- .../src/main/resources/nancyfx/model.mustache | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/nancyfx/model.mustache b/modules/swagger-codegen/src/main/resources/nancyfx/model.mustache index e199575a13..5826bad368 100644 --- a/modules/swagger-codegen/src/main/resources/nancyfx/model.mustache +++ b/modules/swagger-codegen/src/main/resources/nancyfx/model.mustache @@ -156,13 +156,11 @@ namespace {{packageName}}.{{packageContext}}.Models } private void Validate() - { - {{#vars}}{{#required}} + { {{#vars}}{{#required}} if (_{{name}} == null) { throw new ArgumentException("{{name}} is a required property for {{classname}} and cannot be null"); - } - {{/required}}{{/vars}} + } {{/required}}{{/vars}} } } }