Pull out the API generator from Sails core