              raise exceptions.PermissionDenied()
          return Response(schema)
  
  
  def get_schema_view(title=None, url=None, description=None, urlconf=None, renderer_classes=None, public=False):
      """
      Return a schema view.
      """
      generator = SchemaGenerator(title=title, url=url, description=description, urlconf=urlconf)
      return SchemaView.as_view(
 
</s> remove         public=public
 </s> add         public=public,
        generator_class=generator_class, </s> remove     generator = SchemaGenerator(title=title, url=url, description=description, urlconf=urlconf)
 </s> add     generator = generator_class(title=title, url=url, description=description, urlconf=urlconf) </s> remove         public=public
 </s> add         public=public,
        generator_class=generator_class,
def get_schema_view(
    title=None,
    url=None,
    description=None,
    urlconf=None,
    renderer_classes=None,
    public=False,
    generator_class=SchemaGenerator,
):
              raise exceptions.PermissionDenied()
          return Response(schema)
  
  
def get_schema_view(
    title=None,
    url=None,
    description=None,
    urlconf=None,
    renderer_classes=None,
    public=False,
    generator_class=SchemaGenerator,
):
      """
      Return a schema view.
      """
      generator = SchemaGenerator(title=title, url=url, description=description, urlconf=urlconf)
      return SchemaView.as_view(
keep keep keep keep replace keep keep keep keep keep
 Allow customizing the SchemaGenerator class for docs 
rest_framework/schemas.py