Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure UseSwaggerUI & AddSwaggerGen defaults match
Updated the defaults for `IApplicationBuilder.UseSwaggerUI` to better match the [defaults of `IServiceCollection.AddSwaggerGen`](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/src/Swashbuckle.AspNetCore.SwaggerGen/DependencyInjection/ConfigureSwaggerGeneratorOptions.cs#L51) so that the displayed document name in the Swagger UI matches the actual document name and title. We intend to change the default webapi project template code in ASP.NET Core in .NET 6.0 to simply use the Swashbuckle defaults and this change makes the UX align more clearly.
- Loading branch information