(
configWebhooks?: OpenAPIObject['webhooks'],
scannedWebhooks?: OpenAPIObject['webhooks']
)
| 30 | private static readonly metadataLoader = new MetadataLoader(); |
| 31 | |
| 32 | private static mergeWebhooks( |
| 33 | configWebhooks?: OpenAPIObject['webhooks'], |
| 34 | scannedWebhooks?: OpenAPIObject['webhooks'] |
| 35 | ): OpenAPIObject['webhooks'] | undefined { |
| 36 | if (!configWebhooks && !scannedWebhooks) { |
| 37 | return undefined; |
| 38 | } |
| 39 | return assignTwoLevelsDeep({}, configWebhooks || {}, scannedWebhooks || {}); |
| 40 | } |
| 41 | |
| 42 | public static createDocument( |
| 43 | app: INestApplication, |
no test coverage detected