@staticmethod
def get_callback_pattern(expected_params, actual_params):
    """
        Assembles a dictionary whith the parameters schema defined for this route
        :param expected_params dict parameters schema defined for this route
        :param actual_params dict actual url parameters
        :rtype: dict
        """
    pattern = dict()
    key = 0
    for exp_param in expected_params:
        if exp_param[0] == '{' and exp_param[-1:] == '}':
            pattern[exp_param[1:-1]] = actual_params[key]
        key = key + 1
    return pattern
