  )
  from django.db import models
  from django.utils.encoding import force_str
  
  from rest_framework import exceptions, renderers, serializers
  from rest_framework.compat import uritemplate
  from rest_framework.fields import _UnvalidatedField, empty
  from rest_framework.settings import api_settings
  
  from .generators import BaseSchemaGenerator
 
</s> remove     def _get_path_parameters(self, path, method):
 </s> add     def get_path_parameters(self, path, method): </s> remove         for response in inspector._get_responses(path, method).values():
 </s> add         for response in inspector.get_responses(path, method).values(): </s> remove         for response in inspector._get_responses(path, method).values():
 </s> add         for response in inspector.get_responses(path, method).values(): </s> remove         responses = inspector._get_responses(path, method)
 </s> add         responses = inspector.get_responses(path, method) </s> remove         responses = inspector._get_responses(path, method)
 </s> add         responses = inspector.get_responses(path, method)
from rest_framework import (
    RemovedInDRF314Warning, exceptions, renderers, serializers
)
  )
  from django.db import models
  from django.utils.encoding import force_str
  
from rest_framework import (
    RemovedInDRF314Warning, exceptions, renderers, serializers
)
  from rest_framework.compat import uritemplate
  from rest_framework.fields import _UnvalidatedField, empty
  from rest_framework.settings import api_settings
  
  from .generators import BaseSchemaGenerator
keep keep keep keep replace keep keep keep keep keep
 Convert openapi.AutoSchema methods to public API. 
rest_framework/schemas/openapi.py