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 9677d8c commit 10b3b7fCopy full SHA for 10b3b7f
lib/interact-for-open-api-object.ts
@@ -250,6 +250,16 @@ export const interactForOpenApiObject = async (
250
},
251
ctx
252
)
253
+ return interactForOpenApiObject(args, ctx)
254
+ } else if (prop.type === "number") {
255
+ const { value } = await prompts({
256
+ name: "value",
257
+ message: `${paramToEdit}:`,
258
+ type: "number",
259
+ })
260
+
261
+ args.params[paramToEdit] = value
262
263
return interactForOpenApiObject(args, ctx)
264
}
265
0 commit comments