| 1 |
<!-- HTML for static distribution bundle build --> |
| 2 |
<!DOCTYPE html> |
| 3 |
<html lang="en"> |
| 4 |
<head> |
| 5 |
<meta charset="UTF-8"> |
| 6 |
<title>Swagger UI</title> |
| 7 |
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" /> |
| 8 |
<link rel="stylesheet" type="text/css" href="index.css" /> |
| 9 |
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> |
| 10 |
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> |
| 11 |
</head> |
| 12 |
|
| 13 |
<body> |
| 14 |
<div id="swagger-ui"></div> |
| 15 |
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script> |
| 16 |
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script> |
| 17 |
<script> |
| 18 |
window.onload = function() { |
| 19 |
//<editor-fold desc="Changeable Configuration Block"> |
| 20 |
|
| 21 |
// the following lines will be replaced by docker/configurator, when it runs in a docker-container |
| 22 |
window.ui = SwaggerUIBundle({ |
| 23 |
url: "https://petstore.swagger.io/v2/swagger.json", |
| 24 |
validatorUrl: null, // disable validation |
| 25 |
// https://github.com/rstudio/swagger/pull/19 |
| 26 |
syntaxHighlight: { |
| 27 |
activated: false, |
| 28 |
theme: "agate" |
| 29 |
}, |
| 30 |
dom_id: '#swagger-ui', |
| 31 |
deepLinking: true, |
| 32 |
presets: [ |
| 33 |
SwaggerUIBundle.presets.apis, |
| 34 |
SwaggerUIStandalonePreset |
| 35 |
], |
| 36 |
plugins: [ |
| 37 |
SwaggerUIBundle.plugins.DownloadUrl |
| 38 |
], |
| 39 |
layout: "StandaloneLayout" |
| 40 |
}); |
| 41 |
|
| 42 |
//</editor-fold> |
| 43 |
}; |
| 44 |
</script> |
| 45 |
</body> |
| 46 |
</html> |