Skip to main content

detect_auth

Function detect_auth 

Source
pub fn detect_auth(spec: &OpenAPI) -> (String, HashMap<String, String>)
Expand description

Detect auth scheme from an OpenAPI spec’s securitySchemes. Returns (auth_type_str, extra_fields) for TOML manifest generation.