Add a code generator based on the listApis output

Signed-off-by: David Scott <dave.scott@citrix.com>