Class: OpenAPIParser::ReferenceExpander

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi_parser/reference_expander.rb

Class Method Summary collapse

Class Method Details

.expand(openapi, validate_references) ⇒ Object

Parameters:



4
5
6
7
# File 'lib/openapi_parser/reference_expander.rb', line 4

def expand(openapi, validate_references)
  openapi.expand_reference(openapi, validate_references)
  openapi.purge_object_cache
end