Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 linting/config/.gherkin-lintrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"no-multiple-empty-lines": "on",
"no-empty-file": "on",
"no-scenario-outlines-without-examples": "on",
"name-length": ["on", {"Feature": 190, "Step": 190, "Scenario": 190}],
"name-length": ["on", {"Feature": 250, "Step": 250, "Scenario": 250}],
"no-restricted-tags": ["on", {"tags": ["@watch", "@wip"]}],
"use-and": "on",
"keywords-in-logical-order": "on",
Expand All @@ -38,7 +38,7 @@
"no-unused-variables": "on",
"no-background-only-scenario": "on",
"no-empty-background": "on",
"scenario-size": ["on", { "steps-length": {"Background": 15, "Scenario": 15}}],
"scenario-size": ["off", { "steps-length": {"Background": 15, "Scenario": 15}}],
"only-one-when": "off",
"allowed-tags": ["on", {
"patterns": [
Expand Down
6 changes: 3 additions & 3 deletions linting/config/.spectral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# - 19.03.2024: Corrected camara-http-methods rule
# - 03.12.2024: Corrected camara-path-param-id and camara-discriminator-use to handle null values error in example fields
# - 09.01.2025: Updated info-contact rule
# - 03.06.2025: renamed to: .spectral.yaml
# - 25.07.2025: Added camara-schema-type-check rule
# - 21.07.2025: Added camara-schema-type-check rule
# - 12.01.2026: camara-discriminator-use deprecated


extends: "spectral:oas"
Expand Down Expand Up @@ -234,7 +234,7 @@ rules:
- field: discriminator
function: truthy
message: "A 'discriminator' object is required when using 'oneOf' or 'anyOf'."
recommended: true # Set to true/false to enable/disable this rule
recommended: false # Set to true/false to enable/disable this rule

camara-operationid-casing-convention:
message: Operation Id must be in Camel case "{{error}}"
Expand Down