private static <T extends Trait> Set<String> getSecuritySchemeResponseHeaders(
            Context<? extends Trait> context,
            SecuritySchemeConverter<T> converter
    ) {
        T t = context.getService().expectTrait(converter.getAuthSchemeType());
        return converter.getAuthResponseHeaders(context, t);
    }
Gets an alphabetically sorted set of response headers used by every
security scheme associated with the API.

<p>This is useful when integrating with things like CORS.</p>

@return Returns the set of every response header used by every security scheme.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/Context.java