I appreciate that you came to MN possibly for reassurance, but you must know this is a quick Google search for “is depression genetic?” and yes, some of it is. So as kindly as possible, YABU re: your parents. If they had been horrible to you and emotionally scarred you, I could understand. But you yourself said they were generally loving, but admit that your father had depression as well.
“Scientists believe that as many as 40 percent of those with depression can trace it to a genetic link. Environmental and other factors make up the other 60 percent. Research has also shown that people with parents or siblings who have depression are up to three times more likely to have the condition.”
So your father and your siblings made you at increased risk.
If your son has inherited the genetic link, it’s there. The end. You could step on eggshells for the next 10 years trying to be the perfect parent, and he might or might not develop depression. Or you could accept that it’s impossible to see the future and just give him the most normal, loving childhood you can, which it sounds like you already are; and it sounds like that’s what your parents did for you. Equally, perhaps realize that if your DS does develop depression, you may be uniquely suited to help him, empathize with him, get him the support he needs, and generally be the type of parent that helps him lead a full life even with depression, which may be priceless.
BUT if he does develop depression, please don’t do this where you catalogue past faults, fearing it’s something in some way that you raised him. No one thing (you yelled at him once for not picking up his room; you took away his electronics for not doing his chores; you didn’t go to one event of his because you had a depressive episode) or even several things you do are going to give him depression if on the whole your house is loving and supportive.