Skip to content

Fix inconsistent parameter name normalization for reserved keywords in spread body operations#3679

Merged
v-jiaodi merged 9 commits intoAzure:mainfrom
v-jiaodi:test-0112
Jan 23, 2026
Merged

Fix inconsistent parameter name normalization for reserved keywords in spread body operations#3679
v-jiaodi merged 9 commits intoAzure:mainfrom
v-jiaodi:test-0112

Conversation

@v-jiaodi
Copy link
Copy Markdown
Member

fixes #3678

context: Client,
apiVersion: string,
name: string,
typeParam: string,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generate typeParam
image

.post({
...operationOptionsToRequestParameters(options),
contentType: "application/json",
body: { name: name, type: typeParam },
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Comment thread packages/typespec-ts/src/modular/helpers/operationHelpers.ts
@qiaozha qiaozha assigned JialinHuang803 and unassigned MaryGao Jan 21, 2026
@v-jiaodi v-jiaodi marked this pull request as ready for review January 21, 2026 10:08
@v-jiaodi v-jiaodi merged commit cf74918 into Azure:main Jan 23, 2026
16 checks passed
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.

[migration tsp] type parameter name normalization for reserved keywords in spread body operations

3 participants