We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb070b commit b71c6a5Copy full SHA for b71c6a5
src/schemas/json/partial-poe.json
@@ -67,6 +67,15 @@
67
"description": "Indicates if the argument is positional.",
68
"type": "boolean"
69
},
70
+ "choices": {
71
+ "description": "Constrain the accepted values for an argument to a fixed set.",
72
+ "oneOf": [
73
+ { "items": { "type": "string" } },
74
+ { "items": { "type": "integer" } },
75
+ { "items": { "type": "number" } }
76
+ ],
77
+ "type": "array"
78
+ },
79
"required": {
80
"description": "Indicates if the argument is required.",
81
0 commit comments