···435435436436 // assume enums do not contain transformable values
437437 if (schema.type !== 'enum') {
438438- console.warn(
439439- `❗️ Transformers warning: schema ${JSON.stringify(schema)} is too complex and won't be currently processed. This will likely produce an incomplete transformer which is not what you want. Please open an issue if you'd like this improved https://github.com/hey-api/openapi-ts/issues`,
440440- );
438438+ if (!schema.items.every((item) => item.type === 'number')) {
439439+ console.warn(
440440+ `❗️ Transformers warning: schema ${JSON.stringify(schema)} is too complex and won't be currently processed. This will likely produce an incomplete transformer which is not what you want. Please open an issue if you'd like this improved https://github.com/hey-api/openapi-ts/issues`,
441441+ );
442442+ }
441443 }
442444 }
443445