feat: added tpv app
This commit is contained in:
@@ -5,6 +5,8 @@ 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(
|
||||
"swagger/", SpectacularSwaggerView.as_view(url_name="schema"), name="swagger-ui"
|
||||
),
|
||||
path("redoc/", SpectacularRedocView.as_view(url_name="schema"), name="redoc"),
|
||||
]
|
||||
|
||||
@@ -3,4 +3,3 @@ from drf_spectacular.views import SpectacularAPIView
|
||||
|
||||
class APISchema(SpectacularAPIView):
|
||||
api_version = "v1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user