This commit is contained in:
Holger Sielaff
2026-01-13 11:00:34 +01:00
parent 3c135866c0
commit 19a6728b5f
10 changed files with 748 additions and 0 deletions

8
urls.py Normal file
View File

@@ -0,0 +1,8 @@
from django.urls import path
from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView, SpectacularRedocView
urlpatterns = [
path('api/schema/', SpectacularAPIView.as_view(), name='schema'),
path('swagger/', SpectacularSwaggerView.as_view(url_name='schema'), name='schema-swagger-ui'),
path('redoc/', SpectacularRedocView.as_view(url_name='schema'), name='schema-redoc'),
]