Browse Source

🐛 Fix regression, Swagger UI with deep linking (#350)

pull/351/head
Sebastián Ramírez 6 years ago
committed by GitHub
parent
commit
508f9ce954
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      fastapi/openapi/docs.py

3
fastapi/openapi/docs.py

@ -40,7 +40,8 @@ def get_swagger_ui_html(
SwaggerUIBundle.presets.apis,
SwaggerUIBundle.SwaggerUIStandalonePreset
],
layout: "BaseLayout"
layout: "BaseLayout",
deepLinking: true
})
</script>
</body>

Loading…
Cancel
Save