Skip to content
Snippets Groups Projects
Commit 4e14a1c0 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Merge branch 'swagger-ui' into 'main'

Resolves - AASHTO: Swagger UI

Closes #49

See merge request !110
parents ebdcd8c2 2ef41417
No related branches found
No related tags found
2 merge requests!111Production Release | nshmp-ws-static,!110Resolves - AASHTO: Swagger UI
Pipeline #136569 passed
...@@ -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)],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment