diff --git a/src/lib/src/main/resources/swagger/index.js b/src/lib/src/main/resources/swagger/index.js
index 8f218fd1975207d0b0052131d83407441e70bf4b..dc24f90f0d66b86603481f9c2089d1f2346ec46a 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)],