Skip to main content

scheme_catalogue

Function scheme_catalogue 

Source
pub fn scheme_catalogue(spec: &Spec) -> Vec<SecurityScheme>
Expand description

Build the ordered catalogue of security schemes declared in the document, in components.securitySchemes declaration order.

$ref scheme entries, OAuth2, and OpenID Connect are catalogued as SecuritySchemeKind::Unsupported so an operation that requires one is rejected with a clear message during client emit, rather than silently sending no credential.