I try to use Swagger with Microsoft WebAPI 2.
For the moment, I've the following call in a method.
appBuilder
.ConfigureOAuth()
.UseWebApi(configuration)
.UseWelcomePage();
If I want to use Swagger, I must use this url "https://localhost:44300/swagger" which one works very well.
I want my home page redirects to the url of my swagger, perhaps as follows but this sample doesn't works.
appBuilder
...
.UseWelcomePage("/swagger");
Any idea ?