diff --git a/tools/docs/schema.ts b/tools/docs/schema.ts index f02b13632e2c8980ebeecda33f33ff8bead13406..293e713af91ba00164f17186854cd7e50fe41bb2 100644 --- a/tools/docs/schema.ts +++ b/tools/docs/schema.ts @@ -91,9 +91,21 @@ function addChildrenArrayInParents(): void { type: 'object', properties: { description: { - type: 'string', - description: - 'A custom description for this configuration object', + oneOf: [ + { + type: 'array', + items: { + type: 'string', + description: + 'A custom description for this configuration object', + }, + }, + { + type: 'string', + description: + 'A custom description for this configuration object', + }, + ], }, }, },