typespec
typespec copied to clipboard
[Bug]: parameter renaming from "top" to "maxCount" in paging operations
Describe the bug
When migrating Azure SDKs from Autorest to TypeSpec, parameter names change from "maxCount" to "top" in paging operations, creating breaking changes. We need to implement automatic parameter renaming in the TypeSpec C# generator to convert "top" parameters to "maxCount"
Reproduction
NA
Checklist
- [x] Follow our Code of Conduct
- [x] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [x] The provided reproduction is a minimal reproducible example of the bug.