Skip to content

Commit 53b1950

Browse files
Merge pull request #231 from camaraproject/javierlozallu-patch-1
Update .spectral.yml
2 parents eded195 + 4019c5f commit 53b1950

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.spectral.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# CAMARA Project - linting ruleset - documentation avaialable here:
22
# https://github.com/camaraproject/Commonalities/blob/main/documentation/Linting-rules.md
3-
# 31.01.2024 - initial version
3+
# Changelog:
4+
# - 31.01.2024: Initial version
5+
# - 19.03.2024: Corrected camara-http-methods rule
6+
47

58
extends: "spectral:oas"
69
functions:
@@ -108,7 +111,7 @@ rules:
108111
then:
109112
function: pattern
110113
functionOptions:
111-
match: "^(get|put|post|delete|patch|options)$"
114+
match: "^(get|put|post|delete|patch|options|parameters)$"
112115
recommended: true # Set to true/false to enable/disable this rule
113116

114117
camara-get-no-request-body:

0 commit comments

Comments
 (0)