pub fn normalize_spec(yaml: &str) -> Result<String>Expand description
Normalize an OpenAPI YAML document: collapse ERROR_ALIASES into Error.
Returns the rewritten YAML as a string. Idempotent: running it on already normalized output is a no-op (aliases are absent, so nothing rewrites).