refactor(config): fix naming of system options (#9917)

This commit is contained in:
Vladimír Gorej
2024-05-07 09:24:16 +02:00
committed by GitHub
parent e998bed69f
commit 33555e9e4f

View File

@@ -54,10 +54,10 @@ function SwaggerUI(userOptions) {
userOptions,
queryOptions
)
const storeOptions = systemOptionsFactorization(mergedOptions)
const systemOptions = systemOptionsFactorization(mergedOptions)
const InlinePlugin = inlinePluginOptionsFactorization(mergedOptions)
const unboundSystem = new System(storeOptions)
const unboundSystem = new System(systemOptions)
unboundSystem.register([mergedOptions.plugins, InlinePlugin])
const system = unboundSystem.getSystem()