private String stripNonAlphaNumericCharsIfNecessary(Context<T> context, String name) {
        String alphanumericOnly = NON_ALPHA_NUMERIC.matcher(name).replaceAll("");
        if (context.getConfig().getAlphanumericOnlyRefs() && !alphanumericOnly.equals(name)) {
            LOGGER.info(() -> String.format("Removing non-alphanumeric characters from %s to assure compatibility with"
                    + " vendors that only allow alphanumeric shape names.", name));
            return alphanumericOnly;
        }
        return name;
    }
Gets the media type of an event stream for the protocol.

<p>By default, this method returns the binary AWS event stream
media type, {@code application/vnd.amazon.eventstream}.

@param context Conversion context.
@param info Event stream info to provide the media type for.
@return Returns the media type of the event stream.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/protocols/AbstractRestProtocol.java