map_path_to_methods: add code to return paths with uri patterns.