lro-location-header
@azure-tools/typespec-azure-resource-manager/lro-location-headerLong-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>;}Reviewer advice
Section titled “Reviewer advice”Impacts the API: this corresponds to the LintDiff rule LroLocationHeader and causes an RPC violation. Ask the author to use standard Async templates. Accept a suppression only when allowed by RPC guidelines.