upd: InternalGateWay AddAbpSwaggerGenWithOidc
This commit is contained in:
@ -22,11 +22,7 @@ try
|
|||||||
.UseAutofac()
|
.UseAutofac()
|
||||||
.UseSerilog();
|
.UseSerilog();
|
||||||
|
|
||||||
builder.Services.AddAbpSwaggerGenWithOAuth(builder.Configuration["AuthServer:Authority"]!,
|
builder.Services.AddAbpSwaggerGenWithOidc(builder.Configuration["AuthServer:Authority"]!, setupAction: options =>
|
||||||
new Dictionary<string, string>
|
|
||||||
{
|
|
||||||
{ "Clean", "Clean API" }
|
|
||||||
}, options =>
|
|
||||||
{
|
{
|
||||||
options.SwaggerDoc("v1", new OpenApiInfo
|
options.SwaggerDoc("v1", new OpenApiInfo
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user