Skip to content

Commit 9a53a9d

Browse files
baywethandrews
andauthored
ci: restricts to RFC9110 methods syntax
Co-authored-by: Henry Andrews <[email protected]>
1 parent fc29d3a commit 9a53a9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/schemas/validation/schema.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ $defs:
235235
additionalProperties:
236236
$ref: '#/$defs/operation'
237237
propertyNames:
238+
$comment: RFC9110 restricts methods to "1*tchar" in ABNF
239+
pattern: "^[a-zA-Z0-9!#$%&'*+.-]+$"
240+
"^" / "_" / "`" / "|" / "~"
238241
not:
239242
enum:
240243
- GET

0 commit comments

Comments
 (0)