support Aliases in API Generator