Fixed bug in statup.cs

This commit is contained in:
Sumit Ghosh 2021-10-12 18:45:46 +05:30
parent f8e1a5de84
commit f6ab14da8c

View File

@ -215,8 +215,7 @@ static class CustomExtensionsMethods
public static IServiceCollection AddCustomSwagger(this IServiceCollection services, IConfiguration configuration)
{
services.AddSwaggerGen(options =>
{
options.DescribeAllEnumsAsStrings();
{
options.SwaggerDoc("v1", new OpenApiInfo
{
Title = "eShopOnContainers - Ordering HTTP API",