Skip to content

Commit 74cb77f

Browse files
authored
Merge branch 'master' into html2_examples
2 parents 5a10136 + 3fd5cd3 commit 74cb77f

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

src/main/java/io/swagger/codegen/v3/generators/kotlin/AbstractKotlinCodegen.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,15 @@ public AbstractKotlinCodegen() {
5353
"kotlin.Array",
5454
"kotlin.collections.List",
5555
"kotlin.collections.Map",
56-
"kotlin.collections.Set"
56+
"kotlin.collections.Set",
57+
"kotlin.ByteArray",
58+
"kotlin.CharArray",
59+
"kotlin.ShortArray",
60+
"kotlin.IntArray",
61+
"kotlin.LongArray",
62+
"kotlin.FloatArray",
63+
"kotlin.DoubleArray",
64+
"kotlin.BooleanArray"
5765
));
5866

5967
// this includes hard reserved words defined by https://github.com/JetBrains/kotlin/blob/master/core/descriptors/src/org/jetbrains/kotlin/renderer/KeywordStringsGenerated.java
@@ -138,7 +146,15 @@ public AbstractKotlinCodegen() {
138146
"kotlin.Array",
139147
"kotlin.collections.List",
140148
"kotlin.collections.Set",
141-
"kotlin.collections.Map"
149+
"kotlin.collections.Map",
150+
"kotlin.ByteArray",
151+
"kotlin.CharArray",
152+
"kotlin.ShortArray",
153+
"kotlin.IntArray",
154+
"kotlin.LongArray",
155+
"kotlin.FloatArray",
156+
"kotlin.DoubleArray",
157+
"kotlin.BooleanArray"
142158
));
143159

144160
instantiationLibraryFunction = new HashSet<>(Arrays.asList(

0 commit comments

Comments
 (0)