diff --git a/internal/pkg/app/swagger/index.html b/internal/pkg/app/swagger/index.html index 81bd5e7..b46f09c 100644 --- a/internal/pkg/app/swagger/index.html +++ b/internal/pkg/app/swagger/index.html @@ -1,19 +1,28 @@ - - + Swagger UI - - - - - - - -
- - - - + + + + + + +
+ + +
+ diff --git a/internal/pkg/app/swagger/swagger-initializer.js b/internal/pkg/app/swagger/swagger-initializer.js deleted file mode 100644 index a58f406..0000000 --- a/internal/pkg/app/swagger/swagger-initializer.js +++ /dev/null @@ -1,29 +0,0 @@ -window.onload = function () { - // - - const HideInfoUrlPartsPlugin = () => { - return { - wrapComponents: { - InfoUrl: () => () => null - } - } - } - - // the following lines will be replaced by docker/configurator, when it runs in a docker-container - window.ui = SwaggerUIBundle({ - url: "/api/openapi.json", - dom_id: '#swagger-ui', - deepLinking: true, - presets: [ - SwaggerUIBundle.presets.apis, - SwaggerUIStandalonePreset - ], - plugins: [ - SwaggerUIBundle.plugins.DownloadUrl, - HideInfoUrlPartsPlugin, - ], - layout: "StandaloneLayout" - }); - - // -};