adding code for api sdk generation