src/swagger2x.py
def retrieve_path_dict(parse_tree, path):
    """
    retrieves the parameter values of an path instance
    :param parse_tree: the json parse tree of the swagger document
    :param path: path value of the dict to find
    :return:
    """
    keys = path.split("/")
    my_tree = parse_tree
    for key in keys:
        ret_my_tree = get_dict_by_path_name(my_tree, key)
        my_tree = ret_my_tree

    return my_tree

    retrieves the parameter values of an path instance
    :param parse_tree: the json parse tree of the swagger document
    :param path: path value of the dict to find
    :return:
    
retrieves the parameter values of an path instance
retrieves the parameter values of an path instance
def retrieve_path_dict(parse_tree, path):
    keys = path.split("/")
    my_tree = parse_tree
    for key in keys:
        ret_my_tree = get_dict_by_path_name(my_tree, key)
        my_tree = ret_my_tree
    return my_tree
def retrieve_path_dict ( parse_tree , path ) : keys = path . split ( "/" ) my_tree = parse_tree for key in keys : ret_my_tree = get_dict_by_path_name ( my_tree , key ) my_tree = ret_my_tree return my_tree
retrieves the parameter values of an path instance
retrieves the parameter values of an path instance
"""
    retrieves the parameter values of an path instance
    :param parse_tree: the json parse tree of the swagger document
    :param path: path value of the dict to find
    :return:
    """
None
parse_tree
the json parse tree of the swagger document
the json parse tree of the swagger document
path
path value of the dict to find
path value of the dict to find