Switzerland developed the massed pike infantry formation tactics that dominated early-modern Europe before the advent of reliable firearms, crushed a major regional power (Burgundy), and exported mercenaries that formed the backbone of many other European states' standing armies.
What war? They invested in peace, successfully so far. Attacking Switzerland would be a bad idea for most countries.