⬆️ Update ReDoc to version 2.x (#9700)

Co-authored-by: svlandeg <svlandeg@github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Joakim Nordling
2025-04-28 21:31:44 +03:00
committed by GitHub
parent 4199172977
commit 8fa56b46a1
8 changed files with 16 additions and 40 deletions

View File

@@ -29,7 +29,7 @@ async def redoc_html():
return get_redoc_html(
openapi_url=app.openapi_url,
title=app.title + " - ReDoc",
redoc_js_url="https://unpkg.com/redoc@next/bundles/redoc.standalone.js",
redoc_js_url="https://unpkg.com/redoc@2/bundles/redoc.standalone.js",
)