Code generate the API for JS/Groovy/Java