Sha256: 1b2de87c02e23fa095076c9ad82c67e791c99da19f5bcce266d8f8db21b55040
Contents?: true
Size: 499 Bytes
Versions: 12
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true require 'forwardable' require 'r2-oas/schema/v3/squeezer' module R2OAS module Schema class Squeezer extend Forwardable def_delegators :@squeezer, :squeeze_docs def initialize(schema_data, options = {}) case ::R2OAS.version when :v3 @squeezer = V3::Squeezer.new(schema_data, options) else raise NoImplementError, "Do not support version: #{::R2OAS.version}" end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems