Class: OpenAPI::Loader::Translator::ConvertParameters

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/open_api/loader/translator/convert_parameters.rb

Overview

Adds ‘schema’, ‘style’ and ‘explode’ to values of ‘parameters’.

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
# File 'lib/open_api/loader/translator/convert_parameters.rb', line 8

def call
  parameters.each { |parameter| convert(parameter) }
end