upd: InternalGateWay AddAbpSwaggerGenWithOidc
This commit is contained in:
@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user