Closed
Description
After my change got merged Swashbuckle broke when using the WebApplicationBuilder
and it's because we call ConfigureWebHostDefaults twice:
Assuming it was fine to do so but it isn't when using API explorer because we end up adding the same provider twice which makes swashbuckle (and I assume other code) unhappy. Swagger/OpenAPI is currently broken because of this.