Sha256: 91a199a82ac3d1e51959c577cdb41efa33554b4d93798c8b5a7a84225108334a

Contents?: true

Size: 550 Bytes

Versions: 6

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true

require 'fileutils'
require 'forwardable'
require 'r2-oas/routing/parser'
require_relative 'builder/doc_builder'
require_relative 'builder/base_builder'

module R2OAS
  module Schema
    module V3
      class Builder < BaseBuilder
        extend Forwardable

        def_delegators :@doc_builder, :oas_doc

        def initialize(options = {})
          super
          @doc_builder = DocBuilder.new(options)
        end

        def build_docs
          @doc_builder.build_docs
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
r2-oas-0.3.4 lib/r2-oas/schema/v3/builder.rb
r2-oas-0.3.3 lib/r2-oas/schema/v3/builder.rb
r2-oas-0.3.2 lib/r2-oas/schema/v3/builder.rb
r2-oas-0.3.1 lib/r2-oas/schema/v3/builder.rb
r2-oas-0.3.0 lib/r2-oas/schema/v3/builder.rb
r2-oas-0.2.0 lib/r2-oas/schema/v3/builder.rb