We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 906aad4 commit 3d36b23Copy full SHA for 3d36b23
docs/api/index.html
@@ -14,6 +14,7 @@
14
window.ui = SwaggerUIBundle({
15
url: './spec.json',
16
dom_id: '#swagger-ui',
17
+ deepLinking: true,
18
presets: [
19
SwaggerUIBundle.presets.apis,
20
],
frontend/src/swagger.tsx
@@ -23,5 +23,9 @@ if (!config) {
23
}
24
25
createRoot(document.getElementById("root") as HTMLElement).render(
26
- <SwaggerUI url={config.openapiUrl} oauth2RedirectUrl={config.callbackUrl} />,
+ <SwaggerUI
27
+ url={config.openapiUrl}
28
+ deepLinking={true}
29
+ oauth2RedirectUrl={config.callbackUrl}
30
+ />,
31
);
0 commit comments