Sha256: 763b6cd48141a083aea2c6bd156dce17cd00ea548a2f79fa18101821f8131523

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require 'rswag3/api/middleware'

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rswag3-api-0.0.2 lib/rswag3/api/engine.rb
rswag3-api-0.0.1 lib/rswag3/api/engine.rb