@Override
    public ValidationEvent decorate(ValidationEvent event) {
        if (event.getShapeId().isPresent() && event.getShapeId().get().equals(UnitTypeTrait.UNIT)) {
            return event.toBuilder().severity(Severity.SUPPRESSED).build();
        }
        return event.toBuilder()
                .message(event.getMessage() + " " + REUSE_DOCUMENTATION_CONTEXT)
                .severity(Severity.DANGER)
                .build();
    }
Adds context to validation events describing how they impact docs.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/validation/DocValidationEventDecorator.java