Introducing the Fusio REST API code generator

Christoph Kappestein
2 min readJun 12, 2021

Iam really happy to introduce our newly build REST API code generator which helps to create complete functional REST APIs based on a model or OpenAPI definition. We think this tool is revolutionary in the way how we build APIs, so please let me explain how it works.

At first I like to talk a little bit about the current tool landscape. To illustrate this a little bit better please take a look at the following chart:

On the left side we have database API generator tools which allows you to generate a fully REST API based on a database and on the right side we have complete custom API development which is specific to your business case. Normally also the costs are low for a general solution and increase heavily for a specific solution.

We think that these database API generator tools on the left are not really useful for most cases since the value of an API lies very often in the code between the database and the API consumer. On the other side custom API development is really expensive and many companies would like to use a generator tool which speeds up development and thus is much cheaper.

With our newly created REST API code generator we have build a tool which is placed between a complete generic generator and custom development. At the generator you can define an entity defintion where you describe you business entites and the relations.

Based on this definition the tool creates all routes, schemas and actions which can be then easily used at Fusio which is an popular open source API management tool. The tool generates actual clean code which can be modified and extended so it can be used as great starting point for your API. Through this you have the power to automatically generate a REST API but you are also able to do custom development with the generated code.

This was a short introduction to our new REST API generator tool. We think there is a great potential to improve the code generator landscape and with our tool we want to take the next step. We have also plans to enable automatic deployment of the generated code to a running server instance, through this a user could a get a complete functional REST API with one click.

If you have questions regarding the tool or you want to provide feedback please use the following form.

--

--

Christoph Kappestein

I am a developer in the API space, currently working on Fusio an open source API management platform