To hide the endpoint in the Django documentation just @schema(None) has to be added for example to GenericAPIView, however I have a problem with these two urls:
url(r'^rest-auth/', include('rest_auth.urls')),
url(r'^rest-auth/registration/', include('rest_auth.registration.urls')),
I am not able to add @schema(None) decorator because I do not have declared views for these urls. Any ideas how to work it around?