Sha256: 95979ea2024524c7d2ae1d0c8a88187cdfc74f5bb76c7114eebd606dbfc77d90

Contents?: true

Size: 504 Bytes

Versions: 9

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require 'fileutils'
require 'forwardable'
require 'r2-oas/routing/parser'
require_relative 'generator/doc_generator'
require_relative 'generator/base_generator'

module R2OAS
  module Schema
    module V3
      class Generator < BaseGenerator
        extend Forwardable

        def_delegators :@doc_generator, :generate_docs

        def initialize(options = {})
          super
          @doc_generator = DocGenerator.new(options)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
r2-oas-0.5.0 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.4.1 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.4.0 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.3.4 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.3.3 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.3.2 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.3.1 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.3.0 lib/r2-oas/schema/v3/generator.rb
r2-oas-0.2.0 lib/r2-oas/schema/v3/generator.rb