MuleSoft, a leading Integration Platform as a service (iPaaS) provider, has announced that the MuleSoft Anypoint Platform now features automatic SDK generation via integration with APIMATIC. The integration makes it possible for Anypoint users to quickly generate SDKs for an API that can be offered for download in the API Portal. In order to facilitate automatic SDK generation in Anypoint, users must first create an APIMATIC account, confirm that the API has a RAML definition, and make sure that the API portal is public.
Zeeshan Ejaz Bhatti, CTO and co-founder of APIMATIC, told ProgrammableWeb that
"APIMATIC's Code Generation was initially meant for public and private API providers. However, we later saw its value for other API solution vendors as well, such as API Portals, API Marketplaces, API Gateways, API Validation tools. Virtually any API product can integrate with APIMATIC and provide up-to-date, freshly squeezed SDKs right from their own portals, which shows that you actually care for your developers. Integration with MuleSoft has been possible because we both care for developers and want to make API consumption as easy as possible."
API description languages like RAML allow "practically RESTful" APIs to be described in a way that is easily readable for both humans and machines. Human and machine readable API definition formats such as RAML, Swagger, and API Blueprint, allow for automatic code and SDK generation in third-party applications. Bhatti explained that
"Code generation is not a new concept; it has already found applications in avionics, automotive, and industrial control systems. Every time you get on a plane chances are you are trusting automatically generated code to take care of its flight control," said Bhatti. "In the API space, however, it was just not done properly previously. We generate code that actually works and is customizable to a great extent."
There are a lot of API management platforms and API builders available today such as 3scale, Akana (formerly SOA Software), Apiary, Apigee, Apigility, Axway, CA API Management, Mashape, Microsoft Azure App Service API Apps, MuleSoft Anypoint, and WSO2. However, Microsoft Azure App Service API Apps and now MuleSoft Anypoint both feature automatic SDK generation. The other aforementioned platforms feature automatically generated API Documentation and code samples, but not automatic SDK generation.
Most automatic SDK generation platforms like those from APIMATIC, LucyBot, and REST United are designed primarily for REST APIs. However, there are a few SDK generation platforms that are not necessarily designed for REST APIs. For example, Apache Thrift is a software Framework for generating code for RPC clients and servers. Apache AVRO is an RPC and data Serialization framework designed primarily for Hadoop. The growing number of SDK generation platforms is indicative of the growing trend in which API providers are offering SDKs instead of, or in addition to, raw APIs. For example, Evernote provides SDKs that are generated by Apache Thrift and are not based on REST.
Reza Shafii, senior director of product management at MuleSoft, told ProgrammableWeb that
"I think that the exciting aspect of this announcement is how easily the Anypoint Platform has been extended with best in class SDK generation, spanning 10 languages, through APIMATIC's capabilities. This is thanks to MuleSoft's strategy of enabling API lifecycle management companies to seamlessly integrate with the Anypoint Platform. The API Science integration introduced earlier in the year, which enables easy API monitoring of Anypoint Platform managed APIs, was another example of such integration, and we foresee many more on the horizon. This leads to true win-win: It's good for our users, good for software tools vendors, and good for MuleSoft."
Disclosure: MuleSoft is the parent company to ProgrammableWeb.