Skip to content

Commit 9ec121d

Browse files
authored
Merge pull request #3389 from shockey/include-apis-preset-by-default
Add Api preset in constructor by default
2 parents a72fc24 + 0d2c457 commit 9ec121d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ module.exports = function SwaggerUI(opts) {
6767
// Initial set of plugins ( TODO rename this, or refactor - we don't need presets _and_ plugins. Its just there for performance.
6868
// Instead, we can compile the first plugin ( it can be a collection of plugins ), then batch the rest.
6969
presets: [
70+
ApisPreset
7071
],
7172

7273
// Plugins; ( loaded after presets )

0 commit comments

Comments
 (0)