private List<ValidationEvent> validateService(Model model, ServiceShape service) {
        List<OperationShape> operations = new ArrayList<>();
        for (OperationShape operation : TopDownIndex.of(model).getContainedOperations(service)) {
            if (operation.hasTrait(HttpTrait.ID)) {
                operations.add(operation);
            }
        }

        List<ValidationEvent> events = new ArrayList<>();
        for (OperationShape operation : operations) {
            events.addAll(checkConflicts(model, operation, operation.expectTrait(HttpTrait.class), operations));
        }

        return events;
    }
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