Skip to content

Commit 5d53356

Browse files
committedAug 12, 2020
docs: update linter rule docs
1 parent dbfaf21 commit 5d53356

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎docs/_data/defaultrules.yml

+4
Original file line numberDiff line numberDiff line change
@@ -259,3 +259,7 @@ default:
259259
description: Document should have a max length of 1000 lines
260260
more: ''
261261

262+
- name: schema-properties-type
263+
object: schema
264+
description: "schema objects containing properties should have type: object"
265+
more: ''

‎docs/default-rules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{% if rule.object == "*" %}
2121
<em>everything</em>
2222
{% else %}
23-
<a href="https://spec.openapis.org/oas/v3.0.2.html#{{ rule.object }}-object">{{ rule.object }}</a>
23+
<a href="https://spec.openapis.org/oas/v3.0.3.html#{{ rule.object }}-object">{{ rule.object }}</a>
2424
{% endif %}
2525
</td>
2626
<td>{{ rule.description }}</td>

0 commit comments

Comments
 (0)
Please sign in to comment.