Skip to main content

humanize_section_key

Function humanize_section_key 

Source
pub fn humanize_section_key(key: &str) -> String
Expand description

Humanize a section wire key for display (risk_profilesRisk profiles, providers.modelsModel providers). Single source of truth for section labels across the gateway dashboard, zerocode Config pane, and docs. Specific wording overrides are listed explicitly; everything else is mechanically title-cased from the key.