Add a setUrlPattern method to NuunRestPlugin