We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9677d8c + 10b3b7f commit 9be892dCopy full SHA for 9be892d
1 file changed
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