Skip to content

Add support for client side pagination#828

Merged
dolauli merged 1 commit intoAzure:mainfrom
dolauli:pagination
Sep 6, 2021
Merged

Add support for client side pagination#828
dolauli merged 1 commit intoAzure:mainfrom
dolauli:pagination

Conversation

@dolauli
Copy link
Contributor

@dolauli dolauli commented Sep 6, 2021

Related issue is #253.
To support client side pagination, normally there are two steps need to be done.

  1. If the skip or first/top have been supported by service, these parameters should be removed from swagger through autorest transform directive
  2. Client side pagination is enabled through directive on cmdlet/variant level. And following is an example.
  - where:
      verb: Get
      variant: ^List(.*)
    set:
      clientside-pagination: true  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant