initial
This commit is contained in:
8
urls.py
Normal file
8
urls.py
Normal 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'),
|
||||
]
|
||||
Reference in New Issue
Block a user