Skip to content

[docs-sync] Update documentation for recent code changes - #11

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
docs-sync/update-2026-08-11-v2-df038e3f7f226dcb
Draft

[docs-sync] Update documentation for recent code changes#11
github-actions[bot] wants to merge 1 commit into
mainfrom
docs-sync/update-2026-08-11-v2-df038e3f7f226dcb

Conversation

@github-actions

Copy link
Copy Markdown

Summary

This PR updates documentation to reflect code changes merged in the past 7 days.

Changes made

website/src/content/docs/docs/howtos/Generate client libraries/09renaming.mdx

Added a new subsection "JavaScript reserved-word operations" documenting the behavior introduced in Azure/typespec-azure#5154:

  • The @azure-tools/typespec-ts emitter now automatically renames operations with JavaScript reserved-word names (e.g. delete, in) that belong to an operation group, by appending the singularized group name (e.g. Conversations.deletedeleteConversation).
  • Documents the @clientName("delete", "javascript") escape hatch for preserving the original name in already-shipped SDKs.
  • Documents the fallback behavior for reserved-word operations that do not belong to any operation group.

Reviewed but already up-to-date

Generated by Documentation Sync · 143 AIC · ⌖ 8.38 AIC · ⊞ 5.5K ·

The @azure-tools/typespec-ts emitter now automatically renames operations
that use JavaScript reserved words (e.g. 'delete') when they belong to
an operation group, by suffixing the singularized group name.

Document this behavior in the 'Generate client libraries' renaming
how-to guide, including the @clientName escape hatch for preserving
the original name in already-shipped SDKs.

Relates to: Azure#5154

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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