diff --git a/docs/javascripts/extra.js b/docs/javascripts/extra.js index 72613dc1..ddb36cd6 100644 --- a/docs/javascripts/extra.js +++ b/docs/javascripts/extra.js @@ -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);