Skip to content

fix[http-specs] Add named-model query expansion scenarios - #12038

Open
Mary Njenga (mary-wan) wants to merge 1 commit into
microsoft:mainfrom
mary-wan:fix/add-named-model-query-scenarios
Open

Mary Njenga (mary-wan) wants to merge 1 commit into
microsoft:mainfrom
mary-wan:fix/add-named-model-query-scenarios

Conversation

@mary-wan

Copy link
Copy Markdown

Summary

  • add named-model scenarios for standard query expansion
  • add named-model scenarios for standard and exploded query continuation
  • add matching mock APIs and regenerate the scenario summary

Validation

  • pnpm -r --filter "@typespec/http-specs..." build
  • pnpm --filter @typespec/http-specs validate-mock-apis
  • focused Prettier check

Closes #11165

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 004e5962-b8b5-4576-a466-9cb2c04b5ae9
Copilot AI lite review requested due to automatic review settings September 23, 2026 11:08
@microsoft-github-policy-service microsoft-github-policy-service Bot added the lib:http-specs For issues/prs related to the @typespec/http-specs package label Sep 23, 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.

@mary-wan Mary Njenga (mary-wan) changed the title [http-specs] Add named-model query expansion scenarios fix[http-specs] Add named-model query expansion scenarios Sep 23, 2026
@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-specs@12038

commit: 9eb76a3

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.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Adds named-model query expansion and continuation scenarios with matching mock APIs and regenerated documentation.

Changes:

  • Added three named-model route scenarios.
  • Added matching mock API paths.
  • Regenerated the scenario summary and added a feature changeset.
File Description
packages/​http-specs/​specs/​routes/​mockapi.ts Adds matching mock endpoints.
packages/​http-specs/​specs/​routes/​main.tsp Defines the new scenarios.
packages/​http-specs/​spec-summary.md Documents regenerated scenarios.
.chronus/​changes/​add-named-model-query-scenarios-2026-09-23.md Records the feature change.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • ✅ @typespec/http-specs
Show changes

@typespec/http-specs - feature ✏️

Add named-model query parameter scenarios for standard expansion, standard continuation, and exploded continuation.,> ,> typespec,> model ExpandParameters {,> field: string;,> value: string;,> },>

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

lib:http-specs For issues/prs related to the @typespec/http-specs package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[http-specs] Add named-model query parameter scenario to remaining expansion styles for parity

2 participants