Skip to content

Commit f1edd25

Browse files
use non-capturing parentheses everywhere
1 parent c012298 commit f1edd25

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
@@ -193,7 +193,7 @@ $defs:
193193
additionalProperties:
194194
$ref: '#/$defs/path-item'
195195
patternProperties:
196-
'^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$':
196+
'^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$':
197197
$comment: Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected
198198
propertyNames:
199199
pattern: '^[a-zA-Z0-9._-]+$'

0 commit comments

Comments
 (0)