Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 2fec621

Browse files
committed
multi wrapper on array type mapping fails
1 parent 3047b25 commit 2fec621

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/kotlin/io/openapiprocessor/core/converter/wrapper/MultiDataTypeWrapper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ package io.openapiprocessor.core.converter.wrapper
88
import io.openapiprocessor.core.converter.ApiOptions
99
import io.openapiprocessor.core.converter.SchemaInfo
1010
import io.openapiprocessor.core.converter.mapping.*
11-
import io.openapiprocessor.core.model.datatypes.ArrayDataType
11+
import io.openapiprocessor.core.model.datatypes.CollectionDataType
1212
import io.openapiprocessor.core.model.datatypes.DataType
1313
import io.openapiprocessor.core.model.datatypes.MappedCollectionDataType
1414

@@ -51,7 +51,7 @@ class MultiDataTypeWrapper(
5151
return MappedCollectionDataType(
5252
targetType.getName(),
5353
targetType.getPkg(),
54-
(dataType as ArrayDataType).item,
54+
(dataType as CollectionDataType).item,
5555
null,
5656
false
5757
)

0 commit comments

Comments
 (0)