Skip to content

Autorest output doesn't sort x-ms-paths path that start with ? #4064

@timotheeguerin

Description

@timotheeguerin
import "@typespec/http";

using Http;

@route("/b")
op one_p(): void;

@route("/a")
op two_p(): void;

// Here paths remain in the order they are defined not alpha sorted
@route("?b=1")
op one_q(): void;

@route("?a=1")
op two_q(): void;

Playground Link

Metadata

Metadata

Labels

bugSomething isn't workingemitter:autorestIssues for @azure-tools/typespec-autorest emittertriaged:core

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions