From 4019c5f81a88dc03302ab110a3c13789b2fdb22b Mon Sep 17 00:00:00 2001 From: Jhon Javier Loza Lluco <150795747+javierlozallu@users.noreply.github.com> Date: Fri, 26 Apr 2024 10:28:40 +0200 Subject: [PATCH] Update .spectral.yml Added 19.03.2024: Corrected camara-http-methods rule --- .spectral.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.spectral.yml b/.spectral.yml index 0b16508e..0042b3c4 100644 --- a/.spectral.yml +++ b/.spectral.yml @@ -1,6 +1,9 @@ # CAMARA Project - linting ruleset - documentation avaialable here: # https://github.com/camaraproject/Commonalities/blob/main/documentation/Linting-rules.md -# 31.01.2024 - initial version +# Changelog: +# - 31.01.2024: Initial version +# - 19.03.2024: Corrected camara-http-methods rule + extends: "spectral:oas" functions: @@ -108,7 +111,7 @@ rules: then: function: pattern functionOptions: - match: "^(get|put|post|delete|patch|options)$" + match: "^(get|put|post|delete|patch|options|parameters)$" recommended: true # Set to true/false to enable/disable this rule camara-get-no-request-body: