private Severity resolveMinSeverity(StandardOptions standardOptions, ValidatorOptions validatorOption) {
        if (defaultSeverity != null && validatorOption.severity() == null) {
            validatorOption.severity(defaultSeverity);
        }
        return validatorOption.detectAndGetSeverity(standardOptions);
    }
Loads, builds, and report validation issues with models.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/ModelBuilder.java