          assert 'openapi' in schema
          assert 'paths' in schema
  
      def test_schema_information(self):
          """Construction of the top level dictionary."""
          patterns = [
              url(r'^example/?$', views.ExampleListView.as_view()),
 
</s> remove         paths, view_endpoints = self._get_paths_and_endpoints(request)

        # Only generate the path prefix for paths that will be included
        if not paths:
            return None

 </s> add         _, view_endpoints = self._get_paths_and_endpoints(request) </s> remove         if not paths:
            return None

 </s> add 
    def test_schema_with_no_paths(self):
        patterns = []
        generator = SchemaGenerator(patterns=patterns)

        request = create_request('/')
        schema = generator.get_schema(request=request)

        assert schema['paths'] == {}

          assert 'openapi' in schema
          assert 'paths' in schema
  
    def test_schema_with_no_paths(self):
        patterns = []
        generator = SchemaGenerator(patterns=patterns)

        request = create_request('/')
        schema = generator.get_schema(request=request)

        assert schema['paths'] == {}

      def test_schema_information(self):
          """Construction of the top level dictionary."""
          patterns = [
              url(r'^example/?$', views.ExampleListView.as_view()),
keep keep add keep keep keep keep
 Return valid OpenAPI schema even when empty. 
tests/schemas/test_openapi.py