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

*  #3938 (comment)

* #4007
  • Loading branch information
jeremyfiel committed Sep 4, 2024
1 parent 0056446 commit 4d90c9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/v3.0/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ properties:
$ref: '#/definitions/Server'
security:
type: array
minItems: 1
items:
$ref: '#/definitions/SecurityRequirement'
tags:
Expand Down Expand Up @@ -553,6 +554,7 @@ definitions:
default: false
security:
type: array
minItems: 1
items:
$ref: '#/definitions/SecurityRequirement'
servers:
Expand Down

0 comments on commit 4d90c9b

Please sign in to comment.