Skip to content

Commit 480dc75

Browse files
handrewsnotEthan
andauthored
Fix regex character class
Co-authored-by: Ethan <[email protected]>
1 parent ed5cfe4 commit 480dc75

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)