public static Path withoutValidation(URI uri) {
        return new Path(uri, __ -> { });
    }
Create a new Path for matching the given URI against patterns, without any segment validation.
container-core/src/main/java/com/yahoo/restapi/Path.java