def METHOD_NAME(self, response_serializers):
    # parent class doesn't support the `use_ref` singleton - we convert them to
    # ResponseRef instances
    for status_code, serializer in response_serializers.items():
        if serializer is use_ref:
            response_serializers[status_code] = ResponseRef(
                self.components, str(status_code)
            )
    responses = super().METHOD_NAME(response_serializers)
    if not hasattr(self.view, "deprecation_message"):
        return responses
    for status_code, response in responses.items():
        if not isinstance(response, ResponseRef):
            response.setdefault("headers", OrderedDict())
            response["headers"][WARNING_HEADER] = warning_header
    return responses