From 83dd9f3dfce66e58f74dfbce42cad02c7cb382a2 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Thu, 9 Nov 2017 10:21:08 -0600 Subject: [PATCH] showExtensions config param --- src/core/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/index.js b/src/core/index.js index 76a0d705..e5659065 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -47,6 +47,7 @@ module.exports = function SwaggerUI(opts) { showMutatedRequest: true, defaultModelRendering: "example", defaultModelExpandDepth: 1, + showExtensions: false, // 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.