Outdoor walkway with a railing and covered corridor