LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
@@ -170,13 +170,18 @@ app.UseIdentityServer(); app.UseAuthorization(); app.UseAbpClaimsMap(); #if DEBUG var configuration = context.ServiceProvider.GetRequiredService<IConfiguration>(); var openSwagger = configuration["OpenSwagger"].ToBoolOrNull(); if (openSwagger == true) { app.UseSwagger(); app.UseSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", "LifePayment Service API"); }); #endif } app.UseAuditing(); app.UseConfiguredEndpoints(); AsyncHelper.RunSync(async () =>