refactoring api generate checking
Merge branch 'master' of github.com:rhomobile/rhodes