main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
539 bytes
|
Line | |
---|
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 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.