Skip to content

feat: add Azure_SpecialHeaders_ConditionalRequest azure-modular integration test#3978

Draft
Copilot wants to merge 1 commit into
mainfrom
copilot/implement-azure-specialheaders-conditionalrequest
Draft

feat: add Azure_SpecialHeaders_ConditionalRequest azure-modular integration test#3978
Copilot wants to merge 1 commit into
mainfrom
copilot/implement-azure-specialheaders-conditionalrequest

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

Adds Spector integration test coverage for azure/special-headers/conditional-request, which validates conditional request headers — both standard (If-Match, If-None-Match) and custom Azure-specific ones (x-ms-blob-if-match, x-ms-blob-if-none-match) — using the eTag type.

Changes

  • cadl-ranch-list.js — added azure/special-headers/conditional-request entry to azureModularTsps
  • generated/azure/special-headers/conditional-request/tspconfig.yaml, .gitignore, and rolled-up src/index.d.ts for ConditionalRequestClient
  • azureSpecialHeadersConditionalRequest.spec.ts — 4 test cases covering all mockapi scenarios:
    • postIfMatchIf-Match: "valid"
    • postIfNoneMatchIf-None-Match: "invalid"
    • postCustomIfMatchx-ms-blob-if-match: "valid"
    • postCustomIfNoneMatchx-ms-blob-if-none-match: "invalid"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants