Ron, thanks for the answer.
{
in: "query",
name: "param",
type: "string",
required: false,
enum : ["true"]
};
I tried "allowEmptyValue" : true or "x-nullable" : true, or type : "null", none of these make any difference (type: "null" is not accepted). Ideally, what needed is a checkbox in swagger-ui for the parameter: when checked, just send "?param" without any value. Is this possible now?
"empty value" probably means "?param=". "null value" probably means "?param" without "=". These terms may mean different things, but I am only looking for "?param" without = sign.