security a list of objects whose keys are the names of the authorizer. Each authorizer name
refers to a SecurityDefinition, defined at the top level of the swagger definition, by
matching a Security Definition's name property. For Cognito User Pool Authorizers, the value
of these object can be left as an empty array or used to define the resource servers and
custom scopes (e.g. "resource-server/scope"). For lambda authorizers, the value of the
objects is an empty array.
security a list of objects whose keys are the names of the authorizer. Each authorizer name refers to a SecurityDefinition, defined at the top level of the swagger definition, by matching a Security Definition's name property. For Cognito User Pool Authorizers, the value of these object can be left as an empty array or used to define the resource servers and custom scopes (e.g. "resource-server/scope"). For lambda authorizers, the value of the objects is an empty array.