Fix typo introduced while fixing #2116

This commit is contained in:
Fabien Da Silva 2016-04-27 13:25:33 +02:00
parent dc4c8e5864
commit 74fb6175b6

View File

@ -34,11 +34,9 @@ public class {{classname}}: JSONEncodable {
{{/unwrapRequired}}
{{#unwrapRequired}}
public init({{#requiredVars}}{{^-first}}, {{/-first}}{{name}}: {{#isEnum}}{{datatypeWithEnum}}!{{/isEnum}}{{^isEnum}}{{datatype}}!{{/isEnum}}{{/requiredVars}}) {
{{#vars}}
{{#requiredVars}}
self.{{name}} = {{name}}
{{/requiredVars}}
{{/vars}}
}
{{/unwrapRequired}}