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