修改注释
This commit is contained in:
parent
a62b93dc51
commit
e2a18ad132
|
|
@ -4,6 +4,7 @@
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -66,15 +66,18 @@ builder.Services.AddSwaggerGen(c =>
|
||||||
if (File.Exists(xmlPath))
|
if (File.Exists(xmlPath))
|
||||||
{
|
{
|
||||||
c.IncludeXmlComments(xmlPath);
|
c.IncludeXmlComments(xmlPath);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
c.ParameterFilter<LowercaseParameterFilter>();
|
c.ParameterFilter<LowercaseParameterFilter>();
|
||||||
c.RequestBodyFilter<LowercaseRequestFilter>();
|
c.RequestBodyFilter<LowercaseRequestFilter>();
|
||||||
});
|
});
|
||||||
|
//添加多租户
|
||||||
builder.AddMultiTenantMiaoYu();
|
builder.AddMultiTenantMiaoYu();
|
||||||
|
//添加腾讯云管理
|
||||||
builder.AddTencent();
|
builder.AddTencent();
|
||||||
|
//添加验证码组件
|
||||||
builder.AddMemoryVerificationCode();
|
builder.AddMemoryVerificationCode();
|
||||||
|
//添加jwt验证
|
||||||
builder.AddJwtConfig();
|
builder.AddJwtConfig();
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user