diff --git a/multiapi-engine/src/main/java/com/sngular/api/generator/plugin/openapi/utils/MapperContentUtil.java b/multiapi-engine/src/main/java/com/sngular/api/generator/plugin/openapi/utils/MapperContentUtil.java index 762f4ac2..031dac39 100644 --- a/multiapi-engine/src/main/java/com/sngular/api/generator/plugin/openapi/utils/MapperContentUtil.java +++ b/multiapi-engine/src/main/java/com/sngular/api/generator/plugin/openapi/utils/MapperContentUtil.java @@ -601,7 +601,7 @@ private static void setFieldType(final SchemaFieldObject field, final JsonNode v field.setImportClass(getImportClass(typeMap));*/ } else if (ApiTool.isObject(value)) { - var typeObject = ""; + var typeObject = ApiTool.getType(value); if (ApiTool.hasRef(value)) { typeObject = getRef(schema, specFile); }