From c7ec533fe493258d10844b1feb27875df94a452f Mon Sep 17 00:00:00 2001 From: Robert Craigie Date: Tue, 1 Oct 2024 10:32:26 -0400 Subject: [PATCH 1/2] Fix audio duration types --- openapi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index a50c32e9..19e8467c 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11325,7 +11325,7 @@ components: type: string description: The language of the input audio. duration: - type: string + type: float description: The duration of the input audio. text: type: string @@ -11408,7 +11408,7 @@ components: type: string description: The language of the output translation (always `english`). duration: - type: string + type: float description: The duration of the input audio. text: type: string @@ -17522,4 +17522,4 @@ x-oaiMeta: path: create - type: object key: CreateCompletionResponse - path: object \ No newline at end of file + path: object From 578000861507cd19620e3f1092adf62303757c0a Mon Sep 17 00:00:00 2001 From: Robert Craigie Date: Wed, 9 Oct 2024 17:11:48 +0100 Subject: [PATCH 2/2] fix types --- openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 19e8467c..d5af4799 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11325,7 +11325,7 @@ components: type: string description: The language of the input audio. duration: - type: float + type: number description: The duration of the input audio. text: type: string @@ -11408,7 +11408,7 @@ components: type: string description: The language of the output translation (always `english`). duration: - type: float + type: number description: The duration of the input audio. text: type: string