How do I change the name of the request that appears automatically in redoc-ui
when using drf-yasg
.
For example: In the image, you can see that that the request is named fid_data-entities_update
, it is picking this up from the URL.
How do I override/rename it?
You can use the
@swagger_auto_schema(...)
decorator to override theoperationId
spec as usingoperation_id
parameter