Azure / Azure/typespec-azure

Unable to determine content type for LROs

Open
#535 6 comments 0 reactions 1 assignee Assigned to @ArcturusZhang View on GitHub
bug lib:tcgc
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 21h
Merged PRs (30d)
164

Description

Content type is specified in the operation responses. However, since TCGC only models the operation responses for checking status, the content type info is lost. For now, we assume it to be `application/json` but is obviously broken for LROs with other response types (e.g. `text/plain` etc).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.