diff --git a/src/parsers/ComponentsParser.ts b/src/parsers/ComponentsParser.ts index e5372fa..01ae6e0 100644 --- a/src/parsers/ComponentsParser.ts +++ b/src/parsers/ComponentsParser.ts @@ -66,7 +66,8 @@ export class ComponentsParser extends BaseParser { ...this.inheritProps(schema), name, type, - required, + // {type: 'string', required: true} + required: (schema.required as boolean | undefined) || required, kind: 'origin', }; }