public List<ValidationEvent> validateRuleSet(ServiceShape serviceShape, EndpointRuleSet ruleSet) {
        List<ValidationEvent> events = new ArrayList<>();
        for (Parameter parameter : ruleSet.getParameters()) {
            if (!parameter.getDocumentation().isPresent()) {
                events.add(warning(serviceShape,
                        parameter,
                        String.format("Parameter `%s` does not have documentation", parameter.getName())));
            }
        }
        return events;
    }
Validator to ensure that all parameters have documentation.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/validators/RuleSetParamMissingDocsValidator.java