[Bug]: list operation with CollectionWithNextLink result should be a pageable operation #5491
Open
4 tasks done
Labels
docs
Improvements or additions to documentation
feature
New feature or request
needs-area
triaged:core
Milestone
Describe the bug
When we define the operation like below:
typespec/packages/samples/specs/rest/petstore/petstore.tsp
Line 83 in ecf61f1
We should expect this operation returns pageable result.
However, if we looked at the definition in
typespec/packages/rest/lib/resource.tsp
Line 233 in ecf61f1
There is no
@pageItems
for thevalue
property so we don't treat it as pageable operation in the client side.Expect: this should be a pageable operation
Reproduction
Described as above
Checklist
The text was updated successfully, but these errors were encountered: