From b6349cb2b3a868c8c917ca221bb7eaf6f272bdd2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 22 八月 2022 10:59:55 +0800
Subject: [PATCH] 功能模块添加过滤器
---
VueWebApi/App_Start/SwaggerConfig.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/VueWebApi/App_Start/SwaggerConfig.cs b/VueWebApi/App_Start/SwaggerConfig.cs
index d86f7ff..e1d332f 100644
--- a/VueWebApi/App_Start/SwaggerConfig.cs
+++ b/VueWebApi/App_Start/SwaggerConfig.cs
@@ -24,7 +24,7 @@
GlobalConfiguration.Configuration
.EnableSwagger(c =>
{
- c.SingleApiVersion("v1", "新凯迪MES平台在线接口文档");
+ c.SingleApiVersion("v1", "新凯迪MES平台在线接口API");
//c.IncludeXmlComments(string.Format("{0}/bin/VueWebApi.XML", System.AppDomain.CurrentDomain.BaseDirectory));
//让swagger根据xml文档来解析
c.IncludeXmlComments(GetXmlCommentsPath(thisAssembly.GetName().Name));
@@ -43,7 +43,7 @@
})
.EnableSwaggerUi(c =>
{
- c.DocumentTitle("新凯迪MES平台在线接口文档");
+ c.DocumentTitle("新凯迪MES平台在线接口API");
c.InjectJavaScript(thisAssembly, "VueWebApi.Scripts.swagger_lang.js");//汉化js
});
}
--
Gitblit v1.9.3