From d7520330ab5e44fbd0e12c9470294eaf2a701dd5 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Wed, 10 Sep 2025 14:54:05 -0700 Subject: [PATCH] docs: fix API documentation examples for messages endpoints (#2822) --- fern/openapi-overrides.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/fern/openapi-overrides.yml b/fern/openapi-overrides.yml index f91dd8aa..86b4368a 100644 --- a/fern/openapi-overrides.yml +++ b/fern/openapi-overrides.yml @@ -488,6 +488,15 @@ paths: - agents - messages x-fern-sdk-method-name: create + requestBody: + content: + application/json: + example: + messages: + - role: user + content: + - type: text + text: "The sky above the port was the color of television, tuned to a dead channel." /v1/agents/{agent_id}/messages/{message_id}: patch: x-fern-sdk-group-name: @@ -508,6 +517,15 @@ paths: - agents - messages x-fern-sdk-method-name: create_stream + requestBody: + content: + application/json: + example: + messages: + - role: user + content: + - type: text + text: "The sky above the port was the color of television, tuned to a dead channel." responses: '200': content: @@ -961,6 +979,15 @@ paths: - groups - messages x-fern-sdk-method-name: create + requestBody: + content: + application/json: + example: + messages: + - role: user + content: + - type: text + text: "The sky above the port was the color of television, tuned to a dead channel." /v1/groups/{group_id}/messages/{message_id}: patch: x-fern-sdk-group-name: @@ -975,6 +1002,15 @@ paths: - groups - messages x-fern-sdk-method-name: create_stream + requestBody: + content: + application/json: + example: + messages: + - role: user + content: + - type: text + text: "The sky above the port was the color of television, tuned to a dead channel." responses: '200': content: