File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/openapi-generator/src/main/resources/kotlin-client Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,14 @@ import kotlinx.serialization.*
85
85
{ {/multiplatform} }
86
86
{ {#isArray} }
87
87
{ {#isList} }
88
- { {& name} }(listOf({ {{value} }})){ {^-last} },{ {/-last} }{ {#-last} };{ {/-last} }
88
+ { {#name } } { {^isEmpty } } { {&name } } { {/isEmpty } } { {#isEmpty } }_ { {/isEmpty } } { {/ name} }(listOf({ {{value} }})){ {^-last} },{ {/-last} }{ {#-last} };{ {/-last} }
89
89
{ {/isList} }
90
90
{ {^isList} }
91
- { {& name} }(arrayOf({ {{value} }})){ {^-last} },{ {/-last} }{ {#-last} };{ {/-last} }
91
+ { {#name } } { {^isEmpty } } { {&name } } { {/isEmpty } } { {#isEmpty } }_ { {/isEmpty } } { {/ name} }(arrayOf({ {{value} }})){ {^-last} },{ {/-last} }{ {#-last} };{ {/-last} }
92
92
{ {/isList} }
93
93
{ {/isArray} }
94
94
{ {^isArray} }
95
- { {& name} }({ {{value} }}){ {^-last} },{ {/-last} }{ {#-last} };{ {/-last} }
95
+ { {#name } } { {^isEmpty } } { {&name } } { {/isEmpty } } { {#isEmpty } }_ { {/isEmpty } } { {/ name} }({ {{value} }}){ {^-last} },{ {/-last} }{ {#-last} };{ {/-last} }
96
96
{ {/isArray} }
97
97
{ {/enumVars} }{ {/allowableValues} }
98
98
/**
You can’t perform that action at this time.
0 commit comments