From 4f86b3b78b5b638b486b497221a2f1c8fbab3ef6 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 25 十月 2022 21:01:25 +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