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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
6f804a8a20
commit
806e15e927
+16
-2
@@ -7623,8 +7623,22 @@
|
|||||||
"description": "The newer memory that replaced this one (null for a merge with no single replacement)."
|
"description": "The newer memory that replaced this one (null for a merge with no single replacement)."
|
||||||
},
|
},
|
||||||
"sources": {
|
"sources": {
|
||||||
"type": "null",
|
"type": "array",
|
||||||
"description": "Always null on this feed (present for schema parity with runs)."
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user