12 lines
400 B
Python
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'),
|
|
|
|
]
|