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 62be807 commit c522215Copy full SHA for c522215
src/core/index.js
@@ -95,7 +95,7 @@ module.exports = function SwaggerUI(opts) {
95
return system
96
}
97
98
- if (!system.specActions.getConfigByUrl || system.specActions.getConfigByUrl && !system.specActions.getConfigByUrl(downloadSpec)) {
+ if (!system.specActions.getConfigByUrl || (system.specActions.getConfigByUrl && !system.specActions.getConfigByUrl(downloadSpec))) {
99
return downloadSpec(constructorConfig)
100
101
0 commit comments