diff --git a/packages/api/src/schema/ai-api-schema.yaml b/packages/api/src/schema/ai-api-schema.yaml index 8c426511c..92c96c01d 100644 --- a/packages/api/src/schema/ai-api-schema.yaml +++ b/packages/api/src/schema/ai-api-schema.yaml @@ -643,7 +643,8 @@ components: AudioResponse: properties: audio: - $ref: '#/components/schemas/MediaURL' + allOf: + - $ref: '#/components/schemas/MediaURL' description: The generated audio. type: object required: @@ -963,7 +964,8 @@ components: HTTPError: properties: detail: - $ref: '#/components/schemas/APIError' + allOf: + - $ref: '#/components/schemas/APIError' description: Detailed error information. type: object required: @@ -1013,9 +1015,11 @@ components: title: Finish Reason default: '' delta: - $ref: '#/components/schemas/LLMMessage' + allOf: + - $ref: '#/components/schemas/LLMMessage' message: - $ref: '#/components/schemas/LLMMessage' + allOf: + - $ref: '#/components/schemas/LLMMessage' type: object required: - index @@ -1146,7 +1150,6 @@ components: the `params` argument. default: '' params: - additionalProperties: true type: object title: Params description: Initial parameters for the pipeline.