mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Merge pull request #293 from BookOfGreg/extend-output
add output for swaggerize command by inheriting thhe base text formatter
This commit is contained in:
commit
5e2663eb6a
@ -1,9 +1,10 @@
|
|||||||
require 'active_support/core_ext/hash/deep_merge'
|
require 'active_support/core_ext/hash/deep_merge'
|
||||||
|
require 'rspec/core/formatters/base_text_formatter'
|
||||||
require 'swagger_helper'
|
require 'swagger_helper'
|
||||||
|
|
||||||
module Rswag
|
module Rswag
|
||||||
module Specs
|
module Specs
|
||||||
class SwaggerFormatter
|
class SwaggerFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
|
||||||
|
|
||||||
# NOTE: rspec 2.x support
|
# NOTE: rspec 2.x support
|
||||||
if RSPEC_VERSION > 2
|
if RSPEC_VERSION > 2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user