Fixed bug in statup.cs
This commit is contained in:
parent
f8e1a5de84
commit
f6ab14da8c
@ -215,8 +215,7 @@ static class CustomExtensionsMethods
|
|||||||
public static IServiceCollection AddCustomSwagger(this IServiceCollection services, IConfiguration configuration)
|
public static IServiceCollection AddCustomSwagger(this IServiceCollection services, IConfiguration configuration)
|
||||||
{
|
{
|
||||||
services.AddSwaggerGen(options =>
|
services.AddSwaggerGen(options =>
|
||||||
{
|
{
|
||||||
options.DescribeAllEnumsAsStrings();
|
|
||||||
options.SwaggerDoc("v1", new OpenApiInfo
|
options.SwaggerDoc("v1", new OpenApiInfo
|
||||||
{
|
{
|
||||||
Title = "eShopOnContainers - Ordering HTTP API",
|
Title = "eShopOnContainers - Ordering HTTP API",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user