Skip to content

Commit 3c675a8

Browse files
use non-capturing parentheses everywhere
1 parent 2773541 commit 3c675a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schemas/validation/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ $defs:
204204
additionalProperties:
205205
$ref: '#/$defs/media-type-or-reference'
206206
patternProperties:
207-
'^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$':
207+
'^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$':
208208
$comment: Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected
209209
propertyNames:
210210
pattern: '^[a-zA-Z0-9._-]+$'

0 commit comments

Comments
 (0)