From 803f0f42695a9b9373289f9c55ff7c047c2f45a2 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Mon, 20 Nov 2023 15:36:25 -0500 Subject: [PATCH] Update extra.js --- docs/javascripts/extra.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);