Sha256: c95183d8f65c0337933f9b97c2d51b04a1001e9a3a5037f371eb8d6cbe9b57ea

Contents?: true

Size: 225 Bytes

Versions: 35

Compression:

Stored size: 225 Bytes

Contents

class OpenAPIParser::ReferenceExpander
  class << self
    # @param [OpenAPIParser::Schemas::OpenAPI] openapi
    def expand(openapi)
      openapi.expand_reference(openapi)
      openapi.purge_object_cache
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
openapi_parser-0.2.7 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.6 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.5 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.4 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.3 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.2 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.1 lib/openapi_parser/reference_expander.rb
openapi_parser-0.2.0 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.9 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.8 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.7 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.6 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.5 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.4 lib/openapi_parser/reference_expander.rb
openapi_parser-0.1.3 lib/openapi_parser/reference_expander.rb