From 2ef4141774a57f0f8e16b2029a465391ed3434dd Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Wed, 20 Apr 2022 14:02:56 -0600 Subject: [PATCH] collapse schema, open operations --- src/lib/src/main/resources/swagger/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/src/main/resources/swagger/index.js b/src/lib/src/main/resources/swagger/index.js index 8f218fd..dc24f90 100644 --- a/src/lib/src/main/resources/swagger/index.js +++ b/src/lib/src/main/resources/swagger/index.js @@ -3,7 +3,9 @@ window.onload = function() { contextPath = contextPath.endsWith('/') ? contextPath.slice(0, -1) : contextPath; const ui = SwaggerUIBundle({ + defaultModelsExpandDepth: 0, deepLinking: true, + docExpansion: 'full', dom_id: '#swagger-ui', layout: 'BaseLayout', plugins: [SwaggerUIBundle.plugins.DownloadUrl, updateContextPath(contextPath)], -- GitLab