[python] bump @typespec/http-specs to pick up swapped-routes fix from #10978#11064
Closed
Copilot wants to merge 2 commits into
Closed
[python] bump @typespec/http-specs to pick up swapped-routes fix from #10978#11064Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…es fix from PR #10978 Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
@typespec/http-specsversion pinned inhttp-client-python(0.1.0-alpha.39-dev.1) predated the fix in #10978, which corrected swapped mock API URIs forRoutes_fixedandRoutes_InInterface. This meant the mock server was silently serving both scenarios at the wrong paths — tests passed only because both return204.Changes
package.json: bumps@typespec/http-specsfrom0.1.0-alpha.39-dev.1→0.1.0-alpha.39-dev.3(first version containing the routes fix)package-lock.json: updated accordinglyAfter the bump,
test_fixed(GET /routes/fixed) andtest_in_interface_fixed(GET /routes/in-interface/fixed) intests/mock_api/shared/test_routes.pynow validate against the correctly mapped Spector scenarios rather than each other's endpoint.