More than 40 firefighters were called to douse flames coming from the roof of St. Michael’s hospital Wednesday morning.

The blaze began around 11:20 a.m. inside a rooftop generator and spread to the roof, Capt. David Eckerman said.

Twelve fire trucks rushed to the hospital at 30 Bond St. The blaze was upgraded to a two-alarm fire at 11:30 a.m., but firefighters quelled the flames by 11:44 a.m.

The hospital did not need to be evacuated during the fire, Eckerman said.

The fire was detected by an alarm company that contacted Toronto fire.

Traffic was briefly shut down on Shuter St. from Yonge to Church Sts. and Victoria St. from Dundas to Queen Sts.