Skip to content

Commit 1ccd935

Browse files
committed
Address review feedback
1 parent 8924e95 commit 1ccd935

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ type: object
33
required:
44
- eventPriceUsd
55
- eventTitle
6+
- eventDescription
67
properties:
78
eventPriceUsd:
89
type: number
910
eventTitle:
1011
type: string
1112
eventDescription:
1213
type: string
13-
nullable: true

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ title: ActorRunPricingInfo
22
discriminator:
33
propertyName: pricingModel
44
mapping:
5-
PAY_PER_EVENT: ./PricePerEventActorPricingInfo.yaml
5+
PAY_PER_EVENT: ./PayPerEventActorPricingInfo.yaml
66
PRICE_PER_DATASET_ITEM: ./PricePerDatasetItemActorPricingInfo.yaml
77
FLAT_PRICE_PER_MONTH: ./FlatPricePerMonthActorPricingInfo.yaml
88
FREE: ./FreeActorPricingInfo.yaml
99
oneOf:
10-
- $ref: ./PricePerEventActorPricingInfo.yaml
10+
- $ref: ./PayPerEventActorPricingInfo.yaml
1111
- $ref: ./PricePerDatasetItemActorPricingInfo.yaml
1212
- $ref: ./FlatPricePerMonthActorPricingInfo.yaml
1313
- $ref: ./FreeActorPricingInfo.yaml

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ properties:
2020
type: string
2121
format: date-time
2222
nullable: true
23+
x-internal: true
2324
notifiedAboutChangeAt:
2425
type: string
2526
format: date-time
2627
nullable: true
28+
x-internal: true
2729
reasonForChange:
2830
type: string
2931
nullable: true
32+
x-internal: true

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ allOf:
55
required:
66
- pricingModel
77
- pricePerUnitUsd
8+
- trialMinutes
89
properties:
910
pricingModel:
1011
type: string
1112
enum: [FLAT_PRICE_PER_MONTH]
1213
trialMinutes:
1314
type: number
14-
nullable: true
1515
description: "For how long this Actor can be used for free in trial period"
1616
pricePerUnitUsd:
1717
type: number
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: PricePerEventActorPricingInfo
1+
title: PayPerEventActorPricingInfo
22
allOf:
33
- $ref: "./CommonActorPricingInfo.yaml"
44
- type: object

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ allOf:
55
required:
66
- pricingModel
77
- pricePerUnitUsd
8+
- unitName
89
properties:
910
pricingModel:
1011
type: string
1112
enum: [PRICE_PER_DATASET_ITEM]
1213
unitName:
1314
type: string
14-
nullable: true
1515
description: "Name of the unit that is being charged"
1616
pricePerUnitUsd:
1717
type: number

0 commit comments

Comments
 (0)