Added support for generating API calls from api.spec .