MCPcopy Index your code
hub / github.com/nodejs/node / create_test_schema_2

Function create_test_schema_2

deps/inspector_protocol/check_protocol_compatibility.py:296–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294 ]
295
296 def create_test_schema_2():
297 return [
298 {
299 "domain": "Network",
300 "types": [
301 {
302 "id": "LoaderId",
303 "type": "string"
304 },
305 {
306 "id": "Request",
307 "type": "object",
308 "properties": [
309 {"name": "url", "type": "string"},
310 {"name": "method", "type": "string"},
311 {"name": "headers", "type": "object"},
312 {"name": "becameOptionalField", "type": "string", "optional": True},
313 ]
314 }
315 ],
316 "commands": [
317 {
318 "name": "addedCommand",
319 },
320 {
321 "name": "setExtraHTTPHeaders",
322 "parameters": [
323 {"name": "headers", "type": "object"},
324 {"name": "mismatched", "type": "object"},
325 {"name": "becameOptional", "type": "object", "optional": True},
326 {"name": "addedRequired", "type": "object"},
327 {"name": "becameRequired", "type": "object"},
328 {"name": "addedOptional", "type": "object", "optional": True},
329 ],
330 "returns": [
331 {"name": "mimeType", "type": "string"},
332 {"name": "becameOptional", "type": "string", "optional": True},
333 {"name": "addedRequired", "type": "string"},
334 {"name": "becameRequired", "type": "string"},
335 {"name": "addedOptional", "type": "string", "optional": True},
336 ]
337 }
338 ],
339 "events": [
340 {
341 "name": "requestWillBeSent",
342 "parameters": [
343 {"name": "request", "$ref": "Request"},
344 {"name": "becameOptional", "type": "string", "optional": True},
345 {"name": "addedRequired", "type": "string"},
346 {"name": "becameRequired", "type": "string"},
347 {"name": "addedOptional", "type": "string", "optional": True},
348 ]
349 },
350 {
351 "name": "addedEvent"
352 }
353 ]

Callers 1

self_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…