Skip to content

Commit 7d50113

Browse files
committed
Update create task
1 parent b6bdfeb commit 7d50113

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
title: CreateTaskResponse
2+
type: object
3+
required:
4+
- data
5+
properties:
6+
data:
7+
$ref: ./Task.yaml
8+
standbyUrl:
9+
type: string
10+
nullable: true

apify-api/openapi/paths/actor-tasks/actor-tasks.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,7 @@ post:
164164
content:
165165
application/json:
166166
schema:
167-
type: object
168-
required:
169-
- data
170-
properties:
171-
data:
172-
$ref: "../../components/schemas/actor-tasks/Task.yaml"
167+
$ref: "../../components/schemas/actor-tasks/CreateTaskResponse.yaml"
173168
example:
174169
data:
175170
id: zdc3Pyhyz3m8vjDeM

0 commit comments

Comments
 (0)