static Version fromString(String value) {
        switch (value) {
            case "1.0":
            case "1":
                return VERSION_1_0;
            case "2":
            case "2.0":
                return VERSION_2_0;
            default:
                return null;
        }
    }
Creates a Version from a string, or returns null if the version
cannot be found.

@param value Value to convert to a Version enum.
@return Returns the resolved enum value or null if not found.
smithy-model/src/main/java/software/amazon/smithy/model/loader/Version.java