private String formatConflicts(UriPattern pattern, List<Pair<ShapeId, UriPattern>> conflicts) {
        String conflictString = conflicts.stream()
                .map(conflict -> String.format("`%s` (%s)", conflict.getLeft(), conflict.getRight()))
                .sorted()
                .collect(Collectors.joining(", "));

        return String.format(
                "Operation URI, `%s`, conflicts with other operation URIs in the same service: [%s]",
                pattern,
                conflictString);
    }
Validates that no two URIs in a service conflict with each other.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/HttpUriConflictValidator.java