diff --git a/.chronus/changes/release-january-2026_specs-api-version-in-next-link-2026-0-14-15-52-47.md b/.chronus/changes/release-january-2026_specs-api-version-in-next-link-2026-0-14-15-52-47.md new file mode 100644 index 0000000000..cad7c84308 --- /dev/null +++ b/.chronus/changes/release-january-2026_specs-api-version-in-next-link-2026-0-14-15-52-47.md @@ -0,0 +1,7 @@ +--- +changeKind: fix +packages: + - "@azure-tools/azure-http-specs" +--- + +Fix missing api-version in nextLink of lropaging test scenario. \ No newline at end of file diff --git a/packages/azure-http-specs/specs/azure/resource-manager/operation-templates/mockapi.ts b/packages/azure-http-specs/specs/azure/resource-manager/operation-templates/mockapi.ts index fa2bfcd250..4a623cc3fb 100644 --- a/packages/azure-http-specs/specs/azure/resource-manager/operation-templates/mockapi.ts +++ b/packages/azure-http-specs/specs/azure/resource-manager/operation-templates/mockapi.ts @@ -722,7 +722,7 @@ Scenarios.Azure_ResourceManager_OperationTemplates_LroPaging_postPagingLro = pas if (postPagingLroPollCount > 0) { const response = { ...validProductListResult, - nextLink: `${req.baseUrl}/subscriptions/${SUBSCRIPTION_ID_EXPECTED}/providers/Azure.ResourceManager.OperationTemplates/locations/eastus/operations/lro_paging_post_location/nextPage`, + nextLink: `${req.baseUrl}/subscriptions/${SUBSCRIPTION_ID_EXPECTED}/providers/Azure.ResourceManager.OperationTemplates/locations/eastus/operations/lro_paging_post_location/nextPage?api-version=2023-12-01-preview`, }; return { status: 200,