From 11570d4a03014dd6566a175d80877577f04a37dc Mon Sep 17 00:00:00 2001 From: Patrick McLaughlin Date: Thu, 31 Oct 2024 17:10:19 -0400 Subject: [PATCH] fix: support parsing decorators --- packages/openapi-generator/src/sourceFile.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/openapi-generator/src/sourceFile.ts b/packages/openapi-generator/src/sourceFile.ts index 4c8c6ff0..fa639a44 100644 --- a/packages/openapi-generator/src/sourceFile.ts +++ b/packages/openapi-generator/src/sourceFile.ts @@ -27,6 +27,7 @@ export async function parseSource( syntax: 'typescript', target: 'esnext', comments: true, + decorators: true, }); // Set the start of the module to the end of the last span, so that we don't have any