You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple object to allow referencing other definitions in the specification, internally and externally.
2393
+
A simple object to allow referencing other components in the specification, internally and externally.
2394
2394
2395
2395
The Reference Object is defined by [JSON Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03) and follows the same structure, behavior and rules.
2396
2396
@@ -2509,8 +2509,8 @@ To support polymorphism, OpenAPI Specification adds the support of the `discrimi
2509
2509
When used, the `discriminator` will be the name of the property used to decide which schema definition is used to validate the structure of the model.
2510
2510
As such, the `discriminator` field MUST be a required field.
2511
2511
There are are two ways to define the value of a discriminator for an inheriting instance.
2512
-
- Use the definition's name.
2513
-
- Override the definition's name by overriding the property with a new value. If exists, this takes precedence over the definition's name.
2512
+
- Use the schema's name.
2513
+
- Override the schema's name by overriding the property with a new value. If exists, this takes precedence over the schema's name.
2514
2514
As such, inline schema definitions, which do not have a given id, *cannot* be used in polymorphism.
Lists the required security schemes to execute this operation.
3431
-
The name used for each property MUST correspond to a security scheme declared in the [Security Definitions](#componentsSecuritySchemes) under the [Components Object](#componentsObject).
3431
+
The name used for each property MUST correspond to a security scheme declared in the [Security Schemes](#componentsSecuritySchemes) under the [Components Object](#componentsObject).
3432
3432
3433
3433
Security Requirement Objects that contain multiple schemes require that all schemes MUST be satisfied for a request to be authorized.
3434
3434
This enables support for scenarios where there multiple query parameters or HTTP headers are required to convey security information.
@@ -3439,7 +3439,7 @@ When a list of Security Requirement Objects is defined on the [Open API object](
3439
3439
3440
3440
Field Pattern | Type | Description
3441
3441
---|:---:|---
3442
-
<a name="securityRequirementsName"></a>{name} | [`string`] | Each name MUST correspond to a security scheme which is declared in the [Security Definitions](#securityDefinitions). If the security scheme is of type `"oauth2"` or `"openIdConnect"`, then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty.
3442
+
<a name="securityRequirementsName"></a>{name} | [`string`] | Each name MUST correspond to a security scheme which is ddeclared 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. For other security scheme types, the array MUST be empty.
0 commit comments