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 4e9d2b3 commit 2064f63
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 @@ -567,6 +568,7 @@ definitions:
default: false
security:
type: array
minItems: 1
items:
$ref: '#/definitions/SecurityRequirement'
servers:
Expand Down

0 comments on commit 2064f63

Please sign in to comment.