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 4b4df2f commit c7d6fc9
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 @@ -23,6 +23,7 @@ properties:
$ref: '#/$defs/components'
security:
type: array
minItems: 1
items:
$ref: '#/$defs/security-requirement'
tags:
Expand Down Expand Up @@ -253,6 +254,7 @@ $defs:
type: boolean
security:
type: array
minItems: 1
items:
$ref: '#/$defs/security-requirement'
servers:
Expand Down

0 comments on commit c7d6fc9

Please sign in to comment.