UseSwaggerDocs()
When added in program.cs -< Configure, throws exception at runtime as below.
at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.WebHost[6]
Application startup exception
System.NullReferenceException: Object reference not set to an instance of an object.
at Convey.Docs.Swagger.Extensions.UseSwaggerDocs(IApplicationBuilder builder)
at sphere.api.Program.<>c.b__1_1(IApplicationBuilder app)
UseSwaggerDocs()
When added in program.cs -< Configure, throws exception at runtime as below.
at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.WebHost[6]
Application startup exception
System.NullReferenceException: Object reference not set to an instance of an object.
at Convey.Docs.Swagger.Extensions.UseSwaggerDocs(IApplicationBuilder builder)
at sphere.api.Program.<>c.b__1_1(IApplicationBuilder app)