Skip to content

Commit 90025a8

Browse files
committed
Tweaks
1 parent 635c6a2 commit 90025a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DefinitionGenerator.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export class DefinitionGenerator {
7676
// loop through http events
7777
for (const httpEvent of this.getHttpEvents(funcConfig.events)) {
7878
const httpEventConfig = httpEvent.http;
79+
7980
if (httpEventConfig.documentation) {
8081
const documentationConfig = httpEventConfig.documentation;
8182
// Build OpenAPI path configuration structure for each method
@@ -91,6 +92,7 @@ export class DefinitionGenerator {
9192
},
9293
},
9394
};
95+
9496
// merge path configuration into main configuration
9597
merge(this.definition.paths, pathConfig);
9698
}

0 commit comments

Comments
 (0)