Update swagger-initializer.js

This commit is contained in:
nirav-rafay
2022-11-17 13:57:07 +05:30
committed by GitHub
parent 312dc82abe
commit fd308dab0c
+5 -1
View File
@@ -3,7 +3,11 @@ window.onload = function() {
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "https://petstore.swagger.io/v2/swagger.json",
urls: [
{ url: "https://github.com/paralus/paralus/blob/gh-pages/apis/partner.swagger.json", name: "Partner" },
{ url: "https://github.com/paralus/paralus/blob/gh-pages/apis/organization.swagger.json", name: "Organization" }
],
"urls.primaryName": "Partner",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [