Add swagger API documentation (#2035)

This commit is contained in:
Pavlo Tkach 2023-05-24 16:10:50 -04:00 committed by GitHub
parent b13a67121b
commit 6b5d7f5b21
14 changed files with 1240 additions and 2 deletions

View file

@ -0,0 +1,20 @@
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: "./console-api-swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});
//</editor-fold>
};