public Model removeInvalidDefaults(Model model) {
        return new RemoveInvalidDefaults().transform(this, model);

    }
Remove default traits if the default conflicts with the range trait of the shape.

@param model Model to transform.
@return Returns the transformed model.
smithy-model/src/main/java/software/amazon/smithy/model/transform/ModelTransformer.java