      filter_backends = [filters.OrderingFilter]
      serializer_class = ExampleSerializer
  
  
  router = DefaultRouter(schema_title='Example API' if coreapi else None)
  router.register('example', ExampleViewSet, base_name='example')
  urlpatterns = [
      url(r'^', include(router.urls))
  ]
  urlpatterns2 = [
 
</s>
class ExampleView(APIView):
    permission_classes = [permissions.IsAuthenticatedOrReadOnly]

    def get(self, request, *args, **kwargs):
        return Response()

    def post(self, request, *args, **kwargs):
        return Response()


      filter_backends = [filters.OrderingFilter]
      serializer_class = ExampleSerializer
  
  
class ExampleView(APIView):
    permission_classes = [permissions.IsAuthenticatedOrReadOnly]

    def get(self, request, *args, **kwargs):
        return Response()

    def post(self, request, *args, **kwargs):
        return Response()


  router = DefaultRouter(schema_title='Example API' if coreapi else None)
  router.register('example', ExampleViewSet, base_name='example')
  urlpatterns = [
      url(r'^', include(router.urls))
  ]
  urlpatterns2 = [
keep keep keep add keep keep keep keep keep keep
 Fix schema generation for APIView, since it does not have get_serializer_class method. (#4285)
tests/test_schemas.py