We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13635db commit daaf4fbCopy full SHA for daaf4fb
openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter/DataTypeConverter.kt
@@ -299,6 +299,11 @@ class DataTypeConverter(
299
}
300
301
private fun createNoDataType(schemaInfo: SchemaInfo, dataTypes: DataTypes): DataType {
302
+ val targetType = getMappedDataType(schemaInfo)
303
+ if (targetType != null) {
304
+ return createMappedDataType(targetType, schemaInfo)
305
+ }
306
+
307
val constraints = DataTypeConstraints(
308
nullable = schemaInfo.getNullable(),
309
required = schemaInfo.getRequired()
0 commit comments