-
Notifications
You must be signed in to change notification settings - Fork 337
[specs] Add test for @pageSize parameter #8307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add regular @pageSize query parameter test operation with pageSize=2 and pageSize=4 scenarios - Add nested @pageSize parameter test operation using PaginationOptions model - Implement corresponding mockapi handlers for both test cases - All scenarios validate successfully and TypeSpec compilation works correctly Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
@pageSize parameterCo-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
|
@copilot run |
Build completed successfully. All packages built without errors, including the compiler, libraries, emitters, website, and all other components. The build took about 7 minutes to complete as expected for a full TypeSpec repository build. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
|
All changed packages have been documented.
Show changes
|
| """) | ||
| @route("/without-continuation") | ||
| @list | ||
| op listWithoutContinuation(): { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was inadvertently moved under PageSize.
All tests pass and the TypeSpec operations compile correctly. The changeset has been added as requested for the @typespec/http-specs package with changeKind: feature.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.