Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for parsing template strings #944

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 7, 2024

  1. feat: 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`.
    bitgopatmcl committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    982e60c View commit details
    Browse the repository at this point in the history