Skip to content

Commit 927caea

Browse files
committed
CLOUDP-278627: Update linting
1 parent b3607d7 commit 927caea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/spectral/.spectral.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,8 @@ rules:
172172
- field: additionalServices
173173
function: pattern
174174
functionOptions:
175-
match: "^(mms)$"
176-
message: "'additionalServices' must be 'mms' as no other services are supported."
177-
175+
match: "^mms(,[a-zA-Z0-9_-]+)*$"
176+
message: "'additionalServices' must start with 'mms' and can include additional services in a comma-separated format."
178177
no-slash-before-custom-method:
179178
description: "Custom methods (e.g., ':applyItem') should not be preceded by a '/'."
180179
message: "The path '{{path}}' contains a '/' before a custom method. Custom methods should not start with a '/'."

0 commit comments

Comments
 (0)