Skip to content

Commit 133352b

Browse files
baywetralfhandlkevinswiber
authored andcommitted
Apply suggestions from code review
Co-authored-by: Ralf Handl <[email protected]> Co-authored-by: Kevin Swiber <[email protected]>
1 parent eb3c833 commit 133352b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

versions/3.0.4.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3729,8 +3729,10 @@ The name used for each property MUST correspond to a security scheme declared in
37293729
A Security Requirement Object MAY refer to multiple security schemes in which case all schemes MUST be satisfied for a request to be authorized.
37303730
This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information.
37313731

3732-
When the security field is defined on the [OpenAPI Object](#openapi-object) or [Operation Object](#operation-object) and contains multiple Security Requirement Objects, only one of the entries in the list needs to be satisfied to authorize the request.
3733-
This enables support for scenarios where the API supports alternative security schemes, or when they are optional.
3732+
When the `security` field is defined on the [OpenAPI Object](#openapi-object) or [Operation Object](#operation-object) and contains multiple Security Requirement Objects, only one of the entries in the list needs to be satisfied to authorize the request.
3733+
This enables support for scenarios where the API allows multiple, independent security schemes.
3734+
3735+
An empty Security Requirement Object (`{}`) indicates anonymous access is supported.
37343736

37353737
##### Patterned Fields
37363738

0 commit comments

Comments
 (0)