Skip to content

Commit

Permalink
Update extra.js
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Nov 20, 2023
1 parent b38eaf6 commit 803f0f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/javascripts/extra.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// fully expand the open api schema
(() => {
const i = setInterval(() => {
[...document.querySelectorAll('[aria-expanded="false"]')].map((el) =>
[...document.querySelectorAll('.swagger-ui [aria-expanded="false"]')].map((el) =>
el.click()
).length || clearInterval(i);
}, 1000);
Expand Down

0 comments on commit 803f0f4

Please sign in to comment.