No constructor for type SwaggerGenerator can be instantiated using services from the service container and default values

As the asker noted in a comment, what solved this for me was adding in a reference to Api Explorer in ConfigureServices.

Specifically the line required was:

services.AddMvcCore()
        .AddApiExplorer();

Leave a Comment

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş