microsoft / microsoft/typespec
Add query paramerter as list parameter test
Open
lib:http-specs
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
I need a new test in "packages/http-specs/specs/parameters/query" to test what happen if the parameter is a list:
```
@query
listParameter: string[];
```
It's expected that the list is serialized as CSV. The scenario should ask for the person calling this test, to pass an array like {"a","b","c"], and the http part should expect to receive "a,b,c" for the query parameter.
Contributor guide
Assessment
This issue has not been assessed yet.