Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/error-details-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"adcontextprotocol": patch
---

Add explicit type definition to error.json details property

The `details` property in core/error.json now explicitly declares `"type": "object"` and `"additionalProperties": true`, consistent with other error details definitions in the codebase. This addresses issue #343 where the data type was unspecified.
4 changes: 3 additions & 1 deletion static/schemas/source/core/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"minimum": 0
},
"details": {
"description": "Additional task-specific error details"
"type": "object",
"description": "Additional task-specific error details",
"additionalProperties": true
}
},
"required": ["code", "message"],
Expand Down