I try to use Swagger with Microsoft WebAPI 2.
For the moment, I\'ve the following call in a method.
appBuilder .ConfigureOAuth() .UseWebApi(con
For Asp.Net core use this:
app.Run(context => { context.Response.Redirect("swagger/ui"); return Task.CompletedTask; });