Skip to content

[python] bump @typespec/http-specs to pick up swapped-routes fix from #10978#11064

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/microsofttypespec-11063-add-test-case
Closed

[python] bump @typespec/http-specs to pick up swapped-routes fix from #10978#11064
Copilot wants to merge 2 commits into
mainfrom
copilot/microsofttypespec-11063-add-test-case

Conversation

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The @typespec/http-specs version pinned in http-client-python (0.1.0-alpha.39-dev.1) predated the fix in #10978, which corrected swapped mock API URIs for Routes_fixed and Routes_InInterface. This meant the mock server was silently serving both scenarios at the wrong paths — tests passed only because both return 204.

Changes

  • package.json: bumps @typespec/http-specs from 0.1.0-alpha.39-dev.10.1.0-alpha.39-dev.3 (first version containing the routes fix)
  • package-lock.json: updated accordingly

After the bump, test_fixed (GET /routes/fixed) and test_in_interface_fixed (GET /routes/in-interface/fixed) in tests/mock_api/shared/test_routes.py now validate against the correctly mapped Spector scenarios rather than each other's endpoint.

…es fix from PR #10978

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Jun 23, 2026
Copilot AI changed the title [WIP] Add test case for Python SDK mock API [python] bump @typespec/http-specs to pick up swapped-routes fix from #10978 Jun 23, 2026
Copilot finished work on behalf of msyyc June 23, 2026 23:26
Copilot AI requested a review from msyyc June 23, 2026 23:26
@msyyc msyyc closed this Jun 24, 2026
@msyyc msyyc deleted the copilot/microsofttypespec-11063-add-test-case branch June 24, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants