File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
packages/datadog-api-client-v2/apis Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.6.6",
7
- "regenerated": "2025-03-03 19:12:25.353192 ",
8
- "spec_repo_commit": "35df584d "
7
+ "regenerated": "2025-03-05 14:38:20.899139 ",
8
+ "spec_repo_commit": "0c376cca "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.6.6",
12
- "regenerated": "2025-03-03 19:12:25.369052 ",
13
- "spec_repo_commit": "35df584d "
12
+ "regenerated": "2025-03-05 14:38:20.914305 ",
13
+ "spec_repo_commit": "0c376cca "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -35328,7 +35328,7 @@ paths:
35328
35328
- Software Catalog
35329
35329
x-pagination:
35330
35330
limitParam: page[limit]
35331
- pageParam : page[offset]
35331
+ pageOffsetParam : page[offset]
35332
35332
resultsPath: data
35333
35333
post:
35334
35334
description: Create or update entities in Software Catalog.
Original file line number Diff line number Diff line change @@ -537,7 +537,6 @@ export class SoftwareCatalogApi {
537
537
pageSize = param . pageLimit ;
538
538
}
539
539
param . pageLimit = pageSize ;
540
- param . pageOffset = 0 ;
541
540
while ( true ) {
542
541
const requestContext = await this . requestFactory . listCatalogEntity (
543
542
param . pageOffset ,
@@ -570,7 +569,11 @@ export class SoftwareCatalogApi {
570
569
if ( results . length < pageSize ) {
571
570
break ;
572
571
}
573
- param . pageOffset = param . pageOffset + 1 ;
572
+ if ( param . pageOffset === undefined ) {
573
+ param . pageOffset = pageSize ;
574
+ } else {
575
+ param . pageOffset = param . pageOffset + pageSize ;
576
+ }
574
577
}
575
578
}
576
579
You can’t perform that action at this time.
0 commit comments