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.
e.values(...).some is not a function
1 parent d1987b9 commit cf92831Copy full SHA for cf92831
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