0
ajayak created
Hi,
I see that swagger is configured in Web.Host project as follows:
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "PrimePenguin API V1");
});
Web.Host project also contains wwwroot/swagger/ui/index.html. How can I configure Swagger UI to use that index.html file?
1 Answer(s)
-
0
Hi,
According to this issue <a class="postlink" href="https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/527">https://github.com/domaindrivendev/Swas ... issues/527</a>, you need to place it like this:
wwwroot/swagger/index.html