Skip to content

Commit

Permalink
fix(ls): fix OpenAPI Header Object required fields lint (#2653)
Browse files Browse the repository at this point in the history
Refs #2392
  • Loading branch information
char0n committed Mar 24, 2023
1 parent fee2e93 commit 141edb4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ const requiredFieldsLint: LinterMeta = {
linterParams: ['content'],
marker: 'key',
conditions: [
{
function: 'missingField',
params: ['$ref'],
},
{
function: 'missingFields',
params: [['content', 'schema']],
Expand Down

0 comments on commit 141edb4

Please sign in to comment.