  See schemas.__init__.py for package overview.
  """
  from rest_framework import exceptions, renderers
  from rest_framework.response import Response
  from rest_framework.settings import api_settings
  from rest_framework.views import APIView
  
  
  class SchemaView(APIView):
 
</s> remove from collections import Counter, OrderedDict
 </s> add  </s> remove import re
import warnings
from collections import OrderedDict
from urllib import parse
 </s> add  </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  </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
from rest_framework.schemas import coreapi
  See schemas.__init__.py for package overview.
  """
  from rest_framework import exceptions, renderers
  from rest_framework.response import Response
from rest_framework.schemas import coreapi
  from rest_framework.settings import api_settings
  from rest_framework.views import APIView
  
  
  class SchemaView(APIView):
keep keep keep add 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/views.py