Files
shoppy/config/api/v1/urls.py
T
Pablo Moreno a13eb6c9d9 Initial commit
2024-03-21 23:17:58 +01:00

11 lines
411 B
Python

from django.urls import path, include
from drf_spectacular.views import SpectacularSwaggerView, SpectacularRedocView
from config.api.v1.views import APISchema
urlpatterns = [
path("schema/", APISchema.as_view(), name="schema"),
path("swagger/", SpectacularSwaggerView.as_view(url_name="schema"), name="swagger-ui"),
path("redoc/", SpectacularRedocView.as_view(url_name="schema"), name="redoc"),
]