Skip to content

Add required-without-page_token information to pagination extension#660

Merged
ahl merged 6 commits intomainfrom
pagination-info
May 2, 2023
Merged

Add required-without-page_token information to pagination extension#660
ahl merged 6 commits intomainfrom
pagination-info

Conversation

@ahl
Copy link
Copy Markdown
Collaborator

@ahl ahl commented Apr 28, 2023

Previously x-dropshot-pagination was simply the value true. Now it's an object with a field required that is an array of strings that tell us what query parameters are required to fetch the first page (i.e. when page_token is not specified).

This also cleans up some stray doc nits.

@ahl ahl requested a review from davepacheco April 28, 2023 23:55
Copy link
Copy Markdown
Collaborator

@davepacheco davepacheco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I grok correctly that there's no impact on dropshot consumers here (unless they're using the openapi extension)?

Comment thread dropshot/src/lib.rs Outdated
Comment thread dropshot/src/lib.rs
Co-authored-by: David Pacheco <dap@oxidecomputer.com>
@ahl
Copy link
Copy Markdown
Collaborator Author

ahl commented May 2, 2023

Do I grok correctly that there's no impact on dropshot consumers here (unless they're using the openapi extension)?

Yes; that's accurate.

@ahl ahl enabled auto-merge (squash) May 2, 2023 03:42
@ahl ahl merged commit 1b67aea into main May 2, 2023
@ahl ahl deleted the pagination-info branch May 2, 2023 04:19
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.

2 participants