Skip to content

Commit 11570d4

Browse files
committed
fix: support parsing decorators
1 parent 5ed6340 commit 11570d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/openapi-generator/src/sourceFile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export async function parseSource(
2727
syntax: 'typescript',
2828
target: 'esnext',
2929
comments: true,
30+
decorators: true,
3031
});
3132

3233
// Set the start of the module to the end of the last span, so that we don't have any

0 commit comments

Comments
 (0)