Duplicate operationId in OpenAPI schema #8294
-
After upgrading from 3.12.4 to 3.13.0 I noticed that some
Digging deeper, this is cause by this change: 9c97946 Looking at the implementation of However, looking at the repr of the same view on 3.12.4 and 3.13.0, they look differently: # 3.12.4
In [1]: from myapp.views import my_view
In [2]: my_view.view_class
Out[2]: myapp.views.WrappedAPIView
In [3]: my_view.view_class.__name__
Out[3]: 'my_view' # 3.13.0
In [1]: from myapp.views import my_view
In [2]: my_view.view_class
Out[2]: rest_framework.decorators.api_view.<locals>.decorator.<locals>.WrappedAPIView
In [3]: my_view.view_class.__name__
Out[3]: 'WrappedAPIView' |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Okay - I think a possibly sensible path here is:
|
Beta Was this translation helpful? Give feedback.
Okay - I think a possibly sensible path here is: