diff --git a/components/Schema.js b/components/Schema.js index 76b7a3217..21c7bb811 100644 --- a/components/Schema.js +++ b/components/Schema.js @@ -62,7 +62,7 @@ function SchemaProp({ prop, propName, required = false, path = '', description = )) : null; - const items = prop.items() && prop.items().properties() + const items = prop.items() && !Array.isArray(prop.items()) && prop.items().properties() ? Object.entries(prop.items().properties()).map(([pName, p]) => { const isCirc = p.isCircular();