generate API list base on decorator