Skip to content

Commit 03a061f

Browse files
Martin D'Aloiadjtarazona
authored andcommitted
Fix openapi-tags-alphabetical rule invalid property declaration
The 'properties' key of the 'alphabetical' rule must be an array of strings instead of a string.
1 parent 740d19d commit 03a061f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rules/default.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ rules:
4545
object: openapi
4646
description: openapi object should have alphabetical tags
4747
alphabetical:
48-
properties: tags
48+
properties:
49+
- tags
4950
keyedBy: name
5051
- name: reference-no-other-properties
5152
object: reference

0 commit comments

Comments
 (0)