Skip to content

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

Description

@JoshLove-msft

Background

PR #11125 added a model (named model value) scenario for query parameter expansion, but only under query-expansion/explode:

  • Routes_QueryParameters_QueryExpansion_Explode_modelGET /routes/query/query-expansion/explode/model?field=status&value=active

This covers the gap behind #11123 / #10973, where a named model flows through a different emitter type-handling path than a Record<T>.

Request

For parity with the existing primitive / array / record cases, add the same named-model scenario to the other expansion styles that currently lack it:

  • query-expansion/standard ({?param})
  • query-continuation/standard (?fixed=true{&param})
  • query-continuation/explode (?fixed=true{&param*})

Each should use a named model value (e.g. ExpandParameters { field: string; value: string; }) and add a matching mock API plus regenerated spec-summary.md.

Follow-up requested in PR #11125 review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestlib:http-specsFor issues/prs related to the @typespec/http-specs package

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions