          )
          inspector = AutoSchema()
          inspector.view = view
  
          parameters = inspector._get_path_parameters(path, method)
          assert parameters == [{
              'description': '',
              'in': 'path',
              'name': 'id',
              'required': True,
              'schema': {
                  'type': 'string',
              },
          }]
  
      def test_request_body(self):
          path = '/'
 
</s> remove         }]
 </s> add         } </s> remove             'operationId': 'listExamples',
 </s> add             'operationId': 'listDocStringExamples',
            'description': 'A description of my GET operation.', </s> remove             views.ExampleDetailView,
 </s> add             views.DocStringExampleDetailView, </s> remove             views.ExampleListView,
 </s> add             views.DocStringExampleListView,
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
          )
          inspector = AutoSchema()
          inspector.view = view
  
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
        operation = inspector.get_operation(path, method)
        assert operation == {
            'operationId': 'RetrieveDocStringExampleDetail',
            'description': 'A description of my GET operation.',
            'parameters': [{
                'description': '',
                'in': 'path',
                'name': 'id',
                'required': True,
                'schema': {
                    'type': 'string',
                },
            }],
            'responses': {
                '200': {
                    'description': '',
                    'content': {
                        'application/json': {
                            'schema': {
                            },
                        },
                    },
                },
              },
          }]
  
      def test_request_body(self):
          path = '/'
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
 OpenAPI: Ported docstring operation description from CoreAPI inspector. (#6898) 
tests/schemas/test_openapi.py