text: from django.conf.urls import url
  from django.contrib import admin
  from django.urls import path, include
  
  from drf_yasg import openapi
  from drf_yasg.views import get_schema_view
  from rest_framework import permissions
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('auth/', include('djoser.urls')),
      path('auth/', include('djoser.urls.jwt')),
      path('api/v1/', include('catalog.urls')),
  ]
  
  schema_view = get_schema_view(
      openapi.Info(
          title='Сервис терминологии',
          default_version='v1',
          description='Документация API сервиса терминологии',
          contact=openapi.Contact(email="da_semenov@mail.ru"),
          license=openapi.License(name="BSD License"),
      ),
      public=True,
      permission_classes=(permissions.AllowAny,),
  )
  
  urlpatterns += [
      url(r'^swagger(?P<format>\.json|\.yaml)$',
          schema_view.without_ui(cache_timeout=0), name='schema-json'),
      url(r'^swagger/$', schema_view.with_ui('swagger', cache_timeout=0),
          name='schema-swagger-ui'),
      url(r'^redoc/$', schema_view.with_ui('redoc', cache_timeout=0),
          name='schema-redoc'),
  ]
  