3 "namespace": "choices",
4 "description": "The choices API.",
12 {"type": "array", "items": {"type": "integer", "minimum": 0}},
18 {"type": "array", "items": {"type": "string", "minimum": 0}},
27 "description": "Tests when some of the choices are choices themselves",
36 {"$ref": "ChoiceType"},
37 {"type": "array", "items": {"$ref": "ChoiceType"}}
44 "name": "takesIntegers",
46 "description": "Takes one or more integers.",
51 {"type": "array", "items": {"type": "integer", "minimum": 0}},
63 "name": "takesIntegersOptional",
65 "description": "Takes one or more integers.",
70 {"type": "array", "items": {"type": "integer", "minimum": 0}},
83 "name": "objectWithChoices",
85 "description": "Takes an object with one or more strings and optional integer(s).",
92 "description": "One or more tab indices to highlight.",
94 {"type": "array", "items": {"type": "string", "minimum": 0}},
99 "description": "One or more tab indices to highlight.",
101 {"type": "array", "items": {"type": "integer", "minimum": 0}},
116 "name": "returnChoices",
118 "description": "Gives back a string. Or not.",
127 {"type": "array", "items": {"type": "integer", "minimum": 0}},
130 "description": "Some integers."
137 "name": "returnMultipleChoices",
139 "description": "Gives back two values where each is an integer or a list of integers.",
146 "name": "firstResult",
148 {"type": "array", "items": {"type": "integer", "minimum": 0}},
151 "description": "Some integers."
154 "name": "secondResult",
156 {"type": "array", "items": {"type": "integer", "minimum": 0}},
159 "description": "Some integers."