Skip to content

Commit 724367f

Browse files
committed
Fix PPE pricing info structure
1 parent 1ccd935 commit 724367f

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

apify-api/openapi/components/schemas/actor-pricing-info/PayPerEventActorPricingInfo.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ allOf:
1111
enum: [PAY_PER_EVENT]
1212
pricingPerEvent:
1313
type: object
14-
additionalProperties:
15-
$ref: ./ActorChargeEvent.yaml
14+
properties:
15+
actorChargeEvents:
16+
type: object
17+
additionalProperties:
18+
$ref: ./ActorChargeEvent.yaml
1619
minimalMaxTotalChargeUsd:
1720
type: number
1821
nullable: true

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ properties:
5050
meta:
5151
$ref: ./RunMeta.yaml
5252
pricingInfo:
53-
$ref: ../actor-pricing-info/ActorPricingInfo.yaml
53+
$ref: ../actor-pricing-info/ActorRunPricingInfo.yaml
5454
stats:
5555
$ref: ./RunStats.yaml
5656
chargedEventCounts:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ properties:
5252
pricingInfos:
5353
type: array
5454
items:
55-
$ref: ../actor-pricing-info/ActorPricingInfo.yaml
55+
$ref: ../actor-pricing-info/ActorRunPricingInfo.yaml
5656
defaultRunOptions:
5757
$ref: ./DefaultRunOptions.yaml
5858
exampleRunInput:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ properties:
3838
pricingInfos:
3939
type: array
4040
items:
41-
$ref: ../actor-pricing-info/ActorPricingInfo.yaml
41+
$ref: ../actor-pricing-info/ActorRunPricingInfo.yaml
4242
categories:
4343
type: array
4444
items:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ properties:
3939
pricingInfos:
4040
type: array
4141
items:
42-
$ref: ../actor-pricing-info/ActorPricingInfo.yaml
42+
$ref: ../actor-pricing-info/ActorRunPricingInfo.yaml
4343
categories:
4444
type: array
4545
items:

0 commit comments

Comments
 (0)