From 806e15e927c05d899c8fb64565b5cca095627f3a Mon Sep 17 00:00:00 2001 From: karthik Date: Tue, 25 Aug 2026 20:47:15 +0530 Subject: [PATCH] fix(api-reference): use nullable array for dream activity sources `type: null` is not valid OpenAPI 3.0.1, so the spec failed validation and Mintlify rendered the Dream pages blank. Represent the always-null `sources` field on the activity feed as a nullable array (parity with the runs feed). Co-Authored-By: Claude Opus 4.8 --- docs/openapi.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/openapi.json b/docs/openapi.json index e760544c4..af215596f 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -7623,8 +7623,22 @@ "description": "The newer memory that replaced this one (null for a merge with no single replacement)." }, "sources": { - "type": "null", - "description": "Always null on this feed (present for schema parity with runs)." + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Source memory ID." + }, + "text": { + "type": "string", + "description": "Source memory text (truncated)." + } + } + }, + "nullable": true, + "description": "Always null on this feed; synthesis provenance is shown on the runs feed." } } }