Today we released our core technology and DSL for writing apis to the open source. The REST DSL parser to generate runnable apis along with open api documentation.
How does it benefit developers? We look at the benefits of our initiative.
The open source REST DSL
The xml has been our identity. It is used by developers to define REST APIs. It is a domain specific language to defining apis which can work with multiple data source and external apis. The standard is key to our ecosystem and console. We have made this XML compatible with open api specs for smooth interoperability. This open source project aims to help this initiative. As this project is now in the public domain, so is its parsing, validation and future updates. Making this project an open source initiative.
The documentation for this resource file lists all the elements needed.
Open source runtime
We had already open sourced the runtime of the API Console. The mason project contains all code to handle api calls. Together with this new project, we are building an open source stack of api development tool for java developers.
How is it different from mason project?
| Mason | The new REST framework |
|---|---|
| Write code in JSP | Write code in Java or XML |
| No validation available | XML and code validation at compile time |
| No api documentation | API documentation by resource xml and open api |
| Need JSP Knowledge | No need to learn JSP |
Open source API framework
Today java developers use jax-rs and its implementation or spring boot to build rest apis. We worked towards building a better library with mason to help change that with JSP. With the new XML and code based api development, we are going to cut the api to data-source route even better.
This new project will allow java developers to build and run api without Metamug API Console and deploy these api application. This project is open source to achieve this goal. This is to serve as a better alternative to existing solutions like jax-rs and spring boot.
Export from Metamug API Console
Along with the open source release, we are going to build an export option in console that works with another project that we will be open sourcing to run the console project. The console exported project serves as a source code and it can be developed using this framework.
To put it in perspective, we are building an open source framework with a REST DSL aka Resource XML.