From 0dccd48474669b42f9941cafbffe6b76d0154327 Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Fri, 14 Jul 2017 15:33:49 -0700 Subject: [PATCH] Add Api preset in constructor by default --- src/core/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/index.js b/src/core/index.js index fa5db888..1b61528f 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -65,6 +65,7 @@ module.exports = function SwaggerUI(opts) { // Initial set of plugins ( TODO rename this, or refactor - we don't need presets _and_ plugins. Its just there for performance. // Instead, we can compile the first plugin ( it can be a collection of plugins ), then batch the rest. presets: [ + ApisPreset ], // Plugins; ( loaded after presets )