          generator._initialise_endpoints()
  
          paths = generator.get_paths()
  
          assert '/example/' in paths
          assert '/example/{id}/' in paths
  
      def test_schema_construction(self):
          """Construction of the top level dictionary."""
          patterns = [
              url(r'^example/?$', views.ExampleListView.as_view()),
 
</s> remove         """Construction of the `paths` key with a common prefix."""
 </s> add         """Construction of the `paths` key maintains a common prefix.""" </s> remove             url(r'^api/v1/example/?$', views.ExampleListView.as_view()),
            url(r'^api/v1/example/{pk}/?$', views.ExampleDetailView.as_view()),
 </s> add             url(r'^v1/example/?$', views.ExampleListView.as_view()),
            url(r'^v1/example/{pk}/?$', views.ExampleDetailView.as_view()),
        assert '/v1/example/' in paths
        assert '/v1/example/{id}/' in paths
          generator._initialise_endpoints()
  
          paths = generator.get_paths()
  
        assert '/v1/example/' in paths
        assert '/v1/example/{id}/' in paths
        assert '/v1/example/' in paths
        assert '/v1/example/{id}/' in paths
  
      def test_schema_construction(self):
          """Construction of the top level dictionary."""
          patterns = [
              url(r'^example/?$', views.ExampleListView.as_view()),
keep keep keep keep replace replace keep keep keep keep keep
 Correct OpenAPI test for common prefixes. 
tests/schemas/test_openapi.py