From 927caea60d624f1a45b5642f449ef07ee4f42a48 Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Wed, 30 Oct 2024 12:48:40 +0000 Subject: [PATCH] CLOUDP-278627: Update linting --- tools/spectral/.spectral.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/spectral/.spectral.yaml b/tools/spectral/.spectral.yaml index 496d5c9084..4b2c57d936 100644 --- a/tools/spectral/.spectral.yaml +++ b/tools/spectral/.spectral.yaml @@ -172,9 +172,8 @@ rules: - field: additionalServices function: pattern functionOptions: - match: "^(mms)$" - message: "'additionalServices' must be 'mms' as no other services are supported." - + match: "^mms(,[a-zA-Z0-9_-]+)*$" + message: "'additionalServices' must start with 'mms' and can include additional services in a comma-separated format." no-slash-before-custom-method: description: "Custom methods (e.g., ':applyItem') should not be preceded by a '/'." message: "The path '{{path}}' contains a '/' before a custom method. Custom methods should not start with a '/'."