|
6 | 6 | "running", |
7 | 7 | "stable" |
8 | 8 | ], |
9 | | - "examples": [ |
10 | | - "stable" |
11 | | - ], |
| 9 | + "example": "stable", |
12 | 10 | "title": "AgentStatus", |
13 | 11 | "type": "string" |
14 | 12 | }, |
|
17 | 15 | "agent", |
18 | 16 | "user" |
19 | 17 | ], |
20 | | - "examples": [ |
21 | | - "user" |
22 | | - ], |
| 18 | + "example": "user", |
23 | 19 | "title": "ConversationRole", |
24 | 20 | "type": "string" |
25 | 21 | }, |
|
45 | 41 | "properties": { |
46 | 42 | "$schema": { |
47 | 43 | "description": "A URL to the JSON Schema for this object.", |
48 | | - "examples": [ |
49 | | - "https://example.com/schemas/ErrorModel.json" |
50 | | - ], |
| 44 | + "example": "https://example.com/schemas/ErrorModel.json", |
51 | 45 | "format": "uri", |
52 | 46 | "readOnly": true, |
53 | 47 | "type": "string" |
54 | 48 | }, |
55 | 49 | "detail": { |
56 | 50 | "description": "A human-readable explanation specific to this occurrence of the problem.", |
57 | | - "examples": [ |
58 | | - "Property foo is required but is missing." |
59 | | - ], |
| 51 | + "example": "Property foo is required but is missing.", |
60 | 52 | "type": "string" |
61 | 53 | }, |
62 | 54 | "errors": { |
63 | 55 | "description": "Optional list of individual error details", |
64 | 56 | "items": { |
65 | 57 | "$ref": "#/components/schemas/ErrorDetail" |
66 | 58 | }, |
67 | | - "type": [ |
68 | | - "array", |
69 | | - "null" |
70 | | - ] |
| 59 | + "nullable": true, |
| 60 | + "type": "array" |
71 | 61 | }, |
72 | 62 | "instance": { |
73 | 63 | "description": "A URI reference that identifies the specific occurrence of the problem.", |
74 | | - "examples": [ |
75 | | - "https://example.com/error-log/abc123" |
76 | | - ], |
| 64 | + "example": "https://example.com/error-log/abc123", |
77 | 65 | "format": "uri", |
78 | 66 | "type": "string" |
79 | 67 | }, |
80 | 68 | "status": { |
81 | 69 | "description": "HTTP status code", |
82 | | - "examples": [ |
83 | | - 400 |
84 | | - ], |
| 70 | + "example": 400, |
85 | 71 | "format": "int64", |
86 | 72 | "type": "integer" |
87 | 73 | }, |
88 | 74 | "title": { |
89 | 75 | "description": "A short, human-readable summary of the problem type. This value should not change between occurrences of the error.", |
90 | | - "examples": [ |
91 | | - "Bad Request" |
92 | | - ], |
| 76 | + "example": "Bad Request", |
93 | 77 | "type": "string" |
94 | 78 | }, |
95 | 79 | "type": { |
96 | 80 | "default": "about:blank", |
97 | 81 | "description": "A URI reference to human-readable documentation for the error.", |
98 | | - "examples": [ |
99 | | - "https://example.com/errors/example" |
100 | | - ], |
| 82 | + "example": "https://example.com/errors/example", |
101 | 83 | "format": "uri", |
102 | 84 | "type": "string" |
103 | 85 | } |
|
109 | 91 | "properties": { |
110 | 92 | "content": { |
111 | 93 | "description": "Message content. The message is formatted as it appears in the agent's terminal session, meaning that, by default, it consists of lines of text with 80 characters per line.", |
112 | | - "examples": [ |
113 | | - "Hello world" |
114 | | - ], |
| 94 | + "example": "Hello world", |
115 | 95 | "type": "string" |
116 | 96 | }, |
117 | 97 | "id": { |
|
142 | 122 | "properties": { |
143 | 123 | "$schema": { |
144 | 124 | "description": "A URL to the JSON Schema for this object.", |
145 | | - "examples": [ |
146 | | - "https://example.com/schemas/MessageRequestBody.json" |
147 | | - ], |
| 125 | + "example": "https://example.com/schemas/MessageRequestBody.json", |
148 | 126 | "format": "uri", |
149 | 127 | "readOnly": true, |
150 | 128 | "type": "string" |
151 | 129 | }, |
152 | 130 | "content": { |
153 | 131 | "description": "Message content", |
154 | | - "examples": [ |
155 | | - "Hello, agent!" |
156 | | - ], |
| 132 | + "example": "Hello, agent!", |
157 | 133 | "type": "string" |
158 | 134 | }, |
159 | 135 | "type": { |
|
172 | 148 | "properties": { |
173 | 149 | "$schema": { |
174 | 150 | "description": "A URL to the JSON Schema for this object.", |
175 | | - "examples": [ |
176 | | - "https://example.com/schemas/MessageResponseBody.json" |
177 | | - ], |
| 151 | + "example": "https://example.com/schemas/MessageResponseBody.json", |
178 | 152 | "format": "uri", |
179 | 153 | "readOnly": true, |
180 | 154 | "type": "string" |
|
194 | 168 | "raw", |
195 | 169 | "user" |
196 | 170 | ], |
197 | | - "examples": [ |
198 | | - "user" |
199 | | - ], |
| 171 | + "example": "user", |
200 | 172 | "title": "MessageType", |
201 | 173 | "type": "string" |
202 | 174 | }, |
|
235 | 207 | "properties": { |
236 | 208 | "$schema": { |
237 | 209 | "description": "A URL to the JSON Schema for this object.", |
238 | | - "examples": [ |
239 | | - "https://example.com/schemas/MessagesResponseBody.json" |
240 | | - ], |
| 210 | + "example": "https://example.com/schemas/MessagesResponseBody.json", |
241 | 211 | "format": "uri", |
242 | 212 | "readOnly": true, |
243 | 213 | "type": "string" |
|
290 | 260 | "properties": { |
291 | 261 | "$schema": { |
292 | 262 | "description": "A URL to the JSON Schema for this object.", |
293 | | - "examples": [ |
294 | | - "https://example.com/schemas/StatusResponseBody.json" |
295 | | - ], |
| 263 | + "example": "https://example.com/schemas/StatusResponseBody.json", |
296 | 264 | "format": "uri", |
297 | 265 | "readOnly": true, |
298 | 266 | "type": "string" |
|
317 | 285 | "properties": { |
318 | 286 | "$schema": { |
319 | 287 | "description": "A URL to the JSON Schema for this object.", |
320 | | - "examples": [ |
321 | | - "https://example.com/schemas/UploadResponseBody.json" |
322 | | - ], |
| 288 | + "example": "https://example.com/schemas/UploadResponseBody.json", |
323 | 289 | "format": "uri", |
324 | 290 | "readOnly": true, |
325 | 291 | "type": "string" |
|
346 | 312 | "title": "AgentAPI", |
347 | 313 | "version": "0.10.0" |
348 | 314 | }, |
349 | | - "openapi": "3.1.0", |
| 315 | + "openapi": "3.0.3", |
350 | 316 | "paths": { |
351 | 317 | "/events": { |
352 | 318 | "get": { |
|
0 commit comments