Swagger UI end point is not same as dev in staging ( excluding domain names)
IIS Configuration
public void Configure(IApplicationBuilder app
Unfortunately, None of them works for me. I have tried all of them.
Working solution:
app.UseSwagger(c => { c.RouteTemplate = "swagger/{documentName}/swagger.json"; }); app.UseSwaggerUI(c => { c.SwaggerEndpoint("v1/swagger.json", "My API V1"); });