lro-location-header
@azure-tools/typespec-azure-resource-manager/lro-location-header
Long-running (LRO) operations with 202 responses must have a “Location” response header.
❌ Incorrect
Section titled “❌ Incorrect”@armResourceOperationsinterface Employees { delete is ArmResourceDeleteWithoutOkAsync<Employee, EmployeeProperties, LroHeaders = {}>;}
âś… Correct
Section titled “✅ Correct”@armResourceOperationsinterface Employees { delete is ArmResourceDeleteWithoutOkAsync<Employee, EmployeeProperties>;}