Closed catalinaperalta closed 4 days ago
When defining a paged operation in TypeSpec, folks who are still relying on the generated openapi spec need the itemName field to be part of the x-ms-pageable data. typespec-autorest should output this information.
itemName
Playground: example
Current output:
"x-ms-pageable": { "nextLinkName": "nextLink" }
Expected output:
"x-ms-pageable": { "itemName": "items", "nextLinkName": "nextLink" }
Smaller repro
When defining a paged operation in TypeSpec, folks who are still relying on the generated openapi spec need the
itemName
field to be part of the x-ms-pageable data. typespec-autorest should output this information.Playground: example
Current output:
Expected output: