rest-gen: Allow Cabal 1.16