From 1964b4b54415ba95160eb279e09ea44ead815798 Mon Sep 17 00:00:00 2001 From: fyf Date: Sat, 30 Apr 2022 15:19:41 +0800 Subject: [PATCH] 7 --- DataVAPI/ConfigureSwagger/ConfigureSwagger.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataVAPI/ConfigureSwagger/ConfigureSwagger.cs b/DataVAPI/ConfigureSwagger/ConfigureSwagger.cs index b70e072..2f79053 100644 --- a/DataVAPI/ConfigureSwagger/ConfigureSwagger.cs +++ b/DataVAPI/ConfigureSwagger/ConfigureSwagger.cs @@ -26,10 +26,10 @@ namespace DataVAPI.ConfigureSwagger c.OrderActionsBy(o => o.RelativePath); // 获取xml注释文件的目录 - var xmlPath = Path.Combine(AppContext.BaseDirectory, "服务API.xml"); + var xmlPath = Path.Combine(AppContext.BaseDirectory, "DataVAPI.xml"); c.IncludeXmlComments(xmlPath, true);//默认的第二个参数是false,这个是controller的注释,记得修改 // 获取xml注释文件的目录 - var xmlPathModel = Path.Combine(AppContext.BaseDirectory, "服务API.Model.xml"); + var xmlPathModel = Path.Combine(AppContext.BaseDirectory, "DataVAPI.Model.xml"); c.IncludeXmlComments(xmlPathModel, true);//默认的第二个参数是false,这个是controller的注释,记得修改 }); }