public JakartaValidationModule forValidationGroups(Class<?>... validationGroups) {
        if (validationGroups == null) {
            this.validationGroups = null;
        } else {
            this.validationGroups = new HashSet<>(Arrays.asList(validationGroups));
        }
        return this;
    }
Add validation groups to be considered.
<ul>
<li>Never calling this method will result in all annotations to be picked-up.</li>
<li>Calling this without parameters will only consider those annotations where no groups are defined.</li>
<li>Calling this with not-null parameters will only consider those annotations without defined groups or where at least one matches.</li>
</ul>

@param validationGroups validation groups to consider
@return this module instance (for chaining)
jsonschema-module-jakarta-validation/src/main/java/com/github/victools/jsonschema/module/jakarta/validation/JakartaValidationModule.java