  from django.utils.translation import gettext_lazy as _
  
  from rest_framework import filters, generics, pagination, routers, serializers
  from rest_framework.compat import uritemplate
  from rest_framework.request import Request
  from rest_framework.schemas.openapi import AutoSchema, SchemaGenerator
  
  from . import views
  
 
</s> remove from rest_framework import exceptions, serializers
 </s> add from rest_framework import exceptions, renderers, serializers </s> remove                     for ct in self.content_types
 </s> add                     for ct in self.response_media_types </s> remove                 for ct in self.content_types
 </s> add                 for ct in self.request_media_types
from rest_framework.parsers import JSONParser, MultiPartParser
from rest_framework.renderers import JSONRenderer
  from django.utils.translation import gettext_lazy as _
  
  from rest_framework import filters, generics, pagination, routers, serializers
  from rest_framework.compat import uritemplate
from rest_framework.parsers import JSONParser, MultiPartParser
from rest_framework.renderers import JSONRenderer
  from rest_framework.request import Request
  from rest_framework.schemas.openapi import AutoSchema, SchemaGenerator
  
  from . import views
  
keep keep keep add keep keep keep keep keep
 OpenAPI: Map renderers/parsers for request/response media-types. (#6865) 
tests/schemas/test_openapi.py