mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +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",
|
||||
"reagraph",
|
||||
"redef",
|
||||
"REDOC",
|
||||
"Reindex",
|
||||
"rsconcept",
|
||||
"rsedit",
|
||||
|
|
|
@ -74,6 +74,7 @@ INSTALLED_APPS = [
|
|||
'apps.rsform',
|
||||
|
||||
'drf_spectacular',
|
||||
'drf_spectacular_sidecar',
|
||||
]
|
||||
|
||||
|
||||
|
@ -184,7 +185,10 @@ SPECTACULAR_SETTINGS = {
|
|||
'deepLinking': True,
|
||||
'persistAuthorization': True,
|
||||
'withCredentials': True
|
||||
}
|
||||
},
|
||||
'SWAGGER_UI_DIST': 'SIDECAR',
|
||||
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
||||
'REDOC_DIST': 'SIDECAR'
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
tzdata==2024.1
|
||||
Django==5.0.5
|
||||
Django==5.0.6
|
||||
djangorestframework==3.15.1
|
||||
django-cors-headers==4.3.1
|
||||
django-filter==24.2
|
||||
drf-spectacular==0.27.2
|
||||
drf-spectacular-sidecar==2024.5.1
|
||||
coreapi==2.3.3
|
||||
django-rest-passwordreset==1.4.1
|
||||
cctext==0.1.3
|
||||
|
|
Loading…
Reference in New Issue
Block a user