Skip to content

Add basic paging support & limit config#8

Open
gallolp wants to merge 1 commit intostevenjc:masterfrom
gallolp:feature.paging
Open

Add basic paging support & limit config#8
gallolp wants to merge 1 commit intostevenjc:masterfrom
gallolp:feature.paging

Conversation

@gallolp
Copy link

@gallolp gallolp commented May 21, 2020

Basic paging support

By default, only the first 10 specs are returned by the /apis/{owner} and /domains/{owner} calls.
https://app.swaggerhub.com/apis/swagger-hub/registry-api/1.0.48#/APIs/getOwnerApis

This adds some basic paging support and limit configuration to be able to migrate orgs with more than 10 results.

It's a bit rough around the edges and it uses an extra call to get the total but someone might find it useful.

Thank you.

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