Skip to content

Commit b45d0d8

Browse files
MikeRalphsonwebron
andauthored
security; widen use of scopes array to other securityScheme types (#1829)
Co-authored-by: Ron <[email protected]>
1 parent b5a15df commit b45d0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.1.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3338,7 +3338,7 @@ When a list of Security Requirement Objects is defined on the [OpenAPI Object](#
33383338

33393339
Field Pattern | Type | Description
33403340
---|:---:|---
3341-
<a name="securityRequirementsName"></a>{name} | [`string`] | Each name MUST correspond to a security scheme which is declared in the [Security Schemes](#componentsSecuritySchemes) under the [Components Object](#componentsObject). If the security scheme is of type `"oauth2"` or `"openIdConnect"`, then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MUST be empty.
3341+
<a name="securityRequirementsName"></a>{name} | [`string`] | Each name MUST correspond to a security scheme which is declared in the [Security Schemes](#componentsSecuritySchemes) under the [Components Object](#componentsObject). If the security scheme is of type `"oauth2"` or `"openIdConnect"`, then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band.
33423342

33433343
##### Security Requirement Object Examples
33443344

0 commit comments

Comments
 (0)