mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-07 19:16:43 +00:00
✨ Add deeplinking to Swagger UI (#148)
Update the Swagger UI docs to deep link to path operations to share them more easily.
This commit is contained in:
parent
5cf7718657
commit
500f2b2ad4
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ def get_swagger_ui_html(*, openapi_url: str, title: str) -> HTMLResponse:
|
|||
SwaggerUIBundle.presets.apis,
|
||||
SwaggerUIBundle.SwaggerUIStandalonePreset
|
||||
],
|
||||
layout: "BaseLayout"
|
||||
layout: "BaseLayout",
|
||||
deepLinking: true
|
||||
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue