security property Null safety

List<APISecurityRequirement>? security
read / write

A declaration of which security mechanisms can be used for this operation.

The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.

Implementation

List<APISecurityRequirement>? security;