-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Priority:0Work that we can't release withoutWork that we can't release withoutarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-minimal-hosting
Milestone
Description
After my change got merged Swashbuckle broke when using the WebApplicationBuilder and it's because we call ConfigureWebHostDefaults twice:
_deferredHostBuilder.ConfigureWebHostDefaults(configure: _ => { }); _hostBuilder.ConfigureWebHostDefaults(ConfigureWebHost);
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.
Metadata
Metadata
Assignees
Labels
Priority:0Work that we can't release withoutWork that we can't release withoutarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-minimal-hosting