-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
lib:tcgcIssues for @azure-tools/typespec-client-generator-core libraryIssues for @azure-tools/typespec-client-generator-core library
Description
Case 1: response 200 with body and 202 without body
Real case in cost-management.
@Azure.ClientGenerator.Core.Legacy.markAsLro
get is Extension.Read<
Extension.ScopeParameter,
Employee,
Response = ArmResponse<Employee> | ArmAcceptedResponse,
Error = ErrorResponse
>;
Actual: TCGC throws error
Expected: lroMatadata returns correctly
Case 2: response 200 with body and 202 with body too
Real case in web.
@Azure.ClientGenerator.Core.Legacy.markAsLro
getProductionSiteDeploymentStatus is CsmDeploymentStatusOps.Read<
Employee,
Response = ArmResponse<Employee> | ArmAcceptedResponse & Employee
>;
Actual: finalStateVia: original-uri
Expected: finalStateVia: location
Metadata
Metadata
Assignees
Labels
lib:tcgcIssues for @azure-tools/typespec-client-generator-core libraryIssues for @azure-tools/typespec-client-generator-core library