vanderlan/Orion-Api

View on GitHub

Showing 2 of 17 total issues

Method ConfigureSwagger has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static void ConfigureSwagger(this IServiceCollection services)
    {
        services.AddSwaggerGen(c =>
        {
            c.SwaggerDoc("v1", new OpenApiInfo
Severity: Minor
Found in src/Company.Orion.Api/Configuration/SwaggerConfiguration.cs - About 1 hr to fix

    Method ConfigureServices has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static void ConfigureServices(this IServiceCollection services, IConfiguration configuration)
        {
            services.AddCors();
    
            services.ConfigureAuthentication(configuration);
    Severity: Minor
    Found in src/Company.Orion.Api/Bootstrapper.cs - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language