[generators] add type bool for gen_settings