Skip to content

Commit 2f13e66

Browse files
committed
fix AudioTranscriptionRequest file param
1 parent 0f8f893 commit 2f13e66

1 file changed

Lines changed: 6 additions & 22 deletions

File tree

openapi.yaml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4527,8 +4527,6 @@ components:
45274527
oneOf:
45284528
- $ref: '#/components/schemas/AudioFileBinary'
45294529
- $ref: '#/components/schemas/AudioFileUrl'
4530-
discriminator:
4531-
propertyName: type
45324530
description: Audio file upload or public HTTP/HTTPS URL. Supported formats .wav, .mp3, .m4a, .webm, .flac.
45334531
model:
45344532
type: string
@@ -6918,25 +6916,11 @@ components:
69186916
description: Data File ID
69196917

69206918
AudioFileBinary:
6921-
type: object
6922-
required: [type, data]
6923-
properties:
6924-
type:
6925-
type: string
6926-
enum: [binary]
6927-
data:
6928-
type: string
6929-
format: binary
6930-
description: Audio file to transcribe
6919+
type: string
6920+
format: binary
6921+
description: Audio file to transcribe
69316922

69326923
AudioFileUrl:
6933-
type: object
6934-
required: [type, url]
6935-
properties:
6936-
type:
6937-
type: string
6938-
enum: [url]
6939-
url:
6940-
type: string
6941-
format: uri
6942-
description: Public HTTPS URL to audio file
6924+
type: string
6925+
format: uri
6926+
description: Public HTTPS URL to audio file

0 commit comments

Comments
 (0)