Skip to content

Version Packages #1330

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

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

Version Packages #1330

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

swagger-typescript-api@13.2.8

Patch Changes

  • #1326 99b5f50 Thanks @thejhh! - Fix TypeScript generation failure for operationIds starting with numbers

    What: Fixed an issue where operationIds starting with numbers (e.g., "123getUser") would cause TypeScript generation to fail due to invalid identifier names.

    Why: OperationIds that start with numbers are not valid JavaScript identifiers, causing syntax errors in the generated TypeScript code.

    How: Modified the template logic to quote property names for invalid identifiers. OperationIds starting with numbers are now generated as quoted properties (e.g., "123GetUser": ...) instead of unquoted invalid identifiers.

    This resolves GitHub issue OperationId starting with integers crashes generation #952.

@github-actions github-actions bot force-pushed the changeset-release/main branch from e3fdeae to 3ab54da Compare July 14, 2025 04:23
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3ab54da to fecbedc Compare July 15, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants