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 d849eb6 commit 6ce650b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .spectral-oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ rules:
severity: hint
description: |
This rule checks for telco-specific terminology in your API definitions and suggests more inclusive terms.
given: "$..*.*"
given:
- "$.info.title"
- "$.info.summary"
- "$.info.description"
- "$.paths.*.*.parameters[?(@.in==='query' || @.in==='path' || @.in==='cookie')].description"
- "$..properties.*.description"
then:
function: check-telco-specific-terms

0 comments on commit 6ce650b

Please sign in to comment.