소스 검색

修复 swagger 组命名规则

Cyrus Zhou 10 달 전
부모
커밋
e1cc078692

+ 2 - 2
Admin.NET/Plugins/Admin.NET.Plugin.ApprovalFlow/Configuration/ApprovalFlow.json

@@ -1,8 +1,8 @@
 {
   "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
 
-  "[openapi:审批流程]": {
-    "Group": "审批流程",
+  "[openapi:ApprovalFlow]": {
+    "Group": "ApprovalFlow",
     "Title": "审批流程",
     "Description": "对业务实体数据的增删改操作进行流程审批。",
     "Version": "1.0.0",

+ 1 - 1
Admin.NET/Plugins/Admin.NET.Plugin.ApprovalFlow/Const/ApprovalFlowConst.cs

@@ -15,5 +15,5 @@ public class ApprovalFlowConst
     /// <summary>
     /// API分组名称
     /// </summary>
-    public const string GroupName = "审批流程";
+    public const string GroupName = "ApprovalFlow";
 }

+ 1 - 1
Admin.NET/Plugins/Admin.NET.Plugin.ApprovalFlow/Service/ApprovalFlow/ApprovalFlowService.cs

@@ -11,7 +11,7 @@ namespace Admin.NET.Plugin.ApprovalFlow.Service;
 /// <summary>
 /// 审批流程服务
 /// </summary>
-[ApiDescriptionSettings(ApprovalFlowConst.GroupName, Order = 100, Description = "审批流程")]
+[ApiDescriptionSettings(ApprovalFlowConst.GroupName, Order = 100)]
 public class ApprovalFlowService : IDynamicApiController, ITransient
 {
     private readonly SqlSugarRepository<ApprovalFlow> _approvalFlowRep;

+ 1 - 1
Admin.NET/Plugins/Admin.NET.Plugin.DingTalk/Configuration/DingTalk.json

@@ -3,7 +3,7 @@
 
   "[openapi:DingTalk]": {
     "Group": "DingTalk",
-    "Title": "DingTalk",
+    "Title": "钉钉开放平台",
     "Description": "集成钉钉开放平台",
     "Version": "1.0.0",
     "Order": 90

+ 1 - 1
Admin.NET/Plugins/Admin.NET.Plugin.DingTalk/Service/DingTalkService.cs

@@ -9,7 +9,7 @@ namespace Admin.NET.Plugin.DingTalk.Service;
 /// <summary>
 /// 钉钉服务 🧩
 /// </summary>
-[ApiDescriptionSettings(DingTalkConst.GroupName, Order = 100, Description = "钉钉服务")]
+[ApiDescriptionSettings(DingTalkConst.GroupName, Order = 100)]
 public class DingTalkService : IDynamicApiController, IScoped
 {
     private readonly IDingTalkApi _dingTalkApi;

+ 2 - 2
Admin.NET/Plugins/Admin.NET.Plugin.GoView/Configuration/GoView.json

@@ -1,8 +1,8 @@
 {
   "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
 
-  "[openapi:GoView 大屏可视化]": {
-    "Group": "GoView 大屏可视化",
+  "[openapi:GoView]": {
+    "Group": "GoView",
     "Title": "GoView 大屏可视化",
     "Description": "GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。",
     "Version": "2.2.8",

+ 1 - 1
Admin.NET/Plugins/Admin.NET.Plugin.GoView/Const/GoViewConst.cs

@@ -15,5 +15,5 @@ public class GoViewConst
     /// <summary>
     /// API分组名称
     /// </summary>
-    public const string GroupName = "GoView 大屏可视化";
+    public const string GroupName = "GoView";
 }

+ 1 - 1
Web/api_build/build.bat

@@ -18,7 +18,7 @@ if "%1"=="approvalFlow" (
 ) else if "%1"=="goView" (
   set moduleName=goView
   set apiServicesPath=%dir%..\src\api-plugins\goView\
-  set apiUrl=http://localhost:5005/swagger/DingTalk/swagger.json
+  set apiUrl=http://localhost:5005/swagger/GoView/swagger.json
 )
 
 if exist %apiServicesPath% (