upd: InternalGateWay AddAbpSwaggerGenWithOidc

This commit is contained in:
于鹏
2025-10-27 14:47:41 +08:00
parent bbead3a651
commit 5138daebea

View File

@ -22,11 +22,7 @@ try
.UseAutofac()
.UseSerilog();
builder.Services.AddAbpSwaggerGenWithOAuth(builder.Configuration["AuthServer:Authority"]!,
new Dictionary<string, string>
{
{ "Clean", "Clean API" }
}, options =>
builder.Services.AddAbpSwaggerGenWithOidc(builder.Configuration["AuthServer:Authority"]!, setupAction: options =>
{
options.SwaggerDoc("v1", new OpenApiInfo
{