Skip to content

Commit b6bdfeb

Browse files
committed
Fix OpenApi specs
1 parent 54c4646 commit b6bdfeb

22 files changed

Lines changed: 72 additions & 78 deletions

apify-api/openapi/components/schemas/actor-builds/BuildStats.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
title: BuildStats
22
required:
3-
- durationMillis
4-
- runTimeSecs
53
- computeUnits
64
type: object
75
properties:

apify-api/openapi/components/schemas/actor-builds/BuildsMeta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: BuildsMeta
22
required:
33
- origin
4-
- clientIp
54
- userAgent
65
type: object
76
properties:

apify-api/openapi/components/schemas/actor-runs/Run.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ required:
44
- actId
55
- userId
66
- startedAt
7-
- finishedAt
87
- status
98
- meta
109
- stats
@@ -13,8 +12,6 @@ required:
1312
- defaultKeyValueStoreId
1413
- defaultDatasetId
1514
- defaultRequestQueueId
16-
- buildNumber
17-
- containerUrl
1815
- generalAccess
1916
type: object
2017
properties:
@@ -57,7 +54,7 @@ properties:
5754
chargedEventCounts:
5855
type: object
5956
additionalProperties:
60-
$ref: ../actor-pricing-info/ActorChargeEvent.yaml
57+
type: integer
6158
options:
6259
$ref: ./RunOptions.yaml
6360
buildId:

apify-api/openapi/components/schemas/actor-runs/RunShort.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ required:
66
- startedAt
77
- finishedAt
88
- buildId
9-
- buildNumber
109
- meta
1110
- usageTotalUsd
1211
- defaultKeyValueStoreId

apify-api/openapi/components/schemas/actor-runs/RunStats.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ properties:
1111
migrationCount:
1212
type: number
1313
example: 0
14+
rebootCount:
15+
type: number
16+
example: 0
1417
restartCount:
1518
type: number
1619
example: 0

apify-api/openapi/components/schemas/actors/Actor.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ required:
1010
- stats
1111
- versions
1212
- defaultRunOptions
13-
- deploymentKey
1413
type: object
1514
properties:
1615
id:

apify-api/openapi/components/schemas/actors/ActorDefinition.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,3 @@ properties:
6060
usesStandbyMode:
6161
type: boolean
6262
description: Specifies whether the Actor will have Standby mode enabled.
63-
required:
64-
- actorSpecification
65-
- name
66-
- version

apify-api/openapi/components/schemas/actors/ActorStats.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ required:
66
- totalUsers7Days
77
- totalUsers30Days
88
- totalUsers90Days
9-
- totalMetamorphs
10-
- lastRunStartedAt
119
type: object
1210
properties:
1311
totalBuilds:

apify-api/openapi/components/schemas/actors/DefaultRunOptions.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: defaultRunOptions
22
required:
33
- build
4-
- timeoutSecs
54
- memoryMbytes
65
type: object
76
properties:

apify-api/openapi/components/schemas/actors/Version.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ type: object
33
required:
44
- versionNumber
55
- sourceType
6-
- buildTag
76
properties:
87
versionNumber:
98
type: string
@@ -27,4 +26,3 @@ properties:
2726
example: latest
2827
sourceFiles:
2928
$ref: ./VersionSourceFiles.yaml
30-

0 commit comments

Comments
 (0)