Skip to content

Commit 0dccd48

Browse files
committed
Add Api preset in constructor by default
1 parent 08e84a0 commit 0dccd48

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
@@ -65,6 +65,7 @@ module.exports = function SwaggerUI(opts) {
6565
// Initial set of plugins ( TODO rename this, or refactor - we don't need presets _and_ plugins. Its just there for performance.
6666
// Instead, we can compile the first plugin ( it can be a collection of plugins ), then batch the rest.
6767
presets: [
68+
ApisPreset
6869
],
6970

7071
// Plugins; ( loaded after presets )

0 commit comments

Comments
 (0)