Files
LibraryApp/backend/apps/urls.py
2026-03-11 23:20:03 +01:00

12 lines
400 B
Python

from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView
from django.urls import include, path
urlpatterns = [
path("auth", include("apps.authentication.urls")),
path("shelves", include("apps.shelves.urls")),
path('schema/', SpectacularAPIView.as_view(), name='schema'),
path('swagger/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'),
]