Skip to content

Commit

Permalink
Create .spectral-oas.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VijayKesharwani authored Oct 19, 2023
1 parent 2b43f7f commit 1f3ed63
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/.spectral-oas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
functions:
- check-spelling-code
- check-telco-specific-code
functionsDir: "./lint_function"
rules:
language-spelling-texts:
message: "{{error}}"
severity: warn
given:
- "$.info.title"
- "$.info.summary"
- "$.info.description"
- "$.paths.*.*.parameters[?(@.in==='query' || @.in==='path' || @.in==='cookie')].description"
- "$..properties.*.description"
then:
function: check-spelling-code

0 comments on commit 1f3ed63

Please sign in to comment.