SDKgen Logo

SDKgen

Powerful SDK code generator.

Sign up Login in

SDKgen is a modern SDK-as-a-Service platform

With SDKgen, your team can generate high-quality, consistent SDKs in multiple languages, giving your customers a seamless way to integrate with your services.

Step 1: Definition

In the backend you can design your models and API endpoints, which serve as the basis for generating SDKs. You can use our visual editor or explore our integration options.


Step 2: Generation

We support a wide range of generation targets (client SDKs, server stubs, and models), allowing you to use your specification across many different environments.


Step 3: Integration

The real power of SDKgen comes from integrating our code generator into existing workflows. SDKgen allows you to define all API dependencies of your project in a simple sdkgen.json file and automatically generate the appropriate client SDKs. You can think of it like NPM, but instead of packages, it manages external APIs as dependencies.

{
    "type": "client-typescript",
    "require": {
        "fusio/sdk": { <-- TypeHub Specification
            "version": "0.1.0",
            "target": "./src/gen/fusio"
        },
        "https://acme.com/spec/typeapi.json": { <-- Remote HTTP Specification
            "target": "./src/gen/foo"
        },
        "./spec/typeapi.json": { <-- Filesystem Specification
            "target": "./src/gen/bar"
        }
    }
}

After defining the dependencies, you can use one of our integration options (e.g. CLI or Docker) to generate actual code. With the CLI, you simply run:

./sdkgen install

This command downloads every defined dependency and generates the code into the specified target folders.

part of the Apioo-Project