Skip to content
Snippets Groups Projects

Resolves - AASHTO: Swagger UI

1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -3,7 +3,9 @@ window.onload = function() {
@@ -3,7 +3,9 @@ window.onload = function() {
contextPath = contextPath.endsWith('/') ? contextPath.slice(0, -1) : contextPath;
contextPath = contextPath.endsWith('/') ? contextPath.slice(0, -1) : contextPath;
const ui = SwaggerUIBundle({
const ui = SwaggerUIBundle({
 
defaultModelsExpandDepth: 0,
deepLinking: true,
deepLinking: true,
 
docExpansion: 'full',
dom_id: '#swagger-ui',
dom_id: '#swagger-ui',
layout: 'BaseLayout',
layout: 'BaseLayout',
plugins: [SwaggerUIBundle.plugins.DownloadUrl, updateContextPath(contextPath)],
plugins: [SwaggerUIBundle.plugins.DownloadUrl, updateContextPath(contextPath)],
Loading