add output for swaggerize command by inheriting thhe base text formatter

This commit is contained in:
Greg Myers 2020-03-29 20:27:36 +01:00
parent 63f01962ad
commit b000c94ea0

View File

@ -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