diff --git a/reverse_engineering/helpers/adaptJsonSchema/mapJsonSchema.js b/reverse_engineering/helpers/adaptJsonSchema/mapJsonSchema.js index b71d370..19d2167 100644 --- a/reverse_engineering/helpers/adaptJsonSchema/mapJsonSchema.js +++ b/reverse_engineering/helpers/adaptJsonSchema/mapJsonSchema.js @@ -34,7 +34,7 @@ const mapJsonSchema = (jsonSchema, callback) => { } const mapper = partial(mapJsonSchema, partial.placeholder, callback); const propertiesLike = [ 'properties', 'definitions', 'patternProperties' ]; - const itemsLike = [ 'items', 'oneOf', 'allOf', 'anyOf', 'not' ]; + const itemsLike = [ 'items', 'prefixItems', 'oneOf', 'allOf', 'anyOf', 'not' ]; const copyJsonSchema = Object.assign({}, jsonSchema); const jsonSchemaWithNewProperties = applyTo(propertiesLike, copyJsonSchema, partial(mapProperties, partial.placeholder, mapper));