fix(schema): Correct schema for descriptions (#27260)

This commit is contained in:
Ben Langfeld
2024-02-13 02:51:24 -03:00
committed by GitHub
parent 9eb7a08cc2
commit ea5e20ebb1
+15 -3
View File
@@ -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',
},
],
},
},
},