From 8c4cd149ab6b50cc659c664ab8f1b3fa4de9899c Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Thu, 3 Mar 2022 10:28:49 -0700
Subject: [PATCH] Set base layout

---
 src/lib/src/main/resources/swagger/index.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/src/main/resources/swagger/index.js b/src/lib/src/main/resources/swagger/index.js
index 5d6d45b..097ab4d 100644
--- a/src/lib/src/main/resources/swagger/index.js
+++ b/src/lib/src/main/resources/swagger/index.js
@@ -3,10 +3,11 @@ window.onload = function() {
   contextPath = contextPath.endsWith('/') ? contextPath.slice(0, -1) : contextPath;
 
   const ui = SwaggerUIBundle({
+    layout: 'BaseLayout',
     url: `./swagger`,
     dom_id: '#swagger-ui',
     tagsSorter: 'alpha',
-    presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
+    presets: [SwaggerUIBundle.presets.apis],
     plugins: [SwaggerUIBundle.plugins.DownloadUrl, updateContextPath(contextPath)],
     validatorUrl: null,
     deepLinking: true,
-- 
GitLab