def lookup_parameter(path, schema)
      key = path[0]
      remaining = path[1..-1]
      if remaining.empty?
        return schema[key]
      else
        lookup_parameter(remaining, schema[key])
      end
    end
def lookup_parameter(path, schema)
      key = path[0]
      remaining = path[1..-1]
      if remaining.empty?
        return schema[key]
      else
        lookup_parameter(remaining, schema[key])
      end
    end
Recursively walk the object hierarchy in the schema to resolve a given
 path.  This is used to find property information related to definitions
 in link hrefs.

 @param path [Array<String>] An array of paths to walk, such as
   ['definitions', 'resource', 'definitions', 'property'].
 @param schema [Hash] The schema to walk.