pub fn resolve_openapi_security(
root: Option<&[Vec<String>]>,
operation: Option<&[Vec<String>]>,
supported_schemes: &[String],
) -> OpenApiSecurityResolutionExpand description
Resolves the effective security for one operation (CORE-OAS-011/013/014/015).
Operation-level security replaces the root value rather than adding to it, an empty list makes the operation public, an empty requirement object is an anonymous alternative, several requirement objects are alternatives, and several schemes inside one object are compound. An Agent that cannot satisfy every member of a compound requirement treats that requirement as unsupported and never reduces it to the members it does support, so the requirements reported as satisfiable are always whole requirement objects.