def unpack_multiple_parameters(parameters)
      parameters.map do |info|
        parameter = info['$ref']
        path = parameter.split('/')[1..-1]
        info = lookup_parameter(path, @schema)
        resource_name = path.size > 2 ? path[1].gsub('-', '_') : nil
        name = path[-1]
        Parameter.new(resource_name, name, info['description'])
      end
    end
def unpack_multiple_parameters(parameters)
      parameters.map do |info|
        parameter = info['$ref']
        path = parameter.split('/')[1..-1]
        info = lookup_parameter(path, @schema)
        resource_name = path.size > 2 ? path[1].gsub('-', '_') : nil
        name = path[-1]
        Parameter.new(resource_name, name, info['description'])
      end
    end
Unpack an 'anyOf' or 'oneOf' multi-parameter blob.

 @param parameters [Array<Hash>] An array of hashes containing '$ref'
   keys and definition values.
 @return [Array<Parameter>] An array of parameters extracted from the
   blob.