def get_resource_uri(raml_resource):
    """ Get cleaned resource URI of RAML resource.

    :param raml_resource: Instance of ramlfications.raml.ResourceNode.
    """
    return raml_resource.path.split('/')[-1].strip()
