fix(dev-helpers): restore default url setting (#7965)
This commit is contained in:
@@ -4,9 +4,7 @@ window.onload = function() {
|
|||||||
window["SwaggerUIStandalonePreset"] = window["swagger-ui-standalone-preset"]
|
window["SwaggerUIStandalonePreset"] = window["swagger-ui-standalone-preset"]
|
||||||
// Build a system
|
// Build a system
|
||||||
const ui = SwaggerUIBundle({
|
const ui = SwaggerUIBundle({
|
||||||
// url: "https://petstore.swagger.io/v2/swagger.json",
|
url: "https://petstore.swagger.io/v2/swagger.json",
|
||||||
url: "./examples/swos-281-oas3.yaml",
|
|
||||||
// url: "./examples/swos-281-oas2.yaml",
|
|
||||||
dom_id: "#swagger-ui",
|
dom_id: "#swagger-ui",
|
||||||
presets: [
|
presets: [
|
||||||
SwaggerUIBundle.presets.apis,
|
SwaggerUIBundle.presets.apis,
|
||||||
|
|||||||
Reference in New Issue
Block a user