Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix]: Linting rules problem with Traffic Influence API #161 #169

Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions artifacts/linting_rules/.spectral.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CAMARA Project - linting ruleset - documentation avaialable here:
# https://github.com/camaraproject/Commonalities/blob/main/documentation/Linting-rules.md
# 31.01.2024 - initial version
hdamker marked this conversation as resolved.
Show resolved Hide resolved
# 19.03.2024 - camara-http-method rule corrected

extends: "spectral:oas"
functions:
Expand Down Expand Up @@ -108,7 +108,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