We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1987b9 + cf92831 commit 0785d07Copy full SHA for 0785d07
src/schema-parser/base-schema-parsers/object.js
@@ -17,9 +17,7 @@ class ObjectSchemaParser extends MonoSchemaParser {
17
description: this.schemaFormatters.formatDescription(
18
this.schema.description,
19
),
20
- allFieldsAreOptional: !contentProperties
21
- .values()
22
- .some((part) => part.isRequired),
+ allFieldsAreOptional: !contentProperties.some((part) => part.isRequired),
23
content: contentProperties,
24
};
25
}
0 commit comments