From dd64f49ab4563dffa880ccd53eb0d950b3326277 Mon Sep 17 00:00:00 2001 From: "Shah, Kevin" Date: Thu, 27 Jun 2024 20:34:55 -0400 Subject: [PATCH] chore: CPP SDK issue fix --- src/macrofier/types.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macrofier/types.mjs b/src/macrofier/types.mjs index 452ebd43..1ba684d8 100644 --- a/src/macrofier/types.mjs +++ b/src/macrofier/types.mjs @@ -724,7 +724,7 @@ function getSchemaType(schema, module, { destination, templateDir = 'types', lin const theTitle = insertSchemaMacros(namespaceStr + getTemplate(path.join(templateDir, 'title' + suffix)), schema, module, { name: schema.title, parent: getXSchemaGroup(schema, module), recursive: false }) const allocatedProxy = event || result - const title = schema.type === "object" || schema.anyOf || schema.oneOf || Array.isArray(schema.type) && schema.type.includes("object") || schema.enum ? true : false + const title = schema.type === "object" || Array.isArray(schema.type) && schema.type.includes("object") || schema.enum ? true : false if (schema['$ref']) { if (schema['$ref'][0] === '#') {