Skip to content

Commit 377c6fe

Browse files
committed
feat(schema): update empty security array constraint
based on discussions * OAI#3938 (comment) * OAI#4007
1 parent 2064f63 commit 377c6fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

schemas/v3.1/schema.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ properties:
3030
$ref: '#/$defs/components'
3131
security:
3232
type: array
33+
minItems: 1
3334
items:
3435
$ref: '#/$defs/security-requirement'
3536
tags:
@@ -280,6 +281,7 @@ $defs:
280281
type: boolean
281282
security:
282283
type: array
284+
minItems: 1
283285
items:
284286
$ref: '#/$defs/security-requirement'
285287
servers:

0 commit comments

Comments
 (0)