Skip to content

Commit

Permalink
feat(schema): update empty security array constraint
Browse files Browse the repository at this point in the history
based on discussions

*  OAI#3938 (comment)

* OAI#4007
  • Loading branch information
jeremyfiel committed Sep 4, 2024
1 parent 2064f63 commit 377c6fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/v3.1/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ properties:
$ref: '#/$defs/components'
security:
type: array
minItems: 1
items:
$ref: '#/$defs/security-requirement'
tags:
Expand Down Expand Up @@ -280,6 +281,7 @@ $defs:
type: boolean
security:
type: array
minItems: 1
items:
$ref: '#/$defs/security-requirement'
servers:
Expand Down

0 comments on commit 377c6fe

Please sign in to comment.