lib/r2-oas/schema/v3/generator.rb in r2-oas-0.1.3 vs lib/r2-oas/schema/v3/generator.rb in r2-oas-0.2.0
- old
+ new
@@ -10,18 +10,14 @@
module Schema
module V3
class Generator < BaseGenerator
extend Forwardable
- def_delegators :@doc_generator, :oas_doc
+ def_delegators :@doc_generator, :generate_docs
def initialize(options = {})
super
@doc_generator = DocGenerator.new(options)
- end
-
- def generate_docs
- @doc_generator.generate_docs
end
end
end
end
end