Skip to content

Conversation

frantuma
Copy link
Contributor

fixes #2141, updating #2146

the following function is better suited for such cases (check for absence of specific field)

linterFunction: 'missingFields',
linterParams: [['value']],

the following places the marker on the value key (not on the parent)

  markerTarget: 'value',

also added test

@char0n
Copy link
Contributor

char0n commented Oct 18, 2022

If the test is stuck, it means that it is failing - there is something wrong with the way the tests are written as some failing tests make the entire suite loop indefinitely.

@frantuma frantuma merged commit 4b3b527 into main Oct 18, 2022
@frantuma frantuma deleted the issue-2141 branch October 18, 2022 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAPI 3.0.x Example Object lint rule: mutually exclusive doesn't always trigger

3 participants