Skip to content

Commit

Permalink
fix(schema): Correct schema for descriptions (#27260)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Feb 13, 2024
1 parent 9eb7a08 commit ea5e20e
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions tools/docs/schema.ts
Expand Up @@ -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',
},
],
},
},
},
Expand Down

0 comments on commit ea5e20e

Please sign in to comment.