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) ⇒ Object

Parameters:



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

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