Skip to content

Commit

Permalink
Update .spectral-oas.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VijayKesharwani authored Oct 27, 2023
1 parent 2266b98 commit 8663e89
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .spectral-oas.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
functions:
- check-telco-specific-terms
functionsDir: "./lint_function"
rules:
check-telco-specific-terms:
message: "{{error}}"
severity: hint
description: |
This rule checks for telco-specific terminology in your API definitions and suggests more inclusive terms.
given:
- "$..*.*"
- "$.paths.*.*.description"
- "$.components.*.description"
then:
function: check-telco-specific-terms

0 comments on commit 8663e89

Please sign in to comment.