Add filter to layout state

This commit is contained in:
Kyle Shockey
2017-07-11 21:33:14 -07:00
parent 7cfc7cb4fc
commit cf12091d93
4 changed files with 15 additions and 1 deletions

View File

@@ -61,7 +61,8 @@ module.exports = function SwaggerUI(opts) {
plugins: constructorConfig.presets,
state: {
layout: {
layout: constructorConfig.layout
layout: constructorConfig.layout,
filter: constructorConfig.filter
},
spec: {
spec: "",