Actually it has been discussed. As per his father:
""" Bob Swartz also dismissed the notion that his son had a depressive personality.
"He had never been diagnosed as having depression; he was never on medication for having depression," Swartz said.
Aaron Swartz's mother had been hospitalized in December 2011 after having a bowel obstruction and going into septic shock, Bob Swartz said. She spent several weeks in a coma, four months in intensive care, and two more months in the hospital.
"So the notion, the narrative that people are going to say -- is that he’s somebody who just has depression -- is just wrong. You’d be depressed too if you were under a 13-count federal indictment and you go see your mother, who’s in a coma."