DRF Built-in API documentation

Hi,
I’m using in my project From documenting your api - Django REST framework to create documentation.
My urls.py file looks like

router = routers.DefaultRouter()
router.register(r’v1/clients’, views.ClientsSgView)

router.register(r’v1/currency’, views.CurrencyView)
router.register(r’v1/base-rates/floating’, views.RefiView)
router.register(r’v1/base-rates/fixed’, views.FixView)
router.register(r’v1/upload_data’, views.OfferQtView)

urlpatterns = [
path(‘admin/’, admin.site.urls),
path(‘api/’, include(router.urls)),
path(‘api-auth’, include(‘rest_framework.urls’, namespace=‘rest_framework’)),
path(‘api-token-auth/’, jwt_views.TokenObtainPairView.as_view(), name=‘token_obtain_pair’),
path(‘api-token-auth/refresh/’, jwt_views.TokenRefreshView.as_view(), name=‘token_refresh’),
path(‘doc/’, include_docs_urls(title=“Sgelp - API v 1.0”, permission_classes=[AllowAny,], authentication_classes=[], public=False)),

]

I would like to create two separately documentation. In first would be only one service
router.register(r’v1/clients’, views.ClientsSgView)

and in the second rest urls.

is it feasible?

Can I hide urls which have {ID} e.g.:

I think the argument url_conf in include_docs_urls() allows you to specify the urls.py to use.

Example

project
└── urls.py
app1
└── urls.py
app2
└── urls.py
# project/urls.py
path("app1/", include_docs_urls(title=“API 1”, url_conf="app1.urls", ...),
path("app2/", include_docs_urls(title=“API 2”, url_conf="app2.urls", ...),