mirror of
https://github.com/openai/codex.git
synced 2026-11-10 21:00:47 +00:00
Motivation:
- `cargo clippy --tests` is run in CI with `-D clippy::expect-used`; the new schema fixture test used `expect()`.
What changed:
- Convert test helpers to return `anyhow::Result` and add context instead of using `expect()`.
Refs: 3b069fda39 (schema fixture vendoring commit)
22 lines
494 B
JSON
22 lines
494 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.",
|
|
"properties": {
|
|
"diff": {
|
|
"type": "string"
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
},
|
|
"turnId": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"diff",
|
|
"threadId",
|
|
"turnId"
|
|
],
|
|
"title": "TurnDiffUpdatedNotification",
|
|
"type": "object"
|
|
} |