microsoft / microsoft/typespec

[specs] add test for `@pageSize` parameter

Open
#8,306 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
lib:http-specs
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Please add two Spector tests to the existing tsp file [here](https://github.com/microsoft/typespec/blob/main/packages/http-specs/specs/payload/pageable/main.tsp). One for regular `@pageSize` parameter (like [this](https://github.com/Azure/typespec-azure/blob/main/packages/typespec-client-generator-core/test/methods/paged-operation.test.ts#L1149) test), and one where the `@pageSize` parameter is nested (like the test [here](https://github.com/Azure/typespec-azure/blob/main/packages/typespec-client-generator-core/test/methods/paged-operation.test.ts#L1169)). Add the mockapi implementation as well

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.