Skip to content

Commit 7fe85b8

Browse files
authored
feat: Update video creation response type to notate it now returns a full video job (#169)
1 parent f35a214 commit 7fe85b8

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

openapi.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ paths:
151151
content:
152152
application/json:
153153
schema:
154-
$ref: '#/components/schemas/VideoRetrieveResponse'
154+
$ref: '#/components/schemas/VideoJob'
155155
'400':
156156
description: Invalid request parameters.
157157
'404':
@@ -238,7 +238,7 @@ paths:
238238
content:
239239
application/json:
240240
schema:
241-
$ref: '#/components/schemas/CreateVideoResponse'
241+
$ref: '#/components/schemas/VideoJob'
242242
/chat/completions:
243243
post:
244244
tags: ['Chat']
@@ -8873,15 +8873,7 @@ components:
88738873
- MP4
88748874
- WEBM
88758875

8876-
CreateVideoResponse:
8877-
type: object
8878-
required: ['id']
8879-
properties:
8880-
id:
8881-
type: string
8882-
description: Unique identifier for the video job.
8883-
8884-
VideoRetrieveResponse:
8876+
VideoJob:
88858877
properties:
88868878
id:
88878879
type: string

0 commit comments

Comments
 (0)