-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for parsing template strings
Adds support for parsing basic template strings in `packages/openapi-generator`. * **Add template string parsing function** - Add `parseTemplateLiteral` function to handle template strings in `packages/openapi-generator/src/codec.ts`. - Update `parsePlainInitializer` to call `parseTemplateLiteral` when encountering a template literal. * **Add tests for template string parsing** - Add test cases for basic and compound template literals in `packages/openapi-generator/test/codec.test.ts`.
- Loading branch information
1 parent
dd2c671
commit 0f89046
Showing
2 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters