forked from TrueCloudLab/distribution
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:
parent
d80a63f1ea
commit
6d9a3aba04
2 changed files with 2 additions and 2 deletions
|
@ -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.|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue