I have a Django project with various REST APIs. The permission to access those APIs are defined throught rest_framework
permission classes and django.contrib.auth.models
Permission model.
The documentation of those apis is automatically generated using drf_yasg
library, i need to find a way to inlcude in the schema generated from drf-yasg
the needed permission to access every api without the need to write id down manually. Anyone can give me an hint?