We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4578986 commit 958a498Copy full SHA for 958a498
src/kernels/HttpKernel.ts
@@ -83,10 +83,12 @@ export class HttpKernel {
83
}
84
85
if (swaggerPlugin) {
86
- const swaggerConfig = Config.get('http.swagger.configurations', {})
87
const openapiConfig = Json.omit(Config.get('openapi', {}), ['paths'])
+ const pluginConfig = Json.omit(Config.get('http.swagger.configurations', {}), ['swagger'])
88
+ const swaggerConfig = Config.get('http.swagger.configurations.swagger', {})
89
90
await Server.plugin(swaggerPlugin, {
91
+ ...pluginConfig,
92
...openapiConfig,
93
...swaggerConfig
94
})
0 commit comments