Showing 2 of 17 total issues
Method ConfigureSwagger
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void ConfigureSwagger(this IServiceCollection services)
{
services.AddSwaggerGen(c =>
{
c.SwaggerDoc("v1", new OpenApiInfo
Method ConfigureServices
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void ConfigureServices(this IServiceCollection services, IConfiguration configuration)
{
services.AddCors();
services.ConfigureAuthentication(configuration);