Tl;dr:
Geta.Optimizely.ContentTypeIcons.Controllers.ContentTypeIconController doesn't have [HttpGet] on index causing swagger to fail with 500.
https://github.com/Geta/geta-optimizely-contenttypeicons
Go there, and ⬇️
Check for the green button with the text "New issue".
Tl;dr:
Geta.Optimizely.ContentTypeIcons.Controllers.ContentTypeIconController doesn't have [HttpGet] on index causing swagger to fail with 500.