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

[tcgc] getWireName should honor content type #1729

Open
tadelesh opened this issue Oct 23, 2024 · 0 comments
Open

[tcgc] getWireName should honor content type #1729

tadelesh opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@tadelesh
Copy link
Member

xml support in typespec have @encodedName to rename the xml tags name, however current tcgc does not honor content type when getWireName, but hard code to application/json. we need to fix that first. but an operation may have multiple content types, thus will have different wire name for different content type, since tcgc currently does not support multiple content type, we may do that when we add multi-content type support.

@tadelesh tadelesh added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Oct 23, 2024
@tadelesh tadelesh assigned tadelesh and unassigned tadelesh Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

No branches or pull requests

1 participant