Specialisation requires a stable environment with a low rate of change, generalists are needed when the rate of change is high. I think of myself as a generalist and chose, as commenter "schubb" suggested, an architect career with a focus on organisational transformation which has worked out well so far.
Specialisation can work in many, sometimes perpendicular, dimensions: are you a generalist only as far as technologies are concerned, but have specialised in an organisational skill (eg. project management or engineering leaderhship)? I'm asking because being a generalist in all domains (functional, organisational etc.) feels like stretching out too much.