|
|
@ -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(); |
|
|
|
} |
|
|
|