Skip to content

Commit

Permalink
Enable operation deep-linking in the admin API docs (#4013)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose authored Feb 12, 2025
2 parents 906aad4 + 55325c1 commit 88e0f76
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1,619 deletions.
17 changes: 8 additions & 9 deletions docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
<div id="swagger-ui"></div>
<script src="https://unpkg.com/swagger-ui-dist@5.11.0/swagger-ui-bundle.js" crossorigin></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
url: './spec.json',
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
],
});
};
window.ui = SwaggerUIBundle({
url: './spec.json',
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
],
});
</script>
</body>
</html>
Loading

0 comments on commit 88e0f76

Please sign in to comment.