diff --git a/server/node-service/src/plugins/openApi/parse/oas3.ts b/server/node-service/src/plugins/openApi/parse/oas3.ts index 65e565ee3..a07fc326c 100644 --- a/server/node-service/src/plugins/openApi/parse/oas3.ts +++ b/server/node-service/src/plugins/openApi/parse/oas3.ts @@ -44,6 +44,12 @@ const schemaToActionParamConfig = ( const paramType = getOpenApiV3ParamType(type, schema.format || "", !!options); const defaultValue = example || getSchemaExample(schema); const shouldJsonStringify = type === "array" || type === "object"; + // add an empty option for select lists for things that aren't required + if (paramType === "select") { + if (!options?.includes("")) { + options?.push("") + } + } const param: ActionParamConfig = { label: name, tooltip: desc || schema.description,