Identity server syntax err edited.
This commit is contained in:
parent
ce22713dd6
commit
a738769950
@ -89,6 +89,8 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API
|
|||||||
services.AddControllersWithViews();
|
services.AddControllersWithViews();
|
||||||
services.AddRazorPages();
|
services.AddRazorPages();
|
||||||
|
|
||||||
|
services.AddSwaggerGen(options =>
|
||||||
|
{
|
||||||
var basePath = AppDomain.CurrentDomain.BaseDirectory;
|
var basePath = AppDomain.CurrentDomain.BaseDirectory;
|
||||||
var fileName = typeof(Startup).GetTypeInfo().Assembly.GetName().Name + ".xml";
|
var fileName = typeof(Startup).GetTypeInfo().Assembly.GetName().Name + ".xml";
|
||||||
var xmlComments = Path.Combine(basePath, fileName);
|
var xmlComments = Path.Combine(basePath, fileName);
|
||||||
@ -110,7 +112,7 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API
|
|||||||
Url = new Uri("https://microsoft.com/")
|
Url = new Uri("https://microsoft.com/")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
var container = new ContainerBuilder();
|
var container = new ContainerBuilder();
|
||||||
container.Populate(services);
|
container.Populate(services);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user