codegen: generate list() overloads using header/url params

Change-Id: I43b65d570370c1afa2deeaf24d26a7c64519fdd3
Signed-off-by: Michael Pasternak <mpastern@redhat.com>