I try to use Swagger with Microsoft WebAPI 2.
For the moment, I\'ve the following call in a method.
appBuilder .ConfigureOAuth() .UseWebApi(con
In ASP.NET Core, you can simply just change the RoutePrefix when registering SwaggerUI to empty string.
app.UseSwaggerUI(c => { c.RoutePrefix = ""; ... };
No redirect configuration required, unless you still want /swagger or something similar in the path.
/swagger