security property Null safety

List<APISecurityRequirement> security
read / write

A declaration of which security mechanisms can be used across the API.

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. Individual operations can override this definition.

Implementation

List<APISecurityRequirement> security = <APISecurityRequirement>[];