From 5138daebea8a3cfc7a98e7c20d3eb5cae534d6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E9=B9=8F?= <1069269649@qq.com> Date: Mon, 27 Oct 2025 14:47:41 +0800 Subject: [PATCH] upd: InternalGateWay AddAbpSwaggerGenWithOidc --- gateways/KonSoft.InternalGateway/Program.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gateways/KonSoft.InternalGateway/Program.cs b/gateways/KonSoft.InternalGateway/Program.cs index 4e8499b..c929e00 100644 --- a/gateways/KonSoft.InternalGateway/Program.cs +++ b/gateways/KonSoft.InternalGateway/Program.cs @@ -22,11 +22,7 @@ try .UseAutofac() .UseSerilog(); - builder.Services.AddAbpSwaggerGenWithOAuth(builder.Configuration["AuthServer:Authority"]!, - new Dictionary - { - { "Clean", "Clean API" } - }, options => + builder.Services.AddAbpSwaggerGenWithOidc(builder.Configuration["AuthServer:Authority"]!, setupAction: options => { options.SwaggerDoc("v1", new OpenApiInfo {