From 92575c8bd93ed036bfb8a527e77e77851a1f861b Mon Sep 17 00:00:00 2001 From: Chase Adams Date: Tue, 14 May 2024 10:13:44 -0700 Subject: [PATCH] fix: change API schema to allow null for transcode profile --- packages/api/src/schema/api-schema.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/api/src/schema/api-schema.yaml b/packages/api/src/schema/api-schema.yaml index 557c47a4f..36418a22d 100644 --- a/packages/api/src/schema/api-schema.yaml +++ b/packages/api/src/schema/api-schema.yaml @@ -591,7 +591,9 @@ components: playbackPolicy: $ref: "#/components/schemas/playback-policy" profiles: - type: array + type: + - array + - "null" default: - name: 240p0 fps: 0 @@ -1327,7 +1329,9 @@ components: type: boolean description: Decides if the output video should include C2PA signature profiles: - type: array + type: + - array + - "null" items: $ref: "#/components/schemas/transcode-profile" targetSegmentSizeSecs: