Skip to content

fix(docs): correct 'teh' typo in spector mock apis guide - #12463

Open
RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
microsoft:mainfrom
Jah-yee:fix/spector-teh-typo
Open

RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
microsoft:mainfrom
Jah-yee:fix/spector-teh-typo

Conversation

@Jah-yee

Copy link
Copy Markdown
Contributor

Summary

Fixes a typo in the Spector mock API authoring guide.

In packages/spector/docs/writing-mock-apis.md, the description of the passOnSuccess helper reads:

passOnSuccess: This will take one or multiple routes and will only pass teh scenario if all the routes gets called with a 2xx success code.

"teh" should be "the". This is a one-word documentation fix; no code paths are touched.

Why

The file is the reference doc for passOnSuccess in @typespec/spector, so the sentence is read by anyone wiring up mock APIs. The typo makes the sentence read oddly ("will only pass teh scenario").

Change

  • packages/spector/docs/writing-mock-apis.md: teh -> the (1 line, no other edits)

No changelog entry is included because the file is Markdown only (excluded by changedFiles in .chronus/config.yaml).

Copilot AI balanced review requested due to automatic review settings November 2, 2026 14:28
@microsoft-github-policy-service microsoft-github-policy-service Bot added the spector Issues related to spector and the spec sets label Nov 2, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the documentation-only typo correction.

No open issues 🎉

What changed in this PR

Corrects a typo in the Spector mock API authoring guide without changing runtime behavior.

Changes:

  • Replaces “teh” with “the” in the passOnSuccess description.
File Description
packages/​spector/​docs/​writing-mock-apis.md Fixes one misspelled word in the helper documentation.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 3, 2026 15:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for this documentation-only spelling correction.

No open issues 🎉

Review effort: Balanced

This branch has not been deployed

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

Labels

spector Issues related to spector and the spec sets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants