mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
Fix typo introduced while fixing #2116
This commit is contained in:
parent
dc4c8e5864
commit
74fb6175b6
@ -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}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user