Skip to content

Commit

Permalink
Merge pull request #169 from VijayKesharwani/bugfix/linting-rule-prob…
Browse files Browse the repository at this point in the history
…lem-trafficInfluenceAPI

[Bugfix]: Linting rules problem with Traffic Influence API #161
  • Loading branch information
rartych authored Apr 15, 2024
2 parents 7e9930b + b0c71fd commit 2917ddd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions artifacts/linting_rules/.spectral.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2917ddd

Please sign in to comment.