Skip to content

Add spector test for SpecialWords_ReservedOperationBodyParams withItems scenario#3976

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/verify-spector-tests
Open

Add spector test for SpecialWords_ReservedOperationBodyParams withItems scenario#3976
Copilot wants to merge 3 commits into
mainfrom
copilot/verify-spector-tests

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

The SpecialWords_ReservedOperationBodyParams_withItems scenario was missing from specialWords.spec.ts despite the special-words path already being registered in azureModularTsps and the generated client already exposing reservedOperationBodyParams.withItems.

Changes

  • specialWords.spec.ts — adds a ReservedOperationBodyParams describe block with the withItems test case:
    • POSTs { "items": ["item"] } to /special-words/operations/body-param-reserved
    • Asserts 204 No Content (void return)
describe("ReservedOperationBodyParams", () => {
  it("should post withItems", async () => {
    await client.reservedOperationBodyParams.withItems(["item"]);
  });
});

This verifies that an operation parameter named items (a reserved Python dict method name) is sent on the wire as items, not mangled to items_property or similar.

Copilot AI changed the title [WIP] Verify and implement spector tests for scenario groups Add spector test for SpecialWords_ReservedOperationBodyParams withItems scenario May 18, 2026
Copilot AI requested a review from v-jiaodi May 18, 2026 06:10
@v-jiaodi v-jiaodi marked this pull request as ready for review May 18, 2026 06:45
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.

[Copilot] Verify and implement spector tests for 15 scenario groups

3 participants