mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Use sidecar version of swagger and redoc templates
This commit is contained in:
parent
cd6d1d289f
commit
cf3ac6d270
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -96,6 +96,7 @@
|
||||||
"razdel",
|
"razdel",
|
||||||
"reagraph",
|
"reagraph",
|
||||||
"redef",
|
"redef",
|
||||||
|
"REDOC",
|
||||||
"Reindex",
|
"Reindex",
|
||||||
"rsconcept",
|
"rsconcept",
|
||||||
"rsedit",
|
"rsedit",
|
||||||
|
|
|
@ -74,6 +74,7 @@ INSTALLED_APPS = [
|
||||||
'apps.rsform',
|
'apps.rsform',
|
||||||
|
|
||||||
'drf_spectacular',
|
'drf_spectacular',
|
||||||
|
'drf_spectacular_sidecar',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -184,7 +185,10 @@ SPECTACULAR_SETTINGS = {
|
||||||
'deepLinking': True,
|
'deepLinking': True,
|
||||||
'persistAuthorization': True,
|
'persistAuthorization': True,
|
||||||
'withCredentials': True
|
'withCredentials': True
|
||||||
}
|
},
|
||||||
|
'SWAGGER_UI_DIST': 'SIDECAR',
|
||||||
|
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
||||||
|
'REDOC_DIST': 'SIDECAR'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
tzdata==2024.1
|
tzdata==2024.1
|
||||||
Django==5.0.5
|
Django==5.0.6
|
||||||
djangorestframework==3.15.1
|
djangorestframework==3.15.1
|
||||||
django-cors-headers==4.3.1
|
django-cors-headers==4.3.1
|
||||||
django-filter==24.2
|
django-filter==24.2
|
||||||
drf-spectacular==0.27.2
|
drf-spectacular==0.27.2
|
||||||
|
drf-spectacular-sidecar==2024.5.1
|
||||||
coreapi==2.3.3
|
coreapi==2.3.3
|
||||||
django-rest-passwordreset==1.4.1
|
django-rest-passwordreset==1.4.1
|
||||||
cctext==0.1.3
|
cctext==0.1.3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user