class Swagcov::Coverage

def initialize dotfile: ::Swagcov::Dotfile.new, routes: ::Swagcov.project_routes

def initialize dotfile: ::Swagcov::Dotfile.new, routes: ::Swagcov.project_routes
  @dotfile = dotfile
  @openapi_files = ::Swagcov::OpenapiFiles.new(filepaths: @dotfile.docs_config)
  @routes = routes
  @rails_version = ::Rails::VERSION::STRING
  @data = {
    covered: [],
    ignored: [],
    uncovered: [],
    total_count: 0,
    covered_count: 0,
    ignored_count: 0,
    uncovered_count: 0
  }
end