Skip to content

[api] Return ResultsPage instead of vecs#10745

Draft
david-crespo wants to merge 1 commit into
mainfrom
bgp-results-page
Draft

[api] Return ResultsPage instead of vecs#10745
david-crespo wants to merge 1 commit into
mainfrom
bgp-results-page

Conversation

@david-crespo

Copy link
Copy Markdown
Contributor

While I was working on some schema stuff, this came up as an exception to the rough rule that we prefer to return ResultsPage rather than bare lists, even when there is no pagination. In this case there actually is pagination even though the list is expected to be very small (#3986 (comment)).

Leaving as draft for now because there are another 6 endpoints in the OpenAPI schema that return Array_of_* and I will probably want to fix them too.

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