diff --git a/docs/openapi/jan.yaml b/docs/openapi/jan.yaml index cc452ffe3..fca3d97ba 100644 --- a/docs/openapi/jan.yaml +++ b/docs/openapi/jan.yaml @@ -189,7 +189,7 @@ paths: summary: Create thread description: Create a thread requestBody: - required: true + required: false content: application/json: schema: @@ -296,7 +296,7 @@ paths: example: thread_abc123 description: The ID of the thread to be modified. requestBody: - required: true + required: false content: application/json: schema: @@ -307,8 +307,6 @@ paths: description: "Set of messages to update in the thread." items: $ref: 'specs/threads.yaml#/components/schemas/ThreadMessageObject' - required: - - messages responses: "200": description: Thread modified successfully diff --git a/docs/openapi/specs/threads.yaml b/docs/openapi/specs/threads.yaml index bd1397e2d..317447f90 100644 --- a/docs/openapi/specs/threads.yaml +++ b/docs/openapi/specs/threads.yaml @@ -116,9 +116,6 @@ components: items: type: string description: "Array of file IDs associated with the message, if any." - required: - - role - - content ModifyThreadResponse: type: object