We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba8e992 commit d18d848Copy full SHA for d18d848
modules/swagger-generator/src/main/webapp/index.html
@@ -27,7 +27,7 @@
27
if (url && url.length > 1) {
28
url = decodeURIComponent(url[1]);
29
} else {
30
- url = "https://generator.swagger.io/api/swagger.json";
+ url = window.location.protocol + '//' + window.location.host + '/api/swagger.json';
31
}
32
window.swaggerUi = new SwaggerUi({
33
url: url,
0 commit comments