Как мне показать несколько приложений urlpatterns в swagger-ui django

path('auth/', include('auth_api.urls')),
path('activity/', include('todo_api.urls')),
path('openapi', get_schema_view(
    title="",
    description="API for all things …",
    version="1.0.0"
), name='openapi-schema'),
    # Route TemplateView to serve Swagger UI template.
#   * Provide `extra_context` with view name of `SchemaView`.
path('', TemplateView.as_view(
    template_name='swag.html',
    extra_context={'schema_url':'openapi-schema'}
), name='swagger-ui'),

]

swagger ui показывает только url приложений auth_api, но не todo_api! Как я могу показать их тоже в ui!

Вернуться на верх