fix(api): pin Redoc to 2.5.1 so the docs render (#13053)

This commit is contained in:
Pedro Martín authored and GitHub committed 2026-10-15 12:01:03 +02:00
1 parent 2600d49195
commit 64ce5a7503
1 file changed
+2
+2
View File
@@ -130,6 +130,8 @@ REST_FRAMEWORK = {
SPECTACULAR_SETTINGS = {
"SERVE_INCLUDE_SCHEMA": False,
"COMPONENT_SPLIT_REQUEST": True,
# redoc@latest is 3.x, whose standalone bundle fails as a classic script
"REDOC_DIST": "https://cdn.jsdelivr.net/npm/redoc@2.5.1",
"PREPROCESSING_HOOKS": [
"drf_spectacular_jsonapi.hooks.fix_nested_path_parameters",
],