Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 28f84db

Browse files
committed
refactor(oas3): remove required keyword in unsupported list
1 parent 47223e4 commit 28f84db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/openapi3-parser/lib/parser/oas/parseSchemaObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const unsupportedKeys = [
2020
// JSON Schema
2121
'title', 'multipleOf', 'maximum', 'exclusiveMaximum', 'minimum',
2222
'exclusiveMinimum', 'maxLength', 'minLength', 'pattern', 'maxItems',
23-
'minItems', 'uniqueItems', 'maxProperties', 'minProperties', 'required',
23+
'minItems', 'uniqueItems', 'maxProperties', 'minProperties',
2424

2525
// JSON Schema + OAS 3 specific rules
2626
'allOf', 'anyOf', 'not', 'additionalProperties', 'format',

0 commit comments

Comments
 (0)