Syntax err edited.
This commit is contained in:
parent
a04a00241b
commit
3c90301bbb
@ -242,7 +242,6 @@ public static class CustomExtensionMethods
|
||||
Name = "Microsoft License",
|
||||
Url = new Uri("https://microsoft.com/license")
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
return services;
|
||||
|
@ -109,7 +109,6 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API
|
||||
Name = "Microsoft License",
|
||||
Url = new Uri("https://microsoft.com/")
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var container = new ContainerBuilder();
|
||||
|
@ -139,7 +139,7 @@ static class CustomExtensionMethods
|
||||
{
|
||||
services.AddSwaggerGen(options =>
|
||||
{
|
||||
var basePath = AppDomain.CurrentDomain.BaseDirectory;
|
||||
var basePath = AppDomain.CurrentDomain.BaseDirectory;
|
||||
var fileName = typeof(Startup).GetTypeInfo().Assembly.GetName().Name + ".xml";
|
||||
var xmlComments = Path.Combine(basePath, fileName);
|
||||
options.IncludeXmlComments(xmlComments);
|
||||
|
Loading…
x
Reference in New Issue
Block a user