Merge branch 'master' into include-apis-preset-by-default

This commit is contained in:
shockey
2017-07-15 09:27:27 -07:00
committed by GitHub
29 changed files with 342 additions and 76 deletions

View File

@@ -30,6 +30,7 @@ const CONFIGS = [
"parameterMacro",
"displayOperationId",
"displayRequestDuration",
"deepLinking",
]
// eslint-disable-next-line no-undef
@@ -61,6 +62,7 @@ module.exports = function SwaggerUI(opts) {
custom: {},
displayOperationId: false,
displayRequestDuration: false,
deepLinking: 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.