microsoft / microsoft/typespec
http-specs, add test case for ArrayEncoding with enum
Open
lib:http-specs
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Add a new test case `op pipeDelimitedEnumElement(@body body: PipeDelimitedArrayEnumElementProperty): PipeDelimitedArrayEnumElementProperty;)` to https://github.com/microsoft/typespec/blob/main/packages/http-specs/specs/encode/array/main.tsp
The scenario on wire would be same as `pipeDelimited`.
Just the type be e.g.
```
model PipeDelimitedArrayEnumElementProperty {
@encode(ArrayEncoding.pipeDelimited)
value: Color[];
}
```
Contributor guide
Assessment
This issue has not been assessed yet.