Sha256: a216c280225213f04b95af5069bd41269fca84622542055d13f3daab4136add2

Contents?: true

Size: 272 Bytes

Versions: 47

Compression:

Stored size: 272 Bytes

Contents

require 'rswag/api/middleware'

module Rswag
  module Api
    class Engine < ::Rails::Engine
      isolate_namespace Rswag::Api

      initializer 'rswag-api.initialize' do |app|
        middleware.use Rswag::Api::Middleware, Rswag::Api.config
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
rswag-api-2.3.0 lib/rswag/api/engine.rb
rswag-api-2.2.0 lib/rswag/api/engine.rb
rswag-api-2.1.1 lib/rswag/api/engine.rb
rswag-api-2.1.0 lib/rswag/api/engine.rb
rswag-api-2.0.6 lib/rswag/api/engine.rb
rswagger-api-2.0.7 lib/rswag/api/engine.rb
rswagger-api-2.0.6 lib/rswag/api/engine.rb
rswag3-api-0.0.0 lib/rswag/api/engine.rb
rswag-api-2.0.5 lib/rswag/api/engine.rb
rswag-api-2.0.4 lib/rswag/api/engine.rb
rswag-api-2.0.3 lib/rswag/api/engine.rb
rswag-api-2.0.2 lib/rswag/api/engine.rb
rswag-api-2.0.1 lib/rswag/api/engine.rb
rswag-api-2.0.0 lib/rswag/api/engine.rb
rswag-api-1.6.0 lib/rswag/api/engine.rb
rswag-api-1.5.2 lib/rswag/api/engine.rb
rswag-api-1.5.1 lib/rswag/api/engine.rb
rswag-api-1.5.0 lib/rswag/api/engine.rb
rswag-api-1.4.0 lib/rswag/api/engine.rb
rswag-api-1.3.0 lib/rswag/api/engine.rb