[Bug][TCGC] TCGC shall not ignore content-type
in output property headers
#1112
Labels
lib:tcgc
Issues for @azure-tools/typespec-client-generator-core library
For the following Typespec:
https://github.com/Azure/azure-rest-api-specs/blob/87a08b955c257c773a3bd42553c718d4b1092955/specification/schemaregistry/SchemaRegistry/main.tsp#L234-L238, TCGC doesn't output header
content-type
. The root cause is: after refactor,content-type
is moved as special body property instead of headers. TCGC also needs special logic to extract content type to headers again.The text was updated successfully, but these errors were encountered: