Skip to content

Commit 33e5775

Browse files
committed
Default OnlineValidator url; rebuild dist
1 parent db2caf6 commit 33e5775

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

dist/swagger-ui-bundle.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/components/online-validator-badge.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default class OnlineValidatorBadge extends React.Component {
77
let { validatorUrl } = getConfigs()
88
this.state = {
99
url: specSelectors.url(),
10-
validatorUrl: validatorUrl
10+
validatorUrl: validatorUrl || "https://online.swagger.io/validator"
1111
}
1212
}
1313

@@ -17,7 +17,7 @@ export default class OnlineValidatorBadge extends React.Component {
1717

1818
this.setState({
1919
url: specSelectors.url(),
20-
validatorUrl: validatorUrl
20+
validatorUrl: validatorUrl || "https://online.swagger.io/validator"
2121
})
2222
}
2323

0 commit comments

Comments
 (0)