From 508f9ce9547972dc4feb997f53ce332716afee88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 28 Jun 2019 20:56:48 +0200 Subject: [PATCH] :bug: Fix regression, Swagger UI with deep linking (#350) --- fastapi/openapi/docs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastapi/openapi/docs.py b/fastapi/openapi/docs.py index 0791b7cc4..f6c996b4b 100644 --- a/fastapi/openapi/docs.py +++ b/fastapi/openapi/docs.py @@ -40,7 +40,8 @@ def get_swagger_ui_html( SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset ], - layout: "BaseLayout" + layout: "BaseLayout", + deepLinking: true })