mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-11 13:06:43 +00:00
🐛 Fix regression, Swagger UI with deep linking (#350)
This commit is contained in:
parent
afbdf2546f
commit
508f9ce954
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ def get_swagger_ui_html(
|
||||||
SwaggerUIBundle.presets.apis,
|
SwaggerUIBundle.presets.apis,
|
||||||
SwaggerUIBundle.SwaggerUIStandalonePreset
|
SwaggerUIBundle.SwaggerUIStandalonePreset
|
||||||
],
|
],
|
||||||
layout: "BaseLayout"
|
layout: "BaseLayout",
|
||||||
|
deepLinking: true
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue