Skip to content

Commit

Permalink
fix(dev-helpers): restore default url setting (#7965)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-lai committed Mar 31, 2022
1 parent 46c87bc commit 496d53e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev-helpers/dev-helper-initializer.js
Expand Up @@ -4,9 +4,7 @@ window.onload = function() {
window["SwaggerUIStandalonePreset"] = window["swagger-ui-standalone-preset"]
// Build a system
const ui = SwaggerUIBundle({
// url: "https://petstore.swagger.io/v2/swagger.json",
url: "./examples/swos-281-oas3.yaml",
// url: "./examples/swos-281-oas2.yaml",
url: "https://petstore.swagger.io/v2/swagger.json",
dom_id: "#swagger-ui",
presets: [
SwaggerUIBundle.presets.apis,
Expand Down

0 comments on commit 496d53e

Please sign in to comment.