rest-gen: Add missing dependency