Skip to content

Commit 7ae3c39

Browse files
authored
DOC-14284: Update Vale view for OpenAPI specs (#50)
* Check all titles, summaries, and descriptions * Update .vale.ini in README
1 parent 2838623 commit 7ae3c39

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ attribute-missing = drop
7575
7676
[*.{adoc}]
7777
BasedOnStyles = Vale, write-good, proselint, Couchbase, Google
78+
79+
[*.{yml,yaml}]
80+
View = OpenAPI
81+
BasedOnStyles = Vale, write-good, proselint, Couchbase, Google
7882
```
7983

8084
5. Inside the quotation marks for the `StylesPath`, enter the location on your computer of the `ValeStyles` folder in this repository.
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
engine: dasel
22
scopes:
3-
- expr: properties.all().property(description?)
3+
- expr: '..title'
4+
name: title
5+
type: md
6+
7+
- expr: '..description'
8+
name: description
9+
type: md
10+
11+
- expr: '..summary'
12+
name: summary
413
type: md

0 commit comments

Comments
 (0)