| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "namespace": "forbidden", | |
| 4 "types": [], | |
| 5 "functions": [ | |
| 6 { | |
| 7 "name": "forbiddenParameters", | |
| 8 "type": "function", | |
| 9 "description": "Don't do this at home. Accepts multiple choices and valu
es", | |
| 10 "parameters": [ | |
| 11 { | |
| 12 "name": "firstChoice", | |
| 13 "description": "a choice between int and array", | |
| 14 "choices": [ | |
| 15 {"type": "integer", "minimum": 0}, | |
| 16 {"type": "array", "items": {"type": "integer"}} | |
| 17 ] | |
| 18 }, | |
| 19 { | |
| 20 "type": "string", | |
| 21 "name": "firstString" | |
| 22 }, | |
| 23 { | |
| 24 "name": "secondChoice", | |
| 25 "description": "a choice between int and array", | |
| 26 "choices": [ | |
| 27 {"type": "integer", "minimum": 0}, | |
| 28 {"type": "array", "items": {"type": "integer"}} | |
| 29 ] | |
| 30 }, | |
| 31 { | |
| 32 "type": "string", | |
| 33 "name": "secondString" | |
| 34 } | |
| 35 ] | |
| 36 } | |
| 37 ] | |
| 38 } | |
| 39 ] | |
| OLD | NEW |