  import re
  import warnings
  from collections import Counter, OrderedDict
  from urllib import parse
  
  from django.db import models
 
</s> remove from django.utils.encoding import force_str, smart_text
 </s> add from django.utils.encoding import force_str </s> remove         }]
 </s> add         } </s> remove         parameters = inspector._get_path_parameters(path, method)
        assert parameters == [{
            'description': '',
            'in': 'path',
            'name': 'id',
            'required': True,
            'schema': {
                'type': 'string',
 </s> add         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': {
                            },
                        },
                    },
                },

  import warnings
  from collections import Counter, OrderedDict
  from urllib import parse
  
  from django.db import models
replace keep keep keep keep keep
 OpenAPI: Ported docstring operation description from CoreAPI inspector. (#6898) 
rest_framework/schemas/coreapi.py