fix the /v2/_catalog n parameter description

If `n` is not present only 100 entries returned

Signed-off-by: lisong <lisong@cdsunrise.net>
This commit is contained in:
lostsquirrel 2021-05-25 16:52:55 +08:00 committed by lisong
parent d80a63f1ea
commit 6d9a3aba04
2 changed files with 2 additions and 2 deletions

View file

@ -5450,7 +5450,7 @@ The following parameters should be specified on the request:
|Name|Kind|Description| |Name|Kind|Description|
|----|----|-----------| |----|----|-----------|
|`n`|query|Limit the number of entries in each response. It not present, all entries will be returned.| |`n`|query|Limit the number of entries in each response. It not present, 100 entries will be returned.|
|`last`|query|Result set will include values lexically after last.| |`last`|query|Result set will include values lexically after last.|

View file

@ -99,7 +99,7 @@ var (
{ {
Name: "n", Name: "n",
Type: "integer", Type: "integer",
Description: "Limit the number of entries in each response. It not present, all entries will be returned.", Description: "Limit the number of entries in each response. It not present, 100 entries will be returned.",
Format: "<integer>", Format: "<integer>",
Required: false, Required: false,
}, },