Merge branch 'master' into openapi/merge

This commit is contained in:
Greg Myers
2020-04-04 19:47:12 +01:00
committed by GitHub
9 changed files with 225 additions and 2 deletions

View File

@@ -1,11 +1,13 @@
# frozen_string_literal: true
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
::RSpec::Core::Formatters.register self, :example_group_finished, :stop