From 2f13e66d75067962ad269a2a4239a46f107a54f5 Mon Sep 17 00:00:00 2001 From: Derek Petersen Date: Mon, 11 Aug 2025 16:27:37 -0700 Subject: [PATCH] fix AudioTranscriptionRequest file param --- openapi.yaml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 7424191..4844e33 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4527,8 +4527,6 @@ components: oneOf: - $ref: '#/components/schemas/AudioFileBinary' - $ref: '#/components/schemas/AudioFileUrl' - discriminator: - propertyName: type description: Audio file upload or public HTTP/HTTPS URL. Supported formats .wav, .mp3, .m4a, .webm, .flac. model: type: string @@ -6918,25 +6916,11 @@ components: description: Data File ID AudioFileBinary: - type: object - required: [type, data] - properties: - type: - type: string - enum: [binary] - data: - type: string - format: binary - description: Audio file to transcribe + type: string + format: binary + description: Audio file to transcribe AudioFileUrl: - type: object - required: [type, url] - properties: - type: - type: string - enum: [url] - url: - type: string - format: uri - description: Public HTTPS URL to audio file + type: string + format: uri + description: Public HTTPS URL to audio file