I have started to use swashbuckle for my rest api.
When I go to localhost:port/swagger
I get the following runtime error:
System.Nullreferenceexception in Swashbuckle.Application.SwaggerDocsConfig.Getswaggerprovider(Httprequestmessage swaggerRequest)
I initialized swashbuckle like this:
var config = new Httpconfiguration();
config.EnableSwagger();
Please, help me.