Skip to content

Commit 2545152

Browse files
committed
Simplify nullable fields
1 parent 7068ad7 commit 2545152

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

  • apify-api/openapi/components/schemas/actor-runs

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

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,12 @@ properties:
9393
nullable: true
9494
example: master
9595
usage:
96-
allOf:
97-
- oneOf:
98-
- nullable: true
99-
- $ref: ./RunUsage.yaml
100-
- {}
96+
nullable: true
97+
$ref: ./RunUsage.yaml
10198
usageTotalUsd:
10299
type: number
103100
nullable: true
104101
example: 0.2654
105102
usageUsd:
106-
allOf:
107-
- oneOf:
108-
- nullable: true
109-
- $ref: ./RunUsage.yaml
110-
- {}
103+
nullable: true
104+
$ref: ./RunUsage.yaml

0 commit comments

Comments
 (0)