Skip to content

Commit 1826161

Browse files
authored
Fix character class in regular expression
1 parent 480dc75 commit 1826161

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
@@ -236,7 +236,7 @@ $defs:
236236
$ref: '#/$defs/operation'
237237
propertyNames:
238238
$comment: RFC9110 restricts methods to "1*tchar" in ABNF
239-
pattern: "^[a-zA-Z0-9!#$%&'*+.^`|~-]+$"
239+
pattern: "^[a-zA-Z0-9!#$%&'*+.^`|~]+$-"
240240
not:
241241
enum:
242242
- GET

0 commit comments

Comments
 (0)