-
Notifications
You must be signed in to change notification settings - Fork 314
Open
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core
Milestone
Description
I am currently migrating the Azure Tables REST API spec into TypeSpec and have a bit of a strange pagination scenario that isn't currently supported (nor was it ever supported for Swagger code gen).
The "query entities" API uses two continuation tokens - values retrieved from response headers that are passed in as query parameters:
https://learn.microsoft.com/rest/api/storageservices/query-entities
https://learn.microsoft.com/rest/api/storageservices/query-timeout-and-pagination
Today - attempting to specify multiple @continuationToken
values is not valid tsp.
I don't know how common this scenario is - but would be interested in any advice on the best way to model this that will result in the least amount of manually patched code.
Checklist
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core