Skip to content

Commit

Permalink
fixed exception that occurs when the type field is missing from a pro…
Browse files Browse the repository at this point in the history
…perty
  • Loading branch information
EthanHonzikSPS committed Jul 16, 2024
1 parent 78fdab5 commit efb6d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulesets/src/naming.ruleset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ rules:
description: Boolean properties SHOULD NOT use is, has, or another prefix.
severity: warn
formats: [oas3]
given: "$..properties[?(@.type == 'boolean')]~"
given: "$..properties[?(@ && @.type == 'boolean')]~"
then:
function: pattern
functionOptions:
Expand Down

0 comments on commit efb6d94

Please sign in to comment.