Improve naming of REST pagination parameters

This commit is contained in:
Andrew Kingston 2022-01-07 11:03:31 +00:00
parent bf22c5130f
commit 54ad2237ea
1 changed files with 5 additions and 5 deletions

View File

@ -361,19 +361,19 @@
/>
<Input
label={query.fields.pagination.type === "page"
? "Page number parameter"
: "Request cursor parameter"}
? "Page number parameter name "
: "Request cursor parameter name"}
bind:value={query.fields.pagination.pageParam}
/>
<Input
label={query.fields.pagination.type === "page"
? "Page size parameter"
: "Request limit parameter"}
? "Page size parameter name"
: "Request limit parameter name"}
bind:value={query.fields.pagination.sizeParam}
/>
{#if query.fields.pagination.type === "cursor"}
<Input
label="Response body parameter for cursor"
label="Response body parameter name for cursor"
bind:value={query.fields.pagination.responseParam}
/>
{/if}