Skip to content

Spreading record in operation parameter cause issue in resolving path parameters #3051

Closed

Description

import "@typespec/http";

using TypeSpec.Http;

@route("/foos/{fooId}")
op test(
  @path fooId: string,

  // comment below to fix
  ...Record<string>,
): void;

Playground Link

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

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions