diff --git a/rswag-specs/lib/rswag/specs/swagger_formatter.rb b/rswag-specs/lib/rswag/specs/swagger_formatter.rb index 0447034..568f7e2 100644 --- a/rswag-specs/lib/rswag/specs/swagger_formatter.rb +++ b/rswag-specs/lib/rswag/specs/swagger_formatter.rb @@ -1,9 +1,10 @@ require 'active_support/core_ext/hash/deep_merge' +require 'rspec/core/formatters/base_text_formatter' require 'swagger_helper' module Rswag module Specs - class SwaggerFormatter + class SwaggerFormatter < ::RSpec::Core::Formatters::BaseTextFormatter # NOTE: rspec 2.x support if RSPEC_VERSION > 2