贾荣国Home 3 years ago
parent
commit
e96f0c3fb4
  1. 3
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/WebApiHttpApiHostModule.cs

3
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/WebApiHttpApiHostModule.cs

@ -192,7 +192,6 @@ namespace Win_in.Sfs.Scp.WebApi
GetXmlFiles().ForEach(file =>
{
options.IncludeXmlComments(file);
Log.Information(" TEST-SWAGGER PATH ==> " + file);
});
options.DocumentFilter<HiddenApiFilter>();
@ -238,8 +237,6 @@ namespace Win_in.Sfs.Scp.WebApi
private List<string> GetXmlFiles()
{
var basePath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
Log.Information(" TEST- base Path PATH ==> " + basePath);
//Console.WriteLine(" TEST- base Path PATH ==> " + basePath);
var files1 = Directory.GetFiles(basePath, "*.Application*.xml");
return files1.ToList();
}

Loading…
Cancel
Save