Global setting for root path, possible?

instead of a list of routes like /v1/orders, /v1/users, /v1/products, etc., how can I set a root path /v1 such that all other routes will be sufficed after it?

Thanks!