This commit is contained in:
ChenYi 2025-06-19 17:35:29 +08:00
commit 8e98c62cfc
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<!-- 定义项目加载属性 -->
<PropertyGroup>
<!--JiShe.ServicePro版本-->
<ServiceProVersion>1.0.5.37</ServiceProVersion>
<ServiceProVersion>1.0.5.39</ServiceProVersion>
<!--Volo Abp 版本-->
<VoloAbpVersion>9.1.1</VoloAbpVersion>

View File

@ -174,7 +174,7 @@ public partial class IoTHttpApiHostModule
return description.GroupName == docName;
});
//options.EnableAnnotations(); // 启用注解
options.EnableAnnotations(enableAnnotationsForInheritance: true, enableAnnotationsForPolymorphism: true); // 启用注解
options.DocumentFilter<HiddenAbpDefaultApiFilter>();
options.SchemaFilter<EnumSchemaFilter>();
// 加载所有xml注释这里会导致swagger加载有点缓慢