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
@armResourceOperations
interface Employees {
delete is ArmResourceDeleteWithoutOkAsync<Employee, EmployeeProperties, LroHeaders = {}>;
}
✅ Correct
@armResourceOperations
interface Employees {
delete is ArmResourceDeleteWithoutOkAsync<Employee, EmployeeProperties>;
}