Merge pull request #293 from BookOfGreg/extend-output

add output for swaggerize command by inheriting thhe base text formatter
This commit is contained in:
Greg Myers 2020-04-04 19:46:37 +01:00 committed by GitHub
commit 5e2663eb6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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