Skip to content

Commit a8cecd5

Browse files
authored
fix: remove false positive from the ruleset
1 parent 1cc57ff commit a8cecd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectral/ruleset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ rules:
5656
then:
5757
function: pattern
5858
functionOptions:
59-
match: "\/api\/([a-z_]*){1,}(\/v[0-9]*(alpha|beta)?)(\/{?[a-z_]*}?){0,}$"
59+
match: "\/api\/v.*\/.*$"
6060
rhoas-response-media-type:
6161
given: "$.paths.*.*.responses.*.content"
6262
description: application/json is the only acceptable content type

0 commit comments

Comments
 (0)