Skip to content

Commit d4b6104

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[FA] Fix minimum page value (#3371)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 7465a34 commit d4b6104

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59714,13 +59714,14 @@ paths:
5971459714
results.'
5971559715
operationId: ListFleetAgents
5971659716
parameters:
59717-
- description: Page number for pagination (must be greater than 0).
59717+
- description: Page number for pagination (starts at 0).
5971859718
in: query
5971959719
name: page_number
5972059720
required: false
5972159721
schema:
59722+
default: 0
5972259723
format: int64
59723-
minimum: 1
59724+
minimum: 0
5972459725
type: integer
5972559726
- description: Number of results per page (must be greater than 0 and less than
5972659727
or equal to 100).

src/main/java/com/datadog/api/client/v2/api/FleetAutomationApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ public static class ListFleetAgentsOptionalParameters {
14371437
/**
14381438
* Set pageNumber.
14391439
*
1440-
* @param pageNumber Page number for pagination (must be greater than 0). (optional)
1440+
* @param pageNumber Page number for pagination (starts at 0). (optional, default to 0)
14411441
* @return ListFleetAgentsOptionalParameters
14421442
*/
14431443
public ListFleetAgentsOptionalParameters pageNumber(Long pageNumber) {

0 commit comments

Comments
 (0)