  Other access should target the submodules directly
  """
  from rest_framework.settings import api_settings
  
  from .generators import SchemaGenerator
  from .inspectors import AutoSchema, DefaultSchema, ManualSchema  # noqa
  
  
  def get_schema_view(
          title=None, url=None, description=None, urlconf=None, renderer_classes=None,
          public=False, patterns=None, generator_class=SchemaGenerator,
 
</s> remove         public=False, patterns=None, generator_class=SchemaGenerator,
 </s> add         public=False, patterns=None, generator_class=None, </s> remove from .utils import is_list_view

 </s> add  </s> remove from rest_framework.compat import (
    URLPattern, URLResolver, coreapi, coreschema, get_original_route
)
 </s> add from rest_framework.compat import URLPattern, URLResolver, get_original_route </s> remove from django.db import models
from django.utils.encoding import force_text, smart_text
from django.utils.translation import gettext_lazy as _

from rest_framework import exceptions, serializers
from rest_framework.compat import coreapi, coreschema, uritemplate
 </s> add 
from . import coreapi, openapi
from .inspectors import DefaultSchema  # noqa
from .coreapi import AutoSchema, ManualSchema, SchemaGenerator  # noqa
  Other access should target the submodules directly
  """
  from rest_framework.settings import api_settings
  
from . import coreapi, openapi
from .inspectors import DefaultSchema  # noqa
from .coreapi import AutoSchema, ManualSchema, SchemaGenerator  # noqa
from . import coreapi, openapi
from .inspectors import DefaultSchema  # noqa
from .coreapi import AutoSchema, ManualSchema, SchemaGenerator  # noqa
  
  
  def get_schema_view(
          title=None, url=None, description=None, urlconf=None, renderer_classes=None,
          public=False, patterns=None, generator_class=SchemaGenerator,
keep keep keep keep replace replace keep keep keep keep keep
 Added OpenAPI Schema Generation. (#6532)

Co-authored-by: Lucidiot <lucidiot@protonmail.com>
Co-authored-by: dongfangtianyu <dongfangtianyu@qq.com> 
rest_framework/schemas/__init__.py