1 | window.onload = function() {
|
2 | //<editor-fold desc="Changeable Configuration Block">
|
3 |
|
4 | // the following lines will be replaced by docker/configurator, when it runs in a docker-container
|
5 | window.ui = SwaggerUIBundle({
|
6 | url: "https://petstore.swagger.io/v2/swagger.json",
|
7 | dom_id: '#swagger-ui',
|
8 | deepLinking: true,
|
9 | presets: [
|
10 | SwaggerUIBundle.presets.apis,
|
11 | SwaggerUIStandalonePreset
|
12 | ],
|
13 | plugins: [
|
14 | SwaggerUIBundle.plugins.DownloadUrl
|
15 | ],
|
16 | layout: "StandaloneLayout"
|
17 | });
|
18 |
|
19 | //</editor-fold>
|
20 | };
|