Fix swagger

This commit is contained in:
2023-05-27 17:51:56 +02:00
parent fd72b512f8
commit 7d9a58ae54
11 changed files with 60 additions and 39 deletions

View File

@@ -0,0 +1,21 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: './swagger.json',
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout",
defaultModelsExpandDepth: 0,
});
//</editor-fold>
};