microsoft / microsoft/typespec

Http library doesn't validate renamed query, header,path don't conflict

Open
#2,801 0 comments 0 reactions 0 assignees View on GitHub
triaged:core
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

```tsp
import "@typespec/http";

using TypeSpec.Http;

op test2(
@query("$filter")
filter: string,

@query
$select: string,
): void;

```

[Playground](https://microsoft.github.io/typespec/playground?c=aW1wb3J0ICJAdHlwZXNwZWMvaHR0cCI7Cgp1c2luZyBUeXBlU3BlYy5IdHRwOwoKb3AgdGVzdDIoCiAgQHF1ZXJ5KCIkZmlsdGVyIikKICDGCzogc3RyaW5nLArJJwogICRzZWxlY3TKHSk6IHZvaWQ7Cg%3D%3D&e=%40typespec%2Fopenapi3&options=%7B%7D)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.